/linux-master/tools/arch/powerpc/include/uapi/asm/ |
H A D | kvm.h | 218 __u32 esr; member in struct:kvm_sregs::__anon109::__anon114
|
/linux-master/arch/arm64/kvm/ |
H A D | mmu.c | 1627 unsigned long esr; local 1635 esr = kvm_vcpu_get_esr(vcpu); 1640 if (esr_fsc_is_translation_fault(esr)) { 1675 if (!esr_fsc_is_translation_fault(esr) && 1676 !esr_fsc_is_permission_fault(esr) && 1677 !esr_fsc_is_access_flag_fault(esr)) { 1739 if (esr_fsc_is_access_flag_fault(esr)) { 1746 esr_fsc_is_permission_fault(esr));
|
H A D | sys_regs.h | 37 #define esr_sys64_to_params(esr) \ 38 ((struct sys_reg_params){ .Op0 = ((esr) >> 20) & 3, \ 39 .Op1 = ((esr) >> 14) & 0x7, \ 40 .CRn = ((esr) >> 10) & 0xf, \ 41 .CRm = ((esr) >> 1) & 0xf, \ 42 .Op2 = ((esr) >> 17) & 0x7, \ 43 .is_write = !((esr) & 1) }) 45 #define esr_cp1x_32_to_params(esr) \ 46 ((struct sys_reg_params){ .Op1 = ((esr) >> 14) & 0x7, \ 47 .CRn = ((esr) >> 1 [all...] |
H A D | sys_regs.c | 24 #include <asm/esr.h> 3182 u64 esr = kvm_vcpu_get_esr(vcpu); local 3184 int Rt2 = (esr >> 10) & 0x1f; 3186 params.CRm = (esr >> 1) & 0xf; 3187 params.is_write = ((esr & 1) == 0); 3190 params.Op1 = (esr >> 16) & 0xf; 3229 static bool kvm_esr_cp10_id_to_sys64(u64 esr, struct sys_reg_params *params) argument 3231 u8 reg_id = (esr >> 10) & 0xf; 3234 params->is_write = ((esr & 1) == 0); 3280 u64 esr local 3567 unsigned long esr = kvm_vcpu_get_esr(vcpu); local [all...] |
H A D | inject_fault.c | 16 #include <asm/esr.h> 61 u64 esr = 0; local 70 esr |= ESR_ELx_IL; 77 esr |= (ESR_ELx_EC_IABT_LOW << ESR_ELx_EC_SHIFT); 79 esr |= (ESR_ELx_EC_IABT_CUR << ESR_ELx_EC_SHIFT); 82 esr |= ESR_ELx_EC_DABT_LOW << ESR_ELx_EC_SHIFT; 84 esr |= ESR_ELx_FSC_EXTABT; 88 vcpu_write_sys_reg(vcpu, esr, ESR_EL1); 91 vcpu_write_sys_reg(vcpu, esr, ESR_EL2); 97 u64 esr local 192 unsigned long addr, esr; local 233 kvm_set_sei_esr(struct kvm_vcpu *vcpu, u64 esr) argument [all...] |
H A D | emulate-nested.c | 2004 u64 esr, val; local 2006 esr = kvm_vcpu_get_esr(vcpu); 2007 sysreg = esr_sys64_to_sysreg(esr); 2008 is_read = (esr & ESR_ELx_SYS64_ISS_DIR_MASK) == ESR_ELx_SYS64_ISS_DIR_READ; 2095 params = esr_sys64_to_params(esr);
|
/linux-master/tools/testing/selftests/kvm/aarch64/ |
H A D | vpmu_counter_access.c | 300 uint64_t esr, ec; local 302 esr = read_sysreg(esr_el1); 303 ec = (esr >> ESR_EC_SHIFT) & ESR_EC_MASK; 307 regs->pc, esr, ec, expected_ec);
|
/linux-master/arch/powerpc/kernel/ |
H A D | traps.c | 573 #define get_reason(regs) ((regs)->esr)
|
H A D | asm-offsets.c | 291 STACK_PT_REGS_OFFSET(_ESR, esr);
|
/linux-master/arch/powerpc/include/uapi/asm/ |
H A D | kvm.h | 218 __u32 esr; member in struct:kvm_sregs::__anon29::__anon34
|
/linux-master/arch/arm64/kvm/hyp/include/hyp/ |
H A D | switch.h | 452 static inline bool esr_is_ptrauth_trap(u64 esr) argument 454 switch (esr_sys64_to_sysreg(esr)) {
|
/linux-master/arch/arm64/include/asm/ |
H A D | kvm_emulate.h | 17 #include <asm/esr.h> 304 u64 esr = kvm_vcpu_get_esr(vcpu); local 306 if (esr & ESR_ELx_CV) 307 return (esr & ESR_ELx_COND_MASK) >> ESR_ELx_COND_SHIFT; 419 unsigned long esr = kvm_vcpu_get_esr(vcpu); local 421 BUG_ON(!esr_fsc_is_permission_fault(esr)); 422 return BIT(ARM64_HW_PGTABLE_LEVEL_SHIFT(esr & ESR_ELx_FSC_LEVEL)); 440 u64 esr = kvm_vcpu_get_esr(vcpu); local 441 return ESR_ELx_SYS64_ISS_RT(esr);
|
H A D | kvm_arm.h | 10 #include <asm/esr.h>
|
H A D | esr.h | 74 #define ESR_ELx_EC(esr) (((esr) & ESR_ELx_EC_MASK) >> ESR_ELx_EC_SHIFT) 79 #define ESR_ELx_ISS(esr) ((esr) & ESR_ELx_ISS_MASK) 82 #define ESR_ELx_ISS2(esr) (((esr) & ESR_ELx_ISS2_MASK) >> ESR_ELx_ISS2_SHIFT) 215 #define ESR_ELx_SYS64_ISS_RT(esr) \ 216 (((esr) & ESR_ELx_SYS64_ISS_RT_MASK) >> ESR_ELx_SYS64_ISS_RT_SHIFT) 375 #define ESR_ELx_MOPS_ISS_DESTREG(esr) (((esr) 382 esr_is_data_abort(unsigned long esr) argument 389 esr_fsc_is_translation_fault(unsigned long esr) argument 397 esr_fsc_is_permission_fault(unsigned long esr) argument 402 esr_fsc_is_access_flag_fault(unsigned long esr) argument [all...] |
H A D | exception.h | 10 #include <asm/esr.h> 19 unsigned long esr = ESR_ELx_EC_SERROR << ESR_ELx_EC_SHIFT; local 22 esr |= (disr & DISR_EL1_ESR_MASK); 24 esr |= (disr & ESR_ELx_ISS_MASK); 26 return esr; 55 void do_mem_abort(unsigned long far, unsigned long esr, struct pt_regs *regs); 56 void do_el0_undef(struct pt_regs *regs, unsigned long esr); 57 void do_el1_undef(struct pt_regs *regs, unsigned long esr); 59 void do_el1_bti(struct pt_regs *regs, unsigned long esr); 60 void do_debug_exception(unsigned long addr_if_watchpoint, unsigned long esr, [all...] |
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_gpu_error.c | 549 err_printf(m, " ESR: 0x%08x\n", ee->esr); 1263 ee->esr = ENGINE_READ(engine, RING_ESR);
|
/linux-master/arch/arm64/mm/ |
H A D | fault.c | 37 #include <asm/esr.h> 47 int (*fn)(unsigned long far, unsigned long esr, 57 static inline const struct fault_info *esr_to_fault_info(unsigned long esr) argument 59 return fault_info + (esr & ESR_ELx_FSC); 62 static inline const struct fault_info *esr_to_debug_fault_info(unsigned long esr) argument 64 return debug_fault_info + DBG_ESR_EVT(esr); 67 static void data_abort_decode(unsigned long esr) argument 69 unsigned long iss2 = ESR_ELx_ISS2(esr); 73 if (esr & ESR_ELx_ISV) { 75 1U << ((esr 100 mem_abort_decode(unsigned long esr) argument 247 is_el1_instruction_abort(unsigned long esr) argument 252 is_el1_data_abort(unsigned long esr) argument 257 is_el1_permission_fault(unsigned long addr, unsigned long esr, struct pt_regs *regs) argument 273 is_spurious_el1_translation_fault(unsigned long addr, unsigned long esr, struct pt_regs *regs) argument 304 die_kernel_fault(const char *msg, unsigned long addr, unsigned long esr, struct pt_regs *regs) argument 323 report_tag_fault(unsigned long addr, unsigned long esr, struct pt_regs *regs) argument 335 report_tag_fault(unsigned long addr, unsigned long esr, struct pt_regs *regs) argument 339 do_tag_recovery(unsigned long addr, unsigned long esr, struct pt_regs *regs) argument 355 is_el1_mte_sync_tag_check_fault(unsigned long esr) argument 368 __do_kernel_fault(unsigned long addr, unsigned long esr, struct pt_regs *regs) argument 413 set_thread_esr(unsigned long address, unsigned long esr) argument 470 do_bad_area(unsigned long far, unsigned long esr, struct pt_regs *regs) argument 508 is_el0_instruction_abort(unsigned long esr) argument 517 is_write_abort(unsigned long esr) argument 522 do_page_fault(unsigned long far, unsigned long esr, struct pt_regs *regs) argument 697 do_translation_fault(unsigned long far, unsigned long esr, struct pt_regs *regs) argument 710 do_alignment_fault(unsigned long far, unsigned long esr, struct pt_regs *regs) argument 720 do_bad(unsigned long far, unsigned long esr, struct pt_regs *regs) argument 725 do_sea(unsigned long far, unsigned long esr, struct pt_regs *regs) argument 755 do_tag_check_fault(unsigned long far, unsigned long esr, struct pt_regs *regs) argument 835 do_mem_abort(unsigned long far, unsigned long esr, struct pt_regs *regs) argument 855 do_sp_pc_abort(unsigned long addr, unsigned long esr, struct pt_regs *regs) argument 912 do_debug_exception(unsigned long addr_if_watchpoint, unsigned long esr, struct pt_regs *regs) argument [all...] |
/linux-master/arch/arm64/kernel/ |
H A D | signal.c | 1020 __put_user_error(current->thread.fault_code, &esr_ctx->esr, err);
|
H A D | hw_breakpoint.c | 24 #include <asm/esr.h> 621 static int breakpoint_handler(unsigned long unused, unsigned long esr, argument 755 static int watchpoint_handler(unsigned long addr, unsigned long esr, argument 783 access = (esr & ESR_ELx_WNR) ? HW_BREAKPOINT_W :
|
H A D | fpsimd.c | 35 #include <asm/esr.h> 1384 void do_sve_acc(unsigned long esr, struct pt_regs *regs) argument 1426 void do_sme_acc(unsigned long esr, struct pt_regs *regs) argument 1438 if (ESR_ELx_ISS(esr) != ESR_ELx_SME_ISS_SME_DISABLED) { 1470 void do_fpsimd_acc(unsigned long esr, struct pt_regs *regs) argument 1488 void do_fpsimd_exc(unsigned long esr, struct pt_regs *regs) argument 1492 if (esr & ESR_ELx_FP_EXC_TFV) { 1493 if (esr & FPEXC_IOF) 1495 else if (esr & FPEXC_DZF) 1497 else if (esr [all...] |
H A D | entry-common.c | 20 #include <asm/esr.h> 321 unsigned long esr) 328 vector, smp_processor_id(), esr, 329 esr_get_class_string(esr)); 426 static void noinstr el1_abort(struct pt_regs *regs, unsigned long esr) argument 432 do_mem_abort(far, esr, regs); 437 static void noinstr el1_pc(struct pt_regs *regs, unsigned long esr) argument 443 do_sp_pc_abort(far, esr, regs); 448 static void noinstr el1_undef(struct pt_regs *regs, unsigned long esr) argument 452 do_el1_undef(regs, esr); 320 __panic_unhandled(struct pt_regs *regs, const char *vector, unsigned long esr) argument 457 el1_bti(struct pt_regs *regs, unsigned long esr) argument 466 el1_dbg(struct pt_regs *regs, unsigned long esr) argument 476 el1_fpac(struct pt_regs *regs, unsigned long esr) argument 487 unsigned long esr = read_sysreg(esr_el1); local 566 unsigned long esr = read_sysreg(esr_el1); local 574 el0_da(struct pt_regs *regs, unsigned long esr) argument 584 el0_ia(struct pt_regs *regs, unsigned long esr) argument 602 el0_fpsimd_acc(struct pt_regs *regs, unsigned long esr) argument 610 el0_sve_acc(struct pt_regs *regs, unsigned long esr) argument 618 el0_sme_acc(struct pt_regs *regs, unsigned long esr) argument 626 el0_fpsimd_exc(struct pt_regs *regs, unsigned long esr) argument 634 el0_sys(struct pt_regs *regs, unsigned long esr) argument 642 el0_pc(struct pt_regs *regs, unsigned long esr) argument 655 el0_sp(struct pt_regs *regs, unsigned long esr) argument 663 el0_undef(struct pt_regs *regs, unsigned long esr) argument 679 el0_mops(struct pt_regs *regs, unsigned long esr) argument 687 el0_inv(struct pt_regs *regs, unsigned long esr) argument 695 el0_dbg(struct pt_regs *regs, unsigned long esr) argument 716 el0_fpac(struct pt_regs *regs, unsigned long esr) argument 726 unsigned long esr = read_sysreg(esr_el1); local 822 unsigned long esr = read_sysreg(esr_el1); local 839 el0_cp15(struct pt_regs *regs, unsigned long esr) argument 858 unsigned long esr = read_sysreg(esr_el1); local 924 unsigned long esr = read_sysreg(esr_el1); local [all...] |
H A D | entry.S | 21 #include <asm/esr.h>
|
/linux-master/arch/arm64/kernel/probes/ |
H A D | kprobes.c | 302 kprobe_breakpoint_handler(struct pt_regs *regs, unsigned long esr) argument 351 kprobe_breakpoint_ss_handler(struct pt_regs *regs, unsigned long esr) argument 375 kretprobe_breakpoint_handler(struct pt_regs *regs, unsigned long esr) argument
|
/linux-master/arch/arm64/include/uapi/asm/ |
H A D | sigcontext.h | 98 __u64 esr; member in struct:esr_context
|
/linux-master/drivers/net/can/flexcan/ |
H A D | flexcan-core.c | 226 u32 esr; /* 0x20 */ member in struct:flexcan_regs 1100 reg_esr = priv->read(®s->esr); 1105 priv->write(reg_esr & (FLEXCAN_ESR_ALL_INT | FLEXCAN_ESR_WAK_INT), ®s->esr);
|