]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
LoongArch: KVM: Use existing macro about interrupt bit mask
authorBibo Mao <maobibo@loongson.cn>
Thu, 11 Jun 2026 12:46:40 +0000 (20:46 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Thu, 11 Jun 2026 12:46:40 +0000 (20:46 +0800)
commit1ef045effba8b85953fb9eccdfaf80e6f300b612
tree7f064bcc89c860d7559b6bb5f839324849f6215c
parentf4caaac76379daf4a617d9134b6087fb2636fb31
LoongArch: KVM: Use existing macro about interrupt bit mask

With interrupt post, register CSR.GINTC and CSR.ESTAT is used, and
CSR.ESTAT is used for percpu interrupt injection and CSR.GINTC is for
external hardware interrupt injection.

Here use existing macro about interrupt bit of register CSR.GINTC and
CSR.ESTAT, rather than hard coded constant value.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
arch/loongarch/include/asm/kvm_vcpu.h