]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch kvm-arm64/pmu/reset-values into kvmarm-master/next
authorMarc Zyngier <maz@kernel.org>
Fri, 20 Aug 2021 11:14:12 +0000 (12:14 +0100)
committerMarc Zyngier <maz@kernel.org>
Fri, 20 Aug 2021 11:14:12 +0000 (12:14 +0100)
commitfe8be374fa4b3cdb534e45fc767988d23f706c51
treecf434c2336d481b666f2a6e1df59aa54c4199a49
parenta626f522ee79447ed56acaaf81ccbb30681f81d8
parentdfa19e7224c55d39d7a9604dc603709efd26ff29
Merge branch kvm-arm64/pmu/reset-values into kvmarm-master/next

Fix the reset values for our PMU emulation. As a side effect,
it allows a nice optimisation by only tracking the in-use
counters when flipping them on and off, now that we are
guaranteed not to have any spurious bit set.

* kvm-arm64/pmu/reset-values:
  KVM: arm64: Remove PMSWINC_EL0 shadow register
  KVM: arm64: Disabling disabled PMU counters wastes a lot of time
  KVM: arm64: Drop unnecessary masking of PMU registers
  KVM: arm64: Narrow PMU sysreg reset values to architectural requirements

Signed-off-by: Marc Zyngier <maz@kernel.org>