Home
last modified time | relevance | path

Searched refs:fault_addr (Results 1 – 25 of 31) sorted by relevance

12

/Linux-v5.10/tools/testing/selftests/powerpc/mm/
Dpkey_exec_prot.c26 static volatile unsigned int *fault_addr; variable
33 if (sinfo->si_addr != (void *) fault_addr) in trap_handler()
47 if (sinfo->si_addr != (void *) fault_addr) { in segv_handler()
162 fault_addr = insns; in test()
180 printf("read from %p, pkey permissions are %s\n", fault_addr, in test()
182 i = *fault_addr; in test()
197 printf("write to %p, pkey permissions are %s\n", fault_addr, in test()
199 *fault_addr = PPC_INST_TRAP; in test()
218 printf("read from %p, pkey permissions are %s\n", fault_addr, in test()
220 i = *fault_addr; in test()
[all …]
Dpkey_siginfo.c32 static volatile unsigned int *volatile fault_addr; variable
50 if (sinfo->si_addr != (void *) fault_addr) { in segv_handler()
68 pgstart = (void *) ((unsigned long) fault_addr & ~(pgsize - 1)); in segv_handler()
179 fault_addr = base + (rand() % numinsns); in protect_access()
190 FAIL_IF_EXIT(*fault_addr != PPC_INST_NOP && in protect_access()
191 *fault_addr != PPC_INST_BLR); in protect_access()
200 *fault_addr = PPC_INST_BLR; in protect_access()
201 FAIL_IF_EXIT(*fault_addr != PPC_INST_BLR); in protect_access()
209 : : "r"(fault_addr) : "ctr", "lr"); in protect_access()
Dbad_accesses.c29 static volatile unsigned long fault_addr; variable
35 fault_addr = (unsigned long)info->si_addr; in segv_handler()
44 fault_addr = 0; in bad_access()
60 (fault_addr < PAGE_OFFSET || fault_addr >= kernel_virt_end)); in bad_access()
/Linux-v5.10/arch/x86/mm/
Dextable.c30 unsigned long fault_addr) in ex_handler_default() argument
40 unsigned long fault_addr) in ex_handler_fault() argument
61 unsigned long fault_addr) in ex_handler_fprestore() argument
76 unsigned long fault_addr) in ex_handler_uaccess() argument
87 unsigned long fault_addr) in ex_handler_copy() argument
99 unsigned long fault_addr) in ex_handler_rdmsr_unsafe() argument
116 unsigned long fault_addr) in ex_handler_wrmsr_unsafe() argument
132 unsigned long fault_addr) in ex_handler_clear_fs() argument
137 return ex_handler_default(fixup, regs, trapnr, error_code, fault_addr); in ex_handler_clear_fs()
159 unsigned long fault_addr) in fixup_exception() argument
[all …]
/Linux-v5.10/arch/parisc/include/asm/
Duaccess.h56 #define ASM_EXCEPTIONTABLE_ENTRY( fault_addr, except_addr )\ argument
58 ".word (" #fault_addr " - .), (" #except_addr " - .)\n\t" \
67 #define ASM_EXCEPTIONTABLE_ENTRY_EFAULT( fault_addr, except_addr )\ argument
68 ASM_EXCEPTIONTABLE_ENTRY( fault_addr, except_addr + 1)
Dassembly.h506 #define ASM_EXCEPTIONTABLE_ENTRY(fault_addr, except_addr) \ argument
508 .word (fault_addr - .), (except_addr - .) ! \
/Linux-v5.10/arch/mips/include/asm/
Dfpu_emulator.h170 void __user **fault_addr);
171 void force_fcr31_sig(unsigned long fcr31, void __user *fault_addr,
173 int process_fpemu_return(int sig, void __user *fault_addr,
/Linux-v5.10/arch/um/include/asm/
Dprocessor-generic.h25 void *fault_addr; member
51 .fault_addr = NULL, \
/Linux-v5.10/arch/mips/kernel/
Dtraps.c762 void force_fcr31_sig(unsigned long fcr31, void __user *fault_addr, in force_fcr31_sig() argument
778 force_sig_fault_to_task(SIGFPE, si_code, fault_addr, tsk); in force_fcr31_sig()
781 int process_fpemu_return(int sig, void __user *fault_addr, unsigned long fcr31) in process_fpemu_return() argument
791 force_fcr31_sig(fcr31, fault_addr, current); in process_fpemu_return()
795 force_sig_fault(SIGBUS, BUS_ADRERR, fault_addr); in process_fpemu_return()
800 vma = find_vma(current->mm, (unsigned long)fault_addr); in process_fpemu_return()
801 if (vma && (vma->vm_start <= (unsigned long)fault_addr)) in process_fpemu_return()
806 force_sig_fault(SIGSEGV, si_code, fault_addr); in process_fpemu_return()
819 void __user *fault_addr; in simulate_fp() local
846 &fault_addr); in simulate_fp()
[all …]
Dunaligned.c442 void __user *fault_addr = NULL; in emulate_load_store_insn() local
448 &fault_addr); in emulate_load_store_insn()
452 process_fpemu_return(res, fault_addr, 0); in emulate_load_store_insn()
956 void __user *fault_addr = NULL; in emulate_load_store_microMIPS() local
968 &fault_addr); in emulate_load_store_microMIPS()
972 process_fpemu_return(res, fault_addr, 0); in emulate_load_store_microMIPS()
Dmips-r2-to-r6-emul.c913 void __user *fault_addr = NULL; in mipsr2_decoder() local
1179 &fault_addr); in mipsr2_decoder()
1199 current->thread.cp0_baduaddr = (unsigned long)fault_addr; in mipsr2_decoder()
/Linux-v5.10/arch/mips/math-emu/
Dcp1emu.c972 struct mm_decoded_insn dec_insn, void __user **fault_addr) in cop1Emulate() argument
1056 *fault_addr = dva; in cop1Emulate()
1061 *fault_addr = dva; in cop1Emulate()
1074 *fault_addr = dva; in cop1Emulate()
1079 *fault_addr = dva; in cop1Emulate()
1090 *fault_addr = wva; in cop1Emulate()
1095 *fault_addr = wva; in cop1Emulate()
1108 *fault_addr = wva; in cop1Emulate()
1113 *fault_addr = wva; in cop1Emulate()
1363 sig = fpux_emu(xcp, ctx, ir, fault_addr); in cop1Emulate()
[all …]
/Linux-v5.10/arch/x86/kernel/cpu/mce/
Dinternal.h192 unsigned long fault_addr);
197 unsigned long fault_addr);
/Linux-v5.10/arch/powerpc/include/asm/
Ddtl.h18 __be64 fault_addr; member
/Linux-v5.10/drivers/gpu/drm/i915/gt/
Dintel_gt.c246 u64 fault_addr; in gen8_check_faults() local
251 fault_addr = ((u64)(fault_data1 & FAULT_VA_HIGH_BITS) << 44) | in gen8_check_faults()
260 upper_32_bits(fault_addr), lower_32_bits(fault_addr), in gen8_check_faults()
/Linux-v5.10/arch/x86/include/asm/
Dextable.h40 unsigned long error_code, unsigned long fault_addr);
/Linux-v5.10/drivers/scsi/cxlflash/
Docxl_hw.h69 u64 fault_addr; /* Address that triggered the fault */ member
/Linux-v5.10/drivers/iommu/
Dexynos-iommu.c389 sysmmu_iova_t fault_addr) in show_fault_information() argument
394 dev_name(data->master), finfo->name, fault_addr); in show_fault_information()
396 ent = section_entry(phys_to_virt(data->pgtable), fault_addr); in show_fault_information()
399 ent = page_entry(ent, fault_addr); in show_fault_information()
410 sysmmu_iova_t fault_addr = -1; in exynos_sysmmu_irq() local
440 fault_addr = readl(data->sfrbase + finfo->addr_reg); in exynos_sysmmu_irq()
441 show_fault_information(data, finfo, fault_addr); in exynos_sysmmu_irq()
445 data->master, fault_addr, finfo->type); in exynos_sysmmu_irq()
Domap-iommu.c234 u32 status, fault_addr; in iommu_report_fault() local
243 fault_addr = iommu_read_reg(obj, MMU_FAULT_AD); in iommu_report_fault()
244 *da = fault_addr; in iommu_report_fault()
/Linux-v5.10/arch/um/kernel/
Dtrap.c242 current->thread.fault_addr = (void *) address; in segv()
245 else if (current->thread.fault_addr != NULL) in segv()
/Linux-v5.10/arch/s390/kvm/
Dvsie.c40 unsigned long fault_addr; /* 0x0228 */ member
922 vsie_page->fault_addr = current->thread.gmap_addr; in handle_fault()
936 if (vsie_page->fault_addr) in handle_last_fault()
938 vsie_page->fault_addr); in handle_last_fault()
939 vsie_page->fault_addr = 0; in handle_last_fault()
1269 vsie_page->fault_addr = 0; in get_vsie_page()
/Linux-v5.10/arch/sparc/mm/
Dfault_64.c158 unsigned long fault_addr, unsigned int insn, in do_fault_siginfo() argument
173 addr = fault_addr; in do_fault_siginfo()
/Linux-v5.10/include/uapi/linux/
Didxd.h182 uint64_t fault_addr; member
/Linux-v5.10/drivers/dma/idxd/
Dregisters.h253 u64 fault_addr; member
/Linux-v5.10/drivers/misc/cxl/
Dfault.c105 ctx->fault_addr = ctx->dar; in cxl_ack_ae()

12