summaryrefslogtreecommitdiff
path: root/arch/loongarch/include/asm/kvm_mmu.h
AgeCommit message (Collapse)AuthorFilesLines
2023-10-02LoongArch: KVM: Implement kvm mmu operationsTianrui Zhao1-0/+139
Implement LoongArch kvm mmu, it is used to switch gpa to hpa when guest exit because of address translation exception. This patch implement: allocating gpa page table, searching gpa from it, and flushing guest gpa in the table. Reviewed-by: Bibo Mao <maobibo@loongson.cn> Tested-by: Huacai Chen <chenhuacai@loongson.cn> Signed-off-by: Tianrui Zhao <zhaotianrui@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>