Lines Matching +full:ipa +full:- +full:reg
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2012,2013 - ARM Ltd
7 * Copyright (C) 2012 - Virtual Open Systems and Columbia University
14 #include <linux/arm-smccc.h>
78 * translation regime that isn't affected by its own stage-2
79 * translation, such as a non-VHE hypervisor running at vEL2, or
81 * canonical stage-2 page tables.
116 * VM-wide PMU filter, implemented as a bitmap and big enough for
128 u64 hpfar_el2; /* Hyp IPA Fault Address Register */
157 MDCCINT_EL1, /* Monitor Debug Comms Channel Interrupt Enable Reg */
163 PMEVCNTR0_EL0, /* Event Counter Register (0-30) */
166 PMEVTYPER0_EL0, /* Event Type Register (0-30) */
200 FPEXC32_EL2, /* Floating-Point Exception Control Register */
233 #define c10_AMAIR0 (AMAIR_EL1 * 2) /* Aux Memory Attr Indirection Reg */
234 #define c10_AMAIR1 (c10_AMAIR0 + 1)/* Aux Memory Attr Indirection Reg */
352 /* vcpu power-off state */
386 #define vcpu_sve_pffr(vcpu) ((void *)((char *)((vcpu)->arch.sve_state) + \
387 sve_ffr_offset((vcpu)->arch.sve_max_vl)))
393 if (WARN_ON(!sve_vl_valid((vcpu)->arch.sve_max_vl))) { \
396 __vcpu_vq = sve_vq_from_vl((vcpu)->arch.sve_max_vl); \
414 ((vcpu)->arch.flags & KVM_ARM64_GUEST_HAS_SVE))
420 (vcpu)->arch.flags & KVM_ARM64_GUEST_HAS_PTRAUTH)
425 #define vcpu_gp_regs(v) (&(v)->arch.ctxt.regs)
434 #define __ctxt_sys_reg(c,r) (&(c)->sys_regs[(r)])
438 #define __vcpu_sys_reg(v,r) (ctxt_sys_reg(&(v)->arch.ctxt, (r)))
440 u64 vcpu_read_sys_reg(const struct kvm_vcpu *vcpu, int reg);
441 void vcpu_write_sys_reg(struct kvm_vcpu *vcpu, u64 val, int reg);
449 #define vcpu_cp14(v,r) ((v)->arch.ctxt.copro[(r) ^ CPx_BIAS])
450 #define vcpu_cp15(v,r) ((v)->arch.ctxt.copro[(r) ^ CPx_BIAS])
474 int kvm_arm_get_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg);
475 int kvm_arm_set_reg(struct kvm_vcpu *vcpu, const struct kvm_one_reg *reg);
562 vcpu_arch->steal.base = GPA_INVALID; in kvm_arm_pvtime_vcpu_init()
567 return (vcpu_arch->steal.base != GPA_INVALID); in kvm_arm_is_pvtime_enabled()
621 return (!has_vhe() && attr->exclude_host); in kvm_pmu_counter_deferred()
655 ((vcpu)->arch.flags & KVM_ARM64_VCPU_SVE_FINALIZED)