Skip to contentSkip to conversation

FAILED: patch "[PATCH] net: qrtr: ns: Raise node count limit to 512" failed to apply to 6.18-stable tree

PATCH Applied [email protected] 3 participants 3 messages Jul 29 – Jul 30

Subsystems (3)
lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

The patch below does not apply to the 6.18-stable tree.
If someone wants it applied there, or to any other stable or longterm tree, then please email the backport, including the original git commit id to <[email protected]>.

To reproduce the conflict and resubmit, you may use the following commands:

git fetch https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ linux-6.18.y
git checkout FETCH_HEAD
git cherry-pick -x ff194cffd586cbd4cc49eccb002c65f2a902a277
# <resolve conflicts, build, test, etc.>
git commit -s
git send-email --to '<[email protected]>' --in-reply-to '2026072918-spinal-repeated-d081@gregkh' --subject-prefix 'PATCH 6.18.y' 'HEAD^..'

Possible dependencies:

thanks,

greg k-h

------------------ original commit in Linus's tree ------------------

From ff194cffd586cbd4cc49eccb002c65f2a902a277 Mon Sep 17 00:00:00 2001
From: Youssef Samir <[email protected]>
Date: Mon, 13 Jul 2026 16:59:01 +0200
Subject: [PATCH] net: qrtr: ns: Raise node count limit to 512

The current node limit of 64 breaks the functionality for a number of AI200 deployments that have up to 384 nodes. Raise the limit to 512.

Fixes 27d5e84e810b ("net: qrtr: ns: Limit the total number of nodes")
net/qrtr/ns.c +2 -2
index b3f9bbcf9ab9..e5b2adb161d9 100644
@@ -76,11 +76,11 @@ struct qrtr_node {
  * requirements. If the requirement changes in the future, these values can be
  * increased.
  */
-#define QRTR_NS_MAX_NODES   64
+#define QRTR_NS_MAX_NODES   512
 #define QRTR_NS_MAX_SERVERS 256
 #define QRTR_NS_MAX_LOOKUPS 64
 
-static u8 node_count;
+static u16 node_count;
 
 static struct qrtr_node *node_get(unsigned int node_id)
 {
#1 lore raw

PATCH 1/1 net: qrtr: ns: Raise node count limit to 512

The current node limit of 64 breaks the functionality for a number of AI200 deployments that have up to 384 nodes. Raise the limit to 512.

Fixes 27d5e84e810b ("net: qrtr: ns: Limit the total number of nodes")
(cherry picked from commit ff194cffd586cbd4cc49eccb002c65f2a902a277)
---
 net/qrtr/ns.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
net/qrtr/ns.c +2 -2
index a10e8de4f7e1..e8e3ba1b3b82 100644
@@ -85,9 +85,9 @@ struct qrtr_node {
 /* Max nodes limit is chosen based on the current platform requirements.
  * If the requirement changes in the future, this value can be increased.
  */
-#define QRTR_NS_MAX_NODES   64
+#define QRTR_NS_MAX_NODES   512
 
-static u8 node_count;
+static u16 node_count;
 
 static struct qrtr_node *node_get(unsigned int node_id)
 {
Signature · 1 line
2.43.0
maintainer Applied
#2 lore raw

Re: [PATCH 6.18.y] net: qrtr: ns: Raise node count limit to 512

Quoted 1 line

[PATCH 6.18.y] net: qrtr: ns: Raise node count limit to 512

Queued for 6.18, 6.12 and 6.6, thanks.

I'm holding the 6.1, 5.15 and 5.10 versions for now - I replied separately on the 6.1 patch with the details.

Signature · 2 lines
Thanks,
Sasha