]> www.infradead.org Git - users/hch/xfs.git/commit
riscv: add a warning when physical memory address overflows
authorYunhui Cui <cuiyunhui@bytedance.com>
Wed, 14 Aug 2024 06:26:25 +0000 (14:26 +0800)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 30 Jan 2025 02:36:09 +0000 (18:36 -0800)
commit101971298be2aa4706c8602bd81066a0f6f2ced5
treee2388729197621d7147b58cf2a0500fc21292156
parentb6de116e4636e1a45e5ee69264a66cfab721e581
riscv: add a warning when physical memory address overflows

The part of physical memory that exceeds the size of the linear mapping
will be discarded. When the system starts up normally, a warning message
will be printed to prevent confusion caused by the mismatch between the
system memory and the actual physical memory.

Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com>
Reviewed-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Tested-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20240814062625.19794-1-cuiyunhui@bytedance.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/mm/init.c
scripts/selinux/genheaders/genheaders [new file with mode: 0755]