Home
last modified time | relevance | path

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

12345678910>>...23

/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
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()
65 struct nvkm_fault *fault = nvkm_fault(subdev); in nvkm_fault_intr() local
66 return fault->func->intr(fault); in nvkm_fault_intr()
72 struct nvkm_fault *fault = nvkm_fault(subdev); in nvkm_fault_fini() local
73 if (fault->func->fini) in nvkm_fault_fini()
74 fault->func->fini(fault); in nvkm_fault_fini()
81 struct nvkm_fault *fault = nvkm_fault(subdev); in nvkm_fault_init() local
[all …]
Dgv100.c33 struct nvkm_device *device = buffer->fault->subdev.device; in gv100_fault_buffer_process()
42 const u32 base = get * buffer->fault->func->buffer.entry_size; in gv100_fault_buffer_process()
76 struct nvkm_device *device = buffer->fault->subdev.device; in gv100_fault_buffer_intr()
87 struct nvkm_device *device = buffer->fault->subdev.device; in gv100_fault_buffer_fini()
95 struct nvkm_device *device = buffer->fault->subdev.device; in gv100_fault_buffer_init()
107 struct nvkm_device *device = buffer->fault->subdev.device; in gv100_fault_buffer_info()
120 struct nvkm_fault *fault = container_of(notify, typeof(*fault), nrpfb); in gv100_fault_ntfy_nrpfb() local
121 gv100_fault_buffer_process(fault->buffer[0]); in gv100_fault_ntfy_nrpfb()
126 gv100_fault_intr_fault(struct nvkm_fault *fault) in gv100_fault_intr_fault() argument
128 struct nvkm_subdev *subdev = &fault->subdev; in gv100_fault_intr_fault()
[all …]
Dtu102.c38 struct nvkm_device *device = buffer->fault->subdev.device; in tu102_fault_buffer_intr()
46 struct nvkm_device *device = buffer->fault->subdev.device; in tu102_fault_buffer_fini()
59 struct nvkm_device *device = buffer->fault->subdev.device; in tu102_fault_buffer_init()
75 struct nvkm_device *device = buffer->fault->subdev.device; in tu102_fault_buffer_info()
86 tu102_fault_intr_fault(struct nvkm_fault *fault) in tu102_fault_intr_fault() argument
88 struct nvkm_subdev *subdev = &fault->subdev; in tu102_fault_intr_fault()
112 tu102_fault_intr(struct nvkm_fault *fault) in tu102_fault_intr() argument
114 struct nvkm_subdev *subdev = &fault->subdev; in tu102_fault_intr()
119 tu102_fault_intr_fault(fault); in tu102_fault_intr()
128 if (fault->buffer[0]) { in tu102_fault_intr()
[all …]
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
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()
/Linux-v5.15/drivers/infiniband/hw/hfi1/
Dfault.c70 if (!ibd->fault->n_rxfaults[i] && !ibd->fault->n_txfaults[i]) in _fault_stats_seq_show()
75 (unsigned long long)ibd->fault->n_rxfaults[i], in _fault_stats_seq_show()
76 (unsigned long long)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()
149 clear_bit(i, fault->opcodes); in fault_opcodes_write()
151 set_bit(i, fault->opcodes); in fault_opcodes_write()
171 struct fault *fault = file->private_data; in fault_opcodes_read() local
172 size_t bitsize = sizeof(fault->opcodes) * BITS_PER_BYTE; in fault_opcodes_read()
180 bit = find_first_bit(fault->opcodes, bitsize); in fault_opcodes_read()
[all …]
/Linux-v5.15/drivers/iommu/amd/
Diommu_v2.c67 struct fault { struct
427 static void handle_fault_error(struct fault *fault) in handle_fault_error() argument
431 if (!fault->dev_state->inv_ppr_cb) { in handle_fault_error()
432 set_pri_tag_status(fault->state, fault->tag, PPR_INVALID); in handle_fault_error()
436 status = fault->dev_state->inv_ppr_cb(fault->dev_state->pdev, in handle_fault_error()
437 fault->pasid, in handle_fault_error()
438 fault->address, in handle_fault_error()
439 fault->flags); in handle_fault_error()
442 set_pri_tag_status(fault->state, fault->tag, PPR_SUCCESS); in handle_fault_error()
445 set_pri_tag_status(fault->state, fault->tag, PPR_INVALID); in handle_fault_error()
[all …]
/Linux-v5.15/arch/nios2/kernel/
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 …]
/Linux-v5.15/arch/x86/kvm/svm/
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-v5.15/arch/mips/kernel/
Dunaligned.c171 goto fault; in emulate_load_store_insn()
180 goto fault; in emulate_load_store_insn()
201 goto fault; in emulate_load_store_insn()
210 goto fault; in emulate_load_store_insn()
219 goto fault; in emulate_load_store_insn()
230 goto fault; in emulate_load_store_insn()
239 goto fault; in emulate_load_store_insn()
257 goto fault; in emulate_load_store_insn()
272 goto fault; in emulate_load_store_insn()
287 goto fault; in emulate_load_store_insn()
[all …]
/Linux-v5.15/drivers/gpu/drm/nouveau/
Dnouveau_svm.c64 u8 fault; member
66 } **fault; member
409 struct nouveau_svm_fault *fault) in nouveau_svm_fault_cancel_fault() argument
411 nouveau_svm_fault_cancel(svm, fault->inst, in nouveau_svm_fault_cancel_fault()
412 fault->hub, in nouveau_svm_fault_cancel_fault()
413 fault->gpc, in nouveau_svm_fault_cancel_fault()
414 fault->client); in nouveau_svm_fault_cancel_fault()
418 nouveau_svm_fault_priority(u8 fault) in nouveau_svm_fault_priority() argument
420 switch (fault) { in nouveau_svm_fault_priority()
466 struct nouveau_svm_fault *fault; in nouveau_svm_fault_cache() local
[all …]
/Linux-v5.15/arch/mips/loongson64/
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-v5.15/arch/arc/kernel/
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 …]
/Linux-v5.15/arch/s390/mm/
Dfault.c290 vm_fault_t fault) in do_fault_error() argument
294 switch (fault) { in do_fault_error()
300 si_code = (fault == VM_FAULT_BADMAP) ? in do_fault_error()
315 if (fault & VM_FAULT_OOM) { in do_fault_error()
320 } else if (fault & VM_FAULT_SIGSEGV) { in do_fault_error()
326 } else if (fault & VM_FAULT_SIGBUS) { in do_fault_error()
359 vm_fault_t fault; in do_exception() local
382 fault = VM_FAULT_BADCONTEXT; in do_exception()
412 fault = VM_FAULT_BADMAP; in do_exception()
420 fault = VM_FAULT_BADMAP; in do_exception()
[all …]
/Linux-v5.15/arch/powerpc/lib/
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);
243 fault: label
247 EX_TABLE(70b, fault);
[all …]
/Linux-v5.15/drivers/iommu/
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()
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()
210 if (!(fault->prm.flags & IOMMU_FAULT_PAGE_REQUEST_LAST_PAGE)) { in iommu_queue_iopf()
[all …]
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
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,
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,
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,
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,
Dgk110.c51 .intr.fault = gf100_fifo_intr_fault,
53 .fault.access = gk104_fifo_fault_access,
54 .fault.engine = gk104_fifo_fault_engine,
55 .fault.reason = gk104_fifo_fault_reason,
56 .fault.hubclient = gk104_fifo_fault_hubclient,
57 .fault.gpcclient = gk104_fifo_fault_gpcclient,
Dgk208.c48 .intr.fault = gf100_fifo_intr_fault,
50 .fault.access = gk104_fifo_fault_access,
51 .fault.engine = gk104_fifo_fault_engine,
52 .fault.reason = gk104_fifo_fault_reason,
53 .fault.hubclient = gk104_fifo_fault_hubclient,
54 .fault.gpcclient = gk104_fifo_fault_gpcclient,
/Linux-v5.15/arch/powerpc/mm/
Dfault.c138 vm_fault_t fault) in do_sigbus() argument
145 if (fault & (VM_FAULT_HWPOISON|VM_FAULT_HWPOISON_LARGE)) { in do_sigbus()
151 if (fault & VM_FAULT_HWPOISON_LARGE) in do_sigbus()
152 lsb = hstate_index_to_shift(VM_FAULT_GET_HINDEX(fault)); 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()
185 if (fault & (VM_FAULT_SIGBUS|VM_FAULT_HWPOISON| 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()
[all …]
/Linux-v5.15/arch/parisc/mm/
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-v5.15/arch/m68k/mm/
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()

12345678910>>...23