aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSouradeep Chowdhury2023-02-22 08:27:49 +0900
committerGreg Kroah-Hartman2023-03-11 13:55:32 +0100
commit8caa60c20ae19797a663792ec2a439e07b4c4345 (patch)
tree1309d4f3de0dff62d73c080bce400c310f8dbe77
parenta6426afbca517efd5624a036f6acf998b0b977ea (diff)
bootconfig: Increase max nodes of bootconfig from 1024 to 8192 for DCC support
[ 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>
-rw-r--r--include/linux/bootconfig.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/bootconfig.h b/include/linux/bootconfig.h
index 1611f9db878e..ca73940e26df 100644
--- a/include/linux/bootconfig.h
+++ b/include/linux/bootconfig.h
@@ -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