[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201007164555.GA359326@bogus>
Date: Wed, 7 Oct 2020 11:45:55 -0500
From: Rob Herring <robh@...nel.org>
To: Kunihiko Hayashi <hayashi.kunihiko@...ionext.com>
Cc: Gustavo Pimentel <gustavo.pimentel@...opsys.com>,
Jassi Brar <jaswinder.singh@...aro.org>,
Lorenzo Pieralisi <lorenzo.pieralisi@....com>,
linux-kernel@...r.kernel.org, Bjorn Helgaas <bhelgaas@...gle.com>,
linux-arm-kernel@...ts.infradead.org,
Marc Zyngier <maz@...nel.org>, linux-pci@...r.kernel.org,
Jingoo Han <jingoohan1@...il.com>,
Masami Hiramatsu <masami.hiramatsu@...aro.org>
Subject: Re: [PATCH v7 3/3] PCI: uniphier: Add misc interrupt handler to
invoke PME and AER
On Fri, 11 Sep 2020 18:33:34 +0900, Kunihiko Hayashi wrote:
> This patch adds misc interrupt handler to detect and invoke PME/AER event.
>
> In UniPhier PCIe controller, PME/AER signals are assigned to the same
> signal as MSI by the internal logic. These signals should be detected by
> the internal register, however, DWC MSI handler can't handle these signals.
>
> DWC MSI handler calls .msi_host_isr() callback function, that detects
> PME/AER signals with the internal register and invokes the interrupt
> with PME/AER vIRQ numbers.
>
> These vIRQ numbers is obtained from portdrv in uniphier_add_pcie_port()
> function.
>
> Cc: Marc Zyngier <maz@...nel.org>
> Cc: Jingoo Han <jingoohan1@...il.com>
> Cc: Gustavo Pimentel <gustavo.pimentel@...opsys.com>
> Cc: Lorenzo Pieralisi <lorenzo.pieralisi@....com>
> Signed-off-by: Kunihiko Hayashi <hayashi.kunihiko@...ionext.com>
> ---
> drivers/pci/controller/dwc/pcie-uniphier.c | 77 +++++++++++++++++++++++++-----
> 1 file changed, 66 insertions(+), 11 deletions(-)
>
Reviewed-by: Rob Herring <robh@...nel.org>
Powered by blists - more mailing lists