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 <m...@kernel.org>
> Cc: Jingoo Han <jingooh...@gmail.com>
> Cc: Gustavo Pimentel <gustavo.pimen...@synopsys.com>
> Cc: Lorenzo Pieralisi <lorenzo.pieral...@arm.com>
> Signed-off-by: Kunihiko Hayashi <hayashi.kunih...@socionext.com>
> ---
>  drivers/pci/controller/dwc/pcie-uniphier.c | 77 
> +++++++++++++++++++++++++-----
>  1 file changed, 66 insertions(+), 11 deletions(-)
> 

Reviewed-by: Rob Herring <r...@kernel.org>

Reply via email to