Home
last modified time | relevance | path

Searched refs:fault (Results 1 – 25 of 767) sorted by relevance

12345678910>>...31

/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
H A Dbase.c29 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 Dgv100.c33 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 Dtu102.c37 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 …]
H A DKbuild2 nvkm-y += nvkm/subdev/fault/base.o
3 nvkm-y += nvkm/subdev/fault/user.o
4 nvkm-y += nvkm/subdev/fault/gp100.o
5 nvkm-y += nvkm/subdev/fault/gp10b.o
6 nvkm-y += nvkm/subdev/fault/gv100.o
7 nvkm-y += nvkm/subdev/fault/tu102.o
H A Duser.c42 return nvkm_uevent_add(uevent, &buffer->fault->event, buffer->id, in nvkm_ufault_uevent()
51 struct nvkm_device *device = buffer->fault->subdev.device; in nvkm_ufault_map()
62 buffer->fault->func->buffer.fini(buffer); in nvkm_ufault_fini()
70 buffer->fault->func->buffer.init(buffer); in nvkm_ufault_init()
96 struct nvkm_fault *fault = device->fault; in nvkm_ufault_new() local
97 struct nvkm_fault_buffer *buffer = fault->buffer[fault->func->user.rp]; in nvkm_ufault_new()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dfault.c69 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()
179 bit = find_first_bit(fault->opcodes, bitsize); in fault_opcodes_read()
[all …]
/openbmc/phosphor-power/
H A Delog-errors.hpp13 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
17 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
21 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
25 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
29 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
33 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
37 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
41 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
45 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
49 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
[all …]
/openbmc/linux/arch/s390/mm/
H A Dfault.c247 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()
323 if (fault & VM_FAULT_OOM) { in do_fault_error()
325 do_no_context(regs, fault); in do_fault_error()
328 } else if (fault & VM_FAULT_SIGSEGV) { in do_fault_error()
[all …]
/openbmc/witherspoon-pfault-analysis/
H A Delog-errors.hpp13 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
17 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
21 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
25 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
29 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
33 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
37 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
41 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
45 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
49 namespace sdbusplus::error::org::open_power::witherspoon::fault namespace
[all …]
/openbmc/docs/designs/
H A Dhw-fault-monitor.md12 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
67 goal of the fault monitor is to enable rich error logging (OEM and CPU vendor
71 - The fault monitor must be able to handle receiving fault information that is
[all …]
/openbmc/linux/drivers/iommu/amd/
H A Diommu_v2.c67 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/mips/kernel/
H A Dunaligned.c174 goto fault; in emulate_load_store_insn()
183 goto fault; in emulate_load_store_insn()
192 goto fault; in emulate_load_store_insn()
212 goto fault; in emulate_load_store_insn()
221 goto fault; in emulate_load_store_insn()
242 goto fault; in emulate_load_store_insn()
251 goto fault; in emulate_load_store_insn()
260 goto fault; in emulate_load_store_insn()
271 goto fault; in emulate_load_store_insn()
280 goto fault; in emulate_load_store_insn()
[all …]
/openbmc/linux/arch/nios2/kernel/
H A Dmisaligned.c72 unsigned int fault; in handle_unaligned_c() local
85 fault = 0; in handle_unaligned_c()
98 fault |= __get_user(d0, (u8 *)(addr+0)); in handle_unaligned_c()
99 fault |= __get_user(d1, (u8 *)(addr+1)); in handle_unaligned_c()
111 fault |= __put_user(d0, (u8 *)(addr+0)); in handle_unaligned_c()
112 fault |= __put_user(d1, (u8 *)(addr+1)); in handle_unaligned_c()
116 fault |= __get_user(d0, (u8 *)(addr+0)); in handle_unaligned_c()
117 fault |= __get_user(d1, (u8 *)(addr+1)); in handle_unaligned_c()
133 fault |= __put_user(d0, (u8 *)(addr+0)); in handle_unaligned_c()
134 fault |= __put_user(d1, (u8 *)(addr+1)); in handle_unaligned_c()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_svm.c66 u8 fault; member
68 } **fault; member
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()
420 fault->client); in nouveau_svm_fault_cancel_fault()
424 nouveau_svm_fault_priority(u8 fault) in nouveau_svm_fault_priority() argument
426 switch (fault) { in nouveau_svm_fault_priority()
472 struct nouveau_svm_fault *fault; in nouveau_svm_fault_cache() local
[all …]
/openbmc/linux/arch/x86/kvm/svm/
H A Dsvm_ops.h12 _ASM_EXTABLE(1b, %l[fault]) \
13 ::: clobber : fault); \
15 fault: \
22 _ASM_EXTABLE(1b, %l[fault]) \
23 :: op1 : clobber : fault); \
25 fault: \
32 _ASM_EXTABLE(1b, %l[fault]) \
33 :: op1, op2 : clobber : fault); \
35 fault: \
/openbmc/linux/arch/x86/kvm/mmu/
H A Dpaging_tmpl.h92 struct x86_exception fault; member
249 ret = __try_cmpxchg_user(ptep_user, &orig_pte, pte, fault); in FNAME()
380 nested_access, &walker->fault); in FNAME()
448 real_gpa = kvm_translate_gpa(vcpu, mmu, gfn_to_gpa(gfn), access, &walker->fault); in FNAME()
481 walker->fault.vector = PF_VECTOR; in FNAME()
482 walker->fault.error_code_valid = true; in FNAME()
483 walker->fault.error_code = errcode; in FNAME()
517 walker->fault.address = addr; in FNAME()
518 walker->fault.nested_page_fault = mmu != vcpu->arch.walk_mmu; in FNAME()
519 walker->fault.async_page_fault = false; in FNAME()
[all …]
H A Dmmu_internal.h250 int kvm_tdp_page_fault(struct kvm_vcpu *vcpu, struct kvm_page_fault *fault);
283 struct kvm_page_fault fault = { in kvm_mmu_do_page_fault() local
303 fault.gfn = fault.addr >> PAGE_SHIFT; in kvm_mmu_do_page_fault()
304 fault.slot = kvm_vcpu_gfn_to_memslot(vcpu, fault.gfn); in kvm_mmu_do_page_fault()
315 if (IS_ENABLED(CONFIG_RETPOLINE) && fault.is_tdp) in kvm_mmu_do_page_fault()
316 r = kvm_tdp_page_fault(vcpu, &fault); in kvm_mmu_do_page_fault()
318 r = vcpu->arch.mmu->page_fault(vcpu, &fault); in kvm_mmu_do_page_fault()
320 if (fault.write_fault_to_shadow_pgtable && emulation_type) in kvm_mmu_do_page_fault()
342 void kvm_mmu_hugepage_adjust(struct kvm_vcpu *vcpu, struct kvm_page_fault *fault);
343 void disallowed_hugepage_adjust(struct kvm_page_fault *fault, u64 spte, int cur_level);
/openbmc/linux/arch/mips/loongson64/
H A Dcop2-ex.c76 goto fault; in loongson_cu2_call()
80 goto fault; in loongson_cu2_call()
92 goto fault; in loongson_cu2_call()
96 goto fault; in loongson_cu2_call()
118 goto fault; in loongson_cu2_call()
123 goto fault; in loongson_cu2_call()
135 goto fault; in loongson_cu2_call()
141 goto fault; in loongson_cu2_call()
165 goto fault; in loongson_cu2_call()
176 goto fault; in loongson_cu2_call()
[all …]
/openbmc/linux/arch/arc/kernel/
H A Dunaligned.c50 goto fault; \
65 goto fault; \
92 goto fault; \
125 goto fault; \
159 fault: state->fault = 1; in fixup_load()
179 goto fault; in fixup_store()
191 fault: state->fault = 1; in fixup_store()
225 if (state.fault) in misaligned_fixup()
226 goto fault; in misaligned_fixup()
230 goto fault; in misaligned_fixup()
[all …]
/openbmc/linux/drivers/iommu/
H A Dio-pgfault.c44 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()
94 if (!(iopf->fault.prm.flags & in iopf_handler()
143 int iommu_queue_iopf(struct iommu_fault *fault, void *cookie) in iommu_queue_iopf() argument
155 if (fault->type != IOMMU_FAULT_PAGE_REQ) in iommu_queue_iopf()
[all …]
/openbmc/linux/arch/powerpc/mm/
H A Dfault.c133 vm_fault_t fault) in do_sigbus() argument
140 if (fault & (VM_FAULT_HWPOISON|VM_FAULT_HWPOISON_LARGE)) { 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
171 if (fault & VM_FAULT_OOM) { in mm_fault_error()
180 if (fault & (VM_FAULT_SIGBUS|VM_FAULT_HWPOISON| in mm_fault_error()
182 return do_sigbus(regs, addr, fault); in mm_fault_error()
183 else if (fault & VM_FAULT_SIGSEGV) in mm_fault_error()
[all …]
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/gpio/
H A Dphosphor-gpio-monitor_%.bbappend19 file://slot-hsc-fault \
20 file://slot-hsc-fault@.service \
21 file://fan-board-efuse-fault \
22 file://fan-board-efuse-fault@.service \
27 file://nic-power-fault \
28 file://nic-power-fault@.service \
37 file://medusa-hsc-fault@.service \
38 file://medusa-hsc-fault \
39 file://medusa-power-module-fault.service \
40 file://medusa-power-module-fault \
[all...]
/openbmc/linux/arch/powerpc/lib/
H A Dchecksum_32.S109 EX_TABLE(8 ## n ## 0b, fault); \
110 EX_TABLE(8 ## n ## 1b, fault); \
111 EX_TABLE(8 ## n ## 2b, fault); \
112 EX_TABLE(8 ## n ## 3b, fault); \
113 EX_TABLE(8 ## n ## 4b, fault); \
114 EX_TABLE(8 ## n ## 5b, fault); \
115 EX_TABLE(8 ## n ## 6b, fault); \
116 EX_TABLE(8 ## n ## 7b, fault);
240 fault: label
244 EX_TABLE(70b, fault);
[all …]
/openbmc/linux/arch/riscv/mm/
H A Dfault.c62 static inline void mm_fault_error(struct pt_regs *regs, unsigned long addr, vm_fault_t fault) in mm_fault_error() argument
69 if (fault & VM_FAULT_OOM) { in mm_fault_error()
76 } else if (fault & (VM_FAULT_SIGBUS | VM_FAULT_HWPOISON | VM_FAULT_HWPOISON_LARGE)) { in mm_fault_error()
80 } else if (fault & VM_FAULT_SIGSEGV) { in mm_fault_error()
231 vm_fault_t fault; in handle_page_fault() local
299 fault = handle_mm_fault(vma, addr, flags | FAULT_FLAG_VMA_LOCK, regs); in handle_page_fault()
300 if (!(fault & (VM_FAULT_RETRY | VM_FAULT_COMPLETED))) in handle_page_fault()
303 if (!(fault & VM_FAULT_RETRY)) { in handle_page_fault()
309 if (fault_signal_pending(fault, regs)) { in handle_page_fault()
341 fault = handle_mm_fault(vma, addr, flags, regs); in handle_page_fault()
[all …]
/openbmc/linux/arch/m68k/mm/
H A Dfault.c73 vm_fault_t fault; in do_page_fault() local
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()
149 if (fault & VM_FAULT_COMPLETED) in do_page_fault()
152 if (unlikely(fault & VM_FAULT_ERROR)) { in do_page_fault()
153 if (fault & VM_FAULT_OOM) in do_page_fault()
155 else if (fault & VM_FAULT_SIGSEGV) in do_page_fault()
157 else if (fault & VM_FAULT_SIGBUS) in do_page_fault()
162 if (fault & VM_FAULT_RETRY) { in do_page_fault()

12345678910>>...31