Skip to contentSkip to conversation

KVM/arm64 fixes for 6.12, take #3

GIT PULL Marc Zyngier 2 participants 2 messages Oct 17, 2024 – Oct 20, 2024

Subsystems (2)
lore
Share & tools
lore

Marc Zyngier

author maintainer
#0 lore raw

Paolo,

Here's another set of fixes for KVM/arm64, addressing another vgic init race as well as a build error (full details in the tag below).

I notice that you haven't pulled [1] yet, so hopefully this will also serve as a gentle reminder.

Please pull,

	M.

[1] https://lore.kernel.org/r/[email protected]

The following changes since commit df5fd75ee305cb5927e0b1a0b46cc988ad8db2b1:

KVM: arm64: Don't eagerly teardown the vgic on init error (2024-10-11 13:40:25 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.12-3

for you to fetch changes up to 78a00555550042ed77b33ace7423aced228b3b4e:

KVM: arm64: Ensure vgic_ready() is ordered against MMIO registration (2024-10-17 09:20:48 +0100)

----------------------------------------------------------------
KVM/arm64 fixes for 6.12, take #3

- Stop wasting space in the HYP idmap, as we are dangerously close to the 4kB limit, and this has already exploded in -next

- Fix another race in vgic_init()

- Fix a UBSAN error when faking the cache topology with MTE enabled

----------------------------------------------------------------
Ilkka Koskinen (1):
KVM: arm64: Fix shift-out-of-bounds bug

Marc Zyngier (1):
KVM: arm64: Shave a few bytes from the EL2 idmap code

Oliver Upton (2):
KVM: arm64: vgic: Don't check for vgic_ready() when setting NR_IRQS
KVM: arm64: Ensure vgic_ready() is ordered against MMIO registration

 arch/arm64/include/asm/kvm_asm.h      |  1 +
 arch/arm64/kernel/asm-offsets.c       |  1 +
 arch/arm64/kvm/hyp/nvhe/hyp-init.S    | 52 +++++++++++++++++++----------------
 arch/arm64/kvm/sys_regs.c             |  2 +-
 arch/arm64/kvm/vgic/vgic-init.c       | 13 +++++++--
 arch/arm64/kvm/vgic/vgic-kvm-device.c |  7 ++++-
 6 files changed, 49 insertions(+), 27 deletions(-)
maintainer
#1 lore raw
Quoted 6 lines · Marc Zyngier

Paolo,

Here's another set of fixes for KVM/arm64, addressing another vgic init race as well as a build error (full details in the tag below).

Quoted 6 lines

I notice that you haven't pulled [1] yet, so hopefully this will also serve as a gentle reminder.

Please pull,

        M.

Pulled both, thanks.

Paolo

Quoted 44 lines

[1] https://lore.kernel.org/r/[email protected]

The following changes since commit df5fd75ee305cb5927e0b1a0b46cc988ad8db2b1:

KVM: arm64: Don't eagerly teardown the vgic on init error (2024-10-11 13:40:25 +0100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm.git tags/kvmarm-fixes-6.12-3

for you to fetch changes up to 78a00555550042ed77b33ace7423aced228b3b4e:

KVM: arm64: Ensure vgic_ready() is ordered against MMIO registration (2024-10-17 09:20:48 +0100)

----------------------------------------------------------------
KVM/arm64 fixes for 6.12, take #3

- Stop wasting space in the HYP idmap, as we are dangerously close to the 4kB limit, and this has already exploded in -next

- Fix another race in vgic_init()

- Fix a UBSAN error when faking the cache topology with MTE enabled

----------------------------------------------------------------
Ilkka Koskinen (1):
KVM: arm64: Fix shift-out-of-bounds bug

Marc Zyngier (1):
KVM: arm64: Shave a few bytes from the EL2 idmap code

Oliver Upton (2):
KVM: arm64: vgic: Don't check for vgic_ready() when setting NR_IRQS
KVM: arm64: Ensure vgic_ready() is ordered against MMIO registration

 arch/arm64/include/asm/kvm_asm.h      |  1 +
 arch/arm64/kernel/asm-offsets.c       |  1 +
 arch/arm64/kvm/hyp/nvhe/hyp-init.S    | 52 +++++++++++++++++++----------------
 arch/arm64/kvm/sys_regs.c             |  2 +-
 arch/arm64/kvm/vgic/vgic-init.c       | 13 +++++++--
 arch/arm64/kvm/vgic/vgic-kvm-device.c |  7 ++++-
 6 files changed, 49 insertions(+), 27 deletions(-)