Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3706491rdg; Wed, 18 Oct 2023 03:51:27 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG/2EQ1tXW8ESli+HkDJj/Ig0m1uwrhUUN5Hl34cN1t7M3rNR+2ui9d7F8n09jRAz6CCxPm X-Received: by 2002:a17:90b:4fcd:b0:27d:198:fcc2 with SMTP id qa13-20020a17090b4fcd00b0027d0198fcc2mr4342207pjb.33.1697626287457; Wed, 18 Oct 2023 03:51:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697626287; cv=none; d=google.com; s=arc-20160816; b=Zmq680KoC8WKUiYTpSazt4hE2U20lN31ynWszBNnwPGLIhldTrfw4ef5fOrJVJRW43 L6dc1NxNTddKSTIzMcIDch8RxnF+ET6+8NiqgqYDoqHtMxlmMPpe93oN5FOxvGxgFlsh BIhZFxDZCU4kjXafqVs+m/0nfJDuwI6G5tZSlhYTSUouKvA74cLE5EYv78PqQU9IZavN sA0gVI53Caty1h3qNYIFitOL791oxDlxuGfo8krXRf2126GVocHBOKPH7+thp9yd1PVp F9OSgGbYyAXDqFl2VLa19hxliCjYa1Wpn7F3fc31B3Svk4isepSwAVcNA3XyLxlREqIX SFgg== 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 :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=2+0e6XfERdm6vOUvH1x05wmZcK6kvU9qWGCdgYO1Iec=; fh=DQuCX7JsgkC5aftTtk2+5Jq/iyvcEVd4XbCyiXLxSNM=; b=M+s51oJ0PQvB5k/9iEPxvu8ymRw9GGBHE/fvTaUZgV0ZPnaWxxdAJrmEjf3scuED/F l8rsHdDxeBVZJO/uKnZ2ezUqQ/kAvheSzKmfOqfNUJAeH3TkPoaDaFJdHZ+gAtLUasSQ xcsBOqsCaceha/hq07qWGSjwqT/RRqrced8Mk0LW0U9H1hPrJXp7jJXmz9GVPOPciivN 9/h3Lp9/bWMZd7DA5gBCzcqO4DkppwJ8x56BTeDQ2G9Hgt5/pAV+fWJMuCo2Bw5mHY72 lOiYL7n6wfyUHra52rPqBsRc/akmaxIHP7jwL/cz/rZaKe+bSvPNl2h3FcGqsCg2MoU3 8FBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id p17-20020a17090ad31100b002792c288cb7si1246915pju.131.2023.10.18.03.51.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 03:51:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id ED036808E3C3; Wed, 18 Oct 2023 03:50:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229605AbjJRKup (ORCPT + 99 others); Wed, 18 Oct 2023 06:50:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39252 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229702AbjJRKun (ORCPT ); Wed, 18 Oct 2023 06:50:43 -0400 Received: from fd01.gateway.ufhost.com (fd01.gateway.ufhost.com [61.152.239.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EC74FF; Wed, 18 Oct 2023 03:50:38 -0700 (PDT) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by fd01.gateway.ufhost.com (Postfix) with ESMTP id E2B6F8068; Wed, 18 Oct 2023 18:50:31 +0800 (CST) Received: from EXMBX171.cuchost.com (172.16.6.91) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 18 Oct 2023 18:50:32 +0800 Received: from [192.168.125.85] (183.27.98.194) by EXMBX171.cuchost.com (172.16.6.91) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 18 Oct 2023 18:50:30 +0800 Message-ID: <8dfdc8a5-339a-43e8-8d82-0597a6187336@starfivetech.com> Date: Wed, 18 Oct 2023 18:50:30 +0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v8 10/22] PCI: plda: Add PLDA default event IRQ handler Content-Language: en-US To: Conor Dooley CC: =?UTF-8?Q?Krzysztof_Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Lorenzo Pieralisi , Daire McNamara , "Emil Renner Berthing" , Krzysztof Kozlowski , , , , , Paul Walmsley , "Palmer Dabbelt" , Albert Ou , "Philipp Zabel" , Mason Huo , Leyfoon Tan , Kevin Xie References: <20231011110514.107528-1-minda.chen@starfivetech.com> <20231011110514.107528-11-minda.chen@starfivetech.com> <20231018-escapable-chef-16572cda2c12@spud> From: Minda Chen In-Reply-To: <20231018-escapable-chef-16572cda2c12@spud> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [183.27.98.194] X-ClientProxiedBy: EXCAS062.cuchost.com (172.16.6.22) To EXMBX171.cuchost.com (172.16.6.91) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Wed, 18 Oct 2023 03:50:49 -0700 (PDT) On 2023/10/18 18:44, Conor Dooley wrote: > On Wed, Oct 11, 2023 at 07:05:02PM +0800, Minda Chen wrote: >> Add PLDA default event IRQ handler. >> This is first patch of refactoring IRQ handling codes. >> The handler function will be referenced by later patch. >> >> Signed-off-by: Minda Chen >> --- >> drivers/pci/controller/plda/pcie-plda-host.c | 5 +++++ >> drivers/pci/controller/plda/pcie-plda.h | 1 + > > Dunno what hte PCI maintainers take is on this kind of thing, but this > patch adds dead code, as there is no user for it until the follow-on > patch you mention. Did someone ask you to split this out? > > Cheers, > Conor. > No one. Previous this patch contain other codes. I modify this incorrect. I will squash this with other patch. Thanks. >> 2 files changed, 6 insertions(+) >> >> diff --git a/drivers/pci/controller/plda/pcie-plda-host.c b/drivers/pci/controller/plda/pcie-plda-host.c >> index 19131181897f..21ca6b460f5e 100644 >> --- a/drivers/pci/controller/plda/pcie-plda-host.c >> +++ b/drivers/pci/controller/plda/pcie-plda-host.c >> @@ -18,6 +18,11 @@ >> >> #include "pcie-plda.h" >> >> +irqreturn_t plda_event_handler(int irq, void *dev_id) >> +{ >> + return IRQ_HANDLED; >> +} >> + >> void plda_pcie_setup_window(void __iomem *bridge_base_addr, u32 index, >> phys_addr_t axi_addr, phys_addr_t pci_addr, >> size_t size) >> diff --git a/drivers/pci/controller/plda/pcie-plda.h b/drivers/pci/controller/plda/pcie-plda.h >> index 3deefd35fa5a..7ff7ff44c980 100644 >> --- a/drivers/pci/controller/plda/pcie-plda.h >> +++ b/drivers/pci/controller/plda/pcie-plda.h >> @@ -120,6 +120,7 @@ struct plda_pcie_rp { >> void __iomem *bridge_addr; >> }; >> >> +irqreturn_t plda_event_handler(int irq, void *dev_id); >> void plda_pcie_setup_window(void __iomem *bridge_base_addr, u32 index, >> phys_addr_t axi_addr, phys_addr_t pci_addr, >> size_t size); >> -- >> 2.17.1 >>