powerpc: Add new cache geometry aux vectors
This adds AUX vectors for the L1I,D, L2 and L3 cache levels providing for each cache level the size of the cache in bytes and the geometry (line size and number of ways). We chose to not use the existing alpha/sh definition which packs all the information in a single entry per cache level as it is too restricted to represent some of the geometries used on POWER. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
608b42140e
commit
98a5f361b8
@@ -38,6 +38,7 @@ struct ppc_cache_info {
|
||||
u32 log_block_size;
|
||||
u32 blocks_per_page;
|
||||
u32 sets;
|
||||
u32 assoc;
|
||||
};
|
||||
|
||||
struct ppc64_caches {
|
||||
|
Reference in New Issue
Block a user