From: 潘庆霖 <panqinglin2020@iscas.ac.cn> To: "Anup Patel" <apatel@ventanamicro.com> Cc: "Palmer Dabbelt" <palmer@dabbelt.com>, "Paul Walmsley" <paul.walmsley@sifive.com>, "Alexandre Ghiti" <alexandre.ghiti@canonical.com>, "Atish Patra" <atishp@atishpatra.org>, "Alistair Francis" <Alistair.Francis@wdc.com>, "Anup Patel" <anup@brainfault.org>, linux-riscv <linux-riscv@lists.infradead.org>, "linux-kernel@vger.kernel.org List" <linux-kernel@vger.kernel.org>, "Mayuresh Chitale" <mchitale@ventanamicro.com> Subject: Re: Re: [PATCH] RISC-V: mm: Fix set_satp_mode() for platform not having Sv57 Date: Fri, 15 Apr 2022 13:10:36 +0800 (GMT+08:00) [thread overview] Message-ID: <373ad9c1.173d2.1802ba15993.Coremail.panqinglin2020@iscas.ac.cn> (raw) In-Reply-To: <CAK9=C2V0kiV1_12kMDxv6d4nsQZ81-9W5=JifLhNaiZMoHJyuQ@mail.gmail.com> Hi Anup, > > We can't assume that it will be the same pgd_index for Sv48 and Sv57. > > For example, some hypothetical SoC might have RAM starting after 1TB space. > > We should ensure that early_pg_dir is cleaned entirely for detecting the next > mode. > Got it. Your idea is really more stable. Thank you for pointing out that! Yours, Qinglin
WARNING: multiple messages have this Message-ID (diff)
From: 潘庆霖 <panqinglin2020@iscas.ac.cn> To: "Anup Patel" <apatel@ventanamicro.com> Cc: "Palmer Dabbelt" <palmer@dabbelt.com>, "Paul Walmsley" <paul.walmsley@sifive.com>, "Alexandre Ghiti" <alexandre.ghiti@canonical.com>, "Atish Patra" <atishp@atishpatra.org>, "Alistair Francis" <Alistair.Francis@wdc.com>, "Anup Patel" <anup@brainfault.org>, linux-riscv <linux-riscv@lists.infradead.org>, "linux-kernel@vger.kernel.org List" <linux-kernel@vger.kernel.org>, "Mayuresh Chitale" <mchitale@ventanamicro.com> Subject: Re: Re: [PATCH] RISC-V: mm: Fix set_satp_mode() for platform not having Sv57 Date: Fri, 15 Apr 2022 13:10:36 +0800 (GMT+08:00) [thread overview] Message-ID: <373ad9c1.173d2.1802ba15993.Coremail.panqinglin2020@iscas.ac.cn> (raw) In-Reply-To: <CAK9=C2V0kiV1_12kMDxv6d4nsQZ81-9W5=JifLhNaiZMoHJyuQ@mail.gmail.com> Hi Anup, > > We can't assume that it will be the same pgd_index for Sv48 and Sv57. > > For example, some hypothetical SoC might have RAM starting after 1TB space. > > We should ensure that early_pg_dir is cleaned entirely for detecting the next > mode. > Got it. Your idea is really more stable. Thank you for pointing out that! Yours, Qinglin _______________________________________________ linux-riscv mailing list linux-riscv@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-riscv
next prev parent reply other threads:[~2022-04-15 5:11 UTC|newest] Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-04-12 3:33 [PATCH] RISC-V: mm: Fix set_satp_mode() for platform not having Sv57 Anup Patel 2022-04-12 3:33 ` Anup Patel 2022-04-15 4:47 ` 潘庆霖 2022-04-15 4:47 ` 潘庆霖 2022-04-15 4:53 ` Anup Patel 2022-04-15 4:53 ` Anup Patel 2022-04-15 5:10 ` 潘庆霖 [this message] 2022-04-15 5:10 ` 潘庆霖 2022-04-15 5:47 ` Atish Patra 2022-04-15 5:47 ` Atish Patra 2022-04-21 9:30 ` Anup Patel 2022-04-21 9:30 ` Anup Patel 2022-04-21 21:12 ` Palmer Dabbelt 2022-04-21 21:12 ` Palmer Dabbelt
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=373ad9c1.173d2.1802ba15993.Coremail.panqinglin2020@iscas.ac.cn \ --to=panqinglin2020@iscas.ac.cn \ --cc=Alistair.Francis@wdc.com \ --cc=alexandre.ghiti@canonical.com \ --cc=anup@brainfault.org \ --cc=apatel@ventanamicro.com \ --cc=atishp@atishpatra.org \ --cc=linux-kernel@vger.kernel.org \ --cc=linux-riscv@lists.infradead.org \ --cc=mchitale@ventanamicro.com \ --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: linkBe 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.