Support auxilliary vector components for cache geometries.
authorPaul Clarke <pc@us.ibm.com>
Tue, 11 Apr 2017 14:19:28 +0000 (11:19 -0300)
committerTulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
Tue, 11 Apr 2017 17:05:54 +0000 (14:05 -0300)
commitd031600dd2e8381e9cd2ccc20c4ce94a04f04eaf
tree8c07faebca266325a4afff871eff013c8361298a
parenta42478b7bf10e9f890466c91280d9b24908ca980
Support auxilliary vector components for cache geometries.

Add support to getauxval() for new types to get L1, L2, L3 cache sizes,
cache line sizes, and cache associativities.  The new types for
getauxval() were added in the stream for Linux kernel v4.11 in commit
98a5f361b8625c6f4841d6ba013bbf0e80d08147.

* elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
ChangeLog
elf/elf.h