cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

powerflags.c (745B)


      1// SPDX-License-Identifier: GPL-2.0
      2/*
      3 * Strings for the various x86 power flags
      4 *
      5 * This file must not contain any executable code.
      6 */
      7
      8#include <asm/cpufeature.h>
      9
     10const char *const x86_power_flags[32] = {
     11	"ts",	/* temperature sensor */
     12	"fid",  /* frequency id control */
     13	"vid",  /* voltage id control */
     14	"ttp",  /* thermal trip */
     15	"tm",	/* hardware thermal control */
     16	"stc",	/* software thermal control */
     17	"100mhzsteps", /* 100 MHz multiplier control */
     18	"hwpstate", /* hardware P-state control */
     19	"",	/* tsc invariant mapped to constant_tsc */
     20	"cpb",  /* core performance boost */
     21	"eff_freq_ro", /* Readonly aperf/mperf */
     22	"proc_feedback", /* processor feedback interface */
     23	"acc_power", /* accumulated power mechanism */
     24};