The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH v2 0/2] MIPS: OCTEON: PKO_REG_QUEUE_MODE on CN63XX and CN66XX
@ 2026-12-02 13:15 Orgad Shaneh
  2026-12-02 13:15 ` [PATCH v2 1/2] MIPS: OCTEON: size PKO_REG_QUEUE_MODE from the fixed queue map Orgad Shaneh
  2026-12-02 13:15 ` [PATCH v2 2/2] MIPS: OCTEON: set PKO_REG_QUEUE_MODE on CN63XX and CN66XX Orgad Shaneh
  0 siblings, 2 replies; 3+ messages in thread
From: Orgad Shaneh @ 2026-12-02 13:15 UTC (permalink / raw)
  To: tsbogend; +Cc: linux-mips, linux-kernel, Orgad Shaneh

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@gmail.com
- 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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-12-02 13:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-02 13:15 [PATCH v2 0/2] MIPS: OCTEON: PKO_REG_QUEUE_MODE on CN63XX and CN66XX Orgad Shaneh
2026-12-02 13:15 ` [PATCH v2 1/2] MIPS: OCTEON: size PKO_REG_QUEUE_MODE from the fixed queue map Orgad Shaneh
2026-12-02 13:15 ` [PATCH v2 2/2] MIPS: OCTEON: set PKO_REG_QUEUE_MODE on CN63XX and CN66XX Orgad Shaneh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox