Skip to contentSkip to conversation

s390 updates for 6.4-rc3

GIT PULL Merged Alexander Gordeev 2 participants 2 messages May 19, 2023 s390

lore
Share & tools
lore

Alexander Gordeev

author maintainer
#0 lore raw

Hello Linus,

please pull s390 changes for 6.4-rc3. It contain a fix to statfs code, which was acked by Andrew Morton:
https://lore.kernel.org/all/[email protected]/

Thank you,
Alexander

The following changes since commit f1fcbaa18b28dec10281551dfe6ed3a3ed80e3d6:

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

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-6.4-2

for you to fetch changes up to 0f1cbf941d5949110adf70725a9614e622de8d99:

s390/iommu: get rid of S390_CCW_IOMMU and S390_AP_IOMMU (2023-05-01 14:11:28 -0300)

----------------------------------------------------------------
s390 updates for 6.4-rc3

- Add check whether the required facilities are installed before using the s390-specific ChaCha20 implementation.

- Key blobs for s390 protected key interface IOCTLs commands PKEY_VERIFYKEY2 and PKEY_VERIFYKEY3 may contain clear key material. Zeroize copies of these keys in kernel memory after creating protected keys.

- Set CONFIG_INIT_STACK_NONE=y in defconfigs to avoid extra overhead of initializing all stack variables by default.

- Make sure that when a new channel-path is enabled all subchannels are evaluated: with and without any devices connected on it.

- When SMT thread CPUs are added to CPU topology masks the nr_cpu_ids limit is not checked and could be exceeded. Respect the nr_cpu_ids limit and avoid a warning when CONFIG_DEBUG_PER_CPU_MAPS is set.

- The pointer to IPL Parameter Information Block is stored in the absolute lowcore as a virtual address. Save it as the physical address for later use by dump tools.

- Fix a Queued Direct I/O (QDIO) problem on z/VM guests using QIOASSIST with dedicated (pass through) QDIO-based devices such as FCP, real OSA or HiperSockets.

- s390's struct statfs and struct statfs64 contain padding, which field-by-field copying does not set. Initialize the respective structures with zeros before filling them and copying to userspace.

- Grow s390 compat_statfs64, statfs and statfs64 structures f_spare array member to cover padding and simplify things.

- Remove obsolete SCHED_BOOK and SCHED_DRAWER configs.

- Remove unneeded S390_CCW_IOMMU and S390_AP_IOM configs.

----------------------------------------------------------------
Alexander Gordeev (2):
s390/topology: honour nr_cpu_ids when adding CPUs s390/ipl: fix IPIB virtual vs physical address confusion

Heiko Carstens (3):
s390/crypto: use vector instructions only if available for ChaCha20 s390/defconfigs: set CONFIG_INIT_STACK_NONE=y
s390/qdio: fix do_sqbs() inline assembly constraint

Holger Dengler (1):
s390/pkey: zeroize key blobs

Ilya Leoshkevich (2):
statfs: enforce statfs[64] structure initialization s390/uapi: cover statfs padding by growing f_spare

Jason Gunthorpe (1):
s390/iommu: get rid of S390_CCW_IOMMU and S390_AP_IOMMU

Lukas Bulwahn (1):
s390/Kconfig: remove obsolete configs SCHED_{BOOK,DRAWER}

Vineeth Vijayan (1):
s390/cio: include subchannels without devices also for evaluation

 Documentation/s390/vfio-ap.rst       |  1 -
 arch/s390/Kconfig                    | 11 +---------
 arch/s390/configs/debug_defconfig    |  3 +--
 arch/s390/configs/defconfig          |  3 +--
 arch/s390/configs/zfcpdump_defconfig |  1 +
 arch/s390/crypto/chacha-glue.c       |  2 +-
 arch/s390/include/asm/compat.h       |  2 +-
 arch/s390/include/uapi/asm/statfs.h  |  4 ++--
 arch/s390/kernel/ipl.c               |  3 +--
 arch/s390/kernel/topology.c          | 32 +++++++++++++++-------------
 drivers/iommu/Kconfig                | 16 --------------
 drivers/s390/cio/device.c            |  2 ++
 drivers/s390/cio/qdio.h              |  2 +-
 drivers/s390/crypto/pkey_api.c       |  3 +++
 fs/statfs.c                          |  4 ++--
 15 files changed, 34 insertions(+), 55 deletions(-)