]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
LoongArch: KVM: Set version information at initial stage
authorBibo Mao <maobibo@loongson.cn>
Tue, 23 Sep 2025 15:37:09 +0000 (23:37 +0800)
committerHuacai Chen <chenhuacai@kernel.org>
Tue, 23 Sep 2025 15:37:09 +0000 (23:37 +0800)
commit2f412eb7650c369744420cc2d06404fe3f1fb79f
treefc1d5f5973959aa48da8b04bde1014021a71c470
parent3da2b0d439aa4eccc2a65e87f0bb280595d91ffe
LoongArch: KVM: Set version information at initial stage

Register PCH_PIC_INT_ID constains version and supported irq number
information, and it is a read only register. The detailed value can
be set at initial stage, rather than read callback.

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