Skip to contentSkip to conversation

MAINTAINERS: Collect unmaintained files under PPC entries

PATCH In review Cédric Le Goater 3 participants 12 messages Oct 2, 2023 – Oct 18, 2023

lore
Share & tools
lore
#0 lore raw

v2 cover MAINTAINERS: Collect unmaintained files under PPC entries

Hello,

All PPC files should now be correctly assigned to some entry.

Cheers,

C.

Changes in v2:
- Took Reviewed-by's from Phil and Daniel
- Took tests/avocado/ppc_405.py in patch 2

Cédric Le Goater (8):
ppc/{bamboo, virtex_ml507}: Remove useless dependency on ppc405.h
header
MAINTAINERS: Adjust file list for PPC ref405ep machine
MAINTAINERS: Adjust file list for PPC 4xx CPUs
MAINTAINERS: Adjust file list for PPC e500 machines
MAINTAINERS: Adjust file list for PPC pseries machine
MAINTAINERS: Add fw_cfg.c to PPC mac99 machine
MAINTAINERS: Add PPC common files to PowerPC TCG CPUs
MAINTAINERS: Update PPC TCG target with tests

 MAINTAINERS            | 20 ++++++++++++++++++--
 hw/ppc/ppc440_bamboo.c |  1 -
 hw/ppc/virtex_ml507.c  |  1 -
 3 files changed, 18 insertions(+), 4 deletions(-)
Signature · 1 line
2.41.0
#1 lore raw

PATCH v2 1/8 ppc/{bamboo, virtex_ml507}: Remove useless dependency on ppc405.h header

Cc "Edgar E. Iglesias" <[email protected]> (odd fixer:virtex_ml507)
---
 hw/ppc/ppc440_bamboo.c | 1 -
 hw/ppc/virtex_ml507.c  | 1 -
 2 files changed, 2 deletions(-)
hw/ppc/ppc440_bamboo.c +0 -1
index 45f409c83862..a189942de4cf 100644
@@ -24,7 +24,6 @@
 #include "elf.h"
 #include "hw/char/serial.h"
 #include "hw/ppc/ppc.h"
-#include "ppc405.h"
 #include "sysemu/sysemu.h"
 #include "sysemu/reset.h"
 #include "hw/sysbus.h"
hw/ppc/virtex_ml507.c +0 -1
index f2f81bd4259c..d02f330650fc 100644
@@ -43,7 +43,6 @@
 #include "hw/ppc/ppc.h"
 #include "hw/ppc/ppc4xx.h"
 #include "hw/qdev-properties.h"
-#include "ppc405.h"
 
 #include <libfdt.h>
 
Signature · 1 line
2.41.0
#2 lore raw

PATCH v2 2/8 MAINTAINERS: Adjust file list for PPC ref405ep machine

In reply to Cédric Le Goater
---
 MAINTAINERS | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
MAINTAINERS +2 -1
index 355b1960ce46..9f2eb00b7744 100644
@@ -1345,7 +1345,8 @@ PowerPC Machines
 405 (ref405ep)
 L: [email protected]
 S: Orphan
-F: hw/ppc/ppc405_boards.c
+F: hw/ppc/ppc405*
+F: tests/avocado/ppc_405.py
 
 Bamboo
 L: [email protected]
Signature · 1 line
2.41.0
#3 lore raw

PATCH v2 3/8 MAINTAINERS: Adjust file list for PPC 4xx CPUs

In reply to Cédric Le Goater
---
 MAINTAINERS | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
MAINTAINERS +3 -1
index 9f2eb00b7744..cdac16c8eae7 100644
@@ -1961,7 +1961,9 @@ F: docs/specs/acpi_hest_ghes.rst
 ppc4xx
 L: [email protected]
 S: Orphan
-F: hw/ppc/ppc4*.c
+F: hw/ppc/ppc4xx*.c
+F: hw/ppc/ppc440_uc.c
+F: hw/ppc/ppc440.h
 F: hw/i2c/ppc4xx_i2c.c
 F: include/hw/ppc/ppc4xx.h
 F: include/hw/i2c/ppc4xx_i2c.h
Signature · 1 line
2.41.0
#4 lore raw

PATCH v2 4/8 MAINTAINERS: Adjust file list for PPC e500 machines

In reply to Cédric Le Goater
---
 MAINTAINERS | 2 ++
 1 file changed, 2 insertions(+)
MAINTAINERS +2 -0
index cdac16c8eae7..016cfb355123 100644
@@ -1358,6 +1358,7 @@ e500
 L: [email protected]
 S: Orphan
 F: hw/ppc/e500*
+F: hw/ppc/ppce500_spin.c
 F: hw/gpio/mpc8xxx.c
 F: hw/i2c/mpc_i2c.c
 F: hw/net/fsl_etsec/
@@ -1367,6 +1368,7 @@ F: include/hw/pci-host/ppce500.h
 F: pc-bios/u-boot.e500
 F: hw/intc/openpic_kvm.h
 F: include/hw/ppc/openpic_kvm.h
+F: docs/system/ppc/ppce500.rst
 
 mpc8544ds
 L: [email protected]
Signature · 1 line
2.41.0
#5 lore raw

PATCH v2 5/8 MAINTAINERS: Adjust file list for PPC pseries machine

In reply to Cédric Le Goater

The fdt.{c.h} files provide a helper routine used by the pseries and pnv machines. Attached it to the list of the larger one: pseries.

Protected Execution Facility (PEF) is the confidential guest support for PPC pseries machines.

---
 MAINTAINERS | 4 ++++
 1 file changed, 4 insertions(+)
MAINTAINERS +4 -0
index 016cfb355123..814352191305 100644
@@ -1441,6 +1441,10 @@ F: hw/*/spapr*
 F: include/hw/*/spapr*
 F: hw/*/xics*
 F: include/hw/*/xics*
+F: include/hw/ppc/fdt.h
+F: hw/ppc/fdt.c
+F: include/hw/ppc/pef.h
+F: hw/ppc/pef.c
 F: pc-bios/slof.bin
 F: docs/system/ppc/pseries.rst
 F: docs/specs/ppc-spapr-*
Signature · 1 line
2.41.0
#6 lore raw

PATCH v2 6/8 MAINTAINERS: Add fw_cfg.c to PPC mac99 machine

In reply to Cédric Le Goater

The hw/ppc/fw_cfg.c file contains the implementation of fw_cfg_arch_key_name(), used by the common nvram model. List it under mac99 machine next to the mac_nvram model.

---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
index 814352191305..d00f39ac9440 100644
@@ -1388,6 +1388,7 @@ F: hw/pci-bridge/dec.[hc]
 F: hw/misc/macio/
 F: hw/misc/mos6522.c
 F: hw/nvram/mac_nvram.c
+F: hw/ppc/fw_cfg.c
 F: hw/input/adb*
 F: include/hw/misc/macio/
 F: include/hw/misc/mos6522.h
Signature · 1 line
2.41.0
Reviewed-by on v2 6/8
#7 lore raw

Re: [PATCH v2 6/8] MAINTAINERS: Add fw_cfg.c to PPC mac99 machine

Quoted 16 lines · Cédric Le Goater

The hw/ppc/fw_cfg.c file contains the implementation of fw_cfg_arch_key_name(), used by the common nvram model. List it under mac99 machine next to the mac_nvram model.

---
  MAINTAINERS | 1 +
  1 file changed, 1 insertion(+)
MAINTAINERS +0 -0
index 814352191305..d00f39ac9440 100644

MAINTAINERS F: hw/pci-bridge/dec.[hc] · line 1394

Quoted 7 lines
MAINTAINERS +1 -0
@@ -1388,6 +1388,7 @@ F: hw/pci-bridge/dec.[hc]
  F: hw/misc/macio/
  F: hw/misc/mos6522.c
  F: hw/nvram/mac_nvram.c
+F: hw/ppc/fw_cfg.c
  F: hw/input/adb*
  F: include/hw/misc/macio/
  F: include/hw/misc/mos6522.h

ATB,

Mark.

#8 lore raw

PATCH v2 7/8 MAINTAINERS: Add PPC common files to PowerPC TCG CPUs

In reply to Cédric Le Goater
---
 MAINTAINERS | 5 +++++
 1 file changed, 5 insertions(+)
MAINTAINERS +5 -0
index d00f39ac9440..e40f7f71d651 100644
@@ -307,6 +307,11 @@ F: target/ppc/
 F: hw/ppc/ppc.c
 F: hw/ppc/ppc_booke.c
 F: include/hw/ppc/ppc.h
+F: hw/ppc/meson.build
+F: hw/ppc/trace*
+F: configs/devices/ppc*
+F: docs/system/ppc/embedded.rst
+F: docs/system/target-ppc.rst
 
 RISC-V TCG CPUs
 M: Palmer Dabbelt <[email protected]>
Signature · 1 line
2.41.0
#9 lore raw

PATCH v2 8/8 MAINTAINERS: Update PPC TCG target with tests

In reply to Cédric Le Goater
---
 MAINTAINERS | 1 +
 1 file changed, 1 insertion(+)
MAINTAINERS +1 -0
index e40f7f71d651..174bcfe39210 100644
@@ -3551,6 +3551,7 @@ PPC TCG target
 M: Richard Henderson <[email protected]>
 S: Odd Fixes
 F: tcg/ppc/
+F: tests/tcg/ppc*
 
 RISC-V TCG target
 M: Palmer Dabbelt <[email protected]>
Signature · 1 line
2.41.0
#10 lore raw

Re: [PATCH v2 8/8] MAINTAINERS: Update PPC TCG target with tests

Quoted 13 lines · Cédric Le Goater
---
  MAINTAINERS | 1 +
  1 file changed, 1 insertion(+)
MAINTAINERS +0 -0
index e40f7f71d651..174bcfe39210 100644

MAINTAINERS PPC TCG target · line 3554

Quoted 4 lines
MAINTAINERS +1 -0
@@ -3551,6 +3551,7 @@ PPC TCG target
  M: Richard Henderson <[email protected]>
  S: Odd Fixes
  F: tcg/ppc/
+F: tests/tcg/ppc*

Sorry, but I think this patch is wrong. This section is about the TCG *host* backend (tcg/ppc/), but tests/tcg/ppc* is about the TCG *guest* frontend.

I just noticed since I just wrote a patch that adds the tests/tcg/ subfolders to the right sections:

https://lore.kernel.org/qemu-devel/[email protected]/

The ppc* subfolders are included there, too, so I'd suggest to drop this patch here.

Thomas

#11 lore raw

Re: [PATCH v2 8/8] MAINTAINERS: Update PPC TCG target with tests

Quoted 21 lines · Thomas Huth
Quoted 13 lines · Cédric Le Goater

---
  MAINTAINERS | 1 +

  1 file changed, 1 insertion(+)
MAINTAINERS +0 -0
index e40f7f71d651..174bcfe39210 100644
@@ -3551,6 +3551,7 @@ PPC TCG target
Quoted 4 lines

  M: Richard Henderson <[email protected]>
  S: Odd Fixes
  F: tcg/ppc/
+F: tests/tcg/ppc*

Sorry, but I think this patch is wrong. This section is about the TCG *host* backend (tcg/ppc/), but tests/tcg/ppc* is about the TCG *guest* frontend.

Quoted 5 lines

I just noticed since I just wrote a patch that adds the tests/tcg/ subfolders to the right sections:

 https://lore.kernel.org/qemu-devel/[email protected]/

The ppc* subfolders are included there, too, so I'd suggest to drop this patch here.

ok. Good for me.

Thanks,

C.