[PATCH v3 31/32] KVM: arm64: Disable PMU support in protected mode
Will Deacon
will at kernel.org
Fri Mar 5 19:02:06 GMT 2021
On Tue, Mar 02, 2021 at 03:00:01PM +0000, 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 do not have a use-case for it.
>
> Signed-off-by: Quentin Perret <qperret at google.com>
> ---
> arch/arm64/kvm/perf.c | 3 ++-
> arch/arm64/kvm/pmu.c | 8 ++++----
> 2 files changed, 6 insertions(+), 5 deletions(-)
Acked-by: Will Deacon <will at kernel.org>
Will
More information about the linux-arm-kernel
mailing list