OSDN Git Service

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)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Tue, 21 Feb 2023 23:27:49 +0000 (08:27 +0900)
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>
include/linux/bootconfig.h

index 1611f9d..ca73940 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