]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
LoongArch: KVM: Fix typo issue about GCFG feature detection
authorBibo Mao <maobibo@loongson.cn>
Thu, 13 Feb 2025 04:02:56 +0000 (12:02 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 21 Feb 2025 13:01:17 +0000 (14:01 +0100)
commit1dfb37ec8f012a8466b2e624b35d1b411dd10b01
tree1a597786a4724f030220cabd23b1d7f56b48dbc1
parent9f15a8df542c0f08732a67d1a14ee7c22948fb97
LoongArch: KVM: Fix typo issue about GCFG feature detection

[ Upstream commit bdb13252e5d1518823b81f458d9975c85d5240c2 ]

This is typo issue and misusage about GCFG feature macro. The code
is wrong, only that it does not cause obvious problem since GCFG is
set again on vCPU context switch.

Fixes: 0d0df3c99d4f ("LoongArch: KVM: Implement kvm hardware enable, disable interface")
Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/loongarch/kvm/main.c