From: Leo Liang <ycliang@andestech.com>
To: Nikita Shubin <nikita.shubin@maquefel.me>
Cc: <linux@yadro.com>, Nikita Shubin <n.shubin@yadro.com>,
Rick Chen <rick@andestech.com>, <u-boot@lists.denx.de>,
<ilias.apalodimas@linaro.org>, <sjg@chromium.org>,
<ycliang@andestech.com>
Subject: Re: [PATCH] riscv: cpu: set gp before board_init_f_init_reserve
Date: Wed, 1 Jun 2022 02:07:34 +0000 [thread overview]
Message-ID: <YpbJ5iVT7MvFfSKc@ubuntu01> (raw)
In-Reply-To: <20220520114118.19354-1-nikita.shubin@maquefel.me>
On Fri, May 20, 2022 at 02:41:17PM +0300, Nikita Shubin wrote:
> From: Nikita Shubin <n.shubin@yadro.com>
>
> Restore global pointer before board_init_f_init_reserve call,
> as "a0" can be set in harts_early_init call and we end up with
> invalid global pointer.
>
> Signed-off-by: Nikita Shubin <n.shubin@yadro.com>
> ---
> arch/riscv/cpu/start.S | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
next prev parent reply other threads:[~2022-06-01 2:08 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-20 11:41 [PATCH] riscv: cpu: set gp before board_init_f_init_reserve Nikita Shubin
2022-06-01 2:07 ` Leo Liang [this message]
2022-08-02 10:29 ` Nikita Shubin
2022-08-03 10:41 ` Leo Liang
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=YpbJ5iVT7MvFfSKc@ubuntu01 \
--to=ycliang@andestech.com \
--cc=ilias.apalodimas@linaro.org \
--cc=linux@yadro.com \
--cc=n.shubin@yadro.com \
--cc=nikita.shubin@maquefel.me \
--cc=rick@andestech.com \
--cc=sjg@chromium.org \
--cc=u-boot@lists.denx.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.