diff options
author | Qinglin Pan <panqinglin2020@iscas.ac.cn> | 2022-01-27 05:48:41 +0300 |
---|---|---|
committer | Palmer Dabbelt <palmer@rivosinc.com> | 2022-02-15 03:32:39 +0300 |
commit | d10efa21a9374829a662ec1377237e85f430c024 (patch) | |
tree | d84406b277207ae9442e4785db251b2c20cdac98 /tools/perf/scripts/python | |
parent | e783362eb54cd99b2cac8b3a9aeac942e6f6ac07 (diff) | |
download | linux-d10efa21a9374829a662ec1377237e85f430c024.tar.xz |
riscv: mm: Control p4d's folding by pgtable_l5_enabled
To determine pgtable level at boot time, we can not use helper functions
in include/asm-generic/pgtable-nop4d.h and must implement these
functions. This patch uses pgtable_l5_enabled variable instead of
including pgtable-nop4d.h to controle p4d's folding, and implements
corresponding helper functions.
Signed-off-by: Qinglin Pan <panqinglin2020@iscas.ac.cn>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions