KVM/arm64 fixes for 5.18, take #2
Marc Zyngier
maintainerPaolo,
Here's a trio of fixes for 5.18. Nothing terribly interesting, but nonetheless important fixes (two of the bugs are related to AArch32).
Please pull,
M.
The following changes since commit 21db83846683d3987666505a3ec38f367708199a:
selftests: KVM: Free the GIC FD when cleaning up in arch_timer (2022-04-07 08:46:13 +0100)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.18-2
for you to fetch changes up to 85ea6b1ec915c9dd90caf3674b203999d8c7e062:
KVM: arm64: Inject exception on out-of-IPA-range translation fault (2022-04-27 23:02:23 +0100)
----------------------------------------------------------------
KVM/arm64 fixes for 5.18, take #2
- Take care of faults occuring between the PARange and IPA range by injecting an exception
- Fix S2 faults taken from a host EL0 in protected mode
- Work around Oops caused by a PMU access from a 32bit guest when PMU has been created. This is a temporary bodge until we fix it for good.
----------------------------------------------------------------
Alexandru Elisei (1):
KVM/arm64: Don't emulate a PMU for 32-bit guests if feature not set
Marc Zyngier (1):
KVM: arm64: Inject exception on out-of-IPA-range translation fault
Will Deacon (1):
KVM: arm64: Handle host stage-2 faults from 32-bit EL0
arch/arm64/include/asm/kvm_emulate.h | 1 + arch/arm64/kvm/hyp/nvhe/host.S | 18 +++++++++--------- arch/arm64/kvm/inject_fault.c | 28 ++++++++++++++++++++++++++++ arch/arm64/kvm/mmu.c | 19 +++++++++++++++++++ arch/arm64/kvm/pmu-emul.c | 23 ++++++++++++++++++++++- 5 files changed, 79 insertions(+), 10 deletions(-)
_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm
Paolo Bonzini
maintainerQuoted 4 lines · Marc Zyngier
Paolo,
Here's a trio of fixes for 5.18. Nothing terribly interesting, but nonetheless important fixes (two of the bugs are related to AArch32).
Cool, will pull soon. Please take a quick look at the flags->data ABI fix, it's one patch on top of 5.18 as you requested and if I hear nothing I'll send it ~Sunday morning to Linus.
Thanks,
Paolo
Quoted 45 lines
Please pull,
M.The following changes since commit
21db83846683d3987666505a3ec38f367708199a:selftests: KVM: Free the GIC FD when cleaning up in
arch_timer(2022-04-07 08:46:13 +0100)are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.gittags/kvmarm-fixes-5.18-2for you to fetch changes up to
85ea6b1ec915c9dd90caf3674b203999d8c7e062:KVM: arm64: Inject exception on out-of-IPA-range translation fault (2022-04-27 23:02:23 +0100)----------------------------------------------------------------
KVM/arm64 fixes for 5.18, take #2- Take care of faults occuring between the PARange and IPA range by injecting an exception
- Fix S2 faults taken from a host EL0 in protected mode
- Work around Oops caused by a PMU access from a 32bit guest when PMU has been created. This is a temporary bodge until we fix it for good.
----------------------------------------------------------------
Alexandru Elisei (1):
KVM/arm64: Don't emulate a PMU for 32-bit guests if feature not setMarc Zyngier (1):
KVM: arm64: Inject exception on out-of-IPA-range translation faultWill Deacon (1):
KVM: arm64: Handle host stage-2 faults from 32-bit EL0arch/arm64/include/asm/kvm_emulate.h | 1 + arch/arm64/kvm/hyp/nvhe/host.S | 18 +++++++++--------- arch/arm64/kvm/inject_fault.c | 28 ++++++++++++++++++++++++++++ arch/arm64/kvm/mmu.c | 19 +++++++++++++++++++ arch/arm64/kvm/pmu-emul.c | 23 ++++++++++++++++++++++- 5 files changed, 79 insertions(+), 10 deletions(-)