Re: [PATCH v15 09/14] gpiolib: request ACPI GPIO events for external IRQ domains

From: Andy Shevchenko

Date: Thu Nov 19 2026 - 02:42:12 EST


On Wed, Nov 18, 2026 at 03:42:26PM +0800, Long Zhao via B4 Relay wrote:
>
> gpiochip_add_irqchip() requests GPIO-signaled ACPI events after
> installing the irqchip. A gpiochip that gets its IRQ domain through
> gpiochip_irqchip_add_domain() never goes through that path, so _AEI
> events, such as the power button on ARM64 ACPI platforms, are not
> requested.
>
> Request them here as well. gpiochip_remove() already calls
> acpi_gpiochip_free_interrupts().

This is part of the bigger issue with IRQ domain registration AFAIU.
(See patch 3/14).

--
With Best Regards,
Andy Shevchenko