From nobody Mon Feb 9 01:17:17 2026 Received: from mail-05.mail-europe.com (mail-05.mail-europe.com [85.9.206.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id ACF7E2BD58C; Wed, 17 Dec 2025 12:02:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.9.206.169 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765972927; cv=none; b=Inq4mk+ubKcg8tddZLIIQSPXCDpK5OxlxMQ8cX+AP+QMBxU+6C3YPZx0PVF5ZUqfaprebtTMMX2D0nzzbYhgKBdbI4kByeSiQo5chMEVtUuIk0t7ICei0nyG9/2dhvD7zlo1A7uNcZjmxS7qdDKgDY5zH5P1an9GPyHUzRxO3jc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765972927; c=relaxed/simple; bh=8GyF7YDaQPe51UBzhsW5j+a+kF+47fTpcqJ9od5cgtw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=P/kpxZVksqezLhB0FiPpKaazzq97U48FArQNGYEkdhwogKSFCHSV8z79oAk9R5sDmYTi99eSN9aP9VZOhYpSbAUSzFZVD3KvKfBv6vV1OVWtNEAispwalvjS/AfGZagsLsqNtfnT8DMUg/mEFyCEu24I5c8izuhesOXWR2Wtjtw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com; spf=pass smtp.mailfrom=protonmail.com; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b=VSHXLGl/; arc=none smtp.client-ip=85.9.206.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=protonmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=protonmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=protonmail.com header.i=@protonmail.com header.b="VSHXLGl/" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1765972915; x=1766232115; bh=8GyF7YDaQPe51UBzhsW5j+a+kF+47fTpcqJ9od5cgtw=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=VSHXLGl/ACYsYoQ2/lf8EEaHuIw2Rtwp9qoVnaG7gEXhjI0JZu9ZZO73YSNyoPaMz DwtUExF3UMMqVJbOyFzpqyH6rRcnm4KjJzUR09kDubwt0k/9cNS9ftRtbXT0kPftx5 Cv5fzDzDk9UKrYNvz0IBrH38daiXN1kN/vF/zWDKvUzykohd0RskjjXOmXTfs5hDBL R24h8sX6sXktvtcJ2gQCD5MuaB/N1PRc0pNFEE0jkm4I9bGe/b6mCjXvGVtSFRGRxw rXW5mEjZrEzav8AvUxyFSyj43SY6jxfAy3+YHS5NgJ3wh7qqUazNn34SCxA5U46qG5 CQhF+9CcEbsDQ== Date: Wed, 17 Dec 2025 12:01:52 +0000 To: Mika Westerberg , Andy Shevchenko From: francesco.lauritano1@protonmail.com Cc: Linus Walleij , Bartosz Golaszewski , linux-gpio@vger.kernel.org, linux-acpi@vger.kernel.org, linux-kernel@vger.kernel.org, Francesco Lauritano Subject: [PATCH] gpiolib: acpi: Disable edge events on boot on ASUS ROG Strix G16 G614PP Message-ID: <20251217120146.51321-1-francesco.lauritano1@protonmail.com> In-Reply-To: <6iFCwGH2vssb7NRUTWGpkubGMNbgIlBHSz40z8ZsezjxngXpoiiRiJaijviNvhiDAGIr43bfUmdxLmxYoHDjyft4DgwFc3Pnu5hzPguTa0s=@protonmail.com> References: <2kSCn4XaoXsXJ3EUR0syTdmip8Z1cBuUr0Br4sFVnwnsA8q4GlhiHOmsJkeBxvxYoLnetp4r44wIPXw42yTAFl-BtMROnIwR-NkckKgA5EY=@protonmail.com> <6iFCwGH2vssb7NRUTWGpkubGMNbgIlBHSz40z8ZsezjxngXpoiiRiJaijviNvhiDAGIr43bfUmdxLmxYoHDjyft4DgwFc3Pnu5hzPguTa0s=@protonmail.com> Feedback-ID: 66654272:user:proton X-Pm-Message-ID: d4bf165738a203d71d7c7edc4aa5b456e875c602 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Francesco Lauritano 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=3D0 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/6iFCwGH2vssb7NRUTWGpkubGM= NbgIlBHSz40z8ZsezjxngXpoiiRiJaijviNvhiDAGIr43bfUmdxLmxYoHDjyft4DgwFc3Pnu5hz= PguTa0s=3D@protonmail.com/ Tested-by: Francesco Lauritano Signed-off-by: Francesco Lauritano --- 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 =3D { .ignore_wake =3D "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 =3D { + DMI_MATCH(DMI_SYS_VENDOR, "ASUSTeK COMPUTER INC."), + DMI_MATCH(DMI_PRODUCT_NAME, "ROG Strix G16 G614PP_G614PP"), + }, + .driver_data =3D &(struct acpi_gpiolib_dmi_quirk) { + .no_edge_events_on_boot =3D true, + }, + }, { /* * Spurious wakeups, likely from touchpad controller --=20 2.52.0