Re: [PATCH] perf/x86/intel/pt: Export cpu frequency ratios needed by PT decoders
From: Andi Kleen
Date: Fri Aug 28 2015 - 15:34:04 EST
Alexander Shishkin <alexander.shishkin@xxxxxxxxxxxxxxx> writes:
> + return sprintf(page, "%lu\n", val);
> + case 1:
> + cpuid(0x15, &eax, &ebx, &ecx, &edx);
Surely this needs to be protected by a cpuid level check?
Broadwell for once doesn't have CPUID 0x15.
-Andi
--
ak@xxxxxxxxxxxxxxx -- Speaking for myself only
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/