/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/subdev/fault/ |
D | base.c | 30 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 …]
|
D | gv100.c | 33 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 …]
|
D | tu102.c | 42 struct nvkm_device *device = buffer->fault->subdev.device; in tu102_fault_buffer_fini() 50 struct nvkm_device *device = buffer->fault->subdev.device; in tu102_fault_buffer_init() 62 struct nvkm_device *device = buffer->fault->subdev.device; in tu102_fault_buffer_info() 73 tu102_fault_intr_fault(struct nvkm_fault *fault) in tu102_fault_intr_fault() argument 75 struct nvkm_subdev *subdev = &fault->subdev; in tu102_fault_intr_fault() 99 tu102_fault_intr(struct nvkm_fault *fault) in tu102_fault_intr() argument 101 struct nvkm_subdev *subdev = &fault->subdev; in tu102_fault_intr() 106 tu102_fault_intr_fault(fault); in tu102_fault_intr() 112 if (fault->buffer[0]) { in tu102_fault_intr() 113 nvkm_event_send(&fault->event, 1, 0, NULL, 0); in tu102_fault_intr() [all …]
|
D | Kbuild | 2 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
|
D | user.c | 35 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/hw/hfi1/ |
D | fault.c | 111 if (!ibd->fault->n_rxfaults[i] && !ibd->fault->n_txfaults[i]) in _fault_stats_seq_show() 116 (unsigned long long)ibd->fault->n_rxfaults[i], in _fault_stats_seq_show() 117 (unsigned long long)ibd->fault->n_txfaults[i]); in _fault_stats_seq_show() 138 struct fault *fault = file->private_data; in fault_opcodes_write() local 180 bitmap_zero(fault->opcodes, sizeof(fault->opcodes) * in fault_opcodes_write() 190 clear_bit(i, fault->opcodes); in fault_opcodes_write() 192 set_bit(i, fault->opcodes); in fault_opcodes_write() 212 struct fault *fault = file->private_data; in fault_opcodes_read() local 213 size_t bitsize = sizeof(fault->opcodes) * BITS_PER_BYTE; in fault_opcodes_read() 221 bit = find_first_bit(fault->opcodes, bitsize); in fault_opcodes_read() [all …]
|
/kernel/linux/linux-5.10/drivers/iommu/amd/ |
D | iommu_v2.c | 66 struct fault { struct 426 static void handle_fault_error(struct fault *fault) in handle_fault_error() argument 430 if (!fault->dev_state->inv_ppr_cb) { in handle_fault_error() 431 set_pri_tag_status(fault->state, fault->tag, PPR_INVALID); in handle_fault_error() 435 status = fault->dev_state->inv_ppr_cb(fault->dev_state->pdev, in handle_fault_error() 436 fault->pasid, in handle_fault_error() 437 fault->address, in handle_fault_error() 438 fault->flags); in handle_fault_error() 441 set_pri_tag_status(fault->state, fault->tag, PPR_SUCCESS); in handle_fault_error() 444 set_pri_tag_status(fault->state, fault->tag, PPR_INVALID); in handle_fault_error() [all …]
|
/kernel/linux/linux-5.10/arch/nios2/kernel/ |
D | misaligned.c | 72 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 …]
|
/kernel/linux/linux-5.10/arch/mips/kernel/ |
D | unaligned.c | 170 goto fault; in emulate_load_store_insn() 179 goto fault; in emulate_load_store_insn() 204 goto fault; in emulate_load_store_insn() 217 goto fault; in emulate_load_store_insn() 230 goto fault; in emulate_load_store_insn() 245 goto fault; in emulate_load_store_insn() 258 goto fault; in emulate_load_store_insn() 283 goto fault; in emulate_load_store_insn() 302 goto fault; in emulate_load_store_insn() 321 goto fault; in emulate_load_store_insn() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
D | nouveau_svm.c | 63 u8 fault; member 65 } **fault; member 410 struct nouveau_svm_fault *fault) in nouveau_svm_fault_cancel_fault() argument 412 nouveau_svm_fault_cancel(svm, fault->inst, in nouveau_svm_fault_cancel_fault() 413 fault->hub, in nouveau_svm_fault_cancel_fault() 414 fault->gpc, in nouveau_svm_fault_cancel_fault() 415 fault->client); in nouveau_svm_fault_cancel_fault() 450 struct nouveau_svm_fault *fault; in nouveau_svm_fault_cache() local 458 if (!buffer->fault[buffer->fault_nr]) { in nouveau_svm_fault_cache() 459 fault = kmalloc(sizeof(*fault), GFP_KERNEL); in nouveau_svm_fault_cache() [all …]
|
/kernel/linux/linux-5.10/arch/mips/loongson64/ |
D | cop2-ex.c | 76 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 …]
|
/kernel/linux/linux-5.10/arch/arc/kernel/ |
D | unaligned.c | 50 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 …]
|
/kernel/linux/linux-5.10/arch/powerpc/lib/ |
D | checksum_32.S | 109 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 …]
|
/kernel/linux/linux-5.10/arch/s390/mm/ |
D | fault.c | 320 vm_fault_t fault) in do_fault_error() argument 324 switch (fault) { in do_fault_error() 333 si_code = (fault == VM_FAULT_BADMAP) ? in do_fault_error() 348 if (fault & VM_FAULT_OOM) { in do_fault_error() 353 } else if (fault & VM_FAULT_SIGSEGV) { in do_fault_error() 359 } else if (fault & VM_FAULT_SIGBUS) { in do_fault_error() 392 vm_fault_t fault; in do_exception() local 412 fault = VM_FAULT_BADCONTEXT; in do_exception() 418 fault = VM_FAULT_BADMAP; in do_exception() 446 fault = VM_FAULT_BADMAP; in do_exception() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/engine/fifo/ |
D | gk20a.c | 29 .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,
|
D | gm20b.c | 29 .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,
|
D | gp10b.c | 29 .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,
|
D | gm200.c | 45 .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,
|
D | gk110.c | 51 .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,
|
D | gk208.c | 48 .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,
|
/kernel/linux/linux-5.10/arch/powerpc/mm/ |
D | fault.c | 137 vm_fault_t fault) in do_sigbus() argument 144 if (fault & (VM_FAULT_HWPOISON|VM_FAULT_HWPOISON_LARGE)) { in do_sigbus() 150 if (fault & VM_FAULT_HWPOISON_LARGE) in do_sigbus() 151 lsb = hstate_index_to_shift(VM_FAULT_GET_HINDEX(fault)); in do_sigbus() 152 if (fault & VM_FAULT_HWPOISON) in do_sigbus() 165 vm_fault_t fault) in mm_fault_error() argument 175 if (fault & VM_FAULT_OOM) { in mm_fault_error() 184 if (fault & (VM_FAULT_SIGBUS|VM_FAULT_HWPOISON| in mm_fault_error() 186 return do_sigbus(regs, addr, fault); in mm_fault_error() 187 else if (fault & VM_FAULT_SIGSEGV) in mm_fault_error() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/blackbox/ |
D | Kconfig | 9 The blackbox is a fault log collecting framework for registered modules 10 of chips. When a fault occurs, blackbox will invoke the registered 26 tristate "blackbox fault log storage by memory directly" 30 This option enables saving fault logs with memory by blackbox when a 42 tristate "blackbox fault log storage by pstore blk" 48 This option enables saving fault logs with pstore blk by blackbox when a 51 happen, then fault log can not be saved. 54 tristate "blackbox fault log storage by pstore ram" 60 This option enables saving fault logs with pstore ram by blackbox when a 64 tristate "blackbox fault log storage by RAW partition" [all …]
|
/kernel/linux/linux-5.10/arch/m68k/mm/ |
D | fault.c | 73 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()
|
/kernel/linux/linux-5.10/include/asm-generic/ |
D | termios-base.h | 21 goto fault; in user_termio_to_kernel_termios() 25 goto fault; in user_termio_to_kernel_termios() 29 goto fault; in user_termio_to_kernel_termios() 33 goto fault; in user_termio_to_kernel_termios() 37 goto fault; in user_termio_to_kernel_termios() 40 goto fault; in user_termio_to_kernel_termios() 44 fault: in user_termio_to_kernel_termios()
|
/kernel/linux/linux-5.10/Documentation/fault-injection/ |
D | fault-injection.rst | 8 Available fault injection capabilities 25 injects futex deadlock and uaddr fault errors. 44 - NVMe fault injection 52 Configure fault-injection capabilities behavior 58 fault-inject-debugfs kernel module provides some debugfs entries for runtime 59 configuration of fault-injection capabilities. 97 to debug the problems revealed by fault injection. 199 that the fault setup with a previous write to this file was injected. 200 A positive integer N indicates that the fault wasn't yet injected. 209 How to add new fault injection capability [all …]
|