mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] s390 updates for 7.1-rc7
@ 2026-06-04  6:44 Alexander Gordeev
  2026-06-04 20:38 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Gordeev @ 2026-06-04  6:44 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Heiko Carstens, Vasily Gorbik, linux-kernel, linux-s390

Hi Linus,

please pull s390 updates for 7.1-rc7.

Thanks,
Alexander Gordeev

The following changes since commit 540f4a4f6ef806a28e794001bb4beac4840a6090:

  s390/topology: Use zero-based numbering for containing entities (2026-05-20 09:39:24 +0200)

are available in the Git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-7.1-4

for you to fetch changes up to 7c6535c37dbc03c1c35926b7420d66fb122b513a:

  s390: Implement _THIS_IP_ using inline asm (2026-05-30 11:33:32 +0200)

----------------------------------------------------------------
s390 updates for 7.1-rc7

- Enable IOMMUFD and VFIO cdev such that PCI pass-through
  to QEMU/KVM can optionally utilize native IOMMUFD

- With HAVE_ARCH_BUG_FORMAT enabled the BUG infrastructure
  might misinterpret flags or fault. Fix this by moving the
  "format" field emission into __BUG_ENTRY()

- The generic version of _THIS_IP_ is known to be brittle
  and may break with current and future GCC and Clang
  optimizations. Fix it by overriding _THIS_IP_

----------------------------------------------------------------
Jan Polensky (1):
      s390/bug: Always emit format word in __BUG_ENTRY

Marco Elver (1):
      s390: Implement _THIS_IP_ using inline asm

Niklas Schnelle (1):
      s390/configs: Enable IOMMUFD and VFIO cdev in defconfigs

 arch/s390/configs/debug_defconfig |  4 ++++
 arch/s390/configs/defconfig       |  4 ++++
 arch/s390/include/asm/bug.h       | 12 ++++++------
 arch/s390/include/asm/linkage.h   |  2 ++
 4 files changed, 16 insertions(+), 6 deletions(-)

diff --git a/arch/s390/configs/debug_defconfig b/arch/s390/configs/debug_defconfig
index c28f9a7d0bd8..730c90b4a876 100644
--- a/arch/s390/configs/debug_defconfig
+++ b/arch/s390/configs/debug_defconfig
@@ -56,6 +56,10 @@ CONFIG_EXPOLINE_AUTO=y
 CONFIG_CHSC_SCH=y
 CONFIG_VFIO_CCW=m
 CONFIG_VFIO_AP=m
+CONFIG_VFIO_DEVICE_CDEV=y
+CONFIG_IOMMUFD_DRIVER=y
+CONFIG_IOMMUFD_DRIVER_CORE=y
+CONFIG_IOMMUFD=y
 CONFIG_CMM=m
 CONFIG_APPLDATA_BASE=y
 CONFIG_S390_HYPFS_FS=y
diff --git a/arch/s390/configs/defconfig b/arch/s390/configs/defconfig
index d89c988f33ea..dd5fc1426c88 100644
--- a/arch/s390/configs/defconfig
+++ b/arch/s390/configs/defconfig
@@ -54,6 +54,10 @@ CONFIG_EXPOLINE_AUTO=y
 CONFIG_CHSC_SCH=y
 CONFIG_VFIO_CCW=m
 CONFIG_VFIO_AP=m
+CONFIG_VFIO_DEVICE_CDEV=y
+CONFIG_IOMMUFD_DRIVER=y
+CONFIG_IOMMUFD_DRIVER_CORE=y
+CONFIG_IOMMUFD=y
 CONFIG_CMM=m
 CONFIG_APPLDATA_BASE=y
 CONFIG_S390_HYPFS_FS=y
diff --git a/arch/s390/include/asm/bug.h b/arch/s390/include/asm/bug.h
index 59017fd3d935..50a270edb020 100644
--- a/arch/s390/include/asm/bug.h
+++ b/arch/s390/include/asm/bug.h
@@ -12,12 +12,11 @@
 #if defined(CONFIG_BUG) && defined(CONFIG_CC_HAS_ASM_IMMEDIATE_STRINGS)
 
 #ifdef CONFIG_DEBUG_BUGVERBOSE
-#define __BUG_ENTRY_VERBOSE(format, file, line)				\
-	"	.long	" format " - .	# bug_entry::format\n"		\
+#define __BUG_ENTRY_VERBOSE(file, line)					\
 	"	.long	" file " - .	# bug_entry::file\n"		\
 	"	.short	" line "	# bug_entry::line\n"
 #else
-#define __BUG_ENTRY_VERBOSE(format, file, line)
+#define __BUG_ENTRY_VERBOSE(file, line)
 #endif
 
 #ifdef CONFIG_DEBUG_BUGVERBOSE_DETAILED
@@ -28,9 +27,10 @@
 
 #define __BUG_ENTRY(format, file, line, flags, size)			\
 		"	.section __bug_table,\"aw\"\n"			\
-		"1:	.long	0b - .	# bug_entry::bug_addr\n"	\
-		__BUG_ENTRY_VERBOSE(format, file, line)			\
-		"	.short	"flags"	# bug_entry::flags\n"		\
+		"1:	.long	0b - .		# bug_entry::bug_addr\n"\
+		"	.long	" format " - .	# bug_entry::format\n"	\
+		__BUG_ENTRY_VERBOSE(file, line)				\
+		"	.short	"flags"		# bug_entry::flags\n"	\
 		"	.org	1b+"size"\n"				\
 		"	.previous"
 
diff --git a/arch/s390/include/asm/linkage.h b/arch/s390/include/asm/linkage.h
index df3fb7d8227b..1b3ac553a642 100644
--- a/arch/s390/include/asm/linkage.h
+++ b/arch/s390/include/asm/linkage.h
@@ -7,4 +7,6 @@
 #define __ALIGN .balign CONFIG_FUNCTION_ALIGNMENT, 0x07
 #define __ALIGN_STR __stringify(__ALIGN)
 
+#define _THIS_IP_ ({ unsigned long __ip; asm volatile("larl %0, ." : "=d" (__ip)); __ip; })
+
 #endif

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [GIT PULL] s390 updates for 7.1-rc7
  2026-06-04  6:44 [GIT PULL] s390 updates for 7.1-rc7 Alexander Gordeev
@ 2026-06-04 20:38 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2026-06-04 20:38 UTC (permalink / raw)
  To: Alexander Gordeev
  Cc: Linus Torvalds, Heiko Carstens, Vasily Gorbik, linux-kernel, linux-s390

The pull request you sent on Thu, 4 Jun 2026 08:44:16 +0200:

> git://git.kernel.org/pub/scm/linux/kernel/git/s390/linux.git tags/s390-7.1-4

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/6a08076f009e3d9460bebae9f209c1dc1d8a46b7

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-06-04 20:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-04  6:44 [GIT PULL] s390 updates for 7.1-rc7 Alexander Gordeev
2026-06-04 20:38 ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®