Received: by 2002:ab2:2997:0:b0:1ec:cbc4:63fb with SMTP id n23csp408304lqb; Thu, 29 Feb 2024 04:56:46 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCXFen1tAFAphV+LbGjJ/FkiYjvWxOf+9tEJoJoRtKN1poUuKPSdoQFKyBqF3L9wRblNbxbkwjh9WpzsxvzUxqGh7C6LgwGbN0InLg0dIA== X-Google-Smtp-Source: AGHT+IGumkitrvwQLHm/5adBKMvtSFknKXjBZU8LE3K2FP5ceNAz/I/aZ1pJZRCT8immJIhUURKP X-Received: by 2002:ac8:5bd2:0:b0:42d:d5eb:815b with SMTP id b18-20020ac85bd2000000b0042dd5eb815bmr2227259qtb.14.1709211406147; Thu, 29 Feb 2024 04:56:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709211406; cv=pass; d=google.com; s=arc-20160816; b=YHB6sNkr8QzeUUWPIeQghHcEZk2t6zhVCDvSjRcPHpzL8bFP6EGmaHNZVwHcwRUPpD /3TZj/KqUOyuEpL2T2mE3aUK6bWoagnqi65MNEVWT1VKqG13hdnwTD1KIv+CJOLquepQ SzX5ZisGaWkQ+W/FZbwpiGCsD2oYd0YNVscP4SRnd5JjkvXVS+FfheoT2kNkmc9AoMUy aaiOJVghQdlO4uUYuz3tGr+toGJJSyDE31+WyF55rng//Af0K7J/DF1fG73Ehux5ewgL 1QVk2kIIYc8/2DHjM/d5w/eq3qg4We+10lY0EuQWpfz38w7Y2b0W6H/7FgYOMZDXnoDp bdew== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=9NsAC2URQIoyZWPr7ndsDpK/+Bc7L5nn3Z7XRqRDKVE=; fh=y9nZknAH1oMEGk392bqSNlfgw2xhvyzYDCRswAnmBH4=; b=vIkOithQPmsV1HX7qCPxyVhs6vistyTkwKZnaQZdP0LRYyWmVEJ3i97qpe9rpc5dy0 iISs181Dzst3T97xaVV1lk2/4/LZyJsyvEYFC3MxW3tv7f+rRndCpUlhClMOxPZmHe2c /WL1BCjz/4tm08x4A2V2TYxMn2ks0wvpnYtPSz0iPlxhsUSRvWuL0oTKw7eN5pkr9nQU qnG6BmJlIVzSsxudDuolfJujxy85NF2ld0bJp/QxbbDcJVgUZ0PZLN1T+O/JpngMzOfM xhgXlaC1nKRXr96jlSSmooLMT/g303Pf+02KMDbsY3kH++9U998d3RlqWqanqS+iuOFI U3mQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=C+K5ELdx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-86717-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86717-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id n9-20020ac85a09000000b0042e6ef7d459si1388776qta.6.2024.02.29.04.56.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 04:56:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-86717-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=C+K5ELdx; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-86717-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-86717-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id DC9821C2123E for ; Thu, 29 Feb 2024 12:56:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A21A17E10A; Thu, 29 Feb 2024 12:56:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="C+K5ELdx" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A149D62808; Thu, 29 Feb 2024 12:56:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709211394; cv=none; b=aPys5y0JIwsr6uyN2EJtcXjDnIYAy4PDBw1Vst1q16WTzlUrhiaABHux6EIIHnPP8//dpK8EQ/KxIomjLjYfgiEQau+5+yEtac5LF2L39z1LA00oQjntVjrACgQY8Dxte0xDLQJBUMWdgVG31ZAw1ThY0vq+62TDHduyVeR0Pz8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709211394; c=relaxed/simple; bh=FH+JdudMBgehU68hfBDKn6/fbrAreS/wl1YC0HPz/Tg=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lHG9k/8XBiemfEHwn7EUgFgZxLw9pc1+9bX8jKDCObuWlu0vpEPAAA3ZjMqBMkSigOZM8VKT222kizpjh/88V23wZtUHPLs1KwfhojR/HHnj19Xup87EdmcUHFaGycz6VF/SgnFpV9yeUKnkamQIuDgoON2p7Cq3wz8UZrqAxEw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=C+K5ELdx; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4621EC433F1; Thu, 29 Feb 2024 12:56:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1709211393; bh=FH+JdudMBgehU68hfBDKn6/fbrAreS/wl1YC0HPz/Tg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=C+K5ELdxqti6l+X3XyprWkioDJDWESK1Q8aUt7ODmuCvs+B1SkleCGS2eEqKuvXhc QexaZ6oN8rwRdtzMCWk5hwhKaAp7YhoymoN8DvRIanJgaj90GMn1Ca3MbwYy2CygBW odHLaxPs6AoXzDLZTk8XNgsv5e9HzgUV6/jt7F0kU0NSKDa7TcHHUS2XzwcsPssFbY yyTfzN2vjbzjAV/RY4utg2ANfWB2XcDg7jBIBgwr3ZVoXrfOvihwUylOGhb0xI4tIh joL7P9t4siWvMU3aFWlo9KSxQEMDCpcIs+vCy7QH9HFbq0VPuv2Gx4sqzIN8C8ym1q +gtgrcmRWnWFw== Date: Thu, 29 Feb 2024 13:56:23 +0100 From: Niklas Cassel To: Manivannan Sadhasivam Cc: Jingoo Han , Gustavo Pimentel , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Marek Vasut , Yoshihiro Shimoda , Thierry Reding , Jonathan Hunter , Kishon Vijay Abraham I , Vidya Sagar , Vignesh Raghavendra , Richard Zhu , Lucas Stach , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Minghuan Lian , Mingkai Hu , Roy Zang , Kunihiko Hayashi , Masami Hiramatsu , Kishon Vijay Abraham I , linux-pci@vger.kernel.org, linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-tegra@vger.kernel.org, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH v8 10/10] PCI: dwc: ep: Add Kernel-doc comments for APIs Message-ID: References: <20240224-pci-dbi-rework-v8-0-64c7fd0cfe64@linaro.org> <20240224-pci-dbi-rework-v8-10-64c7fd0cfe64@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240224-pci-dbi-rework-v8-10-64c7fd0cfe64@linaro.org> Hello Mani, On Sat, Feb 24, 2024 at 12:24:16PM +0530, Manivannan Sadhasivam wrote: > All of the APIs are missing the Kernel-doc comments. Hence, add them. > > Signed-off-by: Manivannan Sadhasivam > --- > drivers/pci/controller/dwc/pcie-designware-ep.c | 92 +++++++++++++++++++++++++ > 1 file changed, 92 insertions(+) > > diff --git a/drivers/pci/controller/dwc/pcie-designware-ep.c b/drivers/pci/controller/dwc/pcie-designware-ep.c > index fed4c2936c78..cdcb33a279db 100644 > --- a/drivers/pci/controller/dwc/pcie-designware-ep.c > +++ b/drivers/pci/controller/dwc/pcie-designware-ep.c (snip) > @@ -556,6 +606,12 @@ int dw_pcie_ep_raise_msix_irq(struct dw_pcie_ep *ep, u8 func_no, > return 0; > } > > +/** > + * dw_pcie_ep_cleanup - Cleanup DWC EP resources > + * @ep: DWC EP device > + * > + * Cleans up the DWC EP specific resources like eDMA etc... I think that you should mention that this is only for glue drivers that use PERST# handling, so that other glue drivers do no start using it :) > + */ > void dw_pcie_ep_cleanup(struct dw_pcie_ep *ep) > { > struct dw_pcie *pci = to_dw_pcie_from_ep(ep); > @@ -564,6 +620,13 @@ void dw_pcie_ep_cleanup(struct dw_pcie_ep *ep) > } > EXPORT_SYMBOL_GPL(dw_pcie_ep_cleanup); Kind regards, Niklas