mbox series

[RESEND,0/2] hw/intc: Restore loongarch_ipi for LoongArch

Message ID 20240627121348.3412568-1-gaosong@loongson.cn (mailing list archive)
Headers show
Series hw/intc: Restore loongarch_ipi for LoongArch | expand

Message

gaosong June 27, 2024, 12:13 p.m. UTC
Currently LoongArch and MIPS architectures share loongson_ipi,
and modifications to loongson_ipi by the MIPS architecture may
lead to some unknown problems in the LoongArch architecture.
In order to minimize the impact of this inter-architectural
interaction, we believe that it is necessary to restore loongarch_ipi.

Song Gao (2):
  Revert "hw/intc: Remove loongarch_ipi.c"
  hw/intc: Restore loongarch_ipi for LoongArch

 MAINTAINERS                     |   2 -
 include/hw/intc/loongarch_ipi.h |  54 +++++
 include/hw/loongarch/virt.h     |   2 +-
 hw/intc/loongarch_ipi.c         | 347 ++++++++++++++++++++++++++++++++
 hw/loongarch/virt.c             |   4 +-
 hw/intc/Kconfig                 |   3 +
 hw/intc/meson.build             |   1 +
 hw/intc/trace-events            |   3 +
 hw/loongarch/Kconfig            |   2 +-
 9 files changed, 412 insertions(+), 6 deletions(-)
 create mode 100644 include/hw/intc/loongarch_ipi.h
 create mode 100644 hw/intc/loongarch_ipi.c