All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v4 0/2] Tango PCIe controller support
@ 2017-04-20 14:24 ` Marc Gonzalez
  0 siblings, 0 replies; 78+ messages in thread
From: Marc Gonzalez @ 2017-04-20 14:24 UTC (permalink / raw)
  To: Bjorn Helgaas, Marc Zyngier, Thomas Gleixner
  Cc: Robin Murphy, Lorenzo Pieralisi, Liviu Dudau, David Laight,
	linux-pci, Linux ARM, Thibaud Cornic, Phuong Nguyen, LKML, Mason

Hello,

This patch was split in two, to ease review of two orthogonal
parts (MSI controller and host bridge). NB: the patch is
just split in two where host bridge support starts.

Changes from v3 to v4

In the MSI part:
- Support 256 MSIs instead of only 32
- Define tango_{ack,mask,unmask} callbacks for the HW irq_chip
- Use a spinlock instead of a mutex
- Rename msi_mask register to msi_enable

In the host bridge part:
- Move several quirk-handling snippets out of the config space read function
- Check whether the PCIe link is up at probe-time

Other files
- Let the framework compute the bus-range from the config space width
- Be slightly more verbose in the Kconfig help


What has *not* changed, waiting from feedback from Bjorn:

- Pray that config and mem space accesses NEVER occur concurrently.
- Using of_device_is_compatible() vs of_device_get_match_data()


Marc Gonzalez (2):
  PCI: Add tango MSI controller support
  PCI: Add tango PCIe host bridge support

 Documentation/devicetree/bindings/pci/tango-pcie.txt |  32 ++++
 drivers/pci/host/Kconfig                             |   8 +
 drivers/pci/host/Makefile                            |   1 +
 drivers/pci/host/pcie-tango.c                        | 393 +++++++++++++++++++++++++++++++++++++++
 include/linux/pci_ids.h                              |   2 +
 5 files changed, 436 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/pci/tango-pcie.txt
 create mode 100644 drivers/pci/host/pcie-tango.c

-- 
2.11.0

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

end of thread, other threads:[~2017-05-31 21:56 UTC | newest]

Thread overview: 78+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-20 14:24 [PATCH v4 0/2] Tango PCIe controller support Marc Gonzalez
2017-04-20 14:24 ` Marc Gonzalez
2017-04-20 14:28 ` [PATCH v4 1/2] PCI: Add tango MSI " Marc Gonzalez
2017-04-20 14:28   ` Marc Gonzalez
2017-05-17 14:56   ` Marc Gonzalez
2017-05-17 14:56     ` Marc Gonzalez
2017-05-17 14:56     ` Marc Gonzalez
2017-05-23 17:03     ` Bjorn Helgaas
2017-05-23 17:03       ` Bjorn Helgaas
2017-05-23 17:03       ` Bjorn Helgaas
2017-05-23 17:54       ` Mason
2017-05-23 17:54         ` Mason
2017-05-23 18:03         ` Robin Murphy
2017-05-23 18:03           ` Robin Murphy
2017-05-23 19:15           ` Mason
2017-05-23 19:15             ` Mason
2017-05-24 10:00             ` Robin Murphy
2017-05-24 10:00               ` Robin Murphy
2017-05-24 10:22               ` Marc Zyngier
2017-05-24 10:22                 ` Marc Zyngier
2017-05-31 14:18                 ` Mason
2017-05-31 14:18                   ` Mason
2017-05-31 17:34                   ` Bjorn Helgaas
2017-05-31 17:34                     ` Bjorn Helgaas
2017-05-31 17:34                     ` Bjorn Helgaas
2017-05-31 18:49                     ` Mason
2017-05-31 18:49                       ` Mason
2017-05-31 19:00                       ` Bjorn Helgaas
2017-05-31 19:00                         ` Bjorn Helgaas
2017-05-31 19:00                         ` Bjorn Helgaas
2017-05-31 19:12                         ` Bjorn Helgaas
2017-05-31 19:12                           ` Bjorn Helgaas
2017-05-31 19:12                           ` Bjorn Helgaas
2017-05-31 19:27                           ` Mason
2017-05-31 19:27                             ` Mason
2017-05-31 20:04                             ` Bjorn Helgaas
2017-05-31 20:04                               ` Bjorn Helgaas
2017-05-31 20:04                               ` Bjorn Helgaas
2017-05-31 21:55                               ` Mason
2017-05-31 21:55                                 ` Mason
2017-05-25  8:37   ` Marc Zyngier
2017-05-25  8:37     ` Marc Zyngier
2017-05-31  7:32     ` Marc Gonzalez
2017-05-31  7:32       ` Marc Gonzalez
2017-05-31  7:32       ` Marc Gonzalez
2017-04-20 14:31 ` [PATCH v4 2/2] PCI: Add tango PCIe host bridge support Marc Gonzalez
2017-04-20 14:31   ` Marc Gonzalez
2017-05-23 17:24   ` Bjorn Helgaas
2017-05-23 17:24     ` Bjorn Helgaas
2017-05-23 17:24     ` Bjorn Helgaas
2017-05-23 17:43     ` Mason
2017-05-23 17:43       ` Mason
2017-05-23 18:35       ` Bjorn Helgaas
2017-05-23 18:35         ` Bjorn Helgaas
2017-05-23 18:35         ` Bjorn Helgaas
2017-05-23 19:29         ` Mason
2017-05-23 19:29           ` Mason
2017-05-25  8:48   ` Marc Zyngier
2017-05-25  8:48     ` Marc Zyngier
2017-05-25 12:00     ` Mason
2017-05-25 12:00       ` Mason
2017-05-25 12:23       ` Marc Zyngier
2017-05-25 12:23         ` Marc Zyngier
2017-05-25 12:41         ` Mason
2017-05-25 12:41           ` Mason
2017-05-25 13:20           ` Marc Zyngier
2017-05-25 13:20             ` Marc Zyngier
2017-05-15  8:16 ` [PATCH v4 0/2] Tango PCIe controller support Marc Gonzalez
2017-05-15  8:16   ` Marc Gonzalez
2017-05-15  8:16   ` Marc Gonzalez
2017-05-23 17:17 ` Bjorn Helgaas
2017-05-23 17:17   ` Bjorn Helgaas
2017-05-23 17:17   ` Bjorn Helgaas
2017-05-23 18:07   ` Mason
2017-05-23 18:07     ` Mason
2017-05-23 18:30     ` Bjorn Helgaas
2017-05-23 18:30       ` Bjorn Helgaas
2017-05-23 18:30       ` Bjorn Helgaas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.