diff options
author | Alexandru Elisei <alexandru.elisei@arm.com> | 2022-01-27 16:17:57 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-02-08 17:51:21 +0000 |
commit | db858060b1a788fba03711793dcaff19ea43286c (patch) | |
tree | 171defca9e6ad849df7718791af2848f949af082 /drivers/firmware/arm_ffa | |
parent | 46b18782147248b62f00e98a7f87abaf934951e8 (diff) | |
download | linux-stable-db858060b1a788fba03711793dcaff19ea43286c.tar.gz linux-stable-db858060b1a788fba03711793dcaff19ea43286c.tar.bz2 linux-stable-db858060b1a788fba03711793dcaff19ea43286c.zip |
KVM: arm64: Keep a list of probed PMUs
The ARM PMU driver calls kvm_host_pmu_init() after probing to tell KVM that
a hardware PMU is available for guest emulation. Heterogeneous systems can
have more than one PMU present, and the callback gets called multiple
times, once for each of them. Keep track of all the PMUs available to KVM,
as they're going to be needed later.
Reviewed-by: Reiji Watanabe <reijiw@google.com>
Signed-off-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20220127161759.53553-5-alexandru.elisei@arm.com
Diffstat (limited to 'drivers/firmware/arm_ffa')
0 files changed, 0 insertions, 0 deletions