[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20251217120146.51321-1-francesco.lauritano1@protonmail.com>
Date: Wed, 17 Dec 2025 12:01:52 +0000
From: francesco.lauritano1@...tonmail.com
To: Mika Westerberg <westeri@...nel.org>, Andy Shevchenko <andriy.shevchenko@...ux.intel.com>
Cc: 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, Francesco Lauritano <francesco.lauritano1@...tonmail.com>
Subject: [PATCH] gpiolib: acpi: Disable edge events on boot on ASUS ROG Strix G16 G614PP
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.
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