[PATCH v2 0/2] MIPS: OCTEON: PKO_REG_QUEUE_MODE on CN63XX and CN66XX

From: Orgad Shaneh

Date: Wed Dec 02 2026 - 08:15:23 EST


cvmx_pko_initialize_global() sizes the PKO's local command storage from
the number of queues in use. It leaves CN63XX and CN66XX out, and it
counts the queues before the interfaces are probed.

1/2 takes the count from the fixed queue map, which does not depend on
the probe.

2/2 adds CN63XX and CN66XX. Without it, the PKO on a CN6635 (CN66XX)
stopped sending under heavy load.

Changes since v1:
https://lore.kernel.org/r/20261201042313.3010724-1-orgads@xxxxxxxxx
- v1 1/2 is now two patches; the count fix (1/2) is new.
- v1 2/2, the device-tree prune fix, is unrelated and is sent on its
own.

Applies to torvalds/master and mips-next, where this file is unchanged.
An LLM helped write these patches.

Orgad Shaneh (2):
MIPS: OCTEON: size PKO_REG_QUEUE_MODE from the fixed queue map
MIPS: OCTEON: set PKO_REG_QUEUE_MODE on CN63XX and CN66XX

arch/mips/cavium-octeon/executive/cvmx-pko.c | 14 ++++++++++----
1 file changed, 10 insertions(+), 4 deletions(-)

--
2.53.0