public inbox for linux-s390@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] bugs/s390: Fix compile error with old gcc versions
@ 2025-06-17 13:50 Heiko Carstens
  2025-06-17 13:50 ` [PATCH 1/2] bugs/s390: Remove private WARN_ON() implementation Heiko Carstens
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Heiko Carstens @ 2025-06-17 13:50 UTC (permalink / raw)
  To: Ingo Molnar, Naresh Kamboju, Anders Roxell
  Cc: Alexander Gordeev, Sven Schnelle, Vasily Gorbik,
	Christian Borntraeger, linux-kernel, linux-s390

As reported by Naresh and Anders old gcc variants cannot handle
strings as input operands for inline assemblies. Rewrite the s390
generic bug support very similar to arm64 and loongarch to fix this.

Also use the opportunity to drop the rather pointless s390 specific
WARN_ON() implementation.

Ingo, I think the two patches should also go via the core/bugs branch
of the tip repository.

Thanks,
Heiko

Heiko Carstens (2):
  bugs/s390: Remove private WARN_ON() implementation
  bugs/s390: Use inline assembly without input operands

 arch/s390/include/asm/bug.h | 94 ++++++++++++++++---------------------
 1 file changed, 41 insertions(+), 53 deletions(-)

-- 
2.48.1


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

end of thread, other threads:[~2025-06-25  9:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-06-17 13:50 [PATCH 0/2] bugs/s390: Fix compile error with old gcc versions Heiko Carstens
2025-06-17 13:50 ` [PATCH 1/2] bugs/s390: Remove private WARN_ON() implementation Heiko Carstens
2025-06-20 13:15   ` Alexander Gordeev
2025-06-17 13:50 ` [PATCH 2/2] bugs/s390: Use inline assembly without input operands Heiko Carstens
2025-06-20 13:15   ` Alexander Gordeev
2025-06-25  9:31 ` [PATCH 0/2] bugs/s390: Fix compile error with old gcc versions Heiko Carstens

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