[GIT PULL] KVM/arm64 fixes for 5.11, take #2
Marc Zyngier
maz at kernel.org
Thu Jan 21 10:46:53 EST 2021
Hi Paolo,
This is the second batch of fixes for 5.11. Mostly PMU fixes,
but also a couple of memory tagging fixes as well as a PSCI
firmware workaround.
Please pull,
M.
The following changes since commit 45ba7b195a369f35cb39094fdb32efe5908b34ad:
arm64: cpufeature: remove non-exist CONFIG_KVM_ARM_HOST (2021-01-05 13:22:07 +0000)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.11-2
for you to fetch changes up to 139bc8a6146d92822c866cf2fd410159c56b3648:
KVM: Forbid the use of tagged userspace addresses for memslots (2021-01-21 14:17:36 +0000)
----------------------------------------------------------------
KVM/arm64 fixes for 5.11, take #2
- Don't allow tagged pointers to point to memslots
- Filter out ARMv8.1+ PMU events on v8.0 hardware
- Hide PMU registers from userspace when no PMU is configured
- More PMU cleanups
- Don't try to handle broken PSCI firmware
- More sys_reg() to reg_to_encoding() conversions
----------------------------------------------------------------
Alexandru Elisei (1):
KVM: arm64: Use the reg_to_encoding() macro instead of sys_reg()
David Brazdil (1):
KVM: arm64: Allow PSCI SYSTEM_OFF/RESET to return
Marc Zyngier (4):
KVM: arm64: Hide PMU registers from userspace when not available
KVM: arm64: Simplify handling of absent PMU system registers
KVM: arm64: Filter out v8.1+ events on v8.0 HW
KVM: Forbid the use of tagged userspace addresses for memslots
Steven Price (1):
KVM: arm64: Compute TPIDR_EL2 ignoring MTE tag
Documentation/virt/kvm/api.rst | 3 ++
arch/arm64/kvm/arm.c | 3 +-
arch/arm64/kvm/hyp/nvhe/psci-relay.c | 13 ++---
arch/arm64/kvm/pmu-emul.c | 10 ++--
arch/arm64/kvm/sys_regs.c | 93 ++++++++++++++++++++++--------------
virt/kvm/kvm_main.c | 1 +
6 files changed, 74 insertions(+), 49 deletions(-)
More information about the linux-arm-kernel
mailing list