LoongArch: KVM: Implement virtual machine tlb operations
authorTianrui Zhao <zhaotianrui@loongson.cn>
Mon, 2 Oct 2023 02:01:28 +0000 (10:01 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Mon, 2 Oct 2023 02:01:28 +0000 (10:01 +0800)
commitd7f4ed4b22908077bd219dd172b27b51927aff6d
treecaca6c66bd318c716e934ef054f847b36153e8be
parenta5857b9ff6e06cac4adc8d671a74b7739a88623e
LoongArch: KVM: Implement virtual machine tlb operations

Implement LoongArch virtual machine tlb operations such as flush tlb by
specific gpa parameter and flush all of the virtual machine's tlbs.

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>
arch/loongarch/kvm/tlb.c [new file with mode: 0644]