commit | 5101435e6d784c6d5bb267ca019b721a028dbc47 | [log] [tgz] |
---|---|---|
author | Bibo Mao <maobibo@loongson.cn> | Fri Mar 07 11:57:31 2025 +0800 |
committer | Bibo Mao <maobibo@loongson.cn> | Tue May 06 09:17:32 2025 +0800 |
tree | 949020b84b1654b6423620f0c2fcd8e25bd4f3a2 | |
parent | bba709ff694cc6f844ca32d333b6be7adc7bd6b4 [diff] |
hw/intc/loongarch_pch: Add reset support Add reset support with LoongArch pci 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>