diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2022-12-08 09:59:15 +0300 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2022-12-08 09:59:15 +0300 |
commit | b681604edab66f20dde767f4690e554f26c5bfb9 (patch) | |
tree | b171f5f20c9f1408dea9b56cb244f2e41f1c13e6 /tools | |
parent | 143d64bdbdb85787953a70332f9e5f658b678550 (diff) | |
download | linux-b681604edab66f20dde767f4690e554f26c5bfb9.tar.xz |
LoongArch: mm: Fix huge page entry update for virtual machine
In virtual machine (guest mode), the tlbwr instruction can not write the
last entry of MTLB, so we need to make it non-present by invtlb and then
write it by tlbfill. This also simplify the whole logic.
Signed-off-by: Rui Wang <wangrui@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions