Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3703569rdg; Wed, 18 Oct 2023 03:44:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEd909doC/dkuo87PSRKgzGNfbE1f6Xgo3purzB0+dKQZg95smPob0KUHoYgoygAp0bvc9X X-Received: by 2002:a17:902:fa8f:b0:1c1:ed61:e058 with SMTP id lc15-20020a170902fa8f00b001c1ed61e058mr3821145plb.16.1697625890072; Wed, 18 Oct 2023 03:44:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697625890; cv=none; d=google.com; s=arc-20160816; b=xCnzXPg2RXEc0zWV6cUo6EEfncKZcQnVKbWDP3c8+1sKtbnOmwlUZAl745Z+cqnQxY OdNnR82EqgO56iLY146JhXFzimU3jdHNuK7kAtKL7G0taaQIwGnuX+KQoR6qKAg8d4dR SP134XmFB5hUbvQOE1W5kOT0NTYcGLWgZkM8GQgiPClyfJb3SOk8LZ5NLMEbH4iqPUqA wGUcfSpuILq54WwwIwtiAcmbMsoRB83f0Y/tcJN84n15AW84z4NuD/AGa3hBndtp0VB9 WnPQpmgo/wo6is50OooPeRt1zal7iAyY2sUyYb3+eSMjs/8YfBniVQSeAsaTrHCi5uhB va9Q== 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=FPBWxuzv2WXbrxLttw9BkNYSU/rxQR5NKa/Y1BUbBKc=; fh=UwJF0cmN4EbbbJQYNeQBi16R6caNIm1BUmE7y7GO72w=; b=TWXEwCtxGVKMCF4CS4vp0wYz4Pde07Ewu5JJcmi2yjhkitKiROt2u1GUvfRVEP035R optoM/I9thXNRkrZ95Ex/F+k+bRoOXY/uzR3OLYKn/w2TAqScTn4VJ/dm+2llX1adVSu AgLuVNCu6DdipGGBrCuySRT9vUezM0lE1Mxy+clNzzy0s1EXAvQbYWJWMnIgK5SnPYHj 5iv4t7lp1QPIoarEK3o5KxQqf+ORCkVu3vs546g6dsxdowtxnFgC6crkrirCqmCDCjc8 7FJUaQPYYSctSXmgHqMP3iif9R74cV0UFBxCQkVra5H9qYYd1AOGar6gOLjqvmCC0AT3 AC9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dWBRyB5n; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id g15-20020a1709029f8f00b001c58401354dsi3610499plq.565.2023.10.18.03.44.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 03:44:50 -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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=dWBRyB5n; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 9CD308134CCF; Wed, 18 Oct 2023 03:44: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 S230107AbjJRKop (ORCPT + 99 others); Wed, 18 Oct 2023 06:44:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53858 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229702AbjJRKoo (ORCPT ); Wed, 18 Oct 2023 06:44:44 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12DAF95; Wed, 18 Oct 2023 03:44:43 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1339AC433C7; Wed, 18 Oct 2023 10:44:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1697625882; bh=MrTK79/mTtkPsdNqTof1n8hGRWKIcGd5IaaQwpyhY5s=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dWBRyB5nEJdsH7WRVACs3XHgN9tZXlpQ8iX/b+M6P6h2ESY0ZGPxue7d/e2Je5JDt JdCnlZ9HZff6l0DiIBuNrG2Tmy+0yvReDwAMNabr7PfJjSDK+pJ0BkuIjRrWisuCqr W930v4P8Km6uCROL3j0kCMk7Uj1+4UmLJM30B88B1NtYdtjbKYra5wZVSyWOLaP2U3 ygo9crimkgnhxmDLA0BWU6qJ+ZVD3A4JZCwkUYLT4lke0zY63y/+JMYzw2+jboCK/Z msFBM6wMzDb0veQxnjyhWvNgq6krJG319WKX7+G7+EqQqb6pM00hWpuDSHapoggcgf ktoGKsMSRQicA== Date: Wed, 18 Oct 2023 11:44:36 +0100 From: Conor Dooley To: Minda Chen Cc: Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , Lorenzo Pieralisi , Daire McNamara , Emil Renner Berthing , Krzysztof Kozlowski , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org, linux-pci@vger.kernel.org, Paul Walmsley , Palmer Dabbelt , Albert Ou , Philipp Zabel , Mason Huo , Leyfoon Tan , Kevin Xie Subject: Re: [PATCH v8 10/22] PCI: plda: Add PLDA default event IRQ handler Message-ID: <20231018-escapable-chef-16572cda2c12@spud> References: <20231011110514.107528-1-minda.chen@starfivetech.com> <20231011110514.107528-11-minda.chen@starfivetech.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gY7CaywkTFmQBGav" Content-Disposition: inline In-Reply-To: <20231011110514.107528-11-minda.chen@starfivetech.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,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:44:48 -0700 (PDT) --gY7CaywkTFmQBGav Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > 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. > 2 files changed, 6 insertions(+) >=20 > diff --git a/drivers/pci/controller/plda/pcie-plda-host.c b/drivers/pci/c= ontroller/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 @@ > =20 > #include "pcie-plda.h" > =20 > +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/contro= ller/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; > }; > =20 > +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); > --=20 > 2.17.1 >=20 --gY7CaywkTFmQBGav Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYIAB0WIQRh246EGq/8RLhDjO14tDGHoIJi0gUCZS+3FAAKCRB4tDGHoIJi 0vb7AP9nFUDtvAzaFKpMFC/m7TmzmFieDmyGWwa1MjYRXStwdQD/RP4kJVrFslIu MHfRBfYYHJfQSw1mv58WlZvXxSZw6A8= =+g7C -----END PGP SIGNATURE----- --gY7CaywkTFmQBGav--