diff options
author | Marc Zyngier <maz@kernel.org> | 2020-11-13 16:41:40 +0000 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-11-27 11:41:12 +0000 |
commit | 46acf89de499b2db07e120c62a796e8a0efbad8d (patch) | |
tree | 226ef219b2f14dfa2766639e6e08b400d4bfe211 /tools/objtool/cfi.h | |
parent | a3da93580202ac9075d4e96f73c8435b9d7262c1 (diff) | |
download | linux-46acf89de499b2db07e120c62a796e8a0efbad8d.tar.bz2 |
KVM: arm64: Gate kvm_pmu_update_state() on the PMU feature
We currently gate the update of the PMU state on the PMU being "ready".
The "ready" state is only set to true when the first vcpu run is
successful, and if it isn't, we never reach the update code.
So the "ready" state is never the right thing to check for, and it
should instead be the presence of the PMU feature, which makes
a bit more sense.
Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/objtool/cfi.h')
0 files changed, 0 insertions, 0 deletions