mbox series

[GIT,PULL] KVM/arm64 fixes for 5.9, take #2

Message ID 20200918171651.1340445-1-maz@kernel.org
State New
Headers show
Series [GIT,PULL] KVM/arm64 fixes for 5.9, take #2 | expand

Pull-request

git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.9-2

Message

Marc Zyngier Sept. 18, 2020, 5:16 p.m. UTC
Hi Paolo,

Here's the latest set of fixes for 5.9. The first patch is pretty
nasty, as a guest hitting this bug will have its vcpu stuck on a
fault, without any hope of it being resolved. Embarrassing, and
definitely a stable candidate. The second patch is only a cleanup
after the first one.

Please pull,

	M.

The following changes since commit 7b75cd5128421c673153efb1236705696a1a9812:

  KVM: arm64: Update page shift if stage 2 block mapping not supported (2020-09-04 10:53:48 +0100)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.9-2

for you to fetch changes up to 620cf45f7a516bf5fe9e5dce675a652e935c8bde:

  KVM: arm64: Remove S1PTW check from kvm_vcpu_dabt_iswrite() (2020-09-18 18:01:48 +0100)

----------------------------------------------------------------
KVM/arm64 fixes for 5.9, take #2

- Fix handling of S1 Page Table Walk permission fault at S2
  on instruction fetch
- Cleanup kvm_vcpu_dabt_iswrite()

----------------------------------------------------------------
Marc Zyngier (2):
      KVM: arm64: Assume write fault on S1PTW permission fault on instruction fetch
      KVM: arm64: Remove S1PTW check from kvm_vcpu_dabt_iswrite()

 arch/arm64/include/asm/kvm_emulate.h    | 14 +++++++++++---
 arch/arm64/kvm/hyp/include/hyp/switch.h |  2 +-
 arch/arm64/kvm/mmu.c                    |  4 ++--
 3 files changed, 14 insertions(+), 6 deletions(-)

Comments

Paolo Bonzini Sept. 20, 2020, 1:14 p.m. UTC | #1
On 18/09/20 19:16, Marc Zyngier wrote:
> Hi Paolo,
> 
> Here's the latest set of fixes for 5.9. The first patch is pretty
> nasty, as a guest hitting this bug will have its vcpu stuck on a
> fault, without any hope of it being resolved. Embarrassing, and
> definitely a stable candidate. The second patch is only a cleanup
> after the first one.
> 
> Please pull,
> 
> 	M.
> 
> The following changes since commit 7b75cd5128421c673153efb1236705696a1a9812:
> 
>   KVM: arm64: Update page shift if stage 2 block mapping not supported (2020-09-04 10:53:48 +0100)
> 
> are available in the Git repository at:
> 
>   git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-5.9-2

Pulled, thanks.

Paolo

> 
> for you to fetch changes up to 620cf45f7a516bf5fe9e5dce675a652e935c8bde:
> 
>   KVM: arm64: Remove S1PTW check from kvm_vcpu_dabt_iswrite() (2020-09-18 18:01:48 +0100)
> 
> ----------------------------------------------------------------
> KVM/arm64 fixes for 5.9, take #2
> 
> - Fix handling of S1 Page Table Walk permission fault at S2
>   on instruction fetch
> - Cleanup kvm_vcpu_dabt_iswrite()
> 
> ----------------------------------------------------------------
> Marc Zyngier (2):
>       KVM: arm64: Assume write fault on S1PTW permission fault on instruction fetch
>       KVM: arm64: Remove S1PTW check from kvm_vcpu_dabt_iswrite()
> 
>  arch/arm64/include/asm/kvm_emulate.h    | 14 +++++++++++---
>  arch/arm64/kvm/hyp/include/hyp/switch.h |  2 +-
>  arch/arm64/kvm/mmu.c                    |  4 ++--
>  3 files changed, 14 insertions(+), 6 deletions(-)
>