]> git.ipfire.org Git - thirdparty/linux.git/commit
LoongArch: KVM: Use 64-bit register definition for EIOINTC
authorBibo Mao <maobibo@loongson.cn>
Thu, 27 Nov 2025 03:00:18 +0000 (11:00 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Thu, 27 Nov 2025 03:00:18 +0000 (11:00 +0800)
commitd3e43a1f34acbb9a814337fc5624765538e5a274
tree5b7b21ebc6577d547a234c99a29fda05a26a8d6f
parent7bcd8d0b2237fd0f698bcd0c90badf7c46270d9b
LoongArch: KVM: Use 64-bit register definition for EIOINTC

With in-kernel emulated eiointc driver, hardware register can be
accessed by different size, there is reg_u8/reg_u16/reg_u32/reg_u64
union type with EIOINTC register.

Here use 64-bit type with register definition and remove union type
since most registers are accessed with 64-bit method. And this makes
EIOINTC emulated driver simpler.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/kvm_eiointc.h
arch/loongarch/kvm/intc/eiointc.c