Reuse TYPE_GPIO_PWR in ppce500 machine
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesIn review
- v13 patches 2 repliesSuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | MAINTAINERS: Add hw/gpio/gpio_pwr.cMAINTAINERS | +1 | 0 replies | |
| 2/2 | hw/ppc/e500: Reuse TYPE_GPIO_PWRhw/ hw/ | +5 | 2 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Philippe Mathieu-Daudé |
|---|---|
| 1/2 | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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