Re: [PATCH v5 2/6] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-08-07 Thread Kunihiko Hayashi
On 2020/07/15 19:04, Kunihiko Hayashi wrote: Hi Lorenzo, On 2020/07/14 22:27, Lorenzo Pieralisi wrote: On Thu, Jun 18, 2020 at 05:38:09PM +0900, Kunihiko Hayashi wrote: The misc interrupts consisting of PME, AER, and Link event, is handled by INTx handler, however, these interrupts should be

Re: [PATCH v5 2/6] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-07-15 Thread Kunihiko Hayashi
Hi Lorenzo, On 2020/07/14 22:27, Lorenzo Pieralisi wrote: On Thu, Jun 18, 2020 at 05:38:09PM +0900, Kunihiko Hayashi wrote: The misc interrupts consisting of PME, AER, and Link event, is handled by INTx handler, however, these interrupts should be also handled by MSI handler. Define what you

Re: [PATCH v5 2/6] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-07-14 Thread Lorenzo Pieralisi
On Thu, Jun 18, 2020 at 05:38:09PM +0900, Kunihiko Hayashi wrote: > The misc interrupts consisting of PME, AER, and Link event, is handled > by INTx handler, however, these interrupts should be also handled by > MSI handler. Define what you mean please. > This adds the function

Re: [PATCH v5 2/6] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-07-14 Thread Kunihiko Hayashi
Hi Lorenzo, On 2020/07/11 1:14, Lorenzo Pieralisi wrote: On Wed, Jul 01, 2020 at 11:18:29AM +0900, Kunihiko Hayashi wrote: [...]   -static void uniphier_pcie_irq_handler(struct irq_desc *desc) +static void uniphier_pcie_misc_isr(struct pcie_port *pp, bool is_msi)   { -    struct pcie_port

Re: [PATCH v5 2/6] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-07-10 Thread Lorenzo Pieralisi
On Wed, Jul 01, 2020 at 11:18:29AM +0900, Kunihiko Hayashi wrote: [...] > > > > >   -static void uniphier_pcie_irq_handler(struct irq_desc *desc) > > > > > +static void uniphier_pcie_misc_isr(struct pcie_port *pp, bool is_msi) > > > > >   { > > > > > -    struct pcie_port *pp =

Re: [PATCH v5 2/6] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-06-30 Thread Kunihiko Hayashi
Hi Marc, On 2020/06/30 22:23, Marc Zyngier wrote: On 2020-06-29 10:49, Kunihiko Hayashi wrote: Hi Marc, On 2020/06/27 18:48, Marc Zyngier wrote: On Thu, 18 Jun 2020 09:38:09 +0100, Kunihiko Hayashi wrote: The misc interrupts consisting of PME, AER, and Link event, is handled by INTx

Re: [PATCH v5 2/6] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-06-30 Thread Marc Zyngier
On 2020-06-29 10:49, Kunihiko Hayashi wrote: Hi Marc, On 2020/06/27 18:48, Marc Zyngier wrote: On Thu, 18 Jun 2020 09:38:09 +0100, Kunihiko Hayashi wrote: The misc interrupts consisting of PME, AER, and Link event, is handled by INTx handler, however, these interrupts should be also

Re: [PATCH v5 2/6] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-06-29 Thread Kunihiko Hayashi
Hi Marc, On 2020/06/27 18:48, Marc Zyngier wrote: On Thu, 18 Jun 2020 09:38:09 +0100, Kunihiko Hayashi wrote: The misc interrupts consisting of PME, AER, and Link event, is handled by INTx handler, however, these interrupts should be also handled by MSI handler. This adds the function

Re: [PATCH v5 2/6] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-06-27 Thread Marc Zyngier
On Thu, 18 Jun 2020 09:38:09 +0100, Kunihiko Hayashi wrote: > > The misc interrupts consisting of PME, AER, and Link event, is handled > by INTx handler, however, these interrupts should be also handled by > MSI handler. > > This adds the function uniphier_pcie_misc_isr() that handles misc >

[PATCH v5 2/6] PCI: uniphier: Add misc interrupt handler to invoke PME and AER

2020-06-18 Thread Kunihiko Hayashi
The misc interrupts consisting of PME, AER, and Link event, is handled by INTx handler, however, these interrupts should be also handled by MSI handler. This adds the function uniphier_pcie_misc_isr() that handles misc interrupts, which is called from both INTx and MSI handlers. This function