[PATCH 4/4] x86, cacheinfo: Base cache sharing info on CPUID 0x8000001d on AMD

2012-10-19 Thread Andreas Herrmann
The patch is based on a patch submitted by Hans Rosenfeld. See http://marc.info/?l=linux-kernel=133908777200931 Note that CPUID Fn8000_001D_EAX slightly differs to Intel's CPUID function 4. Bits 14-25 contain NumSharingCache. Actual number of cores sharing this cache. SW to add

[PATCH 4/4] x86, cacheinfo: Base cache sharing info on CPUID 0x8000001d on AMD

2012-10-19 Thread Andreas Herrmann
The patch is based on a patch submitted by Hans Rosenfeld. See http://marc.info/?l=linux-kernelm=133908777200931 Note that CPUID Fn8000_001D_EAX slightly differs to Intel's CPUID function 4. Bits 14-25 contain NumSharingCache. Actual number of cores sharing this cache. SW to add