[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH-for-9.1 v6 00/15] Reconstruct loongson ipi driver
From: |
Philippe Mathieu-Daudé |
Subject: |
[PATCH-for-9.1 v6 00/15] Reconstruct loongson ipi driver |
Date: |
Mon, 5 Aug 2024 20:06:07 +0200 |
(series fully reviewed, patches 1-15 will be posted
tomorrow in pull request)
Since v5:
- Add missing .class_size / .instance_size to
avoid heap-buffer-ovf
Since v4:
- Fix build failure due to rebase (Song)
- Loongarch -> LoongArch (Song)
- Added Song's tags
Since v3:
- Use DEFINE_TYPES() macro (unreviewed patch #1)
- Update MAINTAINERS
- Added Bibo's tags
Thanks,
Phil.
Bibo Mao (14):
hw/intc/loongson_ipi: Rename LoongsonIPI -> LoongsonIPIState
hw/intc/loongson_ipi: Extract loongson_ipi_common_realize()
hw/intc/loongson_ipi: Add TYPE_LOONGSON_IPI_COMMON stub
hw/intc/loongson_ipi: Move common definitions to loongson_ipi_common.h
hw/intc/loongson_ipi: Move IPICore::mmio_mem to LoongsonIPIState
hw/intc/loongson_ipi: Move IPICore structure to loongson_ipi_common.h
hw/intc/loongson_ipi: Pass LoongsonIPICommonState to send_ipi_data()
hw/intc/loongson_ipi: Add LoongsonIPICommonClass::get_iocsr_as handler
hw/intc/loongson_ipi: Add LoongsonIPICommonClass::cpu_by_arch_id
handler
hw/intc/loongson_ipi: Expose loongson_ipi_core_read/write helpers
hw/intc/loongson_ipi: Move common code to loongson_ipi_common.c
hw/intc/loongarch_ipi: Add loongarch IPI support
hw/loongarch/virt: Replace Loongson IPI with LoongArch IPI
hw/intc/loongson_ipi: Restrict to MIPS
Philippe Mathieu-Daudé (1):
hw/intc/loongson_ipi: Remove unused headers
MAINTAINERS | 6 +-
include/hw/intc/loongarch_ipi.h | 25 ++
include/hw/intc/loongson_ipi.h | 51 +---
include/hw/intc/loongson_ipi_common.h | 74 ++++++
include/hw/loongarch/virt.h | 1 -
hw/intc/loongarch_ipi.c | 68 +++++
hw/intc/loongson_ipi.c | 347 +++-----------------------
hw/intc/loongson_ipi_common.c | 347 ++++++++++++++++++++++++++
hw/loongarch/virt.c | 4 +-
hw/intc/Kconfig | 8 +
hw/intc/meson.build | 2 +
hw/loongarch/Kconfig | 2 +-
12 files changed, 574 insertions(+), 361 deletions(-)
create mode 100644 include/hw/intc/loongarch_ipi.h
create mode 100644 include/hw/intc/loongson_ipi_common.h
create mode 100644 hw/intc/loongarch_ipi.c
create mode 100644 hw/intc/loongson_ipi_common.c
--
2.45.2
- [PATCH-for-9.1 v6 00/15] Reconstruct loongson ipi driver,
Philippe Mathieu-Daudé <=
- [PATCH-for-9.1 v6 01/15] hw/intc/loongson_ipi: Rename LoongsonIPI -> LoongsonIPIState, Philippe Mathieu-Daudé, 2024/08/05
- [PATCH-for-9.1 v6 02/15] hw/intc/loongson_ipi: Extract loongson_ipi_common_realize(), Philippe Mathieu-Daudé, 2024/08/05
- [PATCH-for-9.1 v6 03/15] hw/intc/loongson_ipi: Add TYPE_LOONGSON_IPI_COMMON stub, Philippe Mathieu-Daudé, 2024/08/05
- [PATCH-for-9.1 v6 04/15] hw/intc/loongson_ipi: Move common definitions to loongson_ipi_common.h, Philippe Mathieu-Daudé, 2024/08/05
- [PATCH-for-9.1 v6 05/15] hw/intc/loongson_ipi: Move IPICore::mmio_mem to LoongsonIPIState, Philippe Mathieu-Daudé, 2024/08/05
- [PATCH-for-9.1 v6 06/15] hw/intc/loongson_ipi: Move IPICore structure to loongson_ipi_common.h, Philippe Mathieu-Daudé, 2024/08/05
- [PATCH-for-9.1 v6 07/15] hw/intc/loongson_ipi: Pass LoongsonIPICommonState to send_ipi_data(), Philippe Mathieu-Daudé, 2024/08/05
- [PATCH-for-9.1 v6 08/15] hw/intc/loongson_ipi: Add LoongsonIPICommonClass::get_iocsr_as handler, Philippe Mathieu-Daudé, 2024/08/05
- [PATCH-for-9.1 v6 09/15] hw/intc/loongson_ipi: Add LoongsonIPICommonClass::cpu_by_arch_id handler, Philippe Mathieu-Daudé, 2024/08/05
- [PATCH-for-9.1 v6 10/15] hw/intc/loongson_ipi: Expose loongson_ipi_core_read/write helpers, Philippe Mathieu-Daudé, 2024/08/05