[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20251222112849.16440C5c-hca@linux.ibm.com>
Date: Mon, 22 Dec 2025 12:28:49 +0100
From: Heiko Carstens <hca@...ux.ibm.com>
To: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
Cc: Vasily Gorbik <gor@...ux.ibm.com>,
Alexander Gordeev <agordeev@...ux.ibm.com>,
Christian Borntraeger <borntraeger@...ux.ibm.com>,
Sven Schnelle <svens@...ux.ibm.com>, linux-s390@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] s390: Implement ARCH_HAS_CC_CAN_LINK
On Mon, Dec 22, 2025 at 09:28:17AM +0100, Thomas Weißschuh wrote:
> The generic CC_CAN_LINK detection relies on -m32/-m64 compiler flags.
> s390 toolchains use -m31 instead but that is not supported in the
> kernel.
Some s390 toolchains default to -m31, depending on how they are
built. Actually I'm only aware of a single one. But given that this
one is used all over the place for cross builds it is important
enough.
> Make the logic easier to understand and allow the simplification of the
> generic CC_CAN_LINK by using a tailored implementation.
>
> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@...utronix.de>
> ---
> arch/s390/Kconfig | 9 +++++++++
> 1 file changed, 9 insertions(+)
Applied, and scheduled for the next merge window. Thanks!
Powered by blists - more mailing lists