From: Mika Westerberg <mika.westerberg@linux.intel.com>
To: francesco.lauritano1@protonmail.com
Cc: Mika Westerberg <westeri@kernel.org>,
Andy Shevchenko <andriy.shevchenko@linux.intel.com>,
Linus Walleij <linusw@kernel.org>,
Bartosz Golaszewski <brgl@kernel.org>,
linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] gpiolib: acpi: Disable edge events on boot on ASUS ROG Strix G16 G614PP
Date: Wed, 17 Dec 2025 14:08:22 +0100 [thread overview]
Message-ID: <20251217130822.GS2275908@black.igk.intel.com> (raw)
In-Reply-To: <20251217120146.51321-1-francesco.lauritano1@protonmail.com>
Hi,
On Wed, Dec 17, 2025 at 12:01:52PM +0000, francesco.lauritano1@protonmail.com wrote:
> From: Francesco Lauritano <francesco.lauritano1@protonmail.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@protonmail.com>
> Signed-off-by: Francesco Lauritano <francesco.lauritano1@protonmail.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
>
next prev parent reply other threads:[~2025-12-17 13:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <2kSCn4XaoXsXJ3EUR0syTdmip8Z1cBuUr0Br4sFVnwnsA8q4GlhiHOmsJkeBxvxYoLnetp4r44wIPXw42yTAFl-BtMROnIwR-NkckKgA5EY=@protonmail.com>
2025-12-17 10:06 ` [BUG] 36-second boot delay due to by acpi_gpio_handle_deferred_request_irqs on ASUS ROG Strix G16 (2025) Francesco Lauritano
2025-12-17 12:01 ` [PATCH] gpiolib: acpi: Disable edge events on boot on ASUS ROG Strix G16 G614PP francesco.lauritano1
2025-12-17 13:08 ` Mika Westerberg [this message]
2025-12-17 14:01 ` Francesco Lauritano
2025-12-28 20:15 ` Andy Shevchenko
2025-12-17 14:23 ` [BUG] 36-second boot delay due to by acpi_gpio_handle_deferred_request_irqs on ASUS ROG Strix G16 (2025) Mario Limonciello
2025-12-17 15:12 ` Francesco Lauritano
2025-12-17 16:57 ` Francesco Lauritano
2025-12-17 18:01 ` Mario Limonciello
2025-12-17 19:19 ` Francesco Lauritano
2025-12-18 6:39 ` Mika Westerberg
2025-12-18 10:33 ` Hans de Goede
2025-12-18 10:38 ` Mika Westerberg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251217130822.GS2275908@black.igk.intel.com \
--to=mika.westerberg@linux.intel.com \
--cc=andriy.shevchenko@linux.intel.com \
--cc=brgl@kernel.org \
--cc=francesco.lauritano1@protonmail.com \
--cc=linusw@kernel.org \
--cc=linux-acpi@vger.kernel.org \
--cc=linux-gpio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=westeri@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox