arm: pcibios: remove pci_sys_data domain
Get series with b4
b4 am 20141219091933.GC13641@red-moonVersions newest first · linked by author and title
- v3 Latest posting 2/20 of 2 patches 0 repliesNew
- v3 posting 1/22 patches 0 repliesSuperseded
- v22 patches 0 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 RFC | 0 of 2 patches | 0 replies | Superseded |
Patches in v3 posting 2/2 No applies recorded yet
None of the 2 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCH v3 0/2] arm: pcibios: remove pci_sys_data domain
Quoted 45 lines · Murali Karicheri
Quoted 38 lines · Lorenzo Pieralisi
This patchset is a v3 of a previous posting:
http://www.spinics.net/lists/linux-pci/msg36502.html
v2 => v3
- Rebased on top of this patch dependency
http://www.spinics.net/lists/linux-pci/msg36631.htmlv1 => v2 changelog
- Removed stale
hw_pcidomain member
- Reworked pci-mvebu domain handling according to review
- Rebased against 3.18-rc3 and updated the logs
- Dropped RFC statusOriginal cover letter:
----
This patchset is a first RFC stab at removing the dependency onpci_sys_datadomain field on ARM platforms and by replacing it with generic code that stashes the domain value in thepci_buscontrol structure, introduced incommit
41e5c0f81d3e676d671d96a0a1fafb27abfbd9
("of/pci: Addpci_get_new_domain_nr()andof_get_pci_domain_nr()")commit
670ba0c8883b576d0aec28bd7a838358a4be1
("PCI: Add generic domain handling")All the drivers converted (apart from PCIe designware, tested on iMX6SL) were only compile tested for lack of HW, so along some comments, testing and verifying that patchset does not break any existing platform are very appreciated.
Code in
drivers/pci/pci-mvebu.chas been changed to add a domain number to PCI resources by using the nr value coming from the setup pcibios32 callback, which may not be correct and should be considered a temporary solution waiting for review comments.Quoted 6 lines
The patchset removes entirely the pci_sys_data.domain field, since its usage is removed at the same time in the respective host controllers and ARM is made to select the configuration option
CONFIG_PCI_DOMAINS_GENERICby default, which compiles adomain_nrin thepci_busstructure so that thepci_domain_nr()look-up can rely on it.
Quoted 5 lines
Lorenzo,
I am assuming this is transparent to the user drivers of designware core such as pci-keystone as
CONFIG_PCI_DOMAINS_GENERICis enabled by default by ARM. Is this true ?
See Arnd's reply. Testing and relative tag very appreciated if you have time.
Thank you !
Lorenzo
Quoted 28 lines
Murali
Quoted 15 lines
Lorenzo Pieralisi (2):
arm: cns3xxx: pci: remove artificial dependency onpci_sys_datadomain
arm: pcibios: move to generic PCI domainsarch/arm/Kconfig | 3 +++ arch/arm/include/asm/mach/pci.h | 6 ------ arch/arm/include/asm/pci.h | 7 ------- arch/arm/kernel/bios32.c | 3 --- arch/arm/mach-cns3xxx/pcie.c | 40 ++++++++++++++++---------------------- drivers/pci/host/pci-mvebu.c | 15 ++------------ drivers/pci/host/pcie-designware.c | 3 --- drivers/pci/host/pcie-rcar.c | 3 --- 8 files changed, 22 insertions(+), 58 deletions(-)Signature · 6 lines
Murali Karicheri Linux Kernel, Texas Instruments -- To unsubscribe from this list: send the line "unsubscribe linux-pci" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html