Re: [PATCH] gpio: virtio: convert to immutable irq_chip

From: Viresh Kumar

Date: Wed Oct 28 2026 - 00:53:40 EST


On 27-10-26, 13:55, Francesco Valla wrote:
> The kernel has been warning about non-immutable irq_chips for quite some
> time, printing messages such as the following one during initialization:
>
> gpio gpiochip6: (virtio2): not an immutable chip, please consider fixing it!
>
> Convert the gpio-virtio irq_chip to immutable and add the relevant
> helpers. The exposed name is kept the same as before through the
> .irq_print_chip callback.
>
> Signed-off-by: Francesco Valla <francesco@xxxxxxxx>
> ---
> drivers/gpio/gpio-virtio.c | 41 ++++++++++++++++++++++++++---------------
> 1 file changed, 26 insertions(+), 15 deletions(-)

Acked-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>

--
viresh