x86/cpu: Add advanced power management bits
authorHuang Rui <ray.huang@amd.com>
Fri, 25 Mar 2016 02:08:40 +0000 (10:08 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 29 Mar 2016 09:12:11 +0000 (11:12 +0200)
commit34a4cceb78e48c75d1b48b25352a3f3b2cc2b2da
treed23977f1495c4fbd93f4790619155e8b1f837b78
parent5f870a3f7188065e13efafe1faeb01c136173bc4
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@alien8.de>
Signed-off-by: Huang Rui <ray.huang@amd.com>
Cc: Tony Li <tony.li@amd.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: "Rafael J. Wysocki" <rjw@rjwysocki.net>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Fengguang Wu <fengguang.wu@intel.com>
Cc: Sherry Hurwitz <sherry.hurwitz@amd.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: "Len Brown" <lenb@kernel.org>
Link: http://lkml.kernel.org/r/1458871720-3209-1-git-send-email-ray.huang@amd.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/kernel/cpu/powerflags.c