diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-14 00:02:00 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-14 00:02:00 -0500 |
commit | 2f466d33f5f60542d3d82c0477de5863b22c94b9 (patch) | |
tree | 839972958941d55852a9af270b04af09e3147116 /arch/frv | |
parent | f9300eaaac1ca300083ad41937923a90cc3a2394 (diff) | |
parent | eaaeb1cb33310dea6c3fa45d8bfc63e5a1d0a846 (diff) |
Merge tag 'pci-v3.13-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
Pull PCI changes from Bjorn Helgaas:
"Resource management
- Fix host bridge window coalescing (Alexey Neyman)
- Pass type, width, and prefetchability for window alignment (Wei Yang)
PCI device hotplug
- Convert acpiphp, acpiphp_ibm to dynamic debug (Lan Tianyu)
Power management
- Remove pci_pm_complete() (Liu Chuansheng)
MSI
- Fail initialization if device is not in PCI_D0 (Yijing Wang)
MPS (Max Payload Size)
- Use pcie_get_mps() and pcie_set_mps() to simplify code (Yijing Wang)
- Use pcie_set_readrq() to simplify code (Yijing Wang)
- Use cached pci_dev->pcie_mpss to simplify code (Yijing Wang)
SR-IOV
- Enable upstream bridges even for VFs on virtual buses (Bjorn Helgaas)
- Use pci_is_root_bus() to avoid catching virtual buses (Wei Yang)
Virtualization
- Add x86 MSI masking ops (Konrad Rzeszutek Wilk)
Freescale i.MX6
- Support i.MX6 PCIe controller (Sean Cross)
- Increase link startup timeout (Marek Vasut)
- Probe PCIe in fs_initcall() (Marek Vasut)
- Fix imprecise abort handler (Tim Harvey)
- Remove redundant of_match_ptr (Sachin Kamat)
Renesas R-Car
- Support Gen2 internal PCIe controller (Valentine Barshak)
Samsung Exynos
- Add MSI support (Jingoo Han)
- Turn off power when link fails (Jingoo Han)
- Add Jingoo Han as maintainer (Jingoo Han)
- Add clk_disable_unprepare() on error path (Wei Yongjun)
- Remove redundant of_match_ptr (Sachin Kamat)
Synopsys DesignWare
- Add irq_create_mapping() (Pratyush Anand)
- Add header guards (Seungwon Jeon)
Miscellaneous
- Enable native PCIe services by default on non-ACPI (Andrew Murray)
- Cleanup _OSC usage and messages (Bjorn Helgaas)
- Remove pcibios_last_bus boot option on non-x86 (Bjorn Helgaas)
- Convert bus code to use bus_, drv_, and dev_groups (Greg Kroah-Hartman)
- Remove unused pci_mem_start (Myron Stowe)
- Make sysfs functions static (Sachin Kamat)
- Warn on invalid return from driver probe (Stephen M. Cameron)
- Remove Intel Haswell D3 delays (Todd E Brandt)
- Call pci_set_master() in core if driver doesn't do it (Yinghai Lu)
- Use pci_is_pcie() to simplify code (Yijing Wang)
- Use PCIe capability accessors to simplify code (Yijing Wang)
- Use cached pci_dev->pcie_cap to simplify code (Yijing Wang)
- Removed unused "is_pcie" from struct pci_dev (Yijing Wang)
- Simplify sysfs CPU affinity implementation (Yijing Wang)"
* tag 'pci-v3.13-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci: (79 commits)
PCI: Enable upstream bridges even for VFs on virtual buses
PCI: Add pci_upstream_bridge()
PCI: Add x86_msi.msi_mask_irq() and msix_mask_irq()
PCI: Warn on driver probe return value greater than zero
PCI: Drop warning about drivers that don't use pci_set_master()
PCI: Workaround missing pci_set_master in pci drivers
powerpc/pci: Use pci_is_pcie() to simplify code [fix]
PCI: Update pcie_ports 'auto' behavior for non-ACPI platforms
PCI: imx6: Probe the PCIe in fs_initcall()
PCI: Add R-Car Gen2 internal PCI support
PCI: imx6: Remove redundant of_match_ptr
PCI: Report pci_pme_active() kmalloc failure
mn10300/PCI: Remove useless pcibios_last_bus
frv/PCI: Remove pcibios_last_bus
PCI: imx6: Increase link startup timeout
PCI: exynos: Remove redundant of_match_ptr
PCI: imx6: Fix imprecise abort handler
PCI: Fail MSI/MSI-X initialization if device is not in PCI_D0
PCI: imx6: Remove redundant dev_err() in imx6_pcie_probe()
x86/PCI: Coalesce multiple overlapping host bridge windows
...
Diffstat (limited to 'arch/frv')
-rw-r--r-- | arch/frv/mb93090-mb00/pci-frv.h | 1 | ||||
-rw-r--r-- | arch/frv/mb93090-mb00/pci-vdk.c | 36 |
2 files changed, 0 insertions, 37 deletions
diff --git a/arch/frv/mb93090-mb00/pci-frv.h b/arch/frv/mb93090-mb00/pci-frv.h index 76c4e73d643d..a7e487fe76ed 100644 --- a/arch/frv/mb93090-mb00/pci-frv.h +++ b/arch/frv/mb93090-mb00/pci-frv.h | |||
@@ -30,7 +30,6 @@ void pcibios_resource_survey(void); | |||
30 | 30 | ||
31 | /* pci-vdk.c */ | 31 | /* pci-vdk.c */ |
32 | 32 | ||
33 | extern int __nongpreldata pcibios_last_bus; | ||
34 | extern struct pci_ops *__nongpreldata pci_root_ops; | 33 | extern struct pci_ops *__nongpreldata pci_root_ops; |
35 | 34 | ||
36 | /* pci-irq.c */ | 35 | /* pci-irq.c */ |
diff --git a/arch/frv/mb93090-mb00/pci-vdk.c b/arch/frv/mb93090-mb00/pci-vdk.c index deb67843693c..efa5d65b0007 100644 --- a/arch/frv/mb93090-mb00/pci-vdk.c +++ b/arch/frv/mb93090-mb00/pci-vdk.c | |||
@@ -25,7 +25,6 @@ | |||
25 | 25 | ||
26 | unsigned int __nongpreldata pci_probe = 1; | 26 | unsigned int __nongpreldata pci_probe = 1; |
27 | 27 | ||
28 | int __nongpreldata pcibios_last_bus = -1; | ||
29 | struct pci_ops *__nongpreldata pci_root_ops; | 28 | struct pci_ops *__nongpreldata pci_root_ops; |
30 | 29 | ||
31 | /* | 30 | /* |
@@ -220,37 +219,6 @@ static struct pci_ops * __init pci_check_direct(void) | |||
220 | } | 219 | } |
221 | 220 | ||
222 | /* | 221 | /* |
223 | * Discover remaining PCI buses in case there are peer host bridges. | ||
224 | * We use the number of last PCI bus provided by the PCI BIOS. | ||
225 | */ | ||
226 | static void __init pcibios_fixup_peer_bridges(void) | ||
227 | { | ||
228 | struct pci_bus bus; | ||
229 | struct pci_dev dev; | ||
230 | int n; | ||
231 | u16 l; | ||
232 | |||
233 | if (pcibios_last_bus <= 0 || pcibios_last_bus >= 0xff) | ||
234 | return; | ||
235 | printk("PCI: Peer bridge fixup\n"); | ||
236 | for (n=0; n <= pcibios_last_bus; n++) { | ||
237 | if (pci_find_bus(0, n)) | ||
238 | continue; | ||
239 | bus.number = n; | ||
240 | bus.ops = pci_root_ops; | ||
241 | dev.bus = &bus; | ||
242 | for(dev.devfn=0; dev.devfn<256; dev.devfn += 8) | ||
243 | if (!pci_read_config_word(&dev, PCI_VENDOR_ID, &l) && | ||
244 | l != 0x0000 && l != 0xffff) { | ||
245 | printk("Found device at %02x:%02x [%04x]\n", n, dev.devfn, l); | ||
246 | printk("PCI: Discovered peer bus %02x\n", n); | ||
247 | pci_scan_bus(n, pci_root_ops, NULL); | ||
248 | break; | ||
249 | } | ||
250 | } | ||
251 | } | ||
252 | |||
253 | /* | ||
254 | * Exceptions for specific devices. Usually work-arounds for fatal design flaws. | 222 | * Exceptions for specific devices. Usually work-arounds for fatal design flaws. |
255 | */ | 223 | */ |
256 | 224 | ||
@@ -418,7 +386,6 @@ int __init pcibios_init(void) | |||
418 | pci_scan_root_bus(NULL, 0, pci_root_ops, NULL, &resources); | 386 | pci_scan_root_bus(NULL, 0, pci_root_ops, NULL, &resources); |
419 | 387 | ||
420 | pcibios_irq_init(); | 388 | pcibios_irq_init(); |
421 | pcibios_fixup_peer_bridges(); | ||
422 | pcibios_fixup_irqs(); | 389 | pcibios_fixup_irqs(); |
423 | pcibios_resource_survey(); | 390 | pcibios_resource_survey(); |
424 | 391 | ||
@@ -432,9 +399,6 @@ char * __init pcibios_setup(char *str) | |||
432 | if (!strcmp(str, "off")) { | 399 | if (!strcmp(str, "off")) { |
433 | pci_probe = 0; | 400 | pci_probe = 0; |
434 | return NULL; | 401 | return NULL; |
435 | } else if (!strncmp(str, "lastbus=", 8)) { | ||
436 | pcibios_last_bus = simple_strtol(str+8, NULL, 0); | ||
437 | return NULL; | ||
438 | } | 402 | } |
439 | return str; | 403 | return str; |
440 | } | 404 | } |