Skip to content

Reuse TYPE_GPIO_PWR in ppce500 machine

Bernhard Beschow qemu-arm qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v13 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2MAINTAINERS: Add hw/gpio/gpio_pwr.cMAINTAINERS+1 -00 replies
2/2hw/ppc/e500: Reuse TYPE_GPIO_PWRhw/ppc/Kconfig hw/ppc/e500.c+5 -122 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-Daudé
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Reuse TYPE_GPIO_PWR in ppce500 machine

Just like the ARM virt machine, the ppce500 machine implements a "gpio-poweroff"-compatible device tree node. So far, the implementations aren't shared, and in addition, the ppce500 machine uses qemu_allocate_irq() which leaks memory. This series fixes both by reusing TYPE_GPIO_PWR.

Testing done:
* Build qemu_ppc64_e5500_defconfig in Buildroot, run it in the ppce500 machine and issue the poweroff command. Observe that QEMU is shut down cleanly.

[1] https://github.com/shentok/qemu/tree/e500-fdt

Supersedes: [email protected]

Bernhard Beschow (2):
MAINTAINERS: Add hw/gpio/gpio_pwr.c
hw/ppc/e500: Reuse TYPE_GPIO_PWR

 MAINTAINERS    |  1 +
 hw/ppc/e500.c  | 16 ++++------------
 hw/ppc/Kconfig |  1 +
 3 files changed, 6 insertions(+), 12 deletions(-)
Signature · 1 line
2.46.2