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: 47524 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp1973580wrn; Mon, 23 Jan 2023 21:10:43 -0800 (PST) X-Google-Smtp-Source: AK7set8If3ILi9XqBdZv/fJoCZGeYO5agEznIzuuzfFKJTCBA/LxYY3iD6dtgkbSnMXX2loECzeI X-Received: by 2002:a50:baa5:0:b0:4a0:8dbc:d486 with SMTP id x34-20020a50baa5000000b004a08dbcd486mr317145ede.28.1674537043611; Mon, 23 Jan 2023 21:10:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674537043; cv=none; d=google.com; s=arc-20160816; b=ZB5TTHr1fAV0b53OkNviEh4xoafn/unZEkpHh/N1u028YOkBUwPYKl1F6qAM5YvhVd n8eOph4IfZUo1fYfGe8sgfi2ifcFZVwlXViWTCG6FLHxDSPuxq9kdkdR50n7Lw4KFAcm nQRcHg1o1Q6ytfi0nWuR1E2XfOqVr6OpDAiyHiNO0aT75PDem1jtHITV+sBhf5F6mSsR TegRw3E5BTsk2Qfk8Ik3iH0Mi3T9US6oU8cJCrtRP/F4b3lxXJaovaYyVrB+blcyzEYx 6woPZSqqZPGn3dw2HiQDjhtfHJJWWxKRR6h4vW/tD03yqMLj2UgV94RpdqRMLjatn0md WExw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=zJ8nHVQUcPvogFrQOP+nH8HDhiQnoCZtyrQjGB8/elw=; b=sOzV2JKx2m3dj92eZ5SnEwfpGtDarJss4MBicG7IBFGkDvIOE1vXH6QD/FiaalycW6 iKjoCBaPVUDZMgYI0admS0Kpn7duyCuzl1RL0gPfplvNmJdQREvmrpV8kS+TBGWCJoeG zmEYV4sOI94vTd7IsCCcFVo7pnbTI3LFJZZ0WBjbC+u1H/xr008XRGoIR9H7I9AJFL1+ 2u9Tp4HZyak64/jL2gT++B8M3p/EEWl5xpGaIaU56mWEcdsBHha7WPkrMiiMj7hivxok 5JK+ObSQrs/v5GWIGvXnxt/tmYC5tfptEiHR21ObQGo2Qh0x7B8+LCA8r9OKlxzm1rD1 8q6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="Jz/OLV8A"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bc23-20020a056402205700b004a07e5126ebsi1345133edb.73.2023.01.23.21.10.19; Mon, 23 Jan 2023 21:10:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b="Jz/OLV8A"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=quicinc.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232643AbjAXFF5 (ORCPT + 99 others); Tue, 24 Jan 2023 00:05:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232143AbjAXFFv (ORCPT ); Tue, 24 Jan 2023 00:05:51 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DEF730E80; Mon, 23 Jan 2023 21:05:41 -0800 (PST) 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-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755879355249021070?= X-GMAIL-MSGID: =?utf-8?q?1755879355249021070?= 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