From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9F2BE26A08F; Tue, 8 Apr 2025 12:29:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744115359; cv=none; b=DRNZ4qI3SRUTUG0c94OPMu8pujJrn+WFR6WGyyUzpl7O2KoyDuWYmQG5PtoBJ5KDiKaekgMphPb8W+Ieq/1FcbOhDY5GronE28vi8nR4rWeb0sU8uCNCEcK478BfYKucoAHnicPEcE4sOr2j17Ekoo+MmMVco49POQmvW1mmbdk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1744115359; c=relaxed/simple; bh=BA/1JyeKTVAFozFPIccFyU8kAeGr2iNlTr3+VmQuXmw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=QGTJbNGLNTv2EsC85j684eD/s/fShB2zYyjhNwun8Dfz+GpZSAw9ALadss9wxkSmkPmffD/B0jh6gwOo6tVwZjipupO00JBY47B+5umPJ0VQ0/2WXqjwrk1T3dlNm06mewmrj2+nC/Vh9zkb+UeDazw77Ev5KLI39BfV4UqDHRA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GFynBYCW; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="GFynBYCW" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26A78C4CEE5; Tue, 8 Apr 2025 12:29:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1744115359; bh=BA/1JyeKTVAFozFPIccFyU8kAeGr2iNlTr3+VmQuXmw=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=GFynBYCWzwW+vDnKZX1hRXN2+boeKKwHkdtQOXvB/wYyTJJwFgqv+rwDvR6JafrIJ A2Jf/FJqWQFWFAPheLDGjldnotgo/tCmA1yzl6pRzXKQUJondcRF/b8FDdRgCaJ6my lK/4jM7JUinIlimjnkEbwcu5hkSlfgNuLwxGNb7I= From: Greg Kroah-Hartman To: stable@vger.kernel.org Cc: Greg Kroah-Hartman , patches@lists.linux.dev, Agoston Lorincz , All applicable , Hans de Goede , "Rafael J. Wysocki" Subject: [PATCH 6.13 445/499] ACPI: x86: Extend Lenovo Yoga Tab 3 quirk with skip GPIO event-handlers Date: Tue, 8 Apr 2025 12:50:57 +0200 Message-ID: <20250408104902.326612176@linuxfoundation.org> X-Mailer: git-send-email 2.49.0 In-Reply-To: <20250408104851.256868745@linuxfoundation.org> References: <20250408104851.256868745@linuxfoundation.org> User-Agent: quilt/0.68 X-stable: review X-Patchwork-Hint: ignore Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 6.13-stable review patch. If anyone has any objections, please let me know. ------------------ From: Hans de Goede commit 2fa87c71d2adb4b82c105f9191e6120340feff00 upstream. Depending on the secureboot signature on EFI\BOOT\BOOTX86.EFI the Lenovo Yoga Tab 3 UEFI will switch its OSID ACPI variable between 1 (Windows) and 4 (Android(GMIN)). In Windows mode a GPIO event handler gets installed for GPO1 pin 5, causing Linux' x86-android-tables code which deals with the general brokenness of this device's ACPI tables to fail to probe with: [ 17.853705] x86_android_tablets: error -16 getting GPIO INT33FF:01 5 [ 17.859623] x86_android_tablets x86_android_tablets: probe with driver which renders sound, the touchscreen, charging-management, battery-monitoring and more non functional. Add ACPI_QUIRK_SKIP_GPIO_EVENT_HANDLERS to the existing quirks for this device to fix this. Reported-by: Agoston Lorincz Closes: https://lore.kernel.org/platform-driver-x86/CAMEzqD+DNXrAvUOHviB2O2bjtcbmo3xH=kunKr4nubuMLbb_0A@mail.gmail.com/ Cc: All applicable Fixes: fe820db35275 ("ACPI: x86: Add skip i2c clients quirk for Lenovo Yoga Tab 3 Pro (YT3-X90F)") Signed-off-by: Hans de Goede Link: https://patch.msgid.link/20250325210450.358506-1-hdegoede@redhat.com Signed-off-by: Rafael J. Wysocki Signed-off-by: Greg Kroah-Hartman --- drivers/acpi/x86/utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/drivers/acpi/x86/utils.c +++ b/drivers/acpi/x86/utils.c @@ -374,7 +374,8 @@ static const struct dmi_system_id acpi_q DMI_MATCH(DMI_PRODUCT_VERSION, "Blade3-10A-001"), }, .driver_data = (void *)(ACPI_QUIRK_SKIP_I2C_CLIENTS | - ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY), + ACPI_QUIRK_SKIP_ACPI_AC_AND_BATTERY | + ACPI_QUIRK_SKIP_GPIO_EVENT_HANDLERS), }, { /* Medion Lifetab S10346 */