public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* [GIT PULL] KVM/arm64 fixes for 7.0, take #2
@ 2026-03-06 11:22 Marc Zyngier
  2026-03-11 16:58 ` Paolo Bonzini
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Zyngier @ 2026-03-06 11:22 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Fuad Tabba, Quentin Perret, Yuan Yao, Zenghui Yu, Joey Gouly,
	Suzuki K Poulose, Oliver Upton, Zenghui Yu, kvmarm,
	linux-arm-kernel, kvm

Paolo,

Here's the second set of fixes for 7.0. The only interesting fix is
one affecting pKVM and preventing the host from making forward
progress when a memblock is not page-aligned.

The rest is a bunch of low-severity fixes affecting the page-table
code, some of which Fuad has promised to start cleaning up!

Please pull,

	M.

The following changes since commit 11439c4635edd669ae435eec308f4ab8a0804808:

  Linux 7.0-rc2 (2026-03-01 15:39:31 -0800)

are available in the Git repository at:

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

for you to fetch changes up to 3599c714c08c324f0fcfa392bfb857c92c575400:

  KVM: arm64: Remove the redundant ISB in __kvm_at_s1e2() (2026-03-06 10:42:21 +0000)

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

- Fix a couple of low-severity bugs in our S2 fault handling path,
  affecting the recently introduced LS64 handling and the even more
  esoteric handling of hwpoison in a nested context

- Address yet another syzkaller finding in the vgic initialisation,
  were we would end-up destroying an uninitialised vgic, with nasty
  consequences

- Address an annoying case of pKVM failing to boot when some of the
  memblock regions that the host is faulting in are not page-aligned

- Inject some sanity in the NV stage-2 walker by checking the limits
  against the advertised PA size, and correctly report the resulting
  faults

- Drop an unnecessary ISB when emulating an EL2 S1 address translation

----------------------------------------------------------------
Fuad Tabba (2):
      KVM: arm64: Fix page leak in user_mem_abort() on atomic fault
      KVM: arm64: Fix vma_shift staleness on nested hwpoison path

Marc Zyngier (2):
      KVM: arm64: Eagerly init vgic dist/redist on vgic creation
      KVM: arm64: pkvm: Fallback to level-3 mapping on host stage-2 fault

Zenghui Yu (Huawei) (4):
      KVM: arm64: nv: Check S2 limits based on implemented PA size
      KVM: arm64: nv: Report addrsz fault at level 0 with a bad VTTBR.BADDR
      KVM: arm64: nv: Inject a SEA if failed to read the descriptor
      KVM: arm64: Remove the redundant ISB in __kvm_at_s1e2()

 arch/arm64/kvm/at.c                   |  2 --
 arch/arm64/kvm/hyp/nvhe/mem_protect.c |  2 +-
 arch/arm64/kvm/mmu.c                  | 14 +++++++++-----
 arch/arm64/kvm/nested.c               | 27 ++++++++++++++++-----------
 arch/arm64/kvm/vgic/vgic-init.c       | 32 ++++++++++++++++----------------
 5 files changed, 42 insertions(+), 35 deletions(-)


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] KVM/arm64 fixes for 7.0, take #2
  2026-03-06 11:22 [GIT PULL] KVM/arm64 fixes for 7.0, take #2 Marc Zyngier
@ 2026-03-11 16:58 ` Paolo Bonzini
  2026-03-11 17:04   ` Marc Zyngier
  0 siblings, 1 reply; 5+ messages in thread
From: Paolo Bonzini @ 2026-03-11 16:58 UTC (permalink / raw)
  To: Marc Zyngier
  Cc: Fuad Tabba, Quentin Perret, Yuan Yao, Zenghui Yu, Joey Gouly,
	Suzuki K Poulose, Oliver Upton, Zenghui Yu, kvmarm,
	linux-arm-kernel, kvm

On Fri, Mar 6, 2026 at 12:23 PM Marc Zyngier <maz@kernel.org> wrote:
>
> Paolo,
>
> Here's the second set of fixes for 7.0. The only interesting fix is
> one affecting pKVM and preventing the host from making forward
> progress when a memblock is not page-aligned.
>
> The rest is a bunch of low-severity fixes affecting the page-table
> code, some of which Fuad has promised to start cleaning up!
>
> Please pull,

Pulled, thanks.

Paolo

>
>         M.
>
> The following changes since commit 11439c4635edd669ae435eec308f4ab8a0804808:
>
>   Linux 7.0-rc2 (2026-03-01 15:39:31 -0800)
>
> are available in the Git repository at:
>
>   git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-7.0-2
>
> for you to fetch changes up to 3599c714c08c324f0fcfa392bfb857c92c575400:
>
>   KVM: arm64: Remove the redundant ISB in __kvm_at_s1e2() (2026-03-06 10:42:21 +0000)
>
> ----------------------------------------------------------------
> KVM/arm64 fixes for 7.0, take #2
>
> - Fix a couple of low-severity bugs in our S2 fault handling path,
>   affecting the recently introduced LS64 handling and the even more
>   esoteric handling of hwpoison in a nested context
>
> - Address yet another syzkaller finding in the vgic initialisation,
>   were we would end-up destroying an uninitialised vgic, with nasty
>   consequences
>
> - Address an annoying case of pKVM failing to boot when some of the
>   memblock regions that the host is faulting in are not page-aligned
>
> - Inject some sanity in the NV stage-2 walker by checking the limits
>   against the advertised PA size, and correctly report the resulting
>   faults
>
> - Drop an unnecessary ISB when emulating an EL2 S1 address translation
>
> ----------------------------------------------------------------
> Fuad Tabba (2):
>       KVM: arm64: Fix page leak in user_mem_abort() on atomic fault
>       KVM: arm64: Fix vma_shift staleness on nested hwpoison path
>
> Marc Zyngier (2):
>       KVM: arm64: Eagerly init vgic dist/redist on vgic creation
>       KVM: arm64: pkvm: Fallback to level-3 mapping on host stage-2 fault
>
> Zenghui Yu (Huawei) (4):
>       KVM: arm64: nv: Check S2 limits based on implemented PA size
>       KVM: arm64: nv: Report addrsz fault at level 0 with a bad VTTBR.BADDR
>       KVM: arm64: nv: Inject a SEA if failed to read the descriptor
>       KVM: arm64: Remove the redundant ISB in __kvm_at_s1e2()
>
>  arch/arm64/kvm/at.c                   |  2 --
>  arch/arm64/kvm/hyp/nvhe/mem_protect.c |  2 +-
>  arch/arm64/kvm/mmu.c                  | 14 +++++++++-----
>  arch/arm64/kvm/nested.c               | 27 ++++++++++++++++-----------
>  arch/arm64/kvm/vgic/vgic-init.c       | 32 ++++++++++++++++----------------
>  5 files changed, 42 insertions(+), 35 deletions(-)
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] KVM/arm64 fixes for 7.0, take #2
  2026-03-11 16:58 ` Paolo Bonzini
@ 2026-03-11 17:04   ` Marc Zyngier
  2026-03-11 17:05     ` Paolo Bonzini
  0 siblings, 1 reply; 5+ messages in thread
From: Marc Zyngier @ 2026-03-11 17:04 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Fuad Tabba, Quentin Perret, Yuan Yao, Zenghui Yu, Joey Gouly,
	Suzuki K Poulose, Oliver Upton, Zenghui Yu, kvmarm,
	linux-arm-kernel, kvm

On Wed, 11 Mar 2026 16:58:08 +0000,
Paolo Bonzini <pbonzini@redhat.com> wrote:
> 
> On Fri, Mar 6, 2026 at 12:23 PM Marc Zyngier <maz@kernel.org> wrote:
> >
> > Paolo,
> >
> > Here's the second set of fixes for 7.0. The only interesting fix is
> > one affecting pKVM and preventing the host from making forward
> > progress when a memblock is not page-aligned.
> >
> > The rest is a bunch of low-severity fixes affecting the page-table
> > code, some of which Fuad has promised to start cleaning up!
> >
> > Please pull,
> 
> Pulled, thanks.

As a heads up, I'm about to send another one with a couple of annoying
fixes, either today or tomorrow morning. Would be great if you could
stash that one as well.

Thanks,

	M.

-- 
Without deviation from the norm, progress is not possible.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] KVM/arm64 fixes for 7.0, take #2
  2026-03-11 17:04   ` Marc Zyngier
@ 2026-03-11 17:05     ` Paolo Bonzini
  2026-03-11 17:41       ` Marc Zyngier
  0 siblings, 1 reply; 5+ messages in thread
From: Paolo Bonzini @ 2026-03-11 17:05 UTC (permalink / raw)
  To: Marc Zyngier
  Cc: Fuad Tabba, Quentin Perret, Yuan Yao, Zenghui Yu, Joey Gouly,
	Suzuki K Poulose, Oliver Upton, Zenghui Yu, kvmarm,
	linux-arm-kernel, kvm

On Wed, Mar 11, 2026 at 6:04 PM Marc Zyngier <maz@kernel.org> wrote:
> As a heads up, I'm about to send another one with a couple of annoying
> fixes, either today or tomorrow morning. Would be great if you could
> stash that one as well.

Thanks for the notice, I will wait and send everything together.


Paolo



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [GIT PULL] KVM/arm64 fixes for 7.0, take #2
  2026-03-11 17:05     ` Paolo Bonzini
@ 2026-03-11 17:41       ` Marc Zyngier
  0 siblings, 0 replies; 5+ messages in thread
From: Marc Zyngier @ 2026-03-11 17:41 UTC (permalink / raw)
  To: Paolo Bonzini
  Cc: Fuad Tabba, Quentin Perret, Yuan Yao, Zenghui Yu, Joey Gouly,
	Suzuki K Poulose, Oliver Upton, Zenghui Yu, kvmarm,
	linux-arm-kernel, kvm

On Wed, 11 Mar 2026 17:05:40 +0000,
Paolo Bonzini <pbonzini@redhat.com> wrote:
> 
> On Wed, Mar 11, 2026 at 6:04 PM Marc Zyngier <maz@kernel.org> wrote:
> > As a heads up, I'm about to send another one with a couple of annoying
> > fixes, either today or tomorrow morning. Would be great if you could
> > stash that one as well.
> 
> Thanks for the notice, I will wait and send everything together.

On its way[1].

Thanks,

	M.

[1] https://lore.kernel.org/all/20260311173902.329537-1-maz@kernel.org/

-- 
Without deviation from the norm, progress is not possible.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-03-11 17:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-06 11:22 [GIT PULL] KVM/arm64 fixes for 7.0, take #2 Marc Zyngier
2026-03-11 16:58 ` Paolo Bonzini
2026-03-11 17:04   ` Marc Zyngier
2026-03-11 17:05     ` Paolo Bonzini
2026-03-11 17:41       ` Marc Zyngier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox