commit | 395a21ff859c9c2471ea62d7d56af8a85ec333f7 | [log] [tgz] |
---|---|---|
author | Zong Li <zong.li@sifive.com> | Tue Mar 10 00:55:37 2020 +0800 |
committer | Palmer Dabbelt <palmerdabbelt@google.com> | Thu Mar 26 09:24:33 2020 -0700 |
tree | 9e3d35bc7de9b774b388dbfb154332fbf2751ebe | |
parent | d3ab332a5021235a74fd832a49c6a99404920d88 [diff] |
riscv: add ARCH_HAS_SET_DIRECT_MAP support Add set_direct_map_*() functions for setting the direct map alias for the page to its default permissions and to an invalid state that cannot be cached in a TLB. (See d253ca0c ("x86/mm/cpa: Add set_direct_map_*() functions")) Add a similar implementation for RISC-V. Signed-off-by: Zong Li <zong.li@sifive.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>