summaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2024-03-06 04:12:13 +0300
committerHuacai Chen <chenhuacai@loongson.cn>2024-03-06 04:12:13 +0300
commitaebd3bd586c67a29ddbe7be7db06b45754477b52 (patch)
treed7f10a42951cd060f61422b76c4c3f6d280d9a5c /lib/test-string_helpers.c
parent90d35da658da8cff0d4ecbb5113f5fac9d00eb72 (diff)
downloadlinux-aebd3bd586c67a29ddbe7be7db06b45754477b52.tar.xz
LoongArch: KVM: Set reserved bits as zero in CPUCFG
Supported CPUCFG information comes from function _kvm_get_cpucfg_mask(). A bit should be zero if it is reserved by HW or if it is not supported by KVM. Also LoongArch software page table walk feature defined in CPUCFG2_LSPW is supported by KVM, it should be enabled by default. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions