hcr_el2 43 arch/arm64/include/asm/hardirq.h nmi_ctx->hcr = read_sysreg(hcr_el2); \ hcr_el2 45 arch/arm64/include/asm/hardirq.h write_sysreg(nmi_ctx->hcr | HCR_TGE, hcr_el2); \ hcr_el2 56 arch/arm64/include/asm/hardirq.h write_sysreg(nmi_ctx->hcr, hcr_el2); \ hcr_el2 42 arch/arm64/include/asm/kvm_emulate.h return !(vcpu->arch.hcr_el2 & HCR_RW); hcr_el2 47 arch/arm64/include/asm/kvm_emulate.h vcpu->arch.hcr_el2 = HCR_GUEST_FLAGS; hcr_el2 49 arch/arm64/include/asm/kvm_emulate.h vcpu->arch.hcr_el2 |= HCR_E2H; hcr_el2 52 arch/arm64/include/asm/kvm_emulate.h vcpu->arch.hcr_el2 |= HCR_TEA; hcr_el2 54 arch/arm64/include/asm/kvm_emulate.h vcpu->arch.hcr_el2 |= HCR_TERR; hcr_el2 57 arch/arm64/include/asm/kvm_emulate.h vcpu->arch.hcr_el2 |= HCR_FWB; hcr_el2 60 arch/arm64/include/asm/kvm_emulate.h vcpu->arch.hcr_el2 &= ~HCR_RW; hcr_el2 68 arch/arm64/include/asm/kvm_emulate.h vcpu->arch.hcr_el2 |= HCR_TID3; hcr_el2 72 arch/arm64/include/asm/kvm_emulate.h vcpu->arch.hcr_el2 |= HCR_TID2; hcr_el2 77 arch/arm64/include/asm/kvm_emulate.h return (unsigned long *)&vcpu->arch.hcr_el2; hcr_el2 82 arch/arm64/include/asm/kvm_emulate.h vcpu->arch.hcr_el2 &= ~HCR_TWE; hcr_el2 87 arch/arm64/include/asm/kvm_emulate.h vcpu->arch.hcr_el2 |= HCR_TWE; hcr_el2 92 arch/arm64/include/asm/kvm_emulate.h vcpu->arch.hcr_el2 |= (HCR_API | HCR_APK); hcr_el2 97 arch/arm64/include/asm/kvm_emulate.h vcpu->arch.hcr_el2 &= ~(HCR_API | HCR_APK); hcr_el2 250 arch/arm64/include/asm/kvm_host.h u64 hcr_el2; hcr_el2 95 arch/arm64/kernel/asm-offsets.c DEFINE(VCPU_HCR_EL2, offsetof(struct kvm_vcpu, arch.hcr_el2)); hcr_el2 716 arch/arm64/kvm/guest.c events->exception.serror_pending = !!(vcpu->arch.hcr_el2 & HCR_VSE); hcr_el2 133 arch/arm64/kvm/hyp/switch.c u64 hcr = vcpu->arch.hcr_el2; hcr_el2 138 arch/arm64/kvm/hyp/switch.c write_sysreg(hcr, hcr_el2); hcr_el2 152 arch/arm64/kvm/hyp/switch.c write_sysreg(HCR_HOST_VHE_FLAGS, hcr_el2); hcr_el2 176 arch/arm64/kvm/hyp/switch.c write_sysreg(HCR_HOST_NVHE_FLAGS, hcr_el2); hcr_el2 188 arch/arm64/kvm/hyp/switch.c if (vcpu->arch.hcr_el2 & HCR_VSE) { hcr_el2 189 arch/arm64/kvm/hyp/switch.c vcpu->arch.hcr_el2 &= ~HCR_VSE; hcr_el2 190 arch/arm64/kvm/hyp/switch.c vcpu->arch.hcr_el2 |= read_sysreg(hcr_el2) & HCR_VSE; hcr_el2 387 arch/arm64/kvm/hyp/switch.c if (!(read_sysreg(hcr_el2) & HCR_RW)) hcr_el2 406 arch/arm64/kvm/hyp/switch.c if (vcpu->arch.hcr_el2 & HCR_TVM) hcr_el2 57 arch/arm64/kvm/hyp/tlb.c val = read_sysreg(hcr_el2); hcr_el2 59 arch/arm64/kvm/hyp/tlb.c write_sysreg(val, hcr_el2); hcr_el2 87 arch/arm64/kvm/hyp/tlb.c write_sysreg(HCR_HOST_VHE_FLAGS, hcr_el2);