Received: by 2002:a05:6a10:d5a5:0:0:0:0 with SMTP id gn37csp1812285pxb; Fri, 1 Oct 2021 21:20:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz677fiImjcmYGtmMqnhVEAi5ZNljTyopWbIPvJJrK2NyoQltcMU8vbpUQxmTfqErjH4bcf X-Received: by 2002:a05:6402:1c0e:: with SMTP id ck14mr1765466edb.377.1633148453141; Fri, 01 Oct 2021 21:20:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1633148453; cv=none; d=google.com; s=arc-20160816; b=HNoykwVb4tFMRcjlRELEQQcRsEnBCAaaAOMfSDTGCUkGVbCDnl6cp6jQy/AHB8dO8h N34IreVz3vjmUQzU/vfmtUvZXkFVkJwWi8B4J6XkTPZrrNme8Zk8D8RbrNUh7DIGvwVU j/q7tPcecfYB6buikCvr/vIz4dhQynYfJLycMgpMB6SprSRZohQEHx1ZdyV5wYkHI9C9 iGHXB8ag55Su2kl87uP2HCMh/VWP3ZQ5iBafr8RojzZnAmJBiBTGlZcc8StQiV8V/odF je/DfP2HZOE9+zBHtab7HvCBbZEACc8SOaBB78HjrVj4ftyY8fJo0Pj3ZngVGJDvL9XV yxWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature:dkim-signature; bh=DylGuvJdATMpY2rkZNSmEhOXei4V9ICF4PCv80+yHZU=; b=Wt4oSgS1g4d+cZLabQ+P8DJWrsc8342JQgSH4fnHLX3FVPDgXU1k6XRQ7muKGb3/aM D3/sNE9E4ieIpAxj4u5lKuSl/4q1oXkO5svvuhcQCJSqcfUPdKbqWCW1DcJUTa+yDp1j P7AVoU7abYDev7XctYo1jHH9qNFLhSRhJuZZv1OakdciAR61A2m2NcxyUYV1ujFsVRo7 yY5XRDotnBuQO/ISuRf9KxOq00CC8ik9aQgEOynkpZU66X+9Gq6NY6ZDAzmLByNIQecw LyPCRBZGx2YbWZkKiuJeZn1LvLhUqUdn9Z+OKSbG4FU7jV8wr5uULGO3C0XKUMxi5M9u dzsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nakato.io header.s=fm2 header.b=uQGVcLLv; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=ualAtLYM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hr1si17796306ejc.424.2021.10.01.21.20.29; Fri, 01 Oct 2021 21:20:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nakato.io header.s=fm2 header.b=uQGVcLLv; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=ualAtLYM; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229883AbhJBEUy (ORCPT + 99 others); Sat, 2 Oct 2021 00:20:54 -0400 Received: from new3-smtp.messagingengine.com ([66.111.4.229]:56705 "EHLO new3-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229520AbhJBEUx (ORCPT ); Sat, 2 Oct 2021 00:20:53 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 5C56C580F78; Sat, 2 Oct 2021 00:19:07 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sat, 02 Oct 2021 00:19:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nakato.io; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; s=fm2; bh=DylGuvJdATMpY2rkZNSmEhOXei 4V9ICF4PCv80+yHZU=; b=uQGVcLLvCwd9i2ayafKDsKP/VbvpMY+Sr6VU7RrtU+ Jl6O1p94E67UPYEiY0oy+uf2iARPa65iLiQ80HIz73ToOYzyklY1J7qJf11Xadql mxjPY92QKBX7YkCkiHyIjE7JzMAUdso5B/xiKaLxND1sDQ8hmLDwQKBX+zRFV7R1 nNCB3R5zQbslSfQg7UFLquu1WL9S77tZUfAPT438GLSJ1y2AfAJJzEBGxC52+tde l42DmwVL76xQinziGdP3IQWhx52Sk3eWWsflVxln5IwOxdAe60JHA3Hu+qpv8OFz 46JKKi5RnYaJc96/YD9cDrr1o0pz+Ivhhr/RYrCa38Hg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=DylGuvJdATMpY2rkZ NSmEhOXei4V9ICF4PCv80+yHZU=; b=ualAtLYMQ2osHUxoNLlsPQ6qo0dffpcdi 28MPCRVSz/kTzoCPFzzB9cSn+P2rJMztYJUWw8/xa4E2kirp9d94UKT6H2LWP472 fPRX6v3mHkdnnLrG8ll3cCdV5EN/8GrCQrPKJ3bO0OHbnO+9ySncq5c81WunlmKk D6imId/DbyRe/hAqJc9twNhlUKxdi4khZIC2C7pHzppWt2oq4KgyAKNP0JFTgkaA ApZeunTwBe8rWM/Na7l9qmNTgG96R3o/fBkmJOPRkfwLatarp5gaLZuYvLUabnxo wlmyFIVgJyUD3MCRzTTS57FUdslAxW7sN016mAVCn9A1Iu4nEIIjA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrudekjedgkeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkofgggfestdekredtre dttdenucfhrhhomhepufgrtghhihcumfhinhhguceonhgrkhgrthhosehnrghkrghtohdr ihhoqeenucggtffrrghtthgvrhhnpefgjeegieejleelkeeikefhleevudehheehgfeuud dtheetheetvddvfeehjeeitdenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehnrghkrghtohesnhgrkhgrthhordhioh X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 2 Oct 2021 00:19:02 -0400 (EDT) From: Sachi King To: Shyam-sundar.S-k@amd.com, hdegoede@redhat.com, mgross@linux.intel.com, mario.limonciello@amd.com, rafael@kernel.org, lenb@kernel.org Cc: platform-driver-x86@vger.kernel.org, linux-kernel@vger.kernel.org, linux-acpi@vger.kernel.org, Sachi King , stable@vger.kernel.org Subject: [PATCH 1/2] platform/x86: amd-pmc: Add alternative acpi id for PMC controller Date: Sat, 2 Oct 2021 14:18:39 +1000 Message-Id: <20211002041840.2058647-1-nakato@nakato.io> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Surface Laptop 4 AMD has used the AMD0005 to identify this controller instead of using the appropriate ACPI ID AMDI0005. Include AMD0005 in the acpi id list. Cc: # 5.14+ Signed-off-by: Sachi King --- drivers/platform/x86/amd-pmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/amd-pmc.c b/drivers/platform/x86/amd-pmc.c index d6a7c896ac86..fc95620101e8 100644 --- a/drivers/platform/x86/amd-pmc.c +++ b/drivers/platform/x86/amd-pmc.c @@ -476,6 +476,7 @@ static const struct acpi_device_id amd_pmc_acpi_ids[] = { {"AMDI0006", 0}, {"AMDI0007", 0}, {"AMD0004", 0}, + {"AMD0005", 0}, { } }; MODULE_DEVICE_TABLE(acpi, amd_pmc_acpi_ids); -- 2.33.0