Linux kernel -stable discussions
 help / color / mirror / Atom feed
From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Huacai Chen <chenhuacai@loongson.cn>
Cc: Sasha Levin <sashal@kernel.org>,
	Huacai Chen <chenhuacai@kernel.org>,
	Xuerui Wang <kernel@xen0n.name>,
	stable@vger.kernel.org, loongarch@lists.linux.dev,
	Haiyong Sun <sunhaiyong@loongson.cn>
Subject: Re: [PATCH for 6.1/6.6] LoongArch: Explicitly specify code model in Makefile
Date: Tue, 13 May 2025 10:12:07 +0200	[thread overview]
Message-ID: <2025051359-impurity-landmine-2f6a@gregkh> (raw)
In-Reply-To: <20250513080645.252607-1-chenhuacai@loongson.cn>

On Tue, May 13, 2025 at 04:06:45PM +0800, Huacai Chen wrote:
> LoongArch's toolchain may change the default code model from normal to
> medium. This is unnecessary for kernel, and generates some relocations
> which cannot be handled by the module loader. So explicitly specify the
> code model to normal in Makefile (for Rust 'normal' is 'small').
> 
> Cc: stable@vger.kernel.org
> Tested-by: Haiyong Sun <sunhaiyong@loongson.cn>
> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
> ---
> We may use new toolchain to build 6.1/6.6 LTS, backport it to avoid
> problems.

What is the upstream git id for this commit?

  reply	other threads:[~2025-05-13  8:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-13  8:06 [PATCH for 6.1/6.6] LoongArch: Explicitly specify code model in Makefile Huacai Chen
2025-05-13  8:12 ` Greg Kroah-Hartman [this message]
2025-05-13 18:49 ` Sasha Levin

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=2025051359-impurity-landmine-2f6a@gregkh \
    --to=gregkh@linuxfoundation.org \
    --cc=chenhuacai@kernel.org \
    --cc=chenhuacai@loongson.cn \
    --cc=kernel@xen0n.name \
    --cc=loongarch@lists.linux.dev \
    --cc=sashal@kernel.org \
    --cc=stable@vger.kernel.org \
    --cc=sunhaiyong@loongson.cn \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox