summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorOrgad Shaneh <orgads@gmail.com>2026-09-15 07:12:47 +0000
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2026-09-26 09:49:29 +0200
commitbd978130307cfe330b98e7a5fccfd489d736f6a7 (patch)
tree10eb6df2bbd52e137803ac61286556ebc85bb781 /scripts/Makefile.thinlto
parent7d22c1e6d1fe6bda2270812f8ac2495499e6295a (diff)
downloadlinux-bd978130307cfe330b98e7a5fccfd489d736f6a7.tar.gz
linux-bd978130307cfe330b98e7a5fccfd489d736f6a7.zip
MIPS: OCTEON: program L2C_CTL, not L2C_CFG, on OCTEON II
cvmx_helper_initialize_packet_io_global() sets the L2 arbitration modes by rewriting L2C_CFG. That register (0x1180080000000) does not exist on OCTEON II; there the L2 controller is configured through L2C_CTL (0x1180080800000), whose corresponding fields are rsp_arb_mode and xmc_arb_mode. On a CN6335 the stray write hung the board hard when this function ran - no exception, no watchdog, just a dead console. Keep the L2C_CFG write for CN3XXX/CN5XXX and program L2C_CTL on CN6XXX with the values the vendor SDK uses there (rsp_arb_mode 1, xmc_arb_mode 0), which is the same trade the existing code makes for the older parts: keep IO blocks from being starved under high L2 load. 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