[PATCH 0/5] ppc: Remove irq_inputs

Cédric Le Goater posted 5 patches 1 year, 10 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20220705145814.461723-1-clg@kaod.org
Maintainers: "Cédric Le Goater" <clg@kaod.org>, Daniel Henrique Barboza <danielhb413@gmail.com>, David Gibson <david@gibson.dropbear.id.au>, Greg Kurz <groug@kaod.org>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, BALATON Zoltan <balaton@eik.bme.hu>, "Hervé Poussineau" <hpoussin@reactos.org>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>
target/ppc/cpu.h       |  1 -
hw/intc/xics.c         | 10 ++++++----
hw/intc/xive.c         |  4 ++--
hw/ppc/e500.c          |  8 ++++----
hw/ppc/mac_newworld.c  | 16 ++++++++--------
hw/ppc/mac_oldworld.c  |  2 +-
hw/ppc/pegasos2.c      |  2 +-
hw/ppc/ppc.c           | 30 ++++++------------------------
hw/ppc/ppc405_uc.c     |  4 ++--
hw/ppc/ppc440_bamboo.c |  4 ++--
hw/ppc/prep.c          |  2 +-
hw/ppc/prep_systemio.c |  2 +-
hw/ppc/sam460ex.c      |  4 ++--
hw/ppc/virtex_ml507.c  | 10 +++++-----
target/ppc/cpu_init.c  |  5 -----
15 files changed, 41 insertions(+), 63 deletions(-)
[PATCH 0/5] ppc: Remove irq_inputs
Posted by Cédric Le Goater 1 year, 10 months ago
Hello,

This replaces the IRQ array 'irq_inputs' with GPIO lines and removes
'irq_inputs' when all CPUs have been converted.

Thanks,

C. 

Cédric Le Goater (5):
  ppc64: Allocate IRQ lines with qdev_init_gpio_in()
  ppc/40x: Allocate IRQ lines with qdev_init_gpio_in()
  ppc/6xx: Allocate IRQ lines with qdev_init_gpio_in()
  ppc/e500: Allocate IRQ lines with qdev_init_gpio_in()
  ppc: Remove unused irq_inputs

 target/ppc/cpu.h       |  1 -
 hw/intc/xics.c         | 10 ++++++----
 hw/intc/xive.c         |  4 ++--
 hw/ppc/e500.c          |  8 ++++----
 hw/ppc/mac_newworld.c  | 16 ++++++++--------
 hw/ppc/mac_oldworld.c  |  2 +-
 hw/ppc/pegasos2.c      |  2 +-
 hw/ppc/ppc.c           | 30 ++++++------------------------
 hw/ppc/ppc405_uc.c     |  4 ++--
 hw/ppc/ppc440_bamboo.c |  4 ++--
 hw/ppc/prep.c          |  2 +-
 hw/ppc/prep_systemio.c |  2 +-
 hw/ppc/sam460ex.c      |  4 ++--
 hw/ppc/virtex_ml507.c  | 10 +++++-----
 target/ppc/cpu_init.c  |  5 -----
 15 files changed, 41 insertions(+), 63 deletions(-)

-- 
2.35.3


Re: [PATCH 0/5] ppc: Remove irq_inputs
Posted by Daniel Henrique Barboza 1 year, 10 months ago
Queued in gitlab.com/danielhb/qemu/tree/ppc-next. Thanks,


Daniel

On 7/5/22 11:58, Cédric Le Goater wrote:
> Hello,
> 
> This replaces the IRQ array 'irq_inputs' with GPIO lines and removes
> 'irq_inputs' when all CPUs have been converted.
> 
> Thanks,
> 
> C.
> 
> Cédric Le Goater (5):
>    ppc64: Allocate IRQ lines with qdev_init_gpio_in()
>    ppc/40x: Allocate IRQ lines with qdev_init_gpio_in()
>    ppc/6xx: Allocate IRQ lines with qdev_init_gpio_in()
>    ppc/e500: Allocate IRQ lines with qdev_init_gpio_in()
>    ppc: Remove unused irq_inputs
> 
>   target/ppc/cpu.h       |  1 -
>   hw/intc/xics.c         | 10 ++++++----
>   hw/intc/xive.c         |  4 ++--
>   hw/ppc/e500.c          |  8 ++++----
>   hw/ppc/mac_newworld.c  | 16 ++++++++--------
>   hw/ppc/mac_oldworld.c  |  2 +-
>   hw/ppc/pegasos2.c      |  2 +-
>   hw/ppc/ppc.c           | 30 ++++++------------------------
>   hw/ppc/ppc405_uc.c     |  4 ++--
>   hw/ppc/ppc440_bamboo.c |  4 ++--
>   hw/ppc/prep.c          |  2 +-
>   hw/ppc/prep_systemio.c |  2 +-
>   hw/ppc/sam460ex.c      |  4 ++--
>   hw/ppc/virtex_ml507.c  | 10 +++++-----
>   target/ppc/cpu_init.c  |  5 -----
>   15 files changed, 41 insertions(+), 63 deletions(-)
> 

Re: [PATCH 0/5] ppc: Remove irq_inputs
Posted by Mark Cave-Ayland 1 year, 10 months ago
On 05/07/2022 15:58, Cédric Le Goater wrote:

> Hello,
> 
> This replaces the IRQ array 'irq_inputs' with GPIO lines and removes
> 'irq_inputs' when all CPUs have been converted.
> 
> Thanks,
> 
> C.
> 
> Cédric Le Goater (5):
>    ppc64: Allocate IRQ lines with qdev_init_gpio_in()
>    ppc/40x: Allocate IRQ lines with qdev_init_gpio_in()
>    ppc/6xx: Allocate IRQ lines with qdev_init_gpio_in()
>    ppc/e500: Allocate IRQ lines with qdev_init_gpio_in()
>    ppc: Remove unused irq_inputs
> 
>   target/ppc/cpu.h       |  1 -
>   hw/intc/xics.c         | 10 ++++++----
>   hw/intc/xive.c         |  4 ++--
>   hw/ppc/e500.c          |  8 ++++----
>   hw/ppc/mac_newworld.c  | 16 ++++++++--------
>   hw/ppc/mac_oldworld.c  |  2 +-
>   hw/ppc/pegasos2.c      |  2 +-
>   hw/ppc/ppc.c           | 30 ++++++------------------------
>   hw/ppc/ppc405_uc.c     |  4 ++--
>   hw/ppc/ppc440_bamboo.c |  4 ++--
>   hw/ppc/prep.c          |  2 +-
>   hw/ppc/prep_systemio.c |  2 +-
>   hw/ppc/sam460ex.c      |  4 ++--
>   hw/ppc/virtex_ml507.c  | 10 +++++-----
>   target/ppc/cpu_init.c  |  5 -----
>   15 files changed, 41 insertions(+), 63 deletions(-)

For the Mac machines:

Acked-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>


ATB,

Mark.

Re: [PATCH 0/5] ppc: Remove irq_inputs
Posted by Peter Maydell 1 year, 10 months ago
On Tue, 5 Jul 2022 at 16:01, Cédric Le Goater <clg@kaod.org> wrote:
>
> Hello,
>
> This replaces the IRQ array 'irq_inputs' with GPIO lines and removes
> 'irq_inputs' when all CPUs have been converted.
>
> Thanks,
>
> C.
>
> Cédric Le Goater (5):
>   ppc64: Allocate IRQ lines with qdev_init_gpio_in()
>   ppc/40x: Allocate IRQ lines with qdev_init_gpio_in()
>   ppc/6xx: Allocate IRQ lines with qdev_init_gpio_in()
>   ppc/e500: Allocate IRQ lines with qdev_init_gpio_in()
>   ppc: Remove unused irq_inputs

Whole series:
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM