Searched refs:hcr_el2 (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
D | kvm_emulate.h | 41 return !(vcpu->arch.hcr_el2 & HCR_RW); in vcpu_el1_is_32bit() 46 vcpu->arch.hcr_el2 = HCR_GUEST_FLAGS; in vcpu_reset_hcr() 48 vcpu->arch.hcr_el2 |= HCR_E2H; in vcpu_reset_hcr() 51 vcpu->arch.hcr_el2 |= HCR_TEA; in vcpu_reset_hcr() 53 vcpu->arch.hcr_el2 |= HCR_TERR; in vcpu_reset_hcr() 57 vcpu->arch.hcr_el2 |= HCR_FWB; in vcpu_reset_hcr() 65 vcpu->arch.hcr_el2 |= HCR_TVM; in vcpu_reset_hcr() 69 vcpu->arch.hcr_el2 &= ~HCR_RW; in vcpu_reset_hcr() 77 vcpu->arch.hcr_el2 |= HCR_TID3; in vcpu_reset_hcr() 81 vcpu->arch.hcr_el2 |= HCR_TID2; in vcpu_reset_hcr() [all …]
|
D | hardirq.h | 45 ___hcr = read_sysreg(hcr_el2); \ 47 write_sysreg(___hcr | HCR_TGE, hcr_el2); \ 88 write_sysreg(___hcr, hcr_el2); \
|
D | kvm_ptrauth.h | 73 mrs \reg1, hcr_el2 85 mrs \reg1, hcr_el2
|
D | kvm_host.h | 293 u64 hcr_el2; member
|
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/include/hyp/ |
D | switch.h | 104 u64 hcr = vcpu->arch.hcr_el2; in ___activate_traps() 109 write_sysreg(hcr, hcr_el2); in ___activate_traps() 123 if (vcpu->arch.hcr_el2 & HCR_VSE) { in ___deactivate_traps() 124 vcpu->arch.hcr_el2 &= ~HCR_VSE; in ___deactivate_traps() 125 vcpu->arch.hcr_el2 |= read_sysreg(hcr_el2) & HCR_VSE; in ___deactivate_traps() 276 if (!(read_sysreg(hcr_el2) & HCR_RW)) in __hyp_handle_fpsimd() 294 if (vcpu->arch.hcr_el2 & HCR_TVM) in handle_tx2_tvm() 395 val = read_sysreg(hcr_el2); in __hyp_handle_ptrauth() 397 write_sysreg(val, hcr_el2); in __hyp_handle_ptrauth()
|
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/vhe/ |
D | tlb.c | 57 val = read_sysreg(hcr_el2); in __tlb_switch_to_guest() 59 write_sysreg(val, hcr_el2); in __tlb_switch_to_guest() 70 write_sysreg(HCR_HOST_VHE_FLAGS, hcr_el2); in __tlb_switch_to_host()
|
D | switch.c | 79 write_sysreg(HCR_HOST_VHE_FLAGS, hcr_el2); in __deactivate_traps()
|
/kernel/linux/linux-5.10/arch/arm64/kvm/hyp/nvhe/ |
D | switch.c | 99 write_sysreg(HCR_HOST_NVHE_FLAGS, hcr_el2); in __deactivate_traps()
|
/kernel/linux/linux-5.10/arch/arm64/kernel/ |
D | asm-offsets.c | 106 DEFINE(VCPU_HCR_EL2, offsetof(struct kvm_vcpu, arch.hcr_el2)); in main()
|
D | head.S | 523 msr hcr_el2, x0
|
/kernel/linux/linux-5.10/arch/arm64/kvm/ |
D | guest.c | 764 events->exception.serror_pending = !!(vcpu->arch.hcr_el2 & HCR_VSE); in __kvm_arm_vcpu_get_events()
|