linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Add MSI-X support for cadence EP driver
@ 2018-07-30 17:21 Alan Douglas
  2018-08-08 16:38 ` Lorenzo Pieralisi
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Douglas @ 2018-07-30 17:21 UTC (permalink / raw)
  To: bhelgaas
  Cc: kishon, lorenzo.pieralisi, linux-pci, gustavo.pimentel,
	cyrille.pitchen, stelford, Alan Douglas

Patch series made against Bjorn Helgaas's pci next branch.
It relies on Gustavo Pimentel's patch series adding MSI-X
support in the PCIe EP driver framework, and implements
MSI-X support for the cadence endpoint driver.
 - Use AXI region 0 for interrupt signalling
 - Write MSI and MSI-X with 32bit value rather than 16bit
 - Check for masking before sending MSI or MSI-X
 - Check link is up before sending IRQ
 - Use BAR5 for MSI-X vectors

Alan Douglas (5):
  PCI: cadence: Use AXI region 0 to signal interrupts from EP
  PCI: cadence: Write MSI data with 32bits
  PCI: cadence: Check whether MSI is masked before sending it
  PCI: cadence: Check link is up before sending IRQ from EP
  PCI: cadence: Add MSI-X capability to EP driver

 drivers/pci/controller/pcie-cadence-ep.c |  129 ++++++++++++++++++++++++++++--
 drivers/pci/controller/pcie-cadence.h    |    1 +
 2 files changed, 124 insertions(+), 6 deletions(-)

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/5] Add MSI-X support for cadence EP driver
  2018-07-30 17:21 [PATCH 0/5] Add MSI-X support for cadence EP driver Alan Douglas
@ 2018-08-08 16:38 ` Lorenzo Pieralisi
  2018-08-09 11:59   ` Alan Douglas
  0 siblings, 1 reply; 3+ messages in thread
From: Lorenzo Pieralisi @ 2018-08-08 16:38 UTC (permalink / raw)
  To: Alan Douglas
  Cc: bhelgaas, kishon, linux-pci, gustavo.pimentel, cyrille.pitchen, stelford

Hi Alan,

On Mon, Jul 30, 2018 at 06:21:00PM +0100, Alan Douglas wrote:
> Patch series made against Bjorn Helgaas's pci next branch.

Always rebase patches on a fixed -rc (ie Bjorn and I are using
v4.18-rc1) and mention the dependency rather than rebasing the
series on pci-next please.

> It relies on Gustavo Pimentel's patch series adding MSI-X
> support in the PCIe EP driver framework, and implements
> MSI-X support for the cadence endpoint driver.
>  - Use AXI region 0 for interrupt signalling
>  - Write MSI and MSI-X with 32bit value rather than 16bit
>  - Check for masking before sending MSI or MSI-X
>  - Check link is up before sending IRQ

These first four are fixes or changes required before enabling
the last patch in the series ?

Reworded: does the current driver work without the first 4
patches applied ?

If they are fixes please mark them as such in the commit log.

Thanks,
Lorenzo

>  - Use BAR5 for MSI-X vectors
> 
> Alan Douglas (5):
>   PCI: cadence: Use AXI region 0 to signal interrupts from EP
>   PCI: cadence: Write MSI data with 32bits
>   PCI: cadence: Check whether MSI is masked before sending it
>   PCI: cadence: Check link is up before sending IRQ from EP
>   PCI: cadence: Add MSI-X capability to EP driver
> 
>  drivers/pci/controller/pcie-cadence-ep.c |  129 ++++++++++++++++++++++++++++--
>  drivers/pci/controller/pcie-cadence.h    |    1 +
>  2 files changed, 124 insertions(+), 6 deletions(-)
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: [PATCH 0/5] Add MSI-X support for cadence EP driver
  2018-08-08 16:38 ` Lorenzo Pieralisi
@ 2018-08-09 11:59   ` Alan Douglas
  0 siblings, 0 replies; 3+ messages in thread
From: Alan Douglas @ 2018-08-09 11:59 UTC (permalink / raw)
  To: Lorenzo Pieralisi
  Cc: bhelgaas, kishon, linux-pci, gustavo.pimentel, cyrille.pitchen,
	Scott Telford

T24gIDA4IEF1Z3VzdCAyMDE4IDE3OjM4LCBMb3JlbnpvIFBpZXJhbGlzaSB3cm90ZToNCj4gT24g
TW9uLCBKdWwgMzAsIDIwMTggYXQgMDY6MjE6MDBQTSArMDEwMCwgQWxhbiBEb3VnbGFzIHdyb3Rl
Og0KPiA+IFBhdGNoIHNlcmllcyBtYWRlIGFnYWluc3QgQmpvcm4gSGVsZ2FhcydzIHBjaSBuZXh0
IGJyYW5jaC4NCj4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0KPiBJZiB0aGV5
IGFyZSBmaXhlcyBwbGVhc2UgbWFyayB0aGVtIGFzIHN1Y2ggaW4gdGhlIGNvbW1pdCBsb2cuDQo+
IA0KVGhlc2UgYXJlIGZpeGVzLCB3aWxsIG1hcmsgdGhlbSBhcyBzdWNoIGluIHRoZSBsb2csIGFu
ZCB3aWxsDQpzcGxpdCBwYXRjaGVzIHN1Y2ggdGhhdCB0aGV5IGNhbiBiZSBhcHBsaWVkIHdpdGhv
dXQgYWRkaW5nDQpNU0ktWCBzdXBwb3J0Lg0KDQpUaGFua3MgZm9yIHlvdXIgY29tbWVudHMsDQpB
bGFuDQo=

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-08-09 14:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-30 17:21 [PATCH 0/5] Add MSI-X support for cadence EP driver Alan Douglas
2018-08-08 16:38 ` Lorenzo Pieralisi
2018-08-09 11:59   ` Alan Douglas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).