[PATCH v2] powerpc: A new cache geometry aux vectors
Benjamin Herrenschmidt
benh at au1.ibm.com
Mon Mar 6 10:11:41 AEDT 2017
On Fri, 2017-03-03 at 07:51 -0600, Paul Clarke wrote:
> > On P9 it all comes from the device tree so if that's wrong the AUX
> > vectors will definitely be wrong.
>
> mambo-p9 is still falling victim to the device-tree, but "working":
> --
> getauxval(AT_L1I_CACHEGEOMETRY) = 0x0000000000000080
> AT_L1I_CACHEGEOMETRY: associativity 0; line size 128
> getauxval(AT_L1D_CACHEGEOMETRY) = 0x0000000000000080
> AT_L1D_CACHEGEOMETRY: associativity 0; line size 128
> getauxval(AT_L2_CACHEGEOMETRY) = 0x0000000000000000
> getauxval(AT_L2_CACHEGEOMETRY) = 0x0000000000000000
> --
The mambo device-tree comes from the mambo own internals afaik.
On real HW, the values come from HDAT. If they are wrong we need
the HostBoot guys to fix them.
Cheers,
Ben.
More information about the Linuxppc-dev
mailing list