Hi, On 7/6/20 1:54 PM, Marc Zyngier wrote: > Switch the hypervisor code to using ctxt_sys_reg/__vcpu_sys_reg instead > of raw sys_regs accesses. No intended functionnal change. > > Signed-off-by: Marc Zyngier <maz@xxxxxxxxxx> > --- > arch/arm64/include/asm/kvm_host.h | 2 +- > arch/arm64/kvm/hyp/include/hyp/debug-sr.h | 4 +- > arch/arm64/kvm/hyp/include/hyp/switch.h | 7 +- > arch/arm64/kvm/hyp/include/hyp/sysreg-sr.h | 110 ++++++++++----------- > arch/arm64/kvm/hyp/nvhe/switch.c | 4 +- > 5 files changed, 62 insertions(+), 65 deletions(-) Looks fine to me, checked that the correct function is used (either __vcpu_sys_reg, or ctxt_sys_reg), and that the registers names match. Also did a compile test to make extra sure I didn't miss anything: Reviewed-by: Alexandru Elisei <alexandru.elisei@xxxxxxx> Thanks, Alex _______________________________________________ kvmarm mailing list kvmarm@xxxxxxxxxxxxxxxxxxxxx https://lists.cs.columbia.edu/mailman/listinfo/kvmarm