]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
LoongArch: KVM: Add different length support in loongarch_pch_pic_write()
authorBibo Mao <maobibo@loongson.cn>
Tue, 23 Sep 2025 15:37:26 +0000 (23:37 +0800)
committerHuacai Chen <chenhuacai@kernel.org>
Tue, 23 Sep 2025 15:37:26 +0000 (23:37 +0800)
commitf851fdd895dea69e23acc80262da0b8f9e4d04ad
tree4f547bc7cc68c629001a9cc6533b0416203b83d5
parentf8a73df503f5145317de992b94df603ed97e2f86
LoongArch: KVM: Add different length support in loongarch_pch_pic_write()

With function loongarch_pch_pic_write(), currently there is only four
bytes register write support. But in theory, all length 1/2/4/8 should
be supported for all the registers, here add different length support
about register write emulation in function loongarch_pch_pic_write().

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