From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=209.85.217.42 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796355009; b=WwrUOqlFb+dZXiCpsI1l3L/JU24fSGEWgXpyxN8RHS2oiT3slWl8hiX6p0fDfHXtLxq9 6XgUt9z5t6DjXaqYi5JI6uYXxoeqN0hCb5vjBc7U0sHV649RX7akLJ6NMzHTFqPI0A+FY s8438MT26e6S6NAJIuOdL5N7fMX6Yxvmmk6BeT/vd/mdZFqPsaF8BCA4X0I155vwcAeqG HXgBSY4Ln9zNweN7hWqvMtz9Q+93znUEbtJ7NEWfAVlmjfeqd6lTpO84cxhvMarwbSM3n Ffgbug7SAw0YsWF43qj/mDmde071P2oLBl+22lGCu184+gybrW3imTYMGnHW9WyWrNQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796355009; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Forwarded-Encrypted:X-Gm-Message-State:X-Gm-Gg:X-Received:Received: From:To:Cc:Subject:Date:Message-ID:X-Mailer:MIME-Version: Content-Transfer-Encoding; bh=0IYH52rEu836B/GbrI+5Gju5WG05AGgnbnO/sCihAcE=; b=VMXX0DkacqOtE4YzKMVUUi9pPwXX01BPmYjT/yLlsokq/QRGG1bU+kHHtDSF61wAwSHy DtxhAzM62NN++b/3wf3aEcKEcC047tUVaeGHjIW8KfwB12C9QelyppcR2Mg2f9GSxFqwz ieRErNxmAaJzXXieOuZy3q7aHvf/JKxxYN9R7MiE+VIdv4z+87hJqI7ALLpH6BrkTKFGj XwbKpVWIC0kqbTpME0uwtq3DX6f9u2IPPgZYfMiRvLX3zhlbDNXceR+DYqKZDmqlV1H4w L2XiiMPj4JVANbI1Te1GnYS3SRjn7iYcIZOVXCWo3r82+iZtWmsWLd/pz0MH/OVDAQw== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=hYQbTOt8; arc=none smtp.remote-ip=209.85.217.42 Received: from mail-vs1-f42.google.com (mail-vs1-f42.google.com [209.85.217.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E72C4606A32C for ; Fri, 4 Dec 2026 03:30:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org E72C4606A32C Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=hYQbTOt8 Received: by mail-vs1-f42.google.com with SMTP id ada2fe7eead31-7cc91ddf447so190265137.2 for ; Thu, 03 Dec 2026 19:30:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796355008; x=1796959808; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=0IYH52rEu836B/GbrI+5Gju5WG05AGgnbnO/sCihAcE=; b=hYQbTOt8likoZkq+oUiYY1GvrKG06vYK8OwaJpF/eJ2cdt4IaVsnx7J4Ov0uHBlSA3 DOmEahtznuBLXndGc3c/BbkpqCpTI10ubC+2dxq8dC9yf+W1q2JiUOheqhu5c1fLDmwp jqfR5Lr+Q0gaotstwgJM9tcVCUAD5t3q2xF3eVJ+5IF3IoP2ucRXHBuRwVjvp6b53wl6 93X7b6m6vHsufQ17Bromal7VnYjrsRIUuFnTJlFbD7FEiNp851CNDo9hQEySRqC3WTzn PbmRYRmdf3lj8ZseVpGxEhFZvdQWECWpq/gDH0j1CN+BHJEVgG1AY/3mst8lqhb0OQoZ P3lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796355008; x=1796959808; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=0IYH52rEu836B/GbrI+5Gju5WG05AGgnbnO/sCihAcE=; b=E5zS4W4RBWC1typatYtv8nBFj5HNUVIQwTIh7ESZKAOPaogcmsa7mMSSo1eqquJ1UT Ahh+FH/Uj0mzQ66x3JLjBJGLf0JGnLjVeT4Ig53zxMCd3nb1vsv9a80CRPWo8Q59/jjj ExFPMklAIx1oTCQcYEi2rKXQ5PSZb/PrjCmbyBahml+m/wS1KmZDkuBBRt3v7hAF1Fn8 1UZyQX+p3LkWM3XUvx1Nwk+Xa2D72tSTOVoFFrm6xLX61yM20v9hLOc7aVjNSR2sGKhI 4GM+gKyiWILtmT9CAc2zTwsA7tbZXjwH+FMCa8M7MGZrDYauD+xxJxu78HI0w5hVqpDg lRSw== X-Forwarded-Encrypted: i=1; AL+hErHr26GyRAOJad4oFYFxz+7/Z3VUxhV76G1xe54XsnXR61K0iWMGcCOdcHCMGVqHxtcU21xYTdI82IS/2A8=@vger.kernel.org X-Gm-Message-State: APuU4Z+HF4AZbxqL4G5aTKMYA6iRZ0sx5ZvVuSjLC8g99F8nieJtcUHR cuNu8XZhyNjXGo+hNqM2ig00hbDaxvhQ5aC/ljzFj/INd134jPyOarPa X-Gm-Gg: AZFdTZej/+bgNDF7DssJRVBuJsKqNBw78dg0mT7K8abfZ3g11dZAwrFCnXyD84+7NKb 99MoL1nApBkuL716Jg5Z5Uwpwdg9VgZEO+0jRF4GwezkwQADbHrPXT37FiQDNUs7DEptKKgxyMc qGIoqGlgCYSKGh2Z7FTqVY9Rq/NqsJiS1MLOBDhGPdaQUzoESon3/ebT4Kqbm1t8gMfIDXLpH2Z 3jTkYrLbd981ZrQtJbdNHWFwMl+ugExI7HCsq9BaTFgFwMgHK+VVT/heFiROUJz7UeaC6a7GNjx pmKaD9R/gixqhdDwCsSIYaT67csDlSl7PtdmfvAyQJv3IsZuBARWQ76morU6e0Dn/Fo671pO1Il +YvDg6ItOaMGpJmjJ5U0pLihTYgAWFkQaLxtgh4pF5c0tLOvU4EUJeH5vJtS5CF1sCttusBgmIp HQ3augkwuKbwp5CYMSufqZQpgNSrrzIr1BE2YGzM6x32flRCe8n7IXnzvKtATesjra14wo4BqV6 qCz1zXzFEIbve7Im7KLr6rhuKuGLaXHP2ToKax1jQQjeyOCZHuK5YslhResgRf6dDvEqSSWhXdQ q8Bg7fa+fFrRHSk7b171aFTuJ2o= X-Received: by 2002:a05:6102:2921:b0:7cc:2712:cafb with SMTP id ada2fe7eead31-7daec7b4356mr387383137.15.1796355007884; Thu, 03 Dec 2026 19:30:07 -0800 (PST) Received: from danozmo ([38.51.243.38]) by smtp.gmail.com with ESMTPSA id ada2fe7eead31-7dae96e9d30sm467815137.6.2026.12.03.19.30.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 03 Dec 2026 19:30:06 -0800 (PST) From: Daniel Ortiz To: platform-driver-x86@vger.kernel.org Cc: Shyam Sundar S K , Hans de Goede , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Daniel Gibson , Mario Limonciello , linux-kernel@vger.kernel.org, Daniel Ortiz Subject: [PATCH v2] platform/x86/amd/pmc: Add Lenovo V15 G6 ARP to suspend delay quirk list Date: Thu, 3 Dec 2026 22:29:40 -0500 Message-ID: <20261204032940.218310-1-letargopausado@gmail.com> X-Mailer: git-send-email 2.56.0 X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit On the Lenovo V15 G6 ARP (product name 83UU, Ryzen 7 170, BIOS TYCN16WW), the internal i8042 keyboard stops working after every s2idle resume until reboot. The I2C touchpad and USB devices keep working, and hibernation is not affected. The kernel logs these on suspend and on resume respectively: atkbd serio0: Failed to deactivate keyboard on isa0060/serio0 atkbd serio0: Failed to enable keyboard on isa0060/serio0 This matches the EC problem handled for other Zen3+ Lenovo laptops by commit 9b9e60dd31da ("platform/x86/amd/pmc: Delay suspend for some Lenovo Laptops"). Booting with amd_pmc.delay_suspend=1 makes the keyboard survive suspend/resume, with no atkbd errors in the log. Add this model to the list so the delay is applied automatically. The problem was diagnosed and this change prepared with the help of an AI coding assistant (Claude Code, claude-opus-5-5). The change was built as an out-of-tree amd_pmc module against 7.2.15 and tested on the affected machine. Cc: stable@vger.kernel.org Signed-off-by: Daniel Ortiz --- v2: Add the Signed-off-by line missing from v1. drivers/platform/x86/amd/pmc/pmc-quirks.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/drivers/platform/x86/amd/pmc/pmc-quirks.c b/drivers/platform/x86/amd/pmc/pmc-quirks.c index 854caae6d..1f86f3b6a 100644 --- a/drivers/platform/x86/amd/pmc/pmc-quirks.c +++ b/drivers/platform/x86/amd/pmc/pmc-quirks.c @@ -261,6 +261,14 @@ static const struct dmi_system_id fwbug_list[] = { DMI_MATCH(DMI_PRODUCT_NAME, "83MM"), } }, + { + .ident = "V15 G6 ARP (83UU)", + .driver_data = &quirk_s2idle_need_suspend_delay, + .matches = { + DMI_MATCH(DMI_BOARD_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_NAME, "83UU"), + } + }, /* https://bugzilla.kernel.org/show_bug.cgi?id=221273 */ { .ident = "Thinkpad L14 Gen3", -- 2.56.0