linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rafael@kernel.org>
To: Kim Phillips <kim.phillips@amd.com>
Cc: "Rafael J . Wysocki" <rjw@rjwysocki.net>,
	Victor Ding <victording@google.com>,
	LKML <linux-kernel@vger.kernel.org>,
	Linux PM <linux-pm@vger.kernel.org>,
	"the arch/x86 maintainers" <x86@kernel.org>
Subject: Re: [PATCH] powercap: Add AMD Fam19h RAPL support
Date: Tue, 22 Sep 2020 17:48:26 +0200	[thread overview]
Message-ID: <CAJZ5v0iwuSQ9RadMTVTdcbN8ecRzLT_vmfwsEMh0jZKpE+8v2Q@mail.gmail.com> (raw)
In-Reply-To: <20200817224109.11040-1-kim.phillips@amd.com>

On Tue, Aug 18, 2020 at 12:41 AM Kim Phillips <kim.phillips@amd.com> wrote:
>
> AMD Family 19h's RAPL MSRs are identical to Family 17h's.  Extend
> Family 17h's support to Family 19h.
>
> Signed-off-by: Kim Phillips <kim.phillips@amd.com>
> Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
> Cc: Victor Ding <victording@google.com>
> Cc: LKML <linux-kernel@vger.kernel.org>
> Cc: linux-pm@vger.kernel.org
> Cc: x86@kernel.org
> ---
> Depends on Victor Ding's "powercap: Enable RAPL for AMD Fam17h"
> series, submitted here:
>
> https://lore.kernel.org/lkml/20200729105206.2991064-1-victording@google.com/

So I'm deferring this one, because the submitter of the above was
requested to resend the series.

>  drivers/powercap/intel_rapl_common.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/powercap/intel_rapl_common.c b/drivers/powercap/intel_rapl_common.c
> index 2e311f9c0d85..1bc0e67cd7a4 100644
> --- a/drivers/powercap/intel_rapl_common.c
> +++ b/drivers/powercap/intel_rapl_common.c
> @@ -1052,6 +1052,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
>         X86_MATCH_INTEL_FAM6_MODEL(XEON_PHI_KNM,        &rapl_defaults_hsw_server),
>
>         X86_MATCH_VENDOR_FAM(AMD, 0x17, &rapl_defaults_core),
> +       X86_MATCH_VENDOR_FAM(AMD, 0x19, &rapl_defaults_core),
>         {}
>  };
>  MODULE_DEVICE_TABLE(x86cpu, rapl_ids);
> --
> 2.27.0
>

      reply	other threads:[~2020-09-22 15:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-17 22:41 [PATCH] powercap: Add AMD Fam19h RAPL support Kim Phillips
2020-09-22 15:48 ` Rafael J. Wysocki [this message]

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=CAJZ5v0iwuSQ9RadMTVTdcbN8ecRzLT_vmfwsEMh0jZKpE+8v2Q@mail.gmail.com \
    --to=rafael@kernel.org \
    --cc=kim.phillips@amd.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@vger.kernel.org \
    --cc=rjw@rjwysocki.net \
    --cc=victording@google.com \
    --cc=x86@kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).