[PATCH v2 3/3] KVM: arm64: Drop the CPU_FTR_REG_HYP_COPY infrastructure
Quentin Perret
qperret at google.com
Tue Mar 23 09:47:50 GMT 2021
On Monday 22 Mar 2021 at 17:56:39 (+0000), Marc Zyngier wrote:
> Now that the read_ctr macro has been specialised for nVHE,
> the whole CPU_FTR_REG_HYP_COPY infrastrcture looks completely
> overengineered.
>
> Simplify it by populating the two u64 quantities (MMFR0 and 1)
> that the hypervisor need.
>
> Signed-off-by: Marc Zyngier <maz at kernel.org>
Reviewed-by: Quentin Perret <qperret at google.com>
Thanks,
Quentin
More information about the linux-arm-kernel
mailing list