Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp7651008rwl; Tue, 10 Jan 2023 03:44:42 -0800 (PST) X-Google-Smtp-Source: AMrXdXv6A0yqSQ+fsiCinBZQ4ytZHpRV/OzyBEKSnzDMEAh3ZTNgkd8iSwAdAU2RQeqZBERLQ8S1 X-Received: by 2002:a17:906:1414:b0:78d:f455:b5dd with SMTP id p20-20020a170906141400b0078df455b5ddmr53224036ejc.29.1673351081918; Tue, 10 Jan 2023 03:44:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673351081; cv=none; d=google.com; s=arc-20160816; b=UPhOhgOCLJ00BwkgVBrMQ8zc/G8+cc9U9pr+ZU0qJPRbJFqYOG/eEh/KjfnSz/87NM 7O5Ql6FxQ/t9W2WgjFP3KfAS8HbNm4ru9s+wTkKeOsJ5Rzg8rhmulTvjAzW3Ypd36jg6 XO9/PrSH8FNzyE0fRQS++18WA42qYhEtyCIbD3ARQT7yYN0hnyFp366FcAD04DAWI8Bl sfwEwaKXYcOs+tgFY0EDZudMHbJZDTZsF+RD4MEw/Sq93/Zz0WtgRVmd92RmZzZ4EI/f ++pegiksfZt1ZpSCLhWe+PbSM3JOlKS4Wqs+sIXBpIgyIN8KflDV0OrxEz5JlzkFzpU2 5h4w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=dCbu8nMS+yxccJ8cjuGam6hyXa4XDby9jldchqH27mc=; b=hZaGViNrKGLgK/KO+Fu2XS+fWlm/QlGMK6YxBveOmbEwr1Tol9/Fuf3smdg7C/XxkK 4crPOnsSmAULZRQRailF4DD3u1stmTkE9mX7pEY0t/TYFxGBbnCO3EB8KSpwqyuCCIMR qovMajQkpMXIp6r0vrOc/J8WTc2nneTVRPTFXbtWbkGbabvkAwgDVpA+wbcJcZRUsiID j2RAbFBZoK41ST6bBgkyqx/pSn9JFNczutw0qtSMYFg6NgjlOuQpiGCPa+QeXWNn3ntS Wkp5nRGNG/Lv2tbsCLstNG9gCCrJaZg5EmN/2jAxm1pO2UormRlQFtR5qTURLuQvieN9 uxCw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=diTBPUAt; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id xb6-20020a170907070600b007af041e40b4si12106566ejb.129.2023.01.10.03.44.28; Tue, 10 Jan 2023 03:44:41 -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=diTBPUAt; 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 S232245AbjAJLCg (ORCPT + 55 others); Tue, 10 Jan 2023 06:02:36 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238597AbjAJLA2 (ORCPT ); Tue, 10 Jan 2023 06:00:28 -0500 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 551D913D7B; Tue, 10 Jan 2023 02:58:11 -0800 (PST) Received: from pps.filterd (m0279864.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30A9sFa9016218; Tue, 10 Jan 2023 10:58:04 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=qcppdkim1; bh=dCbu8nMS+yxccJ8cjuGam6hyXa4XDby9jldchqH27mc=; b=diTBPUAtIsK3dY1+xxeFFvc80AIjjbzvA4P/H/OH0huIWJ1Fk+B+8XgXodJBRIvuMg9O Io+LJF8Y6ah6byFHvgZrburPij3AfwhiC/mMihzWlmRwtwLmyRHODkxGN6RAcGqFjeLx Jj6NegstlPZXpRIH0Ah5fUY5FB5/sk7BXHH9vlJIwajTVRsQkJpjusR+FCsFb/jyjWuK YbKwKDJTJNSGuqISY22pOdGTbX+spRs7hZ3ICcaGrp7Qq49kp7C/1cv23mpdtfK10Tp6 cC8g0l1Q5FkhOXTq3GLXaZpkDR3X0iGhInMfddsGaQYDxMSTxZtGoxnOJXLa39eNJSWA lg== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n13cngf3b-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 Jan 2023 10:58:04 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA01.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 30AAw36N022553 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 Jan 2023 10:58:03 GMT Received: from [10.50.61.82] (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; Tue, 10 Jan 2023 02:58:01 -0800 Message-ID: <47278c99-0137-83f7-cf15-718b630450a7@quicinc.com> Date: Tue, 10 Jan 2023 16:27:45 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0 Subject: Re: [PATCH V0 1/1] bootconfig: Increase max size of bootconfig from 32 KB to 256 KB for DCC support Content-Language: en-US To: Bjorn Andersson CC: Masami Hiramatsu , , , , "Sai Prakash Ranjan" , Sibi Sankar , Rajendra Nayak References: <654357bcbfd3974072a558c494a51edafaa73e1a.1673261071.git.quic_schowdhu@quicinc.com> <20230109150951.ikdlkr6lmiapesmu@builder.lan> From: Souradeep Chowdhury In-Reply-To: <20230109150951.ikdlkr6lmiapesmu@builder.lan> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) 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-ORIG-GUID: gt9WbqnP_AJHqf3yNRt5AesTU9xiCfcz X-Proofpoint-GUID: gt9WbqnP_AJHqf3yNRt5AesTU9xiCfcz X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.923,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2023-01-10_03,2023-01-10_02,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 priorityscore=1501 spamscore=0 suspectscore=0 bulkscore=0 impostorscore=0 lowpriorityscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 malwarescore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301100066 X-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no 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 On 1/9/2023 8:39 PM, Bjorn Andersson wrote: > On Mon, Jan 09, 2023 at 08:01:05PM +0530, Souradeep Chowdhury wrote: >> Increasing the memory size of bootconfig to be able to handle a max number of >> 8192 nodes to be fitted in memory size of 256KB. >> > > This states what the patch does, but not why. > > The description you put in the cover letter does capture the why, but > the cover-letter won't be part of the git history (and if it was, > there's no reason to keep the motivation separate from the change). So > please move the motivation into the commit message. > > Also, there's generally no reason to have a cover-letter for a > single patch "series". So please skip the --cover-letter. > > Regards, > Bjorn Ack > >> Signed-off-by: Souradeep Chowdhury >> --- >> include/linux/bootconfig.h | 6 +++--- >> 1 file changed, 3 insertions(+), 3 deletions(-) >> >> diff --git a/include/linux/bootconfig.h b/include/linux/bootconfig.h >> index 1611f9d..64d233b 100644 >> --- a/include/linux/bootconfig.h >> +++ b/include/linux/bootconfig.h >> @@ -55,11 +55,11 @@ struct xbc_node { >> } __attribute__ ((__packed__)); >> >> #define XBC_KEY 0 >> -#define XBC_VALUE (1 << 15) >> -/* Maximum size of boot config is 32KB - 1 */ >> +#define XBC_VALUE (1 << 18) >> +/* Maximum size of boot config is 256KB - 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 >> >> -- >> 2.7.4 >>