bootconfig: Increase max nodes of bootconfig from 1024 to 8192 for DCC support
authorSouradeep Chowdhury <quic_schowdhu@quicinc.com>
Tue, 21 Feb 2023 23:27:49 +0000 (08:27 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 Mar 2023 12:55:32 +0000 (13:55 +0100)
[ Upstream commit 6c40624930c58529185a257380442547580ed837 ]

The Data Capture and Compare(DCC) is a debugging tool that uses the bootconfig
for configuring the register values during boot-time. Increase the max nodes
supported by bootconfig to cater to the requirements of the Data Capture and
Compare Driver.

Link: https://lore.kernel.org/all/1674536682-18404-1-git-send-email-quic_schowdhu@quicinc.com/
Signed-off-by: Souradeep Chowdhury <quic_schowdhu@quicinc.com>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/linux/bootconfig.h

index 1611f9db878e763699519a8b8efa3b714654e1e0..ca73940e26df83ddd65301b39b77c350b0f4c3c2 100644 (file)
@@ -59,7 +59,7 @@ struct xbc_node {
 /* Maximum size of boot config is 32KB - 1 */
 #define XBC_DATA_MAX   (XBC_VALUE - 1)
 
-#define XBC_NODE_MAX   1024
+#define XBC_NODE_MAX   8192
 #define XBC_KEYLEN_MAX 256
 #define XBC_DEPTH_MAX  16