Skip to contentSkip to conversation

s390 patches for the 7.1 merge window

GIT PULL Merged Vasily Gorbik 2 participants 2 messages Apr 22 s390

lore
Share & tools
lore

Vasily Gorbik

author maintainer
#0 lore raw

Hello Linus,

Please pull s390 changes for 7.1.

Adding s390 CONFIG_PAGE_TABLE_CHECK support touches common mm/ and the pgtable headers of arm64, powerpc, riscv and x86 to pass mm_struct into the pxx_user_accessible_page() callbacks. It has been reviewed-by Andrew Morton:
https://lore.kernel.org/all/[email protected]/

Adding the PCI function UID as an arch-specific slot attribute touches common PCI code to add an ARCH_PCI_SLOT_GROUPS hook in drivers/pci/slot.c, and has been acked-by Bjorn Helgaas:
https://lore.kernel.org/all/20260408165737.GA295659@bhelgaas/

Thank you,
Vasily

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/s390/linux.git tags/s390-7.1-1

for you to fetch changes up to 8d7ea40011551c2ec915ee0260cae1c746c63156:

s390/zcrypt: Fix warning about wrong kernel doc comment (2026-04-11 11:18:15 +0200)

----------------------------------------------------------------
s390 updates for 7.1 merge window

- Add support for CONFIG_PAGE_TABLE_CHECK and enable it in debug_defconfig. s390 can only tell user from kernel PTEs via the mm, so mm_struct is now passed into pxx_user_accessible_page() callbacks

- Expose the PCI function UID as an arch-specific slot attribute in sysfs so a function can be identified by its user-defined id while still in standby. Introduces a generic ARCH_PCI_SLOT_GROUPS hook in drivers/pci/slot.c

- Refresh s390 PCI documentation to reflect current behavior and cover previously undocumented sysfs attributes

- zcrypt device driver cleanup series: consistent field types, clearer variable naming, a kernel-doc warning fix, and a comment explaining the intentional synchronize_rcu() in pkey_handler_register()

- Provide an s390 arch_raw_cpu_ptr() that avoids the detour via get_lowcore() using alternatives, shrinking defconfig by ~27 kB

- Guard identity-base randomization with kaslr_enabled() so nokaslr keeps the identity mapping at 0 even with CONFIG_RANDOMIZE_IDENTITY_BASE=y

- Build S390_MODULES_SANITY_TEST as a module only by requiring KUNIT && m, since built-in would not exercise module loading

- Remove the permanently commented-out HMCDRV_DEV_CLASS create_class() code in the hmcdrv driver

- Drop stale ident_map_size extern conflicting with asm/page.h

----------------------------------------------------------------
Alexander Gordeev (2):
s390/pgtable: Use set_pmd_bit() to invalidate PMD entry
s390: Enable page table check for debug_defconfig

Harald Freudenberger (8):
s390/zcrypt: Move inline function rng_type6cprb_msgx from header to code s390/zcrypt: Rework domain processing within zcrypt device driver s390/zcrypt: Make apfs a real unsigned int field s390/zcrypt: Rework MKVP fields and handling
s390/zcrypt: Explicitly use a card variable in _zcrypt_send_cprb s390/zcrypt: Slight rework on the agent_id field
s390/pkey: Add comment about synchronize_rcu() to pkey base s390/zcrypt: Fix warning about wrong kernel doc comment

Heiko Carstens (1):

      s390/percpu: Provide arch_raw_cpu_ptr()

Jori Koolstra (1):
s390/hmcdrv: Remove commented out code

Niklas Schnelle (2):
docs: s390/pci: Improve and update PCI documentation
PCI: s390: Expose the UID as an arch specific PCI slot attribute

Tobias Huschle (2):
mm/page_table_check: Pass mm_struct to pxx_user_accessible_page() s390/pgtable: Add s390 support for page table check

Vasily Gorbik (4):
s390/setup: Drop stale ident_map_size declaration
s390/Kconfig: Make modules sanity test a module-only option
s390/boot: Respect kaslr_enabled() for identity randomization
Merge branch 'page-table-check-support' of git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux into features

 Documentation/arch/s390/pci.rst              | 151 ++++++++++++++++++---------
 arch/arm64/include/asm/pgtable.h             |   6 +-
 arch/powerpc/include/asm/book3s/32/pgtable.h |   2 +-
 arch/powerpc/include/asm/book3s/64/pgtable.h |  10 +-
 arch/powerpc/include/asm/nohash/pgtable.h    |   2 +-
 arch/powerpc/include/asm/pgtable.h           |   4 +-
 arch/riscv/include/asm/pgtable.h             |   6 +-
 arch/s390/Kconfig                            |   3 +-
 arch/s390/boot/startup.c                     |   3 +-
 arch/s390/configs/debug_defconfig            |   2 +
 arch/s390/include/asm/pci.h                  |   4 +
 arch/s390/include/asm/percpu.h               |  18 ++++
 arch/s390/include/asm/pgtable.h              |  60 +++++++++--
 arch/s390/include/asm/setup.h                |   1 -
 arch/s390/pci/pci_sysfs.c                    |  20 ++++
 arch/x86/include/asm/pgtable.h               |   6 +-
 drivers/pci/slot.c                           |  13 ++-
 drivers/s390/char/hmcdrv_dev.c               | 114 +-------------------
 drivers/s390/crypto/pkey_base.c              |   7 ++
 drivers/s390/crypto/pkey_cca.c               |  48 +++++----
 drivers/s390/crypto/zcrypt_api.c             |  40 +++----
 drivers/s390/crypto/zcrypt_ccamisc.c         |  28 +++--
 drivers/s390/crypto/zcrypt_ccamisc.h         |  24 ++---
 drivers/s390/crypto/zcrypt_cex4.c            | 110 +++++++++++--------
 drivers/s390/crypto/zcrypt_error.h           |  28 ++---
 drivers/s390/crypto/zcrypt_msgtype6.c        |  76 ++++++++++++--
 drivers/s390/crypto/zcrypt_msgtype6.h        |  55 +---------
 mm/page_table_check.c                        |  15 ++-
 28 files changed, 467 insertions(+), 389 deletions(-)