LoongArch: KVM: Rename _kvm_get_cpucfg() to _kvm_get_cpucfg_mask()
authorWANG Xuerui <git@xen0n.name>
Fri, 23 Feb 2024 06:36:31 +0000 (14:36 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 23 Feb 2024 06:36:31 +0000 (14:36 +0800)
commitec83f39d2b078d6dd029bbde601835b5368fc886
treefc3a70778f520c9e65f758cd3131f65b23a94a72
parent179af5751af59100305358ee0ee51eec9a7f3953
LoongArch: KVM: Rename _kvm_get_cpucfg() to _kvm_get_cpucfg_mask()

The function is not actually a getter of guest CPUCFG, but rather
validation of the input CPUCFG ID plus information about the supported
bit flags of that CPUCFG leaf. So rename it to avoid confusion.

Reviewed-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: WANG Xuerui <git@xen0n.name>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/kvm/vcpu.c