klauspost/cpuid

Looks at CPUID leaves it should not

DemiMarie opened this issue · 5 comments

A few months ago, @fosslinux reported that this code package looped forever under Xen. This has since been fixed, but it turns out that this code does not check if TOPOEXT is exposed before using it. Feel free to close if this has since been fixed.

I see that the loop was fixed in 2a5efe8 but this code should not even try to query the cache values unless TOPOEXT is enabled.

@DemiMarie Do you happen to have any link to documentation for that?

@klauspost Not offhand, but it would be in the AMD programmer manuals.

Added & Released