From: Zhang Rui <rui.zhang@intel.com>
To: rafael.j.wysocki@intel.com, peterz@infradead.org
Cc: mingo@redhat.com, kan.liang@linux.intel.com,
linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org,
x86@kernel.org
Subject: [PATCH 4/5] powercap: intel_rapl: Fix BROADWELL_D Dram energy unit
Date: Wed, 31 Jan 2024 22:23:34 +0800 [thread overview]
Message-ID: <20240131142335.84218-5-rui.zhang@intel.com> (raw)
In-Reply-To: <20240131142335.84218-1-rui.zhang@intel.com>
BROADWELL_D uses a fixed energy unit for Dram Domain like the other Xeon
servers, e.g. BROADWELL_X.
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
---
drivers/powercap/intel_rapl_common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/powercap/intel_rapl_common.c b/drivers/powercap/intel_rapl_common.c
index 318174c87249..094e226b8bd3 100644
--- a/drivers/powercap/intel_rapl_common.c
+++ b/drivers/powercap/intel_rapl_common.c
@@ -1235,7 +1235,7 @@ static const struct x86_cpu_id rapl_ids[] __initconst = {
X86_MATCH_INTEL_FAM6_MODEL(BROADWELL, &rapl_defaults_core),
X86_MATCH_INTEL_FAM6_MODEL(BROADWELL_G, &rapl_defaults_core),
- X86_MATCH_INTEL_FAM6_MODEL(BROADWELL_D, &rapl_defaults_core),
+ X86_MATCH_INTEL_FAM6_MODEL(BROADWELL_D, &rapl_defaults_hsw_server),
X86_MATCH_INTEL_FAM6_MODEL(BROADWELL_X, &rapl_defaults_hsw_server),
X86_MATCH_INTEL_FAM6_MODEL(SKYLAKE, &rapl_defaults_core),
--
2.34.1
next prev parent reply other threads:[~2024-01-31 14:24 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-31 14:23 [PATCH 0/5] intel_rapl & perf rapl: combine PMU support Zhang Rui
2024-01-31 14:23 ` [PATCH 1/5] powercap: intel_rapl: Sort header files Zhang Rui
2024-01-31 14:23 ` [PATCH 2/5] powercap: intel_rapl: Add PMU support Zhang Rui
2024-01-31 14:23 ` [PATCH 3/5] powercap: intel_rapl_tpmi: Enable PMU support for TPMI RAPL Zhang Rui
2024-01-31 14:23 ` Zhang Rui [this message]
2024-01-31 14:23 ` [PATCH 5/5] powercap: intel_rapl_msr: Enable PMU support for MSR RAPL Zhang Rui
2024-01-31 14:40 ` [PATCH 0/5] intel_rapl & perf rapl: combine PMU support Rafael J. Wysocki
2024-02-01 5:35 ` Zhang, Rui
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=20240131142335.84218-5-rui.zhang@intel.com \
--to=rui.zhang@intel.com \
--cc=kan.liang@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=peterz@infradead.org \
--cc=rafael.j.wysocki@intel.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