diff options
| author | 2026-09-15 07:12:46 +0000 | |
|---|---|---|
| committer | 2026-09-26 09:49:29 +0200 | |
| commit | 7d22c1e6d1fe6bda2270812f8ac2495499e6295a (patch) | |
| tree | cde74d9580748f0b9b493fffdebc2995a719469d /scripts/Makefile.thinlto | |
| parent | MIPS: OCTEON: cvmx-l2c: add the CN66XX L2 geometry (diff) | |
MIPS: OCTEON: read the L2 crippled fuses from MIO_FUS_DAT3 on OCTEON II
prom_init() decides whether to lock lines into the L2 by reading
L2D_FUS3, a CN3XXX/CN5XXX register. On OCTEON II the fuses that cripple
the L2 are MIO_FUS_DAT3[l2c_crip] - which is what cvmx_l2c_get_num_assoc()
already reads for those parts - so the test looks at an address that is
not a register on the chip and gets a meaningless answer: it can skip
L2 locking on a healthy cache, or lock into a reduced one.
Pick the register by family in a small helper.
Assisted-by: Claude:claude-opus-5
Signed-off-by: Orgad Shaneh <orgads@gmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
