]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/intc/loongarch_pch: Set version information at initial stage
authorBibo Mao <maobibo@loongson.cn>
Wed, 7 May 2025 02:31:36 +0000 (10:31 +0800)
committerSong Gao <gaosong@loongson.cn>
Wed, 14 May 2025 07:43:46 +0000 (15:43 +0800)
commitc2658b0de5cb24b6eb49751c92380d30f1d9258f
treed8cbe54a53affdff01e6930980c39daa31177f0c
parente95e4e818b7821a66c4346761c6f63b93177685a
hw/intc/loongarch_pch: Set version information at initial stage

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

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
Message-Id: <20250507023148.1877287-5-maobibo@loongson.cn>
Signed-off-by: Song Gao <gaosong@loongson.cn>
hw/intc/loongarch_pch_pic.c
hw/intc/loongarch_pic_common.c
include/hw/intc/loongarch_pic_common.h