[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <tip-34a4cceb78e48c75d1b48b25352a3f3b2cc2b2da@git.kernel.org>
Date: Tue, 29 Mar 2016 02:16:24 -0700
From: tip-bot for Huang Rui <tipbot@...or.com>
To: linux-tip-commits@...r.kernel.org
Cc: sherry.hurwitz@....com, tony.luck@...el.com, lenb@...nel.org,
mingo@...nel.org, tglx@...utronix.de, ray.huang@....com,
tony.li@....com, bp@...en8.de, peterz@...radead.org,
fenghua.yu@...el.com, luto@...capital.net, bp@...e.de,
rjw@...ysocki.net, linux-kernel@...r.kernel.org, hpa@...or.com,
fengguang.wu@...el.com
Subject: [tip:x86/urgent] x86/cpu: Add advanced power management bits
Commit-ID: 34a4cceb78e48c75d1b48b25352a3f3b2cc2b2da
Gitweb: http://git.kernel.org/tip/34a4cceb78e48c75d1b48b25352a3f3b2cc2b2da
Author: Huang Rui <ray.huang@....com>
AuthorDate: Fri, 25 Mar 2016 10:08:40 +0800
Committer: Thomas Gleixner <tglx@...utronix.de>
CommitDate: Tue, 29 Mar 2016 11:12:11 +0200
x86/cpu: Add advanced power management bits
Bit 11 of CPUID 8000_0007 edx is processor feedback interface.
Bit 12 of CPUID 8000_0007 edx is accumulated power.
Print proper names in proc/cpuinfo
Reported-and-tested-by: Borislav Petkov <bp@...en8.de>
Signed-off-by: Huang Rui <ray.huang@....com>
Cc: Tony Li <tony.li@....com>
Cc: Fenghua Yu <fenghua.yu@...el.com>
Cc: Tony Luck <tony.luck@...el.com>
Cc: Peter Zijlstra <peterz@...radead.org>
Cc: "Rafael J. Wysocki" <rjw@...ysocki.net>
Cc: Andy Lutomirski <luto@...capital.net>
Cc: Fengguang Wu <fengguang.wu@...el.com>
Cc: Sherry Hurwitz <sherry.hurwitz@....com>
Cc: Borislav Petkov <bp@...e.de>
Cc: "Len Brown" <lenb@...nel.org>
Link: http://lkml.kernel.org/r/1458871720-3209-1-git-send-email-ray.huang@amd.com
Signed-off-by: Thomas Gleixner <tglx@...utronix.de>
---
arch/x86/kernel/cpu/powerflags.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/x86/kernel/cpu/powerflags.c b/arch/x86/kernel/cpu/powerflags.c
index 31f0f33..1dd8294 100644
--- a/arch/x86/kernel/cpu/powerflags.c
+++ b/arch/x86/kernel/cpu/powerflags.c
@@ -18,4 +18,6 @@ const char *const x86_power_flags[32] = {
"", /* tsc invariant mapped to constant_tsc */
"cpb", /* core performance boost */
"eff_freq_ro", /* Readonly aperf/mperf */
+ "proc_feedback", /* processor feedback interface */
+ "acc_power", /* accumulated power mechanism */
};
Powered by blists - more mailing lists