From: Simon Horman <horms@kernel.org>
To: WANG Rui <wangrui@loongson.cn>
Cc: kexec@lists.infradead.org, Varad Gautam <vrd@amazon.de>,
AKASHI Takahiro <takahiro.akashi@linaro.org>,
Huacai Chen <chenhuacai@kernel.org>
Subject: Re: [PATCH] LoongArch: Fix an issue with relocatable vmlinux
Date: Mon, 27 Nov 2023 13:47:34 +0000 [thread overview]
Message-ID: <20231127134734.GE3354982@kernel.org> (raw)
In-Reply-To: <20231124085410.107080-1-wangrui@loongson.cn>
On Fri, Nov 24, 2023 at 04:54:10PM +0800, WANG Rui wrote:
> Normally vmlinux for LoongArch is of ET_EXEC type, while if built with
> CONFIG_RELOCATABLE (this is PIE) and Clang, it will be of ET_DYN type.
> Meanwhile, physical address field of segments in vmlinux has actually
> the same value as virtual address field.
>
> Similar to arm64, this patch allows to unconditionally skip the check
> on LoongArch.
>
> Link: https://github.com/ClangBuiltLinux/linux/issues/1963
> Signed-off-by: WANG Rui <wangrui@loongson.cn>
Thanks, applied.
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
prev parent reply other threads:[~2023-11-27 13:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-24 8:54 [PATCH] LoongArch: Fix an issue with relocatable vmlinux WANG Rui
2023-11-26 3:28 ` Huacai Chen
2023-11-27 13:47 ` Simon Horman [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=20231127134734.GE3354982@kernel.org \
--to=horms@kernel.org \
--cc=chenhuacai@kernel.org \
--cc=kexec@lists.infradead.org \
--cc=takahiro.akashi@linaro.org \
--cc=vrd@amazon.de \
--cc=wangrui@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