Home
last modified time | relevance | path

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

12345678910>>...95

/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
A Dbase.c30 struct nvkm_fault *fault = container_of(event, typeof(*fault), event); in nvkm_fault_ntfy_fini() local
31 fault->func->buffer.intr(fault->buffer[index], false); in nvkm_fault_ntfy_fini()
37 struct nvkm_fault *fault = container_of(event, typeof(*fault), event); in nvkm_fault_ntfy_init() local
38 fault->func->buffer.intr(fault->buffer[index], true); in nvkm_fault_ntfy_init()
66 return fault->func->intr(fault); in nvkm_fault_intr()
74 fault->func->fini(fault); in nvkm_fault_fini()
83 fault->func->init(fault); in nvkm_fault_init()
97 buffer->fault = fault; in nvkm_fault_oneinit_buffer()
139 ret = fault->func->oneinit(fault); in nvkm_fault_oneinit()
159 return fault; in nvkm_fault_dtor()
[all …]
A Dgv100.c120 struct nvkm_fault *fault = container_of(notify, typeof(*fault), nrpfb); in gv100_fault_ntfy_nrpfb() local
159 gv100_fault_intr_fault(fault); in gv100_fault_intr()
165 if (fault->buffer[0]) { in gv100_fault_intr()
172 if (fault->buffer[1]) { in gv100_fault_intr()
186 nvkm_notify_put(&fault->nrpfb); in gv100_fault_fini()
187 if (fault->buffer[0]) in gv100_fault_fini()
188 fault->func->buffer.fini(fault->buffer[0]); in gv100_fault_fini()
196 fault->func->buffer.init(fault->buffer[0]); in gv100_fault_init()
197 nvkm_notify_get(&fault->nrpfb); in gv100_fault_init()
203 return nvkm_notify_init(&fault->buffer[0]->object, &fault->event, in gv100_fault_oneinit()
[all …]
A Dtu102.c112 tu102_fault_intr(struct nvkm_fault *fault) in tu102_fault_intr() argument
119 tu102_fault_intr_fault(fault); in tu102_fault_intr()
128 if (fault->buffer[0]) { in tu102_fault_intr()
139 if (fault->buffer[1]) { in tu102_fault_intr()
151 tu102_fault_fini(struct nvkm_fault *fault) in tu102_fault_fini() argument
153 nvkm_notify_put(&fault->nrpfb); in tu102_fault_fini()
154 if (fault->buffer[0]) in tu102_fault_fini()
155 fault->func->buffer.fini(fault->buffer[0]); in tu102_fault_fini()
160 tu102_fault_init(struct nvkm_fault *fault) in tu102_fault_init() argument
163 fault->func->buffer.init(fault->buffer[0]); in tu102_fault_init()
[all …]
A Duser.c35 struct nvkm_device *device = buffer->fault->subdev.device; in nvkm_ufault_map()
48 *pevent = &buffer->fault->event; in nvkm_ufault_ntfy()
58 buffer->fault->func->buffer.fini(buffer); in nvkm_ufault_fini()
66 buffer->fault->func->buffer.init(buffer); in nvkm_ufault_init()
92 struct nvkm_fault *fault = device->fault; in nvkm_ufault_new() local
93 struct nvkm_fault_buffer *buffer = fault->buffer[fault->func->user.rp]; in nvkm_ufault_new()
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
/linux/drivers/infiniband/hw/hfi1/
A Dfault.c70 if (!ibd->fault->n_rxfaults[i] && !ibd->fault->n_txfaults[i]) in _fault_stats_seq_show()
97 struct fault *fault = file->private_data; in fault_opcodes_write() local
139 bitmap_zero(fault->opcodes, sizeof(fault->opcodes) * in fault_opcodes_write()
171 struct fault *fault = file->private_data; in fault_opcodes_read() local
212 if (ibd->fault) in hfi1_fault_exit_debugfs()
223 ibd->fault = kzalloc(sizeof(*ibd->fault), GFP_KERNEL); in hfi1_fault_init_debugfs()
224 if (!ibd->fault) in hfi1_fault_init_debugfs()
270 if (ibd->fault) in hfi1_dbg_fault_suppress_err()
280 if (!ibd->fault || !ibd->fault->enable) in __hfi1_should_fault()
295 if (ibd->fault->fault_skip && ibd->fault->skip) { in __hfi1_should_fault()
[all …]
/linux/drivers/iommu/amd/
A Diommu_v2.c68 struct fault { struct
428 static void handle_fault_error(struct fault *fault) in handle_fault_error() argument
433 set_pri_tag_status(fault->state, fault->tag, PPR_INVALID); 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()
449 set_pri_tag_status(fault->state, fault->tag, PPR_FAILURE); in handle_fault_error()
474 struct fault *fault = container_of(work, struct fault, work); in do_fault() local
508 finish_pri_tag(fault->dev_state, fault->state, fault->tag); in do_fault()
512 kfree(fault); in do_fault()
522 struct fault *fault; in ppr_notifier() local
[all …]
/linux/arch/mips/kernel/
A Dunaligned.c257 goto fault; in emulate_load_store_insn()
272 goto fault; in emulate_load_store_insn()
287 goto fault; in emulate_load_store_insn()
306 goto fault; in emulate_load_store_insn()
329 goto fault; in emulate_load_store_insn()
351 goto fault; in emulate_load_store_insn()
367 goto fault; in emulate_load_store_insn()
542 fault: in emulate_load_store_insn()
614 goto fault; in emulate_load_store_microMIPS()
1169 fault: in emulate_load_store_microMIPS()
[all …]
/linux/drivers/gpu/drm/nouveau/
A Dnouveau_svm.c64 u8 fault; member
66 } **fault; member
416 fault->hub, in nouveau_svm_fault_cancel_fault()
417 fault->gpc, in nouveau_svm_fault_cancel_fault()
424 switch (fault) { in nouveau_svm_fault_priority()
479 fault = kmalloc(sizeof(*fault), GFP_KERNEL); in nouveau_svm_fault_cache()
484 buffer->fault[buffer->fault_nr] = fault; in nouveau_svm_fault_cache()
487 fault = buffer->fault[buffer->fault_nr++]; in nouveau_svm_fault_cache()
496 fault->fault = (info & 0x0000001f); in nouveau_svm_fault_cache()
499 fault->inst, fault->addr, fault->access); in nouveau_svm_fault_cache()
[all …]
/linux/arch/nios2/kernel/
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()
116 fault |= __get_user(d0, (u8 *)(addr+0)); in handle_unaligned_c()
117 fault |= __get_user(d1, (u8 *)(addr+1)); in handle_unaligned_c()
140 fault |= __get_user(d0, (u8 *)(addr+0)); in handle_unaligned_c()
141 fault |= __get_user(d1, (u8 *)(addr+1)); in handle_unaligned_c()
142 fault |= __get_user(d2, (u8 *)(addr+2)); in handle_unaligned_c()
143 fault |= __get_user(d3, (u8 *)(addr+3)); in handle_unaligned_c()
[all …]
/linux/arch/mips/loongson64/
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 …]
/linux/arch/x86/kvm/mmu/
A Dpaging_tmpl.h96 struct x86_exception fault; member
408 &walker->fault); in FNAME()
665 gfn_t base_gfn = fault->gfn; in FNAME()
767 base_gfn, fault->pfn, fault); in FNAME()
840 pgprintk("%s: addr %lx err %x\n", __func__, fault->addr, fault->error_code); in FNAME()
856 if (!fault->prefetch) in FNAME()
862 fault->gfn = walker.gfn; in FNAME()
863 fault->slot = kvm_vcpu_gfn_to_memslot(vcpu, fault->gfn); in FNAME()
898 !is_cr0_wp(vcpu->arch.mmu) && !fault->user && fault->slot) { in FNAME()
1016 *exception = walker.fault; in FNAME()
[all …]
/linux/arch/arc/kernel/
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()
226 goto fault; in misaligned_fixup()
230 goto fault; in misaligned_fixup()
238 goto fault; in misaligned_fixup()
[all …]
/linux/arch/x86/kvm/svm/
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: \
/linux/arch/s390/mm/
A Dfault.c288 vm_fault_t fault) in do_fault_error() argument
292 switch (fault) { in do_fault_error()
357 vm_fault_t fault; in do_exception() local
418 fault = VM_FAULT_BADMAP; in do_exception()
479 fault = VM_FAULT_OOM; in do_exception()
483 fault = 0; in do_exception()
487 return fault; in do_exception()
494 vm_fault_t fault; in do_protection_exception() local
522 if (unlikely(fault)) in do_protection_exception()
530 vm_fault_t fault; in do_dat_exception() local
[all …]
/linux/arch/powerpc/lib/
A Dchecksum_32.S243 fault: label
247 EX_TABLE(70b, fault);
248 EX_TABLE(71b, fault);
249 EX_TABLE(72b, fault);
250 EX_TABLE(73b, fault);
251 EX_TABLE(54b, fault);
272 EX_TABLE(30b, fault);
273 EX_TABLE(31b, fault);
274 EX_TABLE(40b, fault);
275 EX_TABLE(41b, fault);
[all …]
/linux/drivers/iommu/
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()
80 struct iommu_fault_page_request *prm = &iopf->fault.prm; in iopf_handle_single()
144 if (!(iopf->fault.prm.flags & in iopf_handle_group()
186 int iommu_queue_iopf(struct iommu_fault *fault, void *cookie) in iommu_queue_iopf() argument
198 if (fault->type != IOMMU_FAULT_PAGE_REQ) in iommu_queue_iopf()
215 iopf->fault = *fault; in iommu_queue_iopf()
235 group->last_fault.fault = *fault; in iommu_queue_iopf()
242 if (iopf->fault.prm.grpid == fault->prm.grpid) in iommu_queue_iopf()
[all …]
/linux/arch/powerpc/mm/
A Dfault.c138 vm_fault_t fault) in do_sigbus() argument
151 if (fault & VM_FAULT_HWPOISON_LARGE) in do_sigbus()
153 if (fault & VM_FAULT_HWPOISON) in do_sigbus()
166 vm_fault_t fault) in mm_fault_error() argument
176 if (fault & VM_FAULT_OOM) { in mm_fault_error()
187 return do_sigbus(regs, addr, fault); in mm_fault_error()
188 else if (fault & VM_FAULT_SIGSEGV) in mm_fault_error()
395 vm_fault_t fault, major = 0; in ___do_page_fault() local
509 major |= fault & VM_FAULT_MAJOR; in ___do_page_fault()
511 if (fault_signal_pending(fault, regs)) in ___do_page_fault()
[all …]
/linux/arch/parisc/mm/
A Dfault.c267 vm_fault_t fault = 0; in do_page_fault() local
307 fault = handle_mm_fault(vma, address, flags, regs); in do_page_fault()
309 if (fault_signal_pending(fault, regs)) in do_page_fault()
312 if (unlikely(fault & VM_FAULT_ERROR)) { in do_page_fault()
318 if (fault & VM_FAULT_OOM) in do_page_fault()
320 else if (fault & VM_FAULT_SIGSEGV) in do_page_fault()
322 else if (fault & (VM_FAULT_SIGBUS|VM_FAULT_HWPOISON| in do_page_fault()
328 if (fault & VM_FAULT_RETRY) { in do_page_fault()
387 if (fault & (VM_FAULT_HWPOISON|VM_FAULT_HWPOISON_LARGE)) { in do_page_fault()
397 if (fault & VM_FAULT_HWPOISON_LARGE) in do_page_fault()
[all …]
/linux/Documentation/fault-injection/
A Dfault-injection.rst48 - NVMe fault injection
458 1-th fault Y: res=-1/23
459 2-th fault Y: res=-1/23
460 3-th fault Y: res=-1/12
461 4-th fault Y: res=-1/12
462 5-th fault Y: res=-1/23
463 6-th fault Y: res=-1/23
464 7-th fault Y: res=-1/23
465 8-th fault Y: res=-1/12
466 9-th fault Y: res=-1/12
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
A Dgk20a.c29 .intr.fault = gf100_fifo_intr_fault,
31 .fault.access = gk104_fifo_fault_access,
32 .fault.engine = gk104_fifo_fault_engine,
33 .fault.reason = gk104_fifo_fault_reason,
34 .fault.hubclient = gk104_fifo_fault_hubclient,
35 .fault.gpcclient = gk104_fifo_fault_gpcclient,
A Dgm20b.c29 .intr.fault = gm107_fifo_intr_fault,
31 .fault.access = gk104_fifo_fault_access,
32 .fault.engine = gm107_fifo_fault_engine,
33 .fault.reason = gk104_fifo_fault_reason,
34 .fault.hubclient = gk104_fifo_fault_hubclient,
35 .fault.gpcclient = gk104_fifo_fault_gpcclient,
A Dgp10b.c29 .intr.fault = gp100_fifo_intr_fault,
31 .fault.access = gk104_fifo_fault_access,
32 .fault.engine = gp100_fifo_fault_engine,
33 .fault.reason = gk104_fifo_fault_reason,
34 .fault.hubclient = gk104_fifo_fault_hubclient,
35 .fault.gpcclient = gk104_fifo_fault_gpcclient,
A Dgm200.c45 .intr.fault = gm107_fifo_intr_fault,
47 .fault.access = gk104_fifo_fault_access,
48 .fault.engine = gm107_fifo_fault_engine,
49 .fault.reason = gk104_fifo_fault_reason,
50 .fault.hubclient = gk104_fifo_fault_hubclient,
51 .fault.gpcclient = gk104_fifo_fault_gpcclient,
/linux/arch/m68k/mm/
A Dfault.c73 vm_fault_t fault; in do_page_fault() local
140 fault = handle_mm_fault(vma, address, flags, regs); in do_page_fault()
141 pr_debug("handle_mm_fault returns %x\n", fault); in do_page_fault()
143 if (fault_signal_pending(fault, regs)) in do_page_fault()
146 if (unlikely(fault & VM_FAULT_ERROR)) { in do_page_fault()
147 if (fault & VM_FAULT_OOM) in do_page_fault()
149 else if (fault & VM_FAULT_SIGSEGV) in do_page_fault()
151 else if (fault & VM_FAULT_SIGBUS) in do_page_fault()
157 if (fault & VM_FAULT_RETRY) { in do_page_fault()

Completed in 52 milliseconds

12345678910>>...95