[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <X9fJuqzxIBzuhcbjDFYBPSScoKnUpKLe13znKYaJkJpgmjcbfF6_RN2_24ksQq0Hwyvy9pVrnL7_vHEarnQyUBC0zBLmhlvp75nNhgmq7OI=@protonmail.com>
Date: Wed, 17 Dec 2025 14:01:51 +0000
From: Francesco Lauritano <francesco.lauritano1@...tonmail.com>
To: Mika Westerberg <mika.westerberg@...ux.intel.com>
Cc: Mika Westerberg <westeri@...nel.org>, Andy Shevchenko <andriy.shevchenko@...ux.intel.com>, Linus Walleij <linusw@...nel.org>, Bartosz Golaszewski <brgl@...nel.org>, linux-gpio@...r.kernel.org, linux-acpi@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] gpiolib: acpi: Disable edge events on boot on ASUS ROG Strix G16 G614PP
Hi Mika,
Thanks for looking into this. Happy to dig deeper.
Here are the requested dumps (boot with initcall_debug, no workaround):
dmesg: https://gist.github.com/kylan11/63ec3ec319cd6bcaa043fa0b1366965a
acpidump: https://gist.githubusercontent.com/kylan11/7956bbf75714265107f0886f6ed2a381/raw/1614845eb1dc6ab7e2effb6fe56b585a746abe4f/gistfile1.txt
Some quick notes:
- The AMD GPIO controller probes successfully (LINE 2077)
- The hang occurs in the deferred IRQ handler (line 2960)
- There are some ACPI errors around 0.285373 to 0.289806, though they complete quickly
- After the 36-second hang, everything else initializes normally.
touchpad, audio, wifi, nvidia GPU all work fine.
The ACPI tables show there's a _AEI method under \_SB_GPIO. Not sure if those
unresolved GPP2/GPP7 references are related to what's blocking the deferred
IRQ handler, or if it's something else entirely.
Let me know if you need anything else or want me to test something specific.
Thanks,
Francesco
On Wednesday, December 17th, 2025 at 2:08 PM, Mika Westerberg <mika.westerberg@...ux.intel.com> wrote:
> Hi,
>
> On Wed, Dec 17, 2025 at 12:01:52PM +0000, francesco.lauritano1@...tonmail.com wrote:
>
> > From: Francesco Lauritano francesco.lauritano1@...tonmail.com
> >
> > On the ASUS ROG Strix G16 G614PP (2025), the kernel can stall for ~36
> > seconds during late init in acpi_gpio_handle_deferred_request_irqs().
> >
> > Booting with gpiolib_acpi.run_edge_events_on_boot=0 avoids the stall and
> > restores normal boot times.
>
>
> Okay but it might just accidentally "work" and hides the real issue. Doing
> things like this blindly might end up breaking something that relies on
> that _AEI.
>
> Can you post full dmesg and acpipdump somewhere so we can try to figure out
> what is going on?
>
> > Add a DMI quirk to disable edge events on boot by default on this model.
> >
> > Link: https://lore.kernel.org/platform-driver-x86/6iFCwGH2vssb7NRUTWGpkubGMNbgIlBHSz40z8ZsezjxngXpoiiRiJaijviNvhiDAGIr43bfUmdxLmxYoHDjyft4DgwFc3Pnu5hzPguTa0s=@protonmail.com/
> >
> > Tested-by: Francesco Lauritano francesco.lauritano1@...tonmail.com
> > Signed-off-by: Francesco Lauritano francesco.lauritano1@...tonmail.com
> > ---
> > drivers/gpio/gpiolib-acpi-quirks.c | 16 ++++++++++++++++
> > 1 file changed, 16 insertions(+)
> >
> > diff --git a/drivers/gpio/gpiolib-acpi-quirks.c b/drivers/gpio/gpiolib-acpi-quirks.c
> > index a0116f004..763dd3cbd 100644
> > --- a/drivers/gpio/gpiolib-acpi-quirks.c
> > +++ b/drivers/gpio/gpiolib-acpi-quirks.c
> > @@ -370,6 +370,22 @@ static const struct dmi_system_id gpiolib_acpi_quirks[] __initconst = {
> > .ignore_wake = "ASCP1A00:00@8",
> > },
> > },
> > + {
> > + /*
> > + * The ASUS ROG Strix G16 (2025) has a buggy ACPI GPIO configuration
> > + * causing acpi_gpio_handle_deferred_request_irqs() to stall for
> > + * ~36 seconds during boot.
> > + *
> > + * Found in BIOS G614PP.307.
> > + /
> > + .matches = {
> > + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."),
> > + DMI_MATCH(DMI_PRODUCT_NAME, "ROG Strix G16 G614PP_G614PP"),
> > + },
> > + .driver_data = &(struct acpi_gpiolib_dmi_quirk) {
> > + .no_edge_events_on_boot = true,
> > + },
> > + },
> > {
> > /
> > * Spurious wakeups, likely from touchpad controller
> > --
> > 2.52.0
Powered by blists - more mailing lists