[PATCH] gpiolib: acpi: Disable edge events on boot on ASUS ROG Strix G16 G614PP
From: francesco . lauritano1
Date: Wed Dec 17 2025 - 07:02:23 EST
From: Francesco Lauritano <francesco.lauritano1@xxxxxxxxxxxxxx>
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@xxxxxxxxxxxxxx>
Signed-off-by: Francesco Lauritano <francesco.lauritano1@xxxxxxxxxxxxxx>
---
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