From: Simon Horman <horms@kernel.org>
To: Youling Tang <tangyouling@loongson.cn>
Cc: kexec@lists.infradead.org, Philipp Rudo <prudo@redhat.com>
Subject: Re: [PATCH v2 1/2] kexec: __NR_kexec_file_load is set to undefined on LoongArch
Date: Wed, 8 Mar 2023 13:50:38 +0100 [thread overview]
Message-ID: <ZAiEnqF/xjuTrNLi@kernel.org> (raw)
In-Reply-To: <1677899351-31098-1-git-send-email-tangyouling@loongson.cn>
On Sat, Mar 04, 2023 at 11:09:10AM +0800, Youling Tang wrote:
> The initial reason is that after the merger of 29fe5067ed07 ("kexec: make
> -a the default"), kexec cannot be used on LoongArch architectures. We need
> to add "-c" for normal use. The current kexec_file_load system call is not
> implemented in architectures such as LoongArch, so it needs to pass kexec_load.
> So we need to set __NR_kexec_file_load to undefined in unsupported architectures.
> This will return EFALLBACK via is_kexec_file_load_implemented, and then via
> kexec_load.
>
> Signed-off-by: Youling Tang <tangyouling@loongson.cn>
Thanks, applied.
_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec
next parent reply other threads:[~2023-03-08 12:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1677899351-31098-1-git-send-email-tangyouling@loongson.cn>
2023-03-08 12:50 ` Simon Horman [this message]
[not found] ` <1677899351-31098-2-git-send-email-tangyouling@loongson.cn>
2023-03-08 12:51 ` [PATCH v2 2/2] LoongArch: kdump: Set up kernel image segment Simon Horman
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=ZAiEnqF/xjuTrNLi@kernel.org \
--to=horms@kernel.org \
--cc=kexec@lists.infradead.org \
--cc=prudo@redhat.com \
--cc=tangyouling@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 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.