Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp731140rwo; Wed, 2 Aug 2023 03:21:50 -0700 (PDT) X-Google-Smtp-Source: APBJJlHgSEXjO/cpy2iOvT+n5692TiFOx+Cya/Ymp90jnPnuAifl8X+PnZqPGnp2QfFzxIfW+1Hj X-Received: by 2002:a05:6a20:440d:b0:13d:c70d:de62 with SMTP id ce13-20020a056a20440d00b0013dc70dde62mr7660630pzb.22.1690971710272; Wed, 02 Aug 2023 03:21:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690971710; cv=none; d=google.com; s=arc-20160816; b=ZKKaziEko2kAnhj5aPvSwD2cScnfdg1IFAZUNeFLyWn/a9f62EgCRQMg6XVEoGtj7e e//sesVe4XFNQME/K8WQGPeV9t3sTIrKYcc0AHfYVbA1+MTvKi2KFgChinzTu2I08FKK c/1pTkp/ZcU3BxvNIn2IFE25r13DAaPKUnQqPyl35mbJf8FlbIq3GuMl3tWqjJMnr7Up 2meS1qh3vwOH8Wtrz4KkwDGiK+rdJyTmt7u2ZGjGcnrJ4emQLBIdE1DS2IqZtQJXjWCY PT7xzmzX+i+ZnKV/xl72Aq8FntqFvkZoFPTHShFFnFrpSnEp3LH3s9tj3irPq6gZKpDc TE7g== 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=n2H3++VwuuWxG88O+gvsJuTcEr7Ar4wIkbAH5+PfnRM=; fh=jZEDXgWrTUBQXkRjHHlCwT13IpD5hC9X8RGunkzuwo8=; b=vKpU4EAtQqjDuCcxTYg7yGpExmGMcb4d0MvtEWFyC/75NqNpvpk9u+E6RgzrmBs44B UeqS4pP6hcIMLeGXvL/T2kKmoHqYwrI5rvOkY7mau+zHdBmTyspYJ4F16+4YbG++2jpL l1JrSKa8vqm9sPs9TcPsxPFhp651QMJKRADy1WWO8dDxSzI164HZnZeEcQ51CwVqSNBE IFzSfC2w3+fezRRnL3PsDNl1lZNOuRJccv7wu1NThu7y9hUBoug79ht7frv3gZOFBvxK n2kDhpKbBjzjVH9a/R4QPey1if1+FerRB2TO2fkgd4T7+gE2DNytOtnYQlC3Yl0byTDy 0IrA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=S2qZg6u5; 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 fh37-20020a056a00392500b006827c671c1asi3570800pfb.226.2023.08.02.03.21.38; Wed, 02 Aug 2023 03:21:50 -0700 (PDT) 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=S2qZg6u5; 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 S232713AbjHBJAo (ORCPT + 99 others); Wed, 2 Aug 2023 05:00:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230139AbjHBJAl (ORCPT ); Wed, 2 Aug 2023 05:00:41 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B53FF115; Wed, 2 Aug 2023 02:00:40 -0700 (PDT) Received: from pps.filterd (m0279871.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3724Y6ej022364; Wed, 2 Aug 2023 09:00:37 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=n2H3++VwuuWxG88O+gvsJuTcEr7Ar4wIkbAH5+PfnRM=; b=S2qZg6u5yOeVpjj4xSwdGfA404dymU00N5Hhpdwx93a1rSTCXFCs8D+DyeqjpVo9Z5lp gfl/AVdjDB7j9WfJPIIPNl3CiP2jYgm+kgwCa20C1XNLJUUXK5Z2OKqzMCiNBrOwAfEj 8caCBzAG+DEs3hhdFYnz3pMpWgrNNUCQl2kesfN+VksJKO7Au1jlX4Bpq8H234Ui0JC/ iGb7NNsTLPbIkJh1+vHPyFbp1Cp7NSgF/j7uifOsbMqVgto0eK9MzhD/cNRG6KgBbwWM m95jA2IfhTI3sYdvR0+OBX08vp0pL2T6nmzRaybdblyMtuYFGdNg0+wqYmbKU9+63mCv Ww== Received: from nasanppmta05.qualcomm.com (i-global254.qualcomm.com [199.106.103.254]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3s75b31xcq-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 02 Aug 2023 09:00:37 +0000 Received: from nasanex01b.na.qualcomm.com (nasanex01b.na.qualcomm.com [10.46.141.250]) by NASANPPMTA05.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 37290a9u017179 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 2 Aug 2023 09:00:36 GMT Received: from [10.214.67.128] (10.80.80.8) by nasanex01b.na.qualcomm.com (10.46.141.250) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Wed, 2 Aug 2023 02:00:32 -0700 Message-ID: <3ed4b1c1-bd1d-3b88-49ad-4eeb0fd6b83d@quicinc.com> Date: Wed, 2 Aug 2023 14:30:29 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.5.1 Subject: Re: [PATCH v5 6/6] soc: qcom: llcc: Add QDU1000 and QRU1000 LLCC support Content-Language: en-US To: Konrad Dybcio , Mukesh Ojha , , , , , , CC: , , References: <20230724084155.8682-1-quic_kbajaj@quicinc.com> <20230724084155.8682-7-quic_kbajaj@quicinc.com> <34868b94-abe3-aa67-fb76-35d9a2481cfd@quicinc.com> <2a68b891-b855-1998-3eaf-a21473da0851@linaro.org> From: Komal Bajaj In-Reply-To: <2a68b891-b855-1998-3eaf-a21473da0851@linaro.org> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.80.80.8] X-ClientProxiedBy: nasanex01b.na.qualcomm.com (10.46.141.250) To nasanex01b.na.qualcomm.com (10.46.141.250) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-GUID: flAgz96zKyghite3BKYb1qkvjCvnp5mT X-Proofpoint-ORIG-GUID: flAgz96zKyghite3BKYb1qkvjCvnp5mT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-02_03,2023-08-01_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 adultscore=0 suspectscore=0 phishscore=0 lowpriorityscore=0 priorityscore=1501 mlxscore=0 spamscore=0 mlxlogscore=798 bulkscore=0 clxscore=1015 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308020079 X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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 On 7/24/2023 6:25 PM, Konrad Dybcio wrote: > On 24.07.2023 14:45, Mukesh Ojha wrote: >> >> On 7/24/2023 2:11 PM, Komal Bajaj wrote: >>> Add LLCC configuration data for QDU1000 and QRU1000 SoCs. >>> >>> Signed-off-by: Komal Bajaj >>> --- > [...] > >>>   static const struct qcom_sct_config sc7180_cfgs = { >>>       .llcc_config    = sc7180_cfg, >>>       .num_cfgs    = 1, >>> @@ -611,6 +672,11 @@ static const struct qcom_sct_config sm8550_cfgs = { >>>       .num_cfgs    = 1, >>>   }; >>>   +static const struct qcom_sct_config qdu1000_cfgs = { >>> +    .llcc_config    = qdu1000_cfg, >>> +    .num_cfgs    = 1, >> >> Should not this be 4 ? > Even better, use ARRAY_SIZE(name_of_arr) Yes, Thanks for suggesting it. -Komal > > Konrad