Skip to content

Reconstruct loongson ipi driver

Philippe Mathieu-Daudé qemu-devel 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest15 patches 1 replyIn review
  2. v519 patches 9 repliesSuperseded
  3. v418 patches 19 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v317 patches2 repliesSuperseded

Changes in v6 from the cover letter

- Add missing .class_size / .instance_size to
avoid heap-buffer-ovf

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/15hw/intc/loongson_ipi: Rename LoongsonIPI -> LoongsonIPIStatehw/intc/loongson_ipi.c include/hw/intc/loongson_ipi.h+11 -110 replies
2/15hw/intc/loongson_ipi: Extract loongson_ipi_common_realize()hw/intc/loongson_ipi.c+28 -120 replies
3/15hw/intc/loongson_ipi: Add TYPE_LOONGSON_IPI_COMMON stubMAINTAINERS hw/intc/Kconfig hw/intc/loongson_ipi.c +4 more+76 -50 replies
4/15hw/intc/loongson_ipi: Move common definitions to loongson_ipi_common.hinclude/hw/intc/loongson_ipi.h include/hw/intc/loongson_ipi_common.h+19 -180 replies
5/15hw/intc/loongson_ipi: Move IPICore::mmio_mem to LoongsonIPIStatehw/intc/loongson_ipi.c include/hw/intc/loongson_ipi.h+8 -40 replies
6/15hw/intc/loongson_ipi: Move IPICore structure to loongson_ipi_common.hhw/intc/loongson_ipi.c hw/intc/loongson_ipi_common.c include/hw/intc/loongson_ipi.h +1 more+70 -570 replies
7/15hw/intc/loongson_ipi: Pass LoongsonIPICommonState to send_ipi_data()hw/intc/loongson_ipi.c+11 -80 replies
8/15hw/intc/loongson_ipi: Add LoongsonIPICommonClass::get_iocsr_as handlerhw/intc/loongson_ipi.c include/hw/intc/loongson_ipi_common.h+14 -40 replies
9/15hw/intc/loongson_ipi: Add LoongsonIPICommonClass::cpu_by_arch_id handlerhw/intc/loongson_ipi.c include/hw/intc/loongson_ipi_common.h+8 -30 replies
10/15hw/intc/loongson_ipi: Expose loongson_ipi_core_read/write helpershw/intc/loongson_ipi.c include/hw/intc/loongson_ipi_common.h+10 -60 replies
11/15hw/intc/loongson_ipi: Move common code to loongson_ipi_common.chw/intc/loongson_ipi.c hw/intc/loongson_ipi_common.c include/hw/intc/loongson_ipi_common.h+289 -2750 replies
12/15hw/intc/loongarch_ipi: Add loongarch IPI supporthw/intc/Kconfig hw/intc/loongarch_ipi.c hw/intc/meson.build +1 more+98 -00 replies
13/15hw/loongarch/virt: Replace Loongson IPI with LoongArch IPIhw/loongarch/Kconfig hw/loongarch/virt.c include/hw/loongarch/virt.h+3 -40 replies
14/15hw/intc/loongson_ipi: Restrict to MIPSMAINTAINERS hw/intc/loongson_ipi.c+0 -160 replies
15/15hw/intc/loongson_ipi: Remove unused headershw/intc/loongson_ipi.c+0 -90 replies

Reviews trailers per patch

All 15 patches have a Reviewed-by or Acked-by.

PatchBibo MaoSong GaoRichard HendersonJiaxun Yang
1/15R-b T-b A-b R-b R-b T-b
2/15R-b T-b A-b R-b R-b T-b
3/15R-b T-b A-b R-b R-b T-b
4/15R-b T-b A-b R-b R-b T-b
5/15R-b T-b A-b R-b R-b T-b
6/15R-b T-b A-b R-b R-b T-b
7/15R-b T-b A-b R-b R-b T-b
8/15R-b T-b A-b R-b R-b T-b
9/15R-b T-b A-b R-b R-b T-b
10/15R-b T-b A-b R-b R-b T-b
11/15R-b T-b A-b R-b R-b T-b
12/15R-b T-b A-b R-b R-b T-b
13/15R-b T-b A-b R-b R-b T-b
14/15R-b T-b A-b R-b R-b T-b
15/15R-b T-b A-b R-b R-b T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v6 thread

Cover letter [PATCH-for-9.1 v6 00/15] Reconstruct loongson ipi driver

(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
Signature · 1 line
2.45.2