From patchwork Tue Jan 24 05:04:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Souradeep Chowdhury X-Patchwork-Id: 13113451 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 378C2C38142 for ; Tue, 24 Jan 2023 05:07:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:CC :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=IkJsu1p/MOJ2AMh8e6YpHUhC4HKKjgM3ZZz8EnNNwkc=; b=FXibnTO4txPPTI iOz5kO/pL5kgtl0CNk7xsBTJeLsWEGP/nDqYAvGa4zM3NV5I63xCRv2u2lWuosJwGtr71GOOifb30 5q85H9SpsYAqV4VO107l5uRtfiwZ0nA1ZrKNlpzlfU4TAlzf+QkazlZfTHmdoEestC3b82oWjmc4q sJkJMyePPoOX5GmL0zgYSib+iLKlVCSmcmngOSulnibV0K13TD1opCed/6kr7FAEekZgTXru5vLfn w+dvElpDHxobRu5QCKMz7rUckI9PgZYbpBF49TVmazCpObkGSNSxQKPHTVs5YBLbvtBXuCBkI1pFj bAhJuUKFYPf5AphHdjPg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKBVW-002Hvd-6U; Tue, 24 Jan 2023 05:06:06 +0000 Received: from mx0a-0031df01.pphosted.com ([205.220.168.131]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pKBV5-002HlR-UV for linux-arm-kernel@lists.infradead.org; Tue, 24 Jan 2023 05:05:41 +0000 Received: from pps.filterd (m0279866.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30O4oki9020350; Tue, 24 Jan 2023 05:05:35 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=from : to : cc : subject : date : message-id : mime-version : content-type; s=qcppdkim1; bh=zJ8nHVQUcPvogFrQOP+nH8HDhiQnoCZtyrQjGB8/elw=; b=Jz/OLV8Awr2tPqCqgGV8PbwHBXkEvTJ6pk6yDvmZU/NOvIpOWh1ILnkVZlde0LkOyfO0 7gmTcHl8E0XBRq9tr/3gNBx8BQpLvSYjpU7npICQE7pckII88Wivnk0oEcg5BWm++ZmR v1S1mWSGN5mlfiJIB49rm8CX5pPvqNIlt2Is8LA2U3YouXVMj4ZfTZbN3IgxMURlUtn7 SIVjeUWanGZWTBu5GDEdtKZGwjcM1tWLCP/odA1hT9/6bPBr1atETXDJH734sigqjOfW Cr9Mx+JyrqQSODnthr8N8KEwy0KGwprJbdIp0OiQnFRkks2SYU+SLUSz88vIDZExuOFc XQ== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n89hk4bm3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 24 Jan 2023 05:05:35 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 30O55YDI013864 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 24 Jan 2023 05:05:34 GMT Received: from blr-ubuntu-525.qualcomm.com (10.80.80.8) by nalasex01a.na.qualcomm.com (10.47.209.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Mon, 23 Jan 2023 21:05:31 -0800 From: Souradeep Chowdhury To: Masami Hiramatsu , , Bjorn Andersson CC: , , Sai Prakash Ranjan , Sibi Sankar , Rajendra Nayak , Souradeep Chowdhury Subject: [PATCH V1] bootconfig: Increase max nodes of bootconfig from 1024 to 8192 for DCC support Date: Tue, 24 Jan 2023 10:34:42 +0530 Message-ID: <1674536682-18404-1-git-send-email-quic_schowdhu@quicinc.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01a.na.qualcomm.com (10.52.223.231) To nalasex01a.na.qualcomm.com (10.47.209.196) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: FMtINRHu4VrLcyHweuK0GAjJ0eLNkNw_ X-Proofpoint-ORIG-GUID: FMtINRHu4VrLcyHweuK0GAjJ0eLNkNw_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-23_12,2023-01-23_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=857 phishscore=0 suspectscore=0 clxscore=1015 mlxscore=0 impostorscore=0 spamscore=0 adultscore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301240045 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230123_210540_008854_1AF860D7 X-CRM114-Status: GOOD ( 17.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org 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. Signed-off-by: Souradeep Chowdhury Acked-by: Masami Hiramatsu (Google) --- include/linux/bootconfig.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 diff --git a/include/linux/bootconfig.h b/include/linux/bootconfig.h index 1611f9d..ca73940 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