Received: by 2002:a05:6359:6284:b0:131:369:b2a3 with SMTP id se4csp3379684rwb; Mon, 7 Aug 2023 12:32:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG1m8odz9TfhRak9X6sLSyyaWV1aW2FXcLgT4/CQUFV3tjiFgGYJWhMvndM+ASl1wiQkkjE X-Received: by 2002:a05:6a20:6a10:b0:13d:ee19:7725 with SMTP id p16-20020a056a206a1000b0013dee197725mr10616921pzk.12.1691436739566; Mon, 07 Aug 2023 12:32:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691436739; cv=none; d=google.com; s=arc-20160816; b=gpgZTYcQpWyREpuF/D+nZ5G6nxcXvw5ovP7CP0bCADmCvoNkgVRMxvVf8L2ukhKRUO l53SZZdOB5FKpqNkdDmu+FJWyyvQs+OQs6oaXozlml/btBwKsC9079XxR4NqehV8GQtI ABMv6HNIn4FA6tQbOScji8U43I+HvVRx8RsQCcYQhd1DF+CYwJDaqSD0Ytoe/Q++Afbk cNXN1+MO5sd8AnEYqen9JnjHzZ3dvTpuV1J3qA7o+EPz1yNqLR4c8rA2gVOo91yFpE+L KdH4nkCHU9iSPmqVsQ5yHnI1Qjy3aevclJtnUwDiEo4ngtCFRMnh4vBe+NYSu5d+wvqy 5pqg== 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 :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ayIUv30cKBFqtzxnKsc+A+U+A6120Vy/VZjRRC7ftUY=; fh=deywlySYR4ri9rztMyDzLjIlu5VDCj33W83aB1y5w1M=; b=YZZWrC8gfZpyxwNBekmisFjjt3FqQMYdc+iO8LfldB51wYr6Ulnh9V/qOgb+ddkk3P dUuAsv3z412v7M9MHP215G7kvKcFrfTBAzIb/hsyEqUZXRSxlK05WiJStHfVHyKfIjQP omPfI2szjU0rPlqtYgIs9cvYe/6F2YvOptA8vRXtXIIraIUWKBc9RkKfkq5J9ZAcriRI 5nMwOT4rtM85EF3nMMyKC55VGBltyaztYW3S9Fw6CAHqhzOgmhp4L2VjSp2u+JfEmwyR JN80YuNh6otRBUXHrAnh02N36hkZYNgpE/V1+JXlRbH1DzKte6QaxepAIKibaTIBFExH wY4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=bn0OS0Uc; 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 65-20020a630844000000b0055c95e91f67si5976833pgi.155.2023.08.07.12.31.56; Mon, 07 Aug 2023 12:32:19 -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=bn0OS0Uc; 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 S232310AbjHGRez (ORCPT + 99 others); Mon, 7 Aug 2023 13:34:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38470 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231156AbjHGRex (ORCPT ); Mon, 7 Aug 2023 13:34:53 -0400 Received: from mx0a-0031df01.pphosted.com (mx0a-0031df01.pphosted.com [205.220.168.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 85055F9; Mon, 7 Aug 2023 10:34:52 -0700 (PDT) Received: from pps.filterd (m0279867.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 377H1UNR006191; Mon, 7 Aug 2023 17:34:30 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=ayIUv30cKBFqtzxnKsc+A+U+A6120Vy/VZjRRC7ftUY=; b=bn0OS0UcdPTlaOCDZPIwcQgtdRYqzg0d/htpaaT/7W4Pn/+RWG6UGXIeyi6aup/EKb5z hEkhoEOoTURjsMPeIKSN6FRKOS8/MGb/K9doRsTUecMhq9LcyiZNs8P8GiqRZPjG210Y dPgpAd5SenYbTdF/g8lgYnb56Wz2ThFjzt/BWb+9bETqkgaJuS7doZ9gIZMspGDKVW07 mHMFk2BKCmDC0ZdEwaqRI7UAO9K/9TErKigAVFCbhT8ghQC++0Mp4e0SKEdfRVCF0DM2 PMXMOofX6fNf3NPQbM1bxDhbxo4QMqk3lEEAYFqpIr9BxFOZNvjLXJCgcYFZ6NykElR4 +Q== Received: from nalasppmta02.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3sax18s165-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 07 Aug 2023 17:34:30 +0000 Received: from nalasex01a.na.qualcomm.com (nalasex01a.na.qualcomm.com [10.47.209.196]) by NALASPPMTA02.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 377HY3tK009634 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 7 Aug 2023 17:34:03 GMT Received: from [10.50.29.168] (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.1118.30; Mon, 7 Aug 2023 10:33:58 -0700 Message-ID: <75c25eac-e92c-5ca2-4ef6-06ee89584ce6@quicinc.com> Date: Mon, 7 Aug 2023 23:03:45 +0530 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Subject: Re: [PATCH V25 0/3] misc: Add driver support for Data Capture and Compare unit(DCC) To: Greg Kroah-Hartman , Trilok Soni CC: Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , Bjorn Andersson , Rob Herring , Alex Elder , Arnd Bergmann , , , , , Sibi Sankar , "Rajendra Nayak" References: <774b688f-0324-9097-6504-58d15a3e6afb@quicinc.com> <2023080438-reacquire-obsessed-3e81@gregkh> <2023080408-zoom-defraud-1ae8@gregkh> Content-Language: en-US From: Souradeep Chowdhury In-Reply-To: <2023080408-zoom-defraud-1ae8@gregkh> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit 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: t7LGmfv5Gg0ZH668W6KF0jTmIyG0--Vw X-Proofpoint-ORIG-GUID: t7LGmfv5Gg0ZH668W6KF0jTmIyG0--Vw X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-07_19,2023-08-03_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 adultscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 bulkscore=0 phishscore=0 impostorscore=0 mlxscore=0 suspectscore=0 priorityscore=1501 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308070161 X-Spam-Status: No, score=-3.9 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 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 8/4/2023 7:19 PM, Greg Kroah-Hartman wrote: > On Fri, Aug 04, 2023 at 03:47:26PM +0200, Greg Kroah-Hartman wrote: >> On Thu, Aug 03, 2023 at 07:35:18AM -0700, Trilok Soni wrote: >>> On 8/3/2023 12:06 AM, Souradeep Chowdhury wrote: >>>> >>>> >>>> On 6/28/2023 3:53 PM, Souradeep Chowdhury wrote: >>> >>> ... >>> >>>>> >>>>> https://git.codelinaro.org/clo/le/platform/vendor/qcom-opensource/tools/-/tree/opensource-tools.lnx.1.0.r176-rel/dcc_parser >>>>> >>>>> Changes in v25 >>>>> >>>>> * Updated the documentation of the structure dcc_config_entry as per >>>>> the comments in V23 >>>>> * Updated the documentation of the dcc Kconfig definition as per >>>>> comment in V24 >>>>> * Used u64 where applicable >>>>> * Removed the mutex locks where it is not needed >>>>> * Removed the use of unlikely keyword >>>>> * Renamed "nr_link_list" to "max_link_list" >>>>> >>>>> Souradeep Chowdhury (3): >>>>>    dt-bindings: misc: qcom,dcc: Add the dtschema >>>>>    misc: dcc: Add driver support for Data Capture and Compare unit(DCC) >>>>>    MAINTAINERS: Add the entry for DCC(Data Capture and Compare) driver >>>>>      support >>>>> >>>>>   Documentation/ABI/testing/debugfs-driver-dcc  |   10 +- >>>>>   .../devicetree/bindings/misc/qcom,dcc.yaml    |   44 + >>>>>   MAINTAINERS                                   |    8 + >>>>>   drivers/misc/Kconfig                          |    8 + >>>>>   drivers/misc/Makefile                         |    1 + >>>>>   drivers/misc/qcom-dcc.c                       | 1312 +++++++++++++++++ >>>>>   6 files changed, 1378 insertions(+), 5 deletions(-) >>>>>   create mode 100644 Documentation/devicetree/bindings/misc/qcom,dcc.yaml >>>>>   create mode 100644 drivers/misc/qcom-dcc.c >>>> >>>> Gentle Ping >>> >>> Thank you for the reminder Souradeep. Greg and others, please see if we need >>> any changes here or it can be picked up? >> >> It would help if the code would actually build: >> >> drivers/misc/qcom-dcc.c: In function ‘ready_read’: >> drivers/misc/qcom-dcc.c:853:13: error: unused variable ‘ret’ [-Werror=unused-variable] >> 853 | int ret = 0; >> | ^~~ >> >> {sigh} >> >> How in the world was this ever tested? > > Ok, next time I want to see some QCOM engineers to sign off on this that > it was actually tested and they can back it up that this is ready to be > merged. When the code doesn't even build, that is a huge red flag that > this whole thing is being rushed as it obviously was never tested in the > form that was submitted for inclusion. > > You all know better than this. My apologies on missing out on this, it is a W=1 level compilation warning that got suppressed on a normal kernel build. I will be posting V26 by correcting this. Otherwise, this driver has no functional issues and is already ported in downstream kernels. > > greg k-h