Received: by 2002:a05:7412:6592:b0:d7:7d3a:4fe2 with SMTP id m18csp1291701rdg; Fri, 11 Aug 2023 17:07:06 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEZ8D7OGMl590DclMjZ1imp4+XkEXw6BajQT5CV2t6xW36dysTrcxKVBjadD06X7tB59kjW X-Received: by 2002:a05:6512:3b22:b0:4fe:181f:2736 with SMTP id f34-20020a0565123b2200b004fe181f2736mr3238054lfv.33.1691798826497; Fri, 11 Aug 2023 17:07:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691798826; cv=none; d=google.com; s=arc-20160816; b=Gjb2JMjbLbz7yDmoqNudkyLqd3v/Vjvn0lPi7kazv1+jrhnojDMMB7NQpER+KeBZ7O fX7hel22ojgiuZmWnZeqRwFSyrZvp/VGcKYWHABGoRZgh+r8grBL/nf4Lt+X0CORgXA2 WV2NwBlKyieQOzvvzEMa+OR6kdR9JKNYhLPmOJUh3Voo2kItW6B+NkUQOm7PvqnFgGM+ VGwKRaatPguLe1IaYg8AzP+wYxtNbhnMztHZST2pJz2egKyHESzH/uCNF4UQhXfumGTj w7/kxf89gs9EYdtRiT2HjtsAtwAPtN8A4w/cMIGSmaRlz9MjCJCi1AhR5bAqubODT4qP pqeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Wz/s1t3Tr5SELcyNkAxXzTZrYb2YMuANF05aY9pa+Do=; fh=GHLs1D38WDI8GaSYF7/ttEVaKFjn6AeXObXngbZgRCA=; b=DwGJs8PJcQgxFjA7weMZkUa3LKRZl/bjYECiLJJE4b9UuU5jepyIqiHPWHDXGtBHbK BdSoDWJqZCma2PKIEYsPGfIes5nhEzWAEeeVgzQdlOcnEjaOZiR0cC90RGntBv6z6oF4 WYeHK0/tHNpJD2kRfClByQz6lpmPzC1H3FDT29GxAcEuEJ+rY2oZ20TrzOdDjkAcL61n QGPDuvVaLs2AkJxxJhVFjyPEZpLzEJp1iJ1S95aDnB5gjKNyEzP/+E540JePwdnk5uWt ZRAP6DzuU6smFqDZmzBjzOdgY/Kxq7uZ+lnUHf9rmY/EiTqyo3N5cwN8gEfXpGAPRliM B0yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@quicinc.com header.s=qcppdkim1 header.b=oPDo7c2f; 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 w16-20020aa7dcd0000000b005230a0965cbsi4235233edu.12.2023.08.11.17.06.42; Fri, 11 Aug 2023 17:07:06 -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=oPDo7c2f; 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 S237220AbjHKXgp (ORCPT + 99 others); Fri, 11 Aug 2023 19:36:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237144AbjHKXgp (ORCPT ); Fri, 11 Aug 2023 19:36:45 -0400 Received: from mx0b-0031df01.pphosted.com (mx0b-0031df01.pphosted.com [205.220.180.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80F9310F5; Fri, 11 Aug 2023 16:36:44 -0700 (PDT) Received: from pps.filterd (m0279868.ppops.net [127.0.0.1]) by mx0a-0031df01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37BNV01M017838; Fri, 11 Aug 2023 23:36:37 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quicinc.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=qcppdkim1; bh=Wz/s1t3Tr5SELcyNkAxXzTZrYb2YMuANF05aY9pa+Do=; b=oPDo7c2fDfQfCuab6dpTNzPEz3IQzj3wCmmo3bAdFrFKBQtNivLCM1QAtqSMe5nts/Nw X8ZEAOhJSQ2gnlZN5phTHec0B64p5o/oV1JbEd3w0aGYAG38xXsbPIT7xcYmq+Uqw0v/ R9H5ebVi6EkPazxDIlwgzp6WAOXPs7OuuorL2XY9DDCY2V1Nlpl3t7IDX7+mGqQuXOc4 xx6cVz8dFctLjB0qmTa8SkhQvkFl9DBZKAwctsLHGcqVb1cOskQwREv106qy6Jbn6bpq hVLNGwOJ9S9SBSDCmFO2l5X+yQ4QuhhHMl+rTmqGC2dYE7NMcIjWBDBSymBKajMfFLWw Vw== Received: from nalasppmta04.qualcomm.com (Global_NAT1.qualcomm.com [129.46.96.20]) by mx0a-0031df01.pphosted.com (PPS) with ESMTPS id 3sd9032yaj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 11 Aug 2023 23:36:37 +0000 Received: from nalasex01c.na.qualcomm.com (nalasex01c.na.qualcomm.com [10.47.97.35]) by NALASPPMTA04.qualcomm.com (8.17.1.5/8.17.1.5) with ESMTPS id 37BNaajM013921 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 11 Aug 2023 23:36:36 GMT Received: from hu-bjorande-lv.qualcomm.com (10.49.16.6) by nalasex01c.na.qualcomm.com (10.47.97.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.30; Fri, 11 Aug 2023 16:36:36 -0700 Date: Fri, 11 Aug 2023 16:36:34 -0700 From: Bjorn Andersson To: Bjorn Andersson , Konrad Dybcio , Chris Lew CC: Alex Elder , "David S. Miller" , Jakub Kicinski , Mathieu Poirier , , , , , Andrew Lunn Subject: Re: [PATCH v2 2/4] soc: qcom: aoss: Add debugfs interface for sending messages Message-ID: <20230811233634.GU1428172@hu-bjorande-lv.qualcomm.com> References: <20230811205839.727373-1-quic_bjorande@quicinc.com> <20230811205839.727373-3-quic_bjorande@quicinc.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20230811205839.727373-3-quic_bjorande@quicinc.com> X-Originating-IP: [10.49.16.6] X-ClientProxiedBy: nalasex01a.na.qualcomm.com (10.47.209.196) To nalasex01c.na.qualcomm.com (10.47.97.35) X-QCInternal: smtphost X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=5800 signatures=585085 X-Proofpoint-ORIG-GUID: 40COawU98F_ix_CpRWSSooNik5pJkQUH X-Proofpoint-GUID: 40COawU98F_ix_CpRWSSooNik5pJkQUH 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-11_15,2023-08-10_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 phishscore=0 spamscore=0 bulkscore=0 impostorscore=0 suspectscore=0 malwarescore=0 mlxlogscore=999 adultscore=0 clxscore=1015 mlxscore=0 lowpriorityscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2306200000 definitions=main-2308110215 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, SPF_HELO_NONE,SPF_PASS,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 Fri, Aug 11, 2023 at 01:58:37PM -0700, Bjorn Andersson wrote: > From: Chris Lew > > In addition to the normal runtime commands, the Always On Processor > (AOP) provides a number of debug commands which can be used during > system debugging for things such as preventing power collapse or placing > floor votes for certain resources. Some of these are documented in the > Robotics RB5 "Debug AOP ADB" linked below. > > Provide a debugfs interface for the developer/tester to send these > commands to the AOP. > > Link: https://docs.qualcomm.com/bundle/publicresource/topics/80-88500-3/85_Debugging_AOP_ADB.html > Signed-off-by: Chris Lew > [bjorn: Dropped debugfs guards, improve error codes, rewrote commit message] > Signed-off-by: Bjorn Andersson > --- > drivers/soc/qcom/qcom_aoss.c | 33 +++++++++++++++++++++++++++++++++ > 1 file changed, 33 insertions(+) > > diff --git a/drivers/soc/qcom/qcom_aoss.c b/drivers/soc/qcom/qcom_aoss.c > index 880fe234ca0a..13bf13ab78d6 100644 > --- a/drivers/soc/qcom/qcom_aoss.c > +++ b/drivers/soc/qcom/qcom_aoss.c > @@ -3,6 +3,7 @@ > * Copyright (c) 2019, Linaro Ltd > */ > #include > +#include > #include > #include > #include > @@ -82,6 +83,7 @@ struct qmp { > > struct clk_hw qdss_clk; > struct qmp_cooling_device *cooling_devs; > + struct dentry *debugfs_file; Simon Horman pointed out in the previous version that this isn't added to kernel-doc, and I missed correcting this. Regards, Bjorn