All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heiko Carstens <hca@linux.ibm.com>
To: "Thomas Weißschuh" <thomas.weissschuh@linutronix.de>
Cc: Vasily Gorbik <gor@linux.ibm.com>,
	Alexander Gordeev <agordeev@linux.ibm.com>,
	Christian Borntraeger <borntraeger@linux.ibm.com>,
	Sven Schnelle <svens@linux.ibm.com>,
	linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] s390: Implement ARCH_HAS_CC_CAN_LINK
Date: Mon, 22 Dec 2025 12:28:49 +0100	[thread overview]
Message-ID: <20251222112849.16440C5c-hca@linux.ibm.com> (raw)
In-Reply-To: <20251222-cc-can-link-s390-v1-1-0b2c4998c066@linutronix.de>

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@linutronix.de>
> ---
>  arch/s390/Kconfig | 9 +++++++++
>  1 file changed, 9 insertions(+)

Applied, and scheduled for the next merge window. Thanks!

      reply	other threads:[~2025-12-22 11:28 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-22  8:28 [PATCH] s390: Implement ARCH_HAS_CC_CAN_LINK Thomas Weißschuh
2025-12-22 11:28 ` Heiko Carstens [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20251222112849.16440C5c-hca@linux.ibm.com \
    --to=hca@linux.ibm.com \
    --cc=agordeev@linux.ibm.com \
    --cc=borntraeger@linux.ibm.com \
    --cc=gor@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-s390@vger.kernel.org \
    --cc=svens@linux.ibm.com \
    --cc=thomas.weissschuh@linutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.