Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8ae72255 authored by Len Brown's avatar Len Brown Committed by Rafael J. Wysocki
Browse files

tools/power turbostat: SGX state should print only if --debug



The CPUID.SGX bit was printed, even if --debug was used

Signed-off-by: default avatarLen Brown <len.brown@intel.com>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 3fdb7464
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;