Re: [PATCH v2 0/2] MIPS: OCTEON: PKO_REG_QUEUE_MODE on CN63XX and CN66XX
From: Thomas Bogendoerfer
Date: Sat Dec 05 2026 - 05:23:41 EST
On Wed, Dec 02, 2026 at 01:15:13PM +0000, Orgad Shaneh wrote:
> 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(-)
applied to mips-next
Thomas.
--
Crap can work. Given enough thrust pigs will fly, but it's not necessarily a
good idea. [ RFC1925, 2.3 ]