diff options
| author | 2022-01-27 10:48:41 +0800 | |
|---|---|---|
| committer | 2022-02-14 16:32:39 -0800 | |
| commit | d10efa21a9374829a662ec1377237e85f430c024 (patch) | |
| tree | d84406b277207ae9442e4785db251b2c20cdac98 /tools/scripts/ssh:/git@git.zx2c4.com/git: | |
| parent | Linux 5.17-rc1 (diff) | |
| download | linux-dev-d10efa21a9374829a662ec1377237e85f430c024.tar.xz linux-dev-d10efa21a9374829a662ec1377237e85f430c024.zip | |
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/scripts/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
