/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/leds/romulus-led-manager-config/ |
H A D | led.yaml | 16 fault: 30 # Both the 'fault' and 'identify' gpios are wired to the same LED. 34 fault: 45 fault: 51 fault: 57 fault: 63 fault: 69 fault: 75 fault: 81 fault: [all …]
|
/openbmc/phosphor-power/ |
H A D | elog-errors.hpp | 13 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace 16 } // namespace sdbusplus::error::org::open_power::witherspoon::fault 17 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace 20 } // namespace sdbusplus::error::org::open_power::witherspoon::fault 21 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace 24 } // namespace sdbusplus::error::org::open_power::witherspoon::fault 25 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace 28 } // namespace sdbusplus::error::org::open_power::witherspoon::fault 29 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace 32 } // namespace sdbusplus::error::org::open_power::witherspoon::fault [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fault/ |
H A D | base.c | 29 struct nvkm_fault *fault = container_of(event, typeof(*fault), event); in nvkm_fault_ntfy_fini() local 30 fault->func->buffer.intr(fault->buffer[index], false); in nvkm_fault_ntfy_fini() 36 struct nvkm_fault *fault = container_of(event, typeof(*fault), event); in nvkm_fault_ntfy_init() local 37 fault->func->buffer.intr(fault->buffer[index], true); in nvkm_fault_ntfy_init() 49 struct nvkm_fault *fault = nvkm_fault(subdev); in nvkm_fault_intr() local 50 return fault->func->intr(fault); in nvkm_fault_intr() 56 struct nvkm_fault *fault = nvkm_fault(subdev); in nvkm_fault_fini() local 57 if (fault->func->fini) in nvkm_fault_fini() 58 fault->func->fini(fault); in nvkm_fault_fini() 65 struct nvkm_fault *fault = nvkm_fault(subdev); in nvkm_fault_init() local [all …]
|
H A D | gv100.c | 33 struct nvkm_fault *fault = container_of(work, typeof(*fault), nrpfb_work); in gv100_fault_buffer_process() local 34 struct nvkm_fault_buffer *buffer = fault->buffer[0]; in gv100_fault_buffer_process() 35 struct nvkm_device *device = fault->subdev.device; in gv100_fault_buffer_process() 44 const u32 base = get * buffer->fault->func->buffer.entry_size; in gv100_fault_buffer_process() 78 struct nvkm_device *device = buffer->fault->subdev.device; in gv100_fault_buffer_intr() 89 struct nvkm_device *device = buffer->fault->subdev.device; in gv100_fault_buffer_fini() 97 struct nvkm_device *device = buffer->fault->subdev.device; in gv100_fault_buffer_init() 109 struct nvkm_device *device = buffer->fault->subdev.device; in gv100_fault_buffer_info() 122 struct nvkm_fault *fault = container_of(ntfy, typeof(*fault), nrpfb); in gv100_fault_ntfy_nrpfb() local 124 schedule_work(&fault->nrpfb_work); in gv100_fault_ntfy_nrpfb() [all …]
|
H A D | tu102.c | 37 nvkm_event_ntfy(&buffer->fault->event, buffer->id, NVKM_FAULT_BUFFER_EVENT_PENDING); in tu102_fault_buffer_notify() 53 struct nvkm_device *device = buffer->fault->subdev.device; in tu102_fault_buffer_fini() 62 struct nvkm_device *device = buffer->fault->subdev.device; in tu102_fault_buffer_init() 74 struct nvkm_device *device = buffer->fault->subdev.device; in tu102_fault_buffer_info() 87 struct nvkm_fault *fault = container_of(inth, typeof(*fault), info_fault); in tu102_fault_info_fault() local 88 struct nvkm_subdev *subdev = &fault->subdev; in tu102_fault_info_fault() 115 tu102_fault_fini(struct nvkm_fault *fault) in tu102_fault_fini() argument 117 nvkm_event_ntfy_block(&fault->nrpfb); in tu102_fault_fini() 118 flush_work(&fault->nrpfb_work); in tu102_fault_fini() 120 if (fault->buffer[0]) in tu102_fault_fini() [all …]
|
/openbmc/linux/drivers/infiniband/hw/hfi1/ |
H A D | fault.c | 13 #include "fault.h" 69 if (!ibd->fault->n_rxfaults[i] && !ibd->fault->n_txfaults[i]) in _fault_stats_seq_show() 74 (unsigned long long)ibd->fault->n_rxfaults[i], in _fault_stats_seq_show() 75 (unsigned long long)ibd->fault->n_txfaults[i]); in _fault_stats_seq_show() 96 struct fault *fault = file->private_data; in fault_opcodes_write() local 138 bitmap_zero(fault->opcodes, sizeof(fault->opcodes) * in fault_opcodes_write() 148 clear_bit(i, fault->opcodes); in fault_opcodes_write() 150 set_bit(i, fault->opcodes); in fault_opcodes_write() 170 struct fault *fault = file->private_data; in fault_opcodes_read() local 171 size_t bitsize = sizeof(fault->opcodes) * BITS_PER_BYTE; in fault_opcodes_read() [all …]
|
/openbmc/openbmc/meta-amd/meta-ethanolx/recipes-phosphor/leds/ethanolx-led-manager-config/ |
H A D | led.yaml | 4 fault: 18 fault: 29 fault: 35 fault: 41 fault: 47 fault: 53 fault: 59 fault: 65 fault: 71 fault: [all …]
|
/openbmc/docs/designs/ |
H A D | hw-fault-monitor.md | 1 # Hardware Fault Monitor 12 The goal is to create a new hardware fault monitor which will provide a 13 framework for collecting various fault and sensor information and making it 17 information through BMC interfaces, the hardware fault monitor will also receive 22 Future expansion of the hardware fault monitor would include adding the means to 23 locally analyze fault and sensor information and then based on specified 25 hardware fault monitor could receive repair action requests via Redfish from 52 - FRU fault manager controls the blinking of LEDs when faults occur: 53 https://github.com/openbmc/phosphor-led-manager/blob/master/fault-monitor/fru-fault-monitor.hpp 60 There is an OpenCompute Fault Management Infrastructure proposal that also [all …]
|
/openbmc/openbmc/meta-amd/meta-daytonax/recipes-phosphor/leds/daytonax-led-manager-config/ |
H A D | led.yaml | 4 led-fault: 18 led-fault: 29 led-fault: 35 led-fault: 41 led-fault: 47 led-fault: 53 led-fault: 59 led-fault: 65 led-fault: 71 led-fault: [all …]
|
/openbmc/witherspoon-pfault-analysis/ |
H A D | elog-errors.hpp | 13 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace 16 } // namespace sdbusplus::error::org::open_power::witherspoon::fault 17 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace 20 } // namespace sdbusplus::error::org::open_power::witherspoon::fault 21 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace 24 } // namespace sdbusplus::error::org::open_power::witherspoon::fault 25 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace 28 } // namespace sdbusplus::error::org::open_power::witherspoon::fault 29 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace 32 } // namespace sdbusplus::error::org::open_power::witherspoon::fault [all …]
|
/openbmc/linux/arch/powerpc/mm/ |
H A D | fault.c | 6 * Derived from "arch/i386/mm/fault.c" 106 * 5. T1 : enters fault handler, takes mmap_lock, etc... in bad_access_pkey() 133 vm_fault_t fault) in do_sigbus() argument 140 if (fault & (VM_FAULT_HWPOISON|VM_FAULT_HWPOISON_LARGE)) { in do_sigbus() 143 pr_err("MCE: Killing %s:%d due to hardware memory corruption fault at %lx\n", in do_sigbus() 146 if (fault & VM_FAULT_HWPOISON_LARGE) in do_sigbus() 147 lsb = hstate_index_to_shift(VM_FAULT_GET_HINDEX(fault)); in do_sigbus() 148 if (fault & VM_FAULT_HWPOISON) in do_sigbus() 161 vm_fault_t fault) in mm_fault_error() argument 164 * Kernel page fault interrupted by SIGKILL. We have no reason to in mm_fault_error() [all …]
|
/openbmc/linux/arch/s390/mm/ |
H A D | fault.c | 8 * Derived from "arch/i386/mm/fault.c" 181 pr_alert("Fault in "); in dump_fault_info() 227 printk(KERN_ALERT "User process fault: interruption code %04x ilc:%d ", in report_user_fault() 247 static noinline void do_no_context(struct pt_regs *regs, vm_fault_t fault) in do_no_context() argument 256 if ((fault_type == KERNEL_FAULT) && (fault == VM_FAULT_BADCONTEXT)) { in do_no_context() 298 static noinline void do_fault_error(struct pt_regs *regs, vm_fault_t fault) in do_fault_error() argument 302 switch (fault) { in do_fault_error() 308 si_code = (fault == VM_FAULT_BADMAP) ? in do_fault_error() 316 do_no_context(regs, fault); in do_fault_error() 320 do_no_context(regs, fault); in do_fault_error() [all …]
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | vas-fault.c | 3 * VAS Fault handling. 21 * The maximum FIFO size for fault window can be 8MB 23 * instance will be having fault window. 35 pr_err("Fault fifo size %d, Max crbs %d\n", vinst->fault_fifo_size, in dump_fifo() 39 pr_err("Fault FIFO Dump:\n"); in dump_fifo() 47 * Process valid CRBs in fault FIFO. 50 * request buffers, raises interrupt on the CPU to handle the fault. 51 * It takes credit on fault window, updates nx_fault_stamp in CRB with 52 * the following information and pastes CRB in fault FIFO. 55 * fault_storage_addr - fault address [all …]
|
/openbmc/linux/drivers/iommu/ |
H A D | io-pgfault.c | 17 * struct iopf_queue - IO Page Fault queue 18 * @wq: the fault workqueue 29 * struct iopf_device_param - IO Page Fault data attached to a device 44 struct iommu_fault fault; member 60 .pasid = iopf->fault.prm.pasid, in iopf_complete_group() 61 .grpid = iopf->fault.prm.grpid, in iopf_complete_group() 65 if ((iopf->fault.prm.flags & IOMMU_FAULT_PAGE_REQUEST_PASID_VALID) && in iopf_complete_group() 66 (iopf->fault.prm.flags & IOMMU_FAULT_PAGE_RESPONSE_NEEDS_PASID)) in iopf_complete_group() 81 group->last_fault.fault.prm.pasid, 0); in iopf_handler() 91 status = domain->iopf_handler(&iopf->fault, in iopf_handler() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_svm.c | 66 u8 fault; member 68 } **fault; member 163 * page fault) and maybe some other commands. in nouveau_svmm_bind() 382 /* Issue fault replay for GPU to retry accesses that faulted previously. */ 393 /* Cancel a replayable fault that could not be handled. 395 * Cancelling the fault will trigger recovery to reset the engine 415 struct nouveau_svm_fault *fault) in nouveau_svm_fault_cancel_fault() argument 417 nouveau_svm_fault_cancel(svm, fault->inst, in nouveau_svm_fault_cancel_fault() 418 fault->hub, in nouveau_svm_fault_cancel_fault() 419 fault->gpc, in nouveau_svm_fault_cancel_fault() [all …]
|
/openbmc/linux/arch/arm64/mm/ |
H A D | fault.c | 3 * Based on arch/arm/mm/fault.c 293 * If we now have a valid translation, treat the translation fault as in is_spurious_el1_translation_fault() 300 * If we got a different type of fault from the AT instruction, in is_spurious_el1_translation_fault() 301 * treat the translation fault as spurious. in is_spurious_el1_translation_fault() 351 * tag fault. in do_tag_recovery() 382 * Are we prepared to handle this kernel fault? in __do_kernel_fault() 389 "Ignoring spurious kernel translation fault at virtual address %016lx\n", addr)) in __do_kernel_fault() 430 * an alignment fault not caused by the memory type would take in set_thread_esr() 431 * precedence over translation fault for a real access to empty in set_thread_esr() 432 * space. Unfortunately we can't easily distinguish "alignment fault in set_thread_esr() [all …]
|
/openbmc/linux/drivers/iommu/amd/ |
H A D | iommu_v2.c | 67 struct fault { struct 428 static void handle_fault_error(struct fault *fault) in handle_fault_error() argument 432 if (!fault->dev_state->inv_ppr_cb) { in handle_fault_error() 433 set_pri_tag_status(fault->state, fault->tag, PPR_INVALID); in handle_fault_error() 437 status = fault->dev_state->inv_ppr_cb(fault->dev_state->pdev, in handle_fault_error() 438 fault->pasid, in handle_fault_error() 439 fault->address, in handle_fault_error() 440 fault->flags); in handle_fault_error() 443 set_pri_tag_status(fault->state, fault->tag, PPR_SUCCESS); in handle_fault_error() 446 set_pri_tag_status(fault->state, fault->tag, PPR_INVALID); in handle_fault_error() [all …]
|
/openbmc/linux/arch/microblaze/mm/ |
H A D | fault.c | 2 * arch/microblaze/mm/fault.c 6 * Derived from "arch/ppc/mm/fault.c" 9 * Derived from "arch/i386/mm/fault.c" 71 /* Are we prepared to handle this fault? */ in bad_page_fault() 83 * The error_code parameter is ESR for a data fault, 84 * 0 for an instruction fault. 93 vm_fault_t fault; in do_page_fault() local 115 pr_emerg("Page fault in user mode with faulthandler_disabled(), mm = %p\n", in do_page_fault() 119 die("Weird page fault", regs, SIGSEGV); in do_page_fault() 130 * erroneous fault occurring in a code path which already holds mmap_lock in do_page_fault() [all …]
|
/openbmc/linux/arch/arm/mm/ |
H A D | fsr-3level.c | 7 { do_bad, SIGBUS, 0, "reserved translation fault" }, 8 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 1 translation fault" }, 9 { do_translation_fault, SIGSEGV, SEGV_MAPERR, "level 2 translation fault" }, 10 { do_page_fault, SIGSEGV, SEGV_MAPERR, "level 3 translation fault" }, 11 { do_bad, SIGBUS, 0, "reserved access flag fault" }, 12 { do_bad, SIGSEGV, SEGV_ACCERR, "level 1 access flag fault" }, 13 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 2 access flag fault" }, 14 { do_page_fault, SIGSEGV, SEGV_ACCERR, "level 3 access flag fault" }, 15 { do_bad, SIGBUS, 0, "reserved permission fault" }, 16 { do_bad, SIGSEGV, SEGV_ACCERR, "level 1 permission fault" }, [all …]
|
/openbmc/linux/include/uapi/linux/ |
H A D | iommu.h | 16 /* Generic fault types, can be expanded IRQ remapping fault */ 18 IOMMU_FAULT_DMA_UNRECOV = 1, /* unrecoverable fault */ 19 IOMMU_FAULT_PAGE_REQ, /* page request fault */ 45 * actual translation fault 55 /* Output address of a translation stage caused Address Size fault */ 60 * struct iommu_fault_unrecoverable - Unrecoverable fault data 61 * @reason: reason of the fault, from &enum iommu_fault_reason 62 * @flags: parameters of this fault (IOMMU_FAULT_UNRECOV_* values) 108 * struct iommu_fault - Generic fault data 109 * @type: fault type from &enum iommu_fault_type [all …]
|
/openbmc/linux/arch/m68k/mm/ |
H A D | fault.c | 3 * linux/arch/m68k/mm/fault.c 62 * bit 0 == 0 means no page found, 1 means protection fault 73 vm_fault_t fault; in do_page_fault() local 76 pr_debug("do page fault:\nregs->sr=%#x, regs->pc=%#lx, address=%#lx, %ld, %p\n", in do_page_fault() 81 * context, we must not take the fault.. in do_page_fault() 134 * If for any reason at all we couldn't handle the fault, in do_page_fault() 136 * the fault. in do_page_fault() 139 fault = handle_mm_fault(vma, address, flags, regs); in do_page_fault() 140 pr_debug("handle_mm_fault returns %x\n", fault); in do_page_fault() 142 if (fault_signal_pending(fault, regs)) { in do_page_fault() [all …]
|
/openbmc/linux/arch/hexagon/mm/ |
H A D | vm_fault.c | 3 * Memory fault handling for Hexagon 9 * Page fault handling for the Hexagon Virtual Machine. 34 * Canonical page fault handler 42 vm_fault_t fault; in do_page_fault() local 48 * then must not take the fault. in do_page_fault() 83 fault = handle_mm_fault(vma, address, flags, regs); in do_page_fault() 85 if (fault_signal_pending(fault, regs)) { in do_page_fault() 91 /* The fault is fully completed (including releasing mmap lock) */ in do_page_fault() 92 if (fault & VM_FAULT_COMPLETED) in do_page_fault() 96 if (likely(!(fault & VM_FAULT_ERROR))) { in do_page_fault() [all …]
|
/openbmc/linux/arch/parisc/mm/ |
H A D | fault.c | 46 * the instruction has generated some sort of a memory access fault). 106 * Data TLB miss fault/data page fault in parisc_acctyp() 204 [6] = "Instruction TLB miss fault", 213 [15] = "Data TLB miss fault", 214 [16] = "Non-access ITLB miss fault", 215 [17] = "Non-access DTLB miss fault", 274 vm_fault_t fault = 0; in do_page_fault() local 281 msg = "Page fault: no context"; in do_page_fault() 313 * If for any reason at all we couldn't handle the fault, make in do_page_fault() 315 * fault. in do_page_fault() [all …]
|
/openbmc/witherspoon-pfault-analysis/org/open_power/Witherspoon/ |
H A D | Fault.errors.yaml | 10 description: The power supply detected an output overcurrent fault condition. 13 description: The power supply detected an output overvoltage fault condition. 22 description: A power off was issued because a power fault was detected 28 description: The power sequencer chip detected a voltage fault 31 description: The power sequencer chip detected a PGOOD fault 34 description: The power sequencer chip detected a fault 37 description: A GPU suffered a power fault 40 description: A GPU suffered an over-temperature fault 43 description: A memory device suffered a power fault
|
/openbmc/linux/arch/x86/kvm/mmu/ |
H A D | paging_tmpl.h | 92 struct x86_exception fault; member 249 ret = __try_cmpxchg_user(ptep_user, &orig_pte, pte, fault); in FNAME() 352 * Queue a page fault for injection if this assertion fails, as callers in FNAME() 353 * assume that walker.fault contains sane info on a walk failure. I.e. in FNAME() 380 nested_access, &walker->fault); in FNAME() 384 * instruction) triggers a nested page fault. The exit in FNAME() 386 * "guest page access" as the nested page fault's cause, in FNAME() 448 real_gpa = kvm_translate_gpa(vcpu, mmu, gfn_to_gpa(gfn), access, &walker->fault); in FNAME() 458 * On a write fault, fold the dirty bit into accessed_dirty. in FNAME() 481 walker->fault.vector = PF_VECTOR; in FNAME() [all …]
|