[GIT PULL 00/11] kvm: s390: Changes for 6.5

Janosch Frank
2023-06-21T15:37:32Z

Dear Paolo,

here are the patches for 6.5 (or later):
~80% of the code is a new CMM selftest by Nico.
~19% of the code is Steffen's additions to the uvdevice introducing the UV secret API.
The rest are a couple of fixes that we picked up along the way.

I plan to remove the ifdefs and the PROTECTED_VIRTUALIZATION_GUEST
config in the (near) future so we won't run into the linking problems
that plagued the uvdevice patches anymore.

Please pull:
The following changes since commit f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6:

Linux 6.4-rc2 (2023-05-14 12:51:40 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git tags/kvm-s390-next-6.5-1

for you to fetch changes up to db54dfc9f71cd2df7afd1e88535ef6099cb0333e:

s390/uv: Update query for secret-UVCs (2023-06-16 11:08:09 +0200)

----------------------------------------------------------------
* New uvdevice secret API
* New CMM selftest
* cmm fix
* diag 9c racy access of target cpu fix
* VSIE AP control block fix
----------------------------------------------------------------

Christian Borntraeger (1):
KVM: s390/diag: fix racy access of physical cpu number in diag 9c
handler

Nico Boehr (2):
KVM: s390: fix KVM_S390_GET_CMMA_BITS for GFNs in memslot holes
KVM: s390: selftests: add selftest for CMMA migration

Pierre Morel (1):
KVM: s390: vsie: fix the length of APCB bitmap

Steffen Eiden (7):
s390/uv: Always export uv_info
s390/uvdevice: Add info IOCTL
s390/uvdevice: Add 'Add Secret' UVC
s390/uvdevice: Add 'List Secrets' UVC
s390/uvdevice: Add 'Lock Secret Store' UVC
s390/uv: replace scnprintf with sysfs_emit
s390/uv: Update query for secret-UVCs

arch/s390/boot/uv.c | 4 +
arch/s390/include/asm/uv.h | 32 +-
arch/s390/include/uapi/asm/uvdevice.h | 53 +-
arch/s390/kernel/uv.c | 108 ++-
arch/s390/kvm/diag.c | 8 +-
arch/s390/kvm/kvm-s390.c | 4 +
arch/s390/kvm/vsie.c | 6 +-
drivers/s390/char/Kconfig | 2 +-
drivers/s390/char/uvdevice.c | 231 +++++-
tools/testing/selftests/kvm/Makefile | 1 +
tools/testing/selftests/kvm/s390x/cmma_test.c | 700 ++++++++++++++++++
11 files changed, 1100 insertions(+), 49 deletions(-)
create mode 100644 tools/testing/selftests/kvm/s390x/cmma_test.c

--
2.41.0