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 B5115C46467 for ; Tue, 10 Jan 2023 11:01:11 +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-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:From:References:CC:To:Subject: MIME-Version:Date:Message-ID:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=1TcD7+LHUKJ3UJzvkinp6zWYHtl56rCTz/FPLQO5qvw=; b=g8MvwlOdd0VXRc WT3e51WlqF4rVVMAQqtn/MlfqsKL4krzxNACJVfXgSqgPtOXqVQQrA7zAAXH9O+VTSCTObpDobq+V A0c7ip6kMiDiQ2UmRJkwH/8ANStH/NaOBhFLDZjltSl1zM9F9xj3KM3wbXkmVc1We3dQbPZyRCCSU wPpFUOmCB0MYRcupqEXcPR/9uQs1566wIMLEegJmqj190YgwvT+kmAdveKm0Zg8rswoWe9GTK6WIO H2VdhwZ7gFBk/4kv5sY/i1MLD8I7OqEsNWyaYMl0EaIh6GmPAhMBnNn10wo86avwEmLKi/Vw8wB+Z SqIG95PzHtcKrqQwDLtg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pFCMO-006Uo4-Kd; Tue, 10 Jan 2023 11:00:04 +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 1pFCM9-006Ui7-VQ for linux-arm-kernel@lists.infradead.org; Tue, 10 Jan 2023 10:59:51 +0000 Received: from pps.filterd (m0279865.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30A5T1dL030732; Tue, 10 Jan 2023 10:59:44 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=ySX3CqiWYeBusCdMeRMR9e/8ifnzdKBQyuw3gT2RojM=; b=C5rR2ThI1vdViUguH/vKJAfFF84gWCoNq162vWZjstxbaelXh+XYOpWVJlvbxJ+1rPV4 27utJIdYNESqlIVn8ITtcpVL+QJT+P2FfLFuZ6wtG8ZIvLao02pgp0uNdhkjsrBmAy4z H23hcKXfIWn17BggzXtP1cTDR9dbjS2Po0A/ZYv4UQ9yFuI4tqvhzrMvbuS7YZFSWK8G oSB/h8nAEOIJ5p0leQ6nXwb+XIdMevbeDKOxV/+so8zryCr1mY0vrA4FQVTHMeSalCOI RMmwVI7qK2aM413HYZY0FFOCge2NWgJdOASLJnaBpT9zJV54SvwORmqbJ77bPMPrKMr3 vA== Received: from nalasppmta01.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3n0x0jh2xm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 Jan 2023 10:59:44 +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 30AAxh1I026269 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 10 Jan 2023 10:59:43 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:59:40 -0800 Message-ID: Date: Tue, 10 Jan 2023 16:29:37 +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 V1 0/1] soc: qcom: dcc: Add QAD, Cti-trigger and Bootconfig support for Data Capture and Compare(DCC) Content-Language: en-US To: Bjorn Andersson CC: Andy Gross , Konrad Dybcio , Krzysztof Kozlowski , Alex Elder , , , , Sai Prakash Ranjan , Sibi Sankar , "Rajendra Nayak" , References: <20230109151818.hxpi2nleb53ibv7w@builder.lan> From: Souradeep Chowdhury In-Reply-To: <20230109151818.hxpi2nleb53ibv7w@builder.lan> 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-GUID: Z-yrnfP8mfooE5llZCV1f06lKYXwjIlo X-Proofpoint-ORIG-GUID: Z-yrnfP8mfooE5llZCV1f06lKYXwjIlo 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_03,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 impostorscore=0 malwarescore=0 clxscore=1015 suspectscore=0 priorityscore=1501 lowpriorityscore=0 phishscore=0 mlxscore=0 adultscore=0 mlxlogscore=999 spamscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301100066 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230110_025950_066014_93EF0A84 X-CRM114-Status: GOOD ( 32.30 ) 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: , Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 1/9/2023 8:48 PM, Bjorn Andersson wrote: > On Mon, Jan 09, 2023 at 07:32:25PM +0530, Souradeep Chowdhury wrote: >> This patch adds the Bootconfig, QAD and CTI-Trigger support for DCC. >> > > As with the other patch, please move your motivation into the commit > message of the patch. > > That said, this seems to be 3 different topics, and hence should be > three different patches. Ack > >> 1.Bootconfig >> >> Bootconfig parser has been added to DCC driver so that the register addresses >> can be configured during boot-time. This is used to debug crashes that can happen >> during boot-time. The expected format of a bootconfig is as follows:- >> >> dcc_config { >> link_list_0 { >> qcom-curr-link-list = >> qcom-link-list =
, >> } >> } >> >> Example: >> >> dcc_config { >> link_list_0 { > > The name of the node does not seem to have any significance; this could > be nice to mention. I also think it would set a good precedence if you > used the number of the qcom-curr-link-list in the node name, rather than > just an iterator... Ack > >> qcom-curr-link-list = 6 >> qcom-link-list = R_0x1781005c_1_apb, >> R_0x1782005c_1_apb >> } >> link_list_1 { >> qcom-curr-link-list = 5 >> qcom-link-list = R_0x1784005c_1_apb >> } >> } >> >> 2.QAD >> >> QAD can be enabled as a part of debugfs file under each individual list folder. >> QAD is used to specify the access control for DCC configurations, on enabling >> it the access control to dcc configuration space is restricted. >> > > Who is locked out from this restricted access? Please mention why this > is a good thing. Ack > >> 3.CTI-trigger >> >> CTI trigger is used to enable the Cross trigger interface for DCC. On enabling >> CTI trigger the dcc software trigger can be done by writing to CTI trig-out. >> Also the hwtrigger debugfs file is created which needs to be disabled for enabling >> CTI-trigger. >> > > Please mention why hwtrigger needs to be disabled, and why does it need > to be disabled? Ack > >> Changes in V1 >> >> *Fixed the W=1 warnings in V0 of the patch > > Please follow the standard practice of giving your first version of a > patch version 1. Ack > > Thanks, > Bjorn > >> >> Souradeep Chowdhury (1): >> soc: qcom: dcc: Add QAD, Ctitrigger and Bootconfig support for DCC >> >> Documentation/ABI/testing/debugfs-driver-dcc | 24 +++ >> drivers/soc/qcom/dcc.c | 284 ++++++++++++++++++++++++++- >> 2 files changed, 304 insertions(+), 4 deletions(-) >> >> -- >> 2.7.4 >> _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel