[PATCH -fixes] riscv: Check the virtual alignment before choosing a map size

Palmer Dabbelt palmer at rivosinc.com
Thu Jun 8 07:04:55 PDT 2023


On Wed, 07 Jun 2023 14:58:51 +0200, Alexandre Ghiti wrote:
> We used to only check the alignment of the physical address to decide
> which mapping would fit for a certain region of the linear mapping, but
> it is not enough since the virtual address must also be aligned, so check
> that too.
> 
> 

Applied, thanks!

[1/1] riscv: Check the virtual alignment before choosing a map size
      https://git.kernel.org/palmer/c/49a0a3731596

Best regards,
-- 
Palmer Dabbelt <palmer at rivosinc.com>




More information about the linux-riscv mailing list