mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Orgad Shaneh <orgads@gmail.com>
To: tsbogend@alpha.franken.de
Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org,
	Orgad Shaneh <orgads@gmail.com>
Subject: [PATCH v2 0/2] MIPS: OCTEON: PKO_REG_QUEUE_MODE on CN63XX and CN66XX
Date: Wed,  2 Dec 2026 13:15:13 +0000	[thread overview]
Message-ID: <20261202131515.3630964-1-orgads@gmail.com> (raw)

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


             reply	other threads:[~2026-12-02 13:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-12-02 13:15 Orgad Shaneh [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261202131515.3630964-1-orgads@gmail.com \
    --to=orgads@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mips@vger.kernel.org \
    --cc=tsbogend@alpha.franken.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®