Marc Zyngier f27647b588 KVM: arm64: Don't access PMSELR_EL0/PMUSERENR_EL0 when no PMU is available
When running under a nesting hypervisor, it isn't guaranteed that
the virtual HW will include a PMU. In which case, let's not try
to access the PMU registers in the world switch, as that'd be
deadly.

Reported-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Link: https://lore.kernel.org/r/20210209114844.3278746-3-maz@kernel.org
Message-Id: <20210305185254.3730990-6-maz@kernel.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-03-06 04:18:40 -05:00
..
2019-07-08 09:54:55 -07:00
2021-01-08 15:06:02 -08:00
2020-10-28 13:38:36 +00:00
2020-06-01 15:18:27 -07:00
2020-09-07 15:00:52 +01:00
2020-05-01 16:28:59 +01:00
2021-01-07 18:06:52 -05:00
2019-04-23 18:01:57 +01:00
2020-12-02 19:49:11 +00:00
2020-12-18 10:57:27 -08:00
2020-12-15 12:13:41 -08:00