Linux Hardware Monitor development
 help / color / mirror / Atom feed
From: Sandeep Raghuraman <sandy.8925@gmail.com>
To: linux-hwmon@vger.kernel.org, nchatrad@amd.com
Subject: [PATCH] Add support for Zen 2 CPUs to amd_energy driver
Date: Wed, 9 Dec 2020 01:51:48 +0530	[thread overview]
Message-ID: <a14b8be6-e8b4-c658-2cd6-a2f280be0f99@gmail.com> (raw)

This patch adds support for Zen 2 desktop CPUs to the amd_energy driver.

Signed-off-by: Sandeep Raghuraman <sandy.8925@gmail.com>
---
 drivers/hwmon/amd_energy.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/hwmon/amd_energy.c b/drivers/hwmon/amd_energy.c
index 0dee535e6c85..21341c8e1d6e 100644
--- a/drivers/hwmon/amd_energy.c
+++ b/drivers/hwmon/amd_energy.c
@@ -363,6 +363,7 @@ static struct platform_device *amd_energy_platdev;
 
 static const struct x86_cpu_id cpu_ids[] __initconst = {
        X86_MATCH_VENDOR_FAM_MODEL(AMD, 0x17, 0x31, NULL),
+       X86_MATCH_VENDOR_FAM_MODEL(AMD, 0x17, 0x71, NULL),
        {}
 };
 MODULE_DEVICE_TABLE(x86cpu, cpu_ids);
--

             reply	other threads:[~2020-12-08 20:23 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-08 20:21 Sandeep Raghuraman [this message]
2020-12-08 20:40 ` [PATCH] Add support for Zen 2 CPUs to amd_energy driver Guenter Roeck
2020-12-09 11:03   ` Chatradhi, Naveen Krishna
2020-12-09 14:53     ` Sandeep
2020-12-09 15:21       ` Sandeep
2020-12-09 15:28       ` Chatradhi, Naveen Krishna
2020-12-09 20:05         ` Sandeep
2020-12-09 23:13           ` Sandeep
2020-12-10 15:47             ` Sandeep

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=a14b8be6-e8b4-c658-2cd6-a2f280be0f99@gmail.com \
    --to=sandy.8925@gmail.com \
    --cc=linux-hwmon@vger.kernel.org \
    --cc=nchatrad@amd.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox