From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7F49DC433B4 for ; Wed, 14 Apr 2021 08:21:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5F49461003 for ; Wed, 14 Apr 2021 08:21:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349913AbhDNIWR (ORCPT ); Wed, 14 Apr 2021 04:22:17 -0400 Received: from mx.socionext.com ([202.248.49.38]:53655 "EHLO mx.socionext.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348780AbhDNIWQ (ORCPT ); Wed, 14 Apr 2021 04:22:16 -0400 Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 14 Apr 2021 17:21:54 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 52740205902A; Wed, 14 Apr 2021 17:21:54 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Wed, 14 Apr 2021 17:21:54 +0900 Received: from yuzu2.css.socionext.com (yuzu2 [172.31.9.57]) by iyokan2.css.socionext.com (Postfix) with ESMTP id 24EDFB1D40; Wed, 14 Apr 2021 17:21:54 +0900 (JST) Received: from [10.212.23.128] (unknown [10.212.23.128]) by yuzu2.css.socionext.com (Postfix) with ESMTP id 4B646623D; Wed, 14 Apr 2021 17:21:53 +0900 (JST) Subject: Re: [PATCH v10 1/3] PCI: portdrv: Add pcie_port_service_get_irq() function To: Jonathan Cameron Cc: Bjorn Helgaas , Rob Herring , Lorenzo Pieralisi , Jingoo Han , Gustavo Pimentel , Marc Zyngier , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jassi Brar , Masami Hiramatsu References: <1617985338-19648-1-git-send-email-hayashi.kunihiko@socionext.com> <1617985338-19648-2-git-send-email-hayashi.kunihiko@socionext.com> <20210412094219.000031ca@Huawei.com> From: Kunihiko Hayashi Message-ID: <1001a75f-76fb-5a99-7af2-602aef31b01b@socionext.com> Date: Wed, 14 Apr 2021 17:21:52 +0900 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <20210412094219.000031ca@Huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Jonathan, On 2021/04/12 17:42, Jonathan Cameron wrote: > On Sat, 10 Apr 2021 01:22:16 +0900 > Kunihiko Hayashi wrote: > >> Add pcie_port_service_get_irq() that returns the virtual IRQ number >> for specified portdrv service. > > Trivial comment inline. > >> >> Cc: Lorenzo Pieralisi >> Signed-off-by: Kunihiko Hayashi >> Reviewed-by: Rob Herring >> Acked-by: Bjorn Helgaas >> --- >> drivers/pci/pcie/portdrv.h | 1 + >> drivers/pci/pcie/portdrv_core.c | 16 ++++++++++++++++ >> 2 files changed, 17 insertions(+) >> >> diff --git a/drivers/pci/pcie/portdrv.h b/drivers/pci/pcie/portdrv.h >> index 2ff5724..628a3de 100644 >> --- a/drivers/pci/pcie/portdrv.h >> +++ b/drivers/pci/pcie/portdrv.h >> @@ -144,4 +144,5 @@ static inline void pcie_pme_interrupt_enable(struct pci_dev *dev, bool en) {} >> #endif /* !CONFIG_PCIE_PME */ >> >> struct device *pcie_port_find_device(struct pci_dev *dev, u32 service); >> +int pcie_port_service_get_irq(struct pci_dev *dev, u32 service); >> #endif /* _PORTDRV_H_ */ >> diff --git a/drivers/pci/pcie/portdrv_core.c b/drivers/pci/pcie/portdrv_core.c >> index e1fed664..b60f0f3 100644 >> --- a/drivers/pci/pcie/portdrv_core.c >> +++ b/drivers/pci/pcie/portdrv_core.c >> @@ -477,7 +477,22 @@ struct device *pcie_port_find_device(struct pci_dev *dev, >> } >> EXPORT_SYMBOL_GPL(pcie_port_find_device); >> >> +/* > > /** > > this is kernel-doc style, so why not mark it as such? Thank you for pointing out. I'll apply the style to this comment. Thank you, --- Best Regards Kunihiko Hayashi From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.3 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8C8DBC433B4 for ; Wed, 14 Apr 2021 08:24:02 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 3C68B613B1 for ; Wed, 14 Apr 2021 08:24:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 3C68B613B1 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=socionext.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Type: Content-Transfer-Encoding:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date:Message-ID:From: References:Cc:To:Subject:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=kNpFGi2rtRQDSE6Wt8IiLILUJhUu6P+oB4rfTCQEJUE=; b=B3c9ksqfoEmSOfLvF2cZIhV1F 3SUS6hnU9BhyOZ/X1lIIn8Ms3HCRGNrmaAgKSLXu/Xjg0f1K86q2+cuBrdVgqtguXAtiedIA/jO6u McXcZiS7f1bRcGlO+ymtPtejC8ELQhmbr4vYHd9N5YNYLmHXJIxtRgwcrmdAe6e0KFw3OAaV2GsnR +l7NtXpQWQVOMEMXjheEmUecC9x6fBCCi24nFtS/+E/fyQ82haRkfEmuaSndMqdKQk8cbm6eg7SOR Zr1KeLqfeqn0AjjZ2uoOhewtBAmJiyfakTO6fBnWMJUNh7kNjefEjihana9LcdvZGpPsoQY3j9O2h 3I2oUMw0Q==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lWamo-00Bxbm-Jt; Wed, 14 Apr 2021 08:22:10 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lWamg-00Bxav-OJ for linux-arm-kernel@desiato.infradead.org; Wed, 14 Apr 2021 08:22:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To: Subject:Sender:Reply-To:Content-ID:Content-Description; bh=EnYHzpwxmldgMcyTqxaEHvHiIkfGIXhIVukUfFdtiag=; b=tp3MHHl2QvOMq9SKpESevwKzyR at6UW99qrr+WXpkgic3ny//T09O4GWKcWPxA9v1Fd7DYLz5LGnOqY9CC5AL5IQMrcolJeaOQqH7qF sWYunImMUwYiozeBHlMuqhCbSBjgq0hnN3CLC0kkJUWe2bdyQN/UwRFvGRuVvNT0QnrPtUn0E907T wSDVqZl0fbIYAh1X6Ve+Y8QhrkQ1iTSc++XNvWVdC7CxRIalZWS1L4zr2NdanJd7Dt1MExGMDLrU9 eKEBg6oQmLFAGvzeoeUcgVpGm8k0q/333sN1yR//f23CquZG61z099yEwc9jJkg461Z+z85iljOSp YW+jihrQ==; Received: from mx.socionext.com ([202.248.49.38]) by bombadil.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lWamd-007bjy-Tm for linux-arm-kernel@lists.infradead.org; Wed, 14 Apr 2021 08:22:01 +0000 Received: from unknown (HELO iyokan2-ex.css.socionext.com) ([172.31.9.54]) by mx.socionext.com with ESMTP; 14 Apr 2021 17:21:54 +0900 Received: from mail.mfilter.local (m-filter-2 [10.213.24.62]) by iyokan2-ex.css.socionext.com (Postfix) with ESMTP id 52740205902A; Wed, 14 Apr 2021 17:21:54 +0900 (JST) Received: from 172.31.9.53 (172.31.9.53) by m-FILTER with ESMTP; Wed, 14 Apr 2021 17:21:54 +0900 Received: from yuzu2.css.socionext.com (yuzu2 [172.31.9.57]) by iyokan2.css.socionext.com (Postfix) with ESMTP id 24EDFB1D40; Wed, 14 Apr 2021 17:21:54 +0900 (JST) Received: from [10.212.23.128] (unknown [10.212.23.128]) by yuzu2.css.socionext.com (Postfix) with ESMTP id 4B646623D; Wed, 14 Apr 2021 17:21:53 +0900 (JST) Subject: Re: [PATCH v10 1/3] PCI: portdrv: Add pcie_port_service_get_irq() function To: Jonathan Cameron Cc: Bjorn Helgaas , Rob Herring , Lorenzo Pieralisi , Jingoo Han , Gustavo Pimentel , Marc Zyngier , linux-pci@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Jassi Brar , Masami Hiramatsu References: <1617985338-19648-1-git-send-email-hayashi.kunihiko@socionext.com> <1617985338-19648-2-git-send-email-hayashi.kunihiko@socionext.com> <20210412094219.000031ca@Huawei.com> From: Kunihiko Hayashi Message-ID: <1001a75f-76fb-5a99-7af2-602aef31b01b@socionext.com> Date: Wed, 14 Apr 2021 17:21:52 +0900 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 MIME-Version: 1.0 In-Reply-To: <20210412094219.000031ca@Huawei.com> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210414_012200_105283_313F6412 X-CRM114-Status: GOOD ( 16.78 ) 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 Hi Jonathan, On 2021/04/12 17:42, Jonathan Cameron wrote: > On Sat, 10 Apr 2021 01:22:16 +0900 > Kunihiko Hayashi wrote: > >> Add pcie_port_service_get_irq() that returns the virtual IRQ number >> for specified portdrv service. > > Trivial comment inline. > >> >> Cc: Lorenzo Pieralisi >> Signed-off-by: Kunihiko Hayashi >> Reviewed-by: Rob Herring >> Acked-by: Bjorn Helgaas >> --- >> drivers/pci/pcie/portdrv.h | 1 + >> drivers/pci/pcie/portdrv_core.c | 16 ++++++++++++++++ >> 2 files changed, 17 insertions(+) >> >> diff --git a/drivers/pci/pcie/portdrv.h b/drivers/pci/pcie/portdrv.h >> index 2ff5724..628a3de 100644 >> --- a/drivers/pci/pcie/portdrv.h >> +++ b/drivers/pci/pcie/portdrv.h >> @@ -144,4 +144,5 @@ static inline void pcie_pme_interrupt_enable(struct pci_dev *dev, bool en) {} >> #endif /* !CONFIG_PCIE_PME */ >> >> struct device *pcie_port_find_device(struct pci_dev *dev, u32 service); >> +int pcie_port_service_get_irq(struct pci_dev *dev, u32 service); >> #endif /* _PORTDRV_H_ */ >> diff --git a/drivers/pci/pcie/portdrv_core.c b/drivers/pci/pcie/portdrv_core.c >> index e1fed664..b60f0f3 100644 >> --- a/drivers/pci/pcie/portdrv_core.c >> +++ b/drivers/pci/pcie/portdrv_core.c >> @@ -477,7 +477,22 @@ struct device *pcie_port_find_device(struct pci_dev *dev, >> } >> EXPORT_SYMBOL_GPL(pcie_port_find_device); >> >> +/* > > /** > > this is kernel-doc style, so why not mark it as such? Thank you for pointing out. I'll apply the style to this comment. Thank you, --- Best Regards Kunihiko Hayashi _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel