diff options
author | Palmer Dabbelt <palmer@rivosinc.com> | 2024-01-11 08:04:38 -0800 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2024-01-11 08:04:38 -0800 |
commit | d4abde52b4b116111537593e2744b3234d18808d (patch) | |
tree | 22b0dc7cd903434bf0dfa06b4c1d0631c8f4500a /mm/debug.c | |
parent | adb1f95d388a43c4c564ef3e436f18900dde978e (diff) | |
parent | 97b7ac69be2e5a683e898f5267f659fde52efdd5 (diff) |
Merge patch series "riscv: mm: Fixup & Optimize COMPAT code"
guoren@kernel.org <guoren@kernel.org> says:
From: Guo Ren <guoren@linux.alibaba.com>
When the task is in COMPAT mode, the TASK_SIZE should be 2GB, so
STACK_TOP_MAX and arch_get_mmap_end must be limited to 2 GB. This series
fixes the problem made by commit: add2cc6b6515 ("RISC-V: mm: Restrict
address space for sv39,sv48,sv57") and optimizes the related coding
convention of TASK_SIZE.
* b4-shazam-merge:
riscv: mm: Fixup compat arch_get_mmap_end
riscv: mm: Fixup compat mode boot failure
Link: https://lore.kernel.org/r/20231222115703.2404036-1-guoren@kernel.org
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'mm/debug.c')
0 files changed, 0 insertions, 0 deletions