riscv: mm: add THP support on 64-bit
authorNanyong Sun <sunnanyong@huawei.com>
Fri, 30 Apr 2021 08:28:50 +0000 (16:28 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Sat, 22 May 2021 17:20:02 +0000 (10:20 -0700)
commite88b333142e4aba7410d6d3292ad97b3a8588bfe
tree008c1338b23ece27844daf6eff5406b2e759a03d
parentc3b2d67046d236edb45eed5ca561c62ee7baa788
riscv: mm: add THP support on 64-bit

Bring Transparent HugePage support to riscv. A
transparent huge page is always represented as a pmd.

Signed-off-by: Nanyong Sun <sunnanyong@huawei.com>
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/Kconfig
arch/riscv/include/asm/pgtable.h
arch/riscv/mm/tlbflush.c