Re: [PATCH-for-5.0] hw/arm/sbsa-ref: Call qdev_get_gpio_in in place

2019-12-06 Thread Philippe Mathieu-Daudé
On 12/6/19 4:34 PM, Peter Maydell wrote: On Fri, 6 Dec 2019 at 07:23, Philippe Mathieu-Daudé wrote: Instead of filling an array of qemu_irq and passing it around, directly call qdev_get_gpio_in() on the GIC. Signed-off-by: Philippe Mathieu-Daudé --- I accept better patch subject suggestions

Re: [PATCH-for-5.0] hw/arm/sbsa-ref: Call qdev_get_gpio_in in place

2019-12-06 Thread Peter Maydell
On Fri, 6 Dec 2019 at 07:23, Philippe Mathieu-Daudé wrote: > > Instead of filling an array of qemu_irq and passing it around, > directly call qdev_get_gpio_in() on the GIC. > > Signed-off-by: Philippe Mathieu-Daudé > --- > I accept better patch subject suggestions :) > --- > hw/arm/sbsa-ref.c |

[PATCH-for-5.0] hw/arm/sbsa-ref: Call qdev_get_gpio_in in place

2019-12-06 Thread Philippe Mathieu-Daudé
Instead of filling an array of qemu_irq and passing it around, directly call qdev_get_gpio_in() on the GIC. Signed-off-by: Philippe Mathieu-Daudé --- I accept better patch subject suggestions :) --- hw/arm/sbsa-ref.c | 58 +++ 1 file changed, 29 insert