[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <168623309503.19530.6891077660786418703.b4-ty@rivosinc.com>
Date: Thu, 08 Jun 2023 07:04:55 -0700
From: Palmer Dabbelt <palmer@...osinc.com>
To: Alexander Potapenko <glider@...gle.com>,
Marco Elver <elver@...gle.com>,
Dmitry Vyukov <dvyukov@...gle.com>,
Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>,
Albert Ou <aou@...s.berkeley.edu>,
Rob Herring <robh@...nel.org>,
Anup Patel <anup@...infault.org>,
Andrew Jones <ajones@...tanamicro.com>,
kasan-dev@...glegroups.com, linux-riscv@...ts.infradead.org,
linux-kernel@...r.kernel.org,
Alexandre Ghiti <alexghiti@...osinc.com>
Cc: syzbot+a74d57bddabbedd75135@...kaller.appspotmail.com
Subject: Re: [PATCH] riscv: Fix kfence now that the linear mapping can be
backed by PUD/P4D/PGD
On Tue, 06 Jun 2023 15:04:44 +0200, Alexandre Ghiti wrote:
> RISC-V Kfence implementation used to rely on the fact the linear mapping
> was backed by at most PMD hugepages, which is not true anymore since
> commit 3335068f8721 ("riscv: Use PUD/P4D/PGD pages for the linear
> mapping").
>
> Instead of splitting PUD/P4D/PGD mappings afterwards, directly map the
> kfence pool region using PTE mappings by allocating this region before
> setup_vm_final().
>
> [...]
Applied, thanks!
[1/1] riscv: Fix kfence now that the linear mapping can be backed by PUD/P4D/PGD
https://git.kernel.org/palmer/c/25abe0db9243
Best regards,
--
Palmer Dabbelt <palmer@...osinc.com>
Powered by blists - more mailing lists