Re: [PATCH v3 31/32] KVM: arm64: Disable PMU support in protected mode

2021-03-05 Thread Will Deacon
On Tue, Mar 02, 2021 at 03:00:01PM +, Quentin Perret wrote: > The host currently writes directly in EL2 per-CPU data sections from > the PMU code when running in nVHE. In preparation for unmapping the EL2 > sections from the host stage 2, disable PMU support in protected mode as > we currently

[PATCH v3 31/32] KVM: arm64: Disable PMU support in protected mode

2021-03-02 Thread Quentin Perret
The host currently writes directly in EL2 per-CPU data sections from the PMU code when running in nVHE. In preparation for unmapping the EL2 sections from the host stage 2, disable PMU support in protected mode as we currently do not have a use-case for it. Signed-off-by: Quentin Perret ---