All of lore.kernel.org
 help / color / mirror / Atom feed
From: Sachi King <nakato@nakato.io>
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 <nakato@nakato.io>,
	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	[thread overview]
Message-ID: <20211002041840.2058647-1-nakato@nakato.io> (raw)

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: <stable@vger.kernel.org> # 5.14+
Signed-off-by: Sachi King <nakato@nakato.io>
---
 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


             reply	other threads:[~2021-10-02  4:19 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-02  4:18 Sachi King [this message]
2021-10-02  4:18 ` [PATCH 2/2] ACPI: PM: Include alternate AMDI0005 id in special behaviour Sachi King
2021-10-08 18:57   ` Limonciello, Mario
2021-10-11 13:47   ` Hans de Goede
2021-10-12 14:01     ` Rafael J. Wysocki
2021-10-05  5:16 ` [PATCH 1/2] platform/x86: amd-pmc: Add alternative acpi id for PMC controller Shyam Sundar S K
2021-10-05  7:09   ` Sachi King
2021-10-07 20:00   ` Limonciello, Mario
2021-10-08 10:27     ` Shyam Sundar S K
2021-10-08 12:19       ` Sachi King
2021-10-08 15:57         ` Limonciello, Mario
2021-10-08 19:01           ` Limonciello, Mario
2021-10-09  2:05             ` Sachi King
2021-10-11 13:48               ` Hans de Goede
2021-10-11 13:46 ` Hans de Goede

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211002041840.2058647-1-nakato@nakato.io \
    --to=nakato@nakato.io \
    --cc=Shyam-sundar.S-k@amd.com \
    --cc=hdegoede@redhat.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mario.limonciello@amd.com \
    --cc=mgross@linux.intel.com \
    --cc=platform-driver-x86@vger.kernel.org \
    --cc=rafael@kernel.org \
    --cc=stable@vger.kernel.org \
    --subject='Re: [PATCH 1/2] platform/x86: amd-pmc: Add alternative acpi id for PMC controller' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.