On 2016-08-03 at 17:46 Barret Rhoden <[email protected]> wrote:
> I think we'll need to do more to block perf tools properly.  Linux
> should be checking CPUID.01H:ECX.PDMC[bit 15] before using
> IA32_PERF_CAPABILITIES.  So we can zero out that bit from cpuid, then
> probably not even let them access the MSR here.

There's also http://sandpile.org/x86/cpuid.htm#level_0000_000Ah, which
covers the perfmon version (0xff of eax).  This is actually what Akaros
uses for detecting Intel's perf capabilities.  So we should probably
return 0 for that cpuid query too.

Barret

-- 
You received this message because you are subscribed to the Google Groups 
"Akaros" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to