]> www.infradead.org Git - users/willy/pagecache.git/commit
LoongArch: KVM: Remove duplicated cache attribute setting
authorBibo Mao <maobibo@loongson.cn>
Thu, 13 Feb 2025 04:02:56 +0000 (12:02 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Thu, 13 Feb 2025 04:02:56 +0000 (12:02 +0800)
commitd8cc4fee3f8ad21f83326ec8a6d200e04c8f0a00
tree3aab911d283698563da0aa6a58962b6bec110e6b
parentbdb13252e5d1518823b81f458d9975c85d5240c2
LoongArch: KVM: Remove duplicated cache attribute setting

Cache attribute comes from GPA->HPA secondary mmu page table and is
configured when kvm is enabled. It is the same for all VMs, so remove
duplicated cache attribute setting on vCPU context switch.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kvm/vcpu.c