[GIT PULL v1 00/23] KVM: s390: Misc KVM and vfio-ccw fixes
Claudio Imbrenda <[email protected]> Mon, 3 Aug 2026 18:09:01 +0200
| Newsgroups | org.kernel.vger.kvm,org.kernel.vger.linux-s390 |
|---|---|
| Message-ID | <[email protected]> |
Ciao Paolo,
In this pull request there are a bunch of fixes to various KVM/s390 and
vfio-ccw issues.
There are still some small known bugs, which will be addressed later in
a different series.
The following changes since commit 9972befc3e34ff8b6847198c84f11bfc312dde40:
KVM: s390: Fall back to short-term pinning in MAP ioctl (2026-07-27 09:23:53 +0200)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git tags/kvm-s390-master-7.2-3
for you to fetch changes up to feadc5e84dcb53422a437556c35af9efd9826fd5:
KVM: s390: Fix cleanup in kvm_s390_pv_create_cpu() (2026-08-03 17:09:46 +0200)
----------------------------------------------------------------
KVM: s390: Misc fixes for 7.2
Fix a bunch of small issues that came up during the previous round of
fixes.
They are mostly extremely unlikely races, but they should be fixed
nonetheless.
----------------------------------------------------------------
Claudio Imbrenda (13):
KVM: s390: Fix unlikely NULL gmap dereference
KVM: s390: Do not free SCA if it was not allocated
KVM: s390: Fix kvm_s390_vcpu_unsetup_cmma()
KVM: s390: Fix overclearing ESCA in case of error
KVM: s390: ucontrol: Fix sca_clear_ext_call()
KVM: s390: Fix leaking of PGM_ADDRESSING to userspace
KVM: s390: Fix race in __do_essa()
KVM: s390: cmma: Fix dirty tracking when removing memslot
KVM: s390: ucontrol: Add missing locking around gmap_remove_child()
KVM: s390: Free the mmu cache when kvm_arch_vcpu_create() fails
KVM: s390: Return -EINTR if a signal is pending while faulting-in
KVM: s390: Fix ordering when adding to SCA
KVM: s390: Fix cleanup in kvm_s390_pv_create_cpu()
Eric Farman (10):
s390/vfio_ccw: Free all memory if cp_init() fails
s390/vfio_ccw: Limit the number of channel program segments
s390/vfio_ccw: Fix out of bounds check on CCW array
s390/vfio_ccw: Ensure first IDAW remains constant
s390/vfio_ccw: Calculate idal length based on idaw type
s390/vfio_ccw: Ensure index for read/write regions are within range
s390/vfio_ccw: Cancel existing workqueues
s390/vfio_ccw: Move cp cleanup out of not operational
s390/vfio_ccw: Selectively expand io_mutex
s390/vfio_ccw: Implement a crw lock
arch/s390/include/asm/kvm_host.h | 1 +
arch/s390/kvm/dat.c | 23 +++++--
arch/s390/kvm/dat.h | 2 +-
arch/s390/kvm/faultin.c | 6 +-
arch/s390/kvm/interrupt.c | 19 ++++--
arch/s390/kvm/kvm-s390.c | 125 +++++++++++++++++++++++-------------
arch/s390/kvm/priv.c | 10 +--
arch/s390/kvm/pv.c | 43 +++++++------
drivers/s390/cio/vfio_ccw_async.c | 16 +++++
drivers/s390/cio/vfio_ccw_chp.c | 31 +++++++--
drivers/s390/cio/vfio_ccw_cp.c | 74 +++++++++++++++------
drivers/s390/cio/vfio_ccw_cp.h | 10 +++
drivers/s390/cio/vfio_ccw_drv.c | 21 +++++-
drivers/s390/cio/vfio_ccw_fsm.c | 8 ++-
drivers/s390/cio/vfio_ccw_ops.c | 39 +++++++++--
drivers/s390/cio/vfio_ccw_private.h | 10 ++-
16 files changed, 320 insertions(+), 118 deletions(-)