diff options
author | Marc Zyngier <maz@kernel.org> | 2022-11-13 19:38:26 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2022-11-19 15:56:39 +0300 |
commit | 3d0dba5764b94308b8c4257ad64e383f11ce0c92 (patch) | |
tree | e8222c5ada162482953e8094ff9408008b9e60e7 /init/do_mounts_initrd.c | |
parent | 26d2d0594d7016dbcbce4038aa202c2858d5a944 (diff) | |
download | linux-3d0dba5764b94308b8c4257ad64e383f11ce0c92.tar.xz |
KVM: arm64: PMU: Move the ID_AA64DFR0_EL1.PMUver limit to VM creation
As further patches will enable the selection of a PMU revision
from userspace, sample the supported PMU revision at VM creation
time, rather than building each time the ID_AA64DFR0_EL1 register
is accessed.
This shouldn't result in any change in behaviour.
Reviewed-by: Reiji Watanabe <reijiw@google.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20221113163832.3154370-11-maz@kernel.org
Diffstat (limited to 'init/do_mounts_initrd.c')
0 files changed, 0 insertions, 0 deletions