mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 01:05:08 +07:00
969df4b829
Add the flags to get rid of the [9] and [10] feature names in cpuinfo's 'power management' fields and replace them with meaningful names. Signed-off-by: Joerg Roedel <joerg.roedel@amd.com> Link: http://lkml.kernel.org/r/1323875574-17881-1-git-send-email-joerg.roedel@amd.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
22 lines
482 B
C
22 lines
482 B
C
/*
|
|
* Strings for the various x86 power flags
|
|
*
|
|
* This file must not contain any executable code.
|
|
*/
|
|
|
|
#include <asm/cpufeature.h>
|
|
|
|
const char *const x86_power_flags[32] = {
|
|
"ts", /* temperature sensor */
|
|
"fid", /* frequency id control */
|
|
"vid", /* voltage id control */
|
|
"ttp", /* thermal trip */
|
|
"tm",
|
|
"stc",
|
|
"100mhzsteps",
|
|
"hwpstate",
|
|
"", /* tsc invariant mapped to constant_tsc */
|
|
"cpb", /* core performance boost */
|
|
"eff_freq_ro", /* Readonly aperf/mperf */
|
|
};
|