From: Conor Dooley <conor.dooley@microchip.com>
To: Alexandre Ghiti <alex@ghiti.fr>
Cc: Alexandre Ghiti <alexghiti@rivosinc.com>,
Jonathan Corbet <corbet@lwn.net>,
Paul Walmsley <paul.walmsley@sifive.com>,
Palmer Dabbelt <palmer@dabbelt.com>,
Albert Ou <aou@eecs.berkeley.edu>, <linux-doc@vger.kernel.org>,
<linux-riscv@lists.infradead.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH -fixes 2/2] riscv: Do not set initial_boot_params to the linear address of the dtb
Date: Wed, 29 Mar 2023 09:14:44 +0100 [thread overview]
Message-ID: <234aaac9-d5d0-427f-8666-7f257d385358@spud> (raw)
In-Reply-To: <08c3a597-0950-9756-9665-c017942de81f@ghiti.fr>
[-- Attachment #1: Type: text/plain, Size: 1103 bytes --]
On Wed, Mar 29, 2023 at 10:09:13AM +0200, Alexandre Ghiti wrote:
> On 3/27/23 13:16, Conor Dooley wrote:
> > On Thu, Mar 23, 2023 at 05:33:47PM +0100, Alexandre Ghiti wrote:
> > > diff --git a/arch/riscv/kernel/setup.c b/arch/riscv/kernel/setup.c
> > > index 542eed85ad2c..a059b73f4ddb 100644
> > > --- a/arch/riscv/kernel/setup.c
> > > +++ b/arch/riscv/kernel/setup.c
> > > @@ -278,10 +278,7 @@ void __init setup_arch(char **cmdline_p)
> > > #if IS_ENABLED(CONFIG_BUILTIN_DTB)
> > > unflatten_and_copy_device_tree();
> > > #else
> > > - if (early_init_dt_verify(__va(XIP_FIXUP(dtb_early_pa))))
>
> > btw, how come it is safe now to drop this? This feels like a separate
> > change that should be its own commit, no?
>
>
> It is safe because early_init_dt_verify is already called in parse_dtb and
Yah, that's what I figured. Cool.
> since the dtb address does not change anymore, no need to reset
> initial_boot_params. So I'll split this one, thanks.
Worth noting the point at which this became redundant in your commit
message when you do.
Thanks,
Conor.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
prev parent reply other threads:[~2023-03-29 8:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-23 16:33 [PATCH -fixes 0/2] Fixes for dtb mapping Alexandre Ghiti
2023-03-23 16:33 ` [PATCH -fixes 1/2] riscv: Move early dtb mapping into the fixmap region Alexandre Ghiti
2023-03-27 10:37 ` Conor Dooley
2023-03-29 7:36 ` Alexandre Ghiti
2023-03-29 7:45 ` Conor Dooley
2023-03-23 16:33 ` [PATCH -fixes 2/2] riscv: Do not set initial_boot_params to the linear address of the dtb Alexandre Ghiti
2023-03-27 11:16 ` Conor Dooley
2023-03-29 8:09 ` Alexandre Ghiti
2023-03-29 8:14 ` Conor Dooley [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=234aaac9-d5d0-427f-8666-7f257d385358@spud \
--to=conor.dooley@microchip.com \
--cc=alex@ghiti.fr \
--cc=alexghiti@rivosinc.com \
--cc=aou@eecs.berkeley.edu \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-riscv@lists.infradead.org \
--cc=palmer@dabbelt.com \
--cc=paul.walmsley@sifive.com \
/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