Here add reset support with LoongArch irqchips, including pch pic, ipi and extioi interrupt controllers. For ipi irqchip, reset interface is missing. For extioi irqchip, legacy reset callback is replaced with new API and internal HW/SW states are cleared also. For pch pic irqchip, legacy reset callback is replaced with new API.
Bibo Mao (5): hw/intc/loongarch_ipi: Add reset support hw/intc/loongarch_extioi: Add reset support hw/intc/loongarch_extioi: Replace legacy reset callback with new api hw/intc/loongarch_pch: Add reset support hw/intc/loongarch_pch: Replace legacy reset callback with new api hw/intc/loongarch_extioi.c | 12 ++++--- hw/intc/loongarch_extioi_common.c | 41 +++++++++++++++++++++++ hw/intc/loongarch_ipi.c | 29 ++++++++++++++++ hw/intc/loongarch_pch_pic.c | 26 +++++--------- hw/intc/loongarch_pic_common.c | 25 ++++++++++++++ include/hw/intc/loongarch_extioi.h | 1 + include/hw/intc/loongarch_extioi_common.h | 1 + include/hw/intc/loongarch_ipi.h | 1 + include/hw/intc/loongarch_pch_pic.h | 1 + include/hw/intc/loongarch_pic_common.h | 1 + 10 files changed, 116 insertions(+), 22 deletions(-) base-commit: e8a01102936286e012ed0f00bd7f3b7474d415c9 -- 2.39.3
