diff options
author | Huacai Chen <chenhuacai@loongson.cn> | 2022-12-08 07:59:15 +0100 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2022-12-08 07:59:15 +0100 |
commit | b681604edab66f20dde767f4690e554f26c5bfb9 (patch) | |
tree | b171f5f20c9f1408dea9b56cb244f2e41f1c13e6 /include | |
parent | LoongArch: Export symbol for function smp_send_reschedule() (diff) | |
download | linux-b681604edab66f20dde767f4690e554f26c5bfb9.tar.xz linux-b681604edab66f20dde767f4690e554f26c5bfb9.zip |
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 'include')
0 files changed, 0 insertions, 0 deletions