mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-15 08:44:14 +08:00
tools/power turbostat: SGX state should print only if --debug
The CPUID.SGX bit was printed, even if --debug was used Signed-off-by: Len Brown <len.brown@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
3fdb74649b
commit
8ae7225591
@ -3187,7 +3187,7 @@ void process_cpuid()
|
||||
if (debug)
|
||||
decode_misc_enable_msr();
|
||||
|
||||
if (max_level >= 0x7) {
|
||||
if (max_level >= 0x7 && debug) {
|
||||
int has_sgx;
|
||||
|
||||
ecx = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user