]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/intc/loongarch_extioi: Add reset support
authorBibo Mao <maobibo@loongson.cn>
Fri, 7 Mar 2025 02:12:09 +0000 (10:12 +0800)
committerBibo Mao <maobibo@loongson.cn>
Tue, 6 May 2025 01:17:32 +0000 (09:17 +0800)
commit86e4a64751a728aae24fa95d76d6c313aa82cf82
tree31e374eec9b0bfb3308d1c160c4dd1541b21c045
parent36ad84ecb26d6a28c78d079dc51063d972600592
hw/intc/loongarch_extioi: Add reset support

Add reset support with extioi irqchip, and register reset callback
support with new API resettable_class_set_parent_phases(). Clear
internal HW registers and SW state when virt machine resets.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
hw/intc/loongarch_extioi_common.c
include/hw/intc/loongarch_extioi_common.h