linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/9] ARM: PCI: kill pcibios_msi_controller()
@ 2015-08-04 21:53 Bjorn Helgaas
  2015-08-04 21:53 ` [PATCH v5 1/9] ARM/PCI: Replace panic with WARN messages on failures Bjorn Helgaas
                   ` (9 more replies)
  0 siblings, 10 replies; 25+ messages in thread
From: Bjorn Helgaas @ 2015-08-04 21:53 UTC (permalink / raw)
  To: Lorenzo Pieralisi
  Cc: Thomas Petazzoni, Jayachandran C, Pratyush Anand, Russell King,
	Arnd Bergmann, Gabriele Paoloni, Marc Zyngier, linux-pci,
	Duc Dang, Michal Simek, Simon Horman, James Morse, Tanmay Inamdar,
	Jingoo Han, Thierry Reding, linux-arm-kernel, Jason Cooper

The first 5 patches here are essentially the same as Lorenzo's v4 posting
at
http://lkml.kernel.org/1438169598-24490-1-git-send-email-lorenzo.pieralisi@arm.com

I added some at the end to fix what look like some X-Gene bugs to me, and
to make X-Gene use pci_scan_root_bus_msi() like the other drivers that use
msi_controller.

v4->v5 changes:
- Declare pci_scan_root_bus_msi() in drivers/pci/pci.h instead of
  include/linux/pci.h.  I like the idea, but I hope we can replace this and
  other "scan_root_bus" interfaces with a single, more-generic interface,
  so I'd rather not expose this one widely.
- Split "kill pcibios_msi_controller" into several patches.  My intent was
  to make it easier to review; I don't think I made any actual code
  changes.  I did drop Marc's ack because I fiddled with stuff enough
  that I wasn't comfortable keeping it.
- I added of_node_put() after of_parse_phandle() in MVEBU and X-Gene.
  I'm not an OF guy, so tell me if this is the wrong thing.
- I changed a couple X-Gene OF "msi-parent" things to match (I think) what
  MVEBU does.  Again, tell me if I got this wrong.
- I used pci_scan_root_bus_msi() in X-Gene to follow what Lorenzo already
  did in DesignWare and Xilinx.

---

Lorenzo Pieralisi (5):
      ARM/PCI: Replace panic with WARN messages on failures
      PCI: Add pci_scan_root_bus_msi()
      ARM/PCI, designware, xilinx: Use pci_scan_root_bus_msi()
      ARM/PCI: Remove msi_controller from struct pci_sys_data
      PCI/MSI: Remove unused pcibios_msi_controller() hook

Bjorn Helgaas (4):
      PCI: Drop references acquired by of_parse_phandle()
      PCI: xgene: Set msi_controller->dev to platform_device, not pci_bus
      PCI: xgene: Look for OF "msi-parent" in host controller, not root bus
      PCI: xgene: Use pci_scan_root_bus_msi()


 arch/arm/include/asm/mach/pci.h    |    5 -----
 arch/arm/kernel/bios32.c           |   27 +++++++++------------------
 drivers/pci/host/pci-mvebu.c       |    1 +
 drivers/pci/host/pci-xgene.c       |   26 +++++++++++++-------------
 drivers/pci/host/pcie-designware.c |    6 +++---
 drivers/pci/host/pcie-xilinx.c     |    5 ++---
 drivers/pci/msi.c                  |   17 +----------------
 drivers/pci/pci.h                  |    5 +++++
 drivers/pci/probe.c                |   14 ++++++++++++--
 9 files changed, 46 insertions(+), 60 deletions(-)

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

end of thread, other threads:[~2015-08-12 11:24 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-04 21:53 [PATCH v5 0/9] ARM: PCI: kill pcibios_msi_controller() Bjorn Helgaas
2015-08-04 21:53 ` [PATCH v5 1/9] ARM/PCI: Replace panic with WARN messages on failures Bjorn Helgaas
2015-08-06 14:46   ` Jingoo Han
2015-08-04 21:54 ` [PATCH v5 2/9] PCI: Add pci_scan_root_bus_msi() Bjorn Helgaas
2015-08-06 14:47   ` Jingoo Han
2015-08-04 21:54 ` [PATCH v5 3/9] ARM/PCI, designware, xilinx: Use pci_scan_root_bus_msi() Bjorn Helgaas
2015-08-06 14:49   ` Jingoo Han
2015-08-04 21:54 ` [PATCH v5 4/9] ARM/PCI: Remove msi_controller from struct pci_sys_data Bjorn Helgaas
2015-08-06 14:51   ` Jingoo Han
2015-08-04 21:54 ` [PATCH v5 5/9] PCI/MSI: Remove unused pcibios_msi_controller() hook Bjorn Helgaas
2015-08-04 21:54 ` [PATCH v5 6/9] PCI: Drop references acquired by of_parse_phandle() Bjorn Helgaas
2015-08-10 21:39   ` Bjorn Helgaas
2015-08-10 22:19     ` Rob Herring
2015-08-12 11:24   ` Lorenzo Pieralisi
2015-08-04 21:54 ` [PATCH v5 7/9] PCI: xgene: Set msi_controller->dev to platform_device, not pci_bus Bjorn Helgaas
2015-08-04 22:58   ` Bjorn Helgaas
2015-08-04 21:54 ` [PATCH v5 8/9] PCI: xgene: Look for OF "msi-parent" in host controller, not root bus Bjorn Helgaas
2015-08-04 21:54 ` [PATCH v5 9/9] PCI: xgene: Use pci_scan_root_bus_msi() Bjorn Helgaas
2015-08-06 15:26   ` Marc Zyngier
2015-08-06 16:41     ` Ley Foon Tan
2015-08-06 16:53       ` Marc Zyngier
2015-08-07  2:18         ` Ley Foon Tan
2015-08-10 22:04     ` Bjorn Helgaas
2015-08-10 22:28       ` Duc Dang
2015-08-04 23:00 ` [PATCH v5 0/9] ARM: PCI: kill pcibios_msi_controller() Bjorn Helgaas

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).