diff options
author | Guo Ren <[email protected]> | 2023-12-22 06:57:01 -0500 |
---|---|---|
committer | Palmer Dabbelt <[email protected]> | 2024-01-11 08:04:36 -0800 |
commit | 97b7ac69be2e5a683e898f5267f659fde52efdd5 (patch) | |
tree | 2adeafe9a919f5669118012fc41dd90611c18dad /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 5f449e245e5b0d9d63eef6c8968fbdc3a8594407 (diff) |
riscv: mm: Fixup compat arch_get_mmap_end
When the task is in COMPAT mode, the arch_get_mmap_end should be 2GB,
not TASK_SIZE_64. The TASK_SIZE has contained is_compat_mode()
detection, so change the definition of STACK_TOP_MAX to TASK_SIZE
directly.
Cc: [email protected]
Fixes: add2cc6b6515 ("RISC-V: mm: Restrict address space for sv39,sv48,sv57")
Signed-off-by: Guo Ren <[email protected]>
Signed-off-by: Guo Ren <[email protected]>
Reviewed-by: Leonardo Bras <[email protected]>
Reviewed-by: Charlie Jenkins <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions