1. 05 2月, 2015 1 次提交
  2. 22 11月, 2014 2 次提交
  3. 21 11月, 2014 1 次提交
  4. 31 5月, 2014 1 次提交
    • M
      ARM/PCI: Call pcie_bus_configure_settings() to set MPS · 8b5742ad
      Murali Karicheri 提交于
      Call pcie_bus_configure_settings() on ARM, like for other platforms.
      pcie_bus_configure_settings() makes sure the MPS across the bus is uniform
      and provides the ability to tune the MRSS and MPS to higher performance
      values.  This is particularly important for embedded where there is no
      firmware to program these PCIe settings for the OS.
      Signed-off-by: NMurali Karicheri <m-karicheri2@ti.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      CC: Russell King <linux@arm.linux.org.uk>
      CC: Arnd Bergmann <arnd@arndb.de>
      CC: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
      CC: Santosh Shilimkar <santosh.shilimkar@ti.com>
      8b5742ad
  5. 25 2月, 2014 1 次提交
  6. 15 2月, 2014 2 次提交
  7. 12 8月, 2013 1 次提交
  8. 26 7月, 2013 1 次提交
  9. 03 6月, 2013 1 次提交
    • L
      ARM: pci: create pci_common_init_dev() · 14d86e72
      Linus Walleij 提交于
      When working with device tree support for PCI on ARM you run
      into a problem when mapping IRQs from the device tree irqmaps:
      doing this the code in drivers/of/of_pci_irq.c will try to
      find the OF node on the root bridge and this fails, because
      bus->dev.of_node is NULL, and that in turn boils down to
      the fact that pci_set_bus_of_node() has called
      pcibios_get_phb_of_node() from drivers/pci/of.c to obtain
      the OF node of the bridge or its parent and none is set
      and thus NULL is returned.
      
      Fix this by adding an additional parent argument API for
      registering PCI bridges on the ARM architecture called
      pci_common_init_dev(), and pass along this parent to
      pci_scan_root_bus() called from pcibios_init_hw() in
      bios32.c and voila: the IRQ mappings start working:
      the OF node can be retrieved from the parent.
      
      Create the old pci_common_init() as a wrapper around
      the new call.
      
      Cc: Mike Rapoport <mike@compulab.co.il>
      Cc: Russell King <rmk+kernel@arm.linux.org.uk>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Arnd Bergmann <arnd@arndb.de>
      Cc: Benjamin Herrenschmitt <benh@kernel.crashing.org>
      Reviewed-by: NAndrew Murray <andrew.murray@arm.com>
      Reviewed-by: NThierry Reding <thierry.reding@avionic-design.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      14d86e72
  10. 03 4月, 2013 1 次提交
    • T
      ARM: 7683/1: pci: add a align_resource hook · 029baf14
      Thomas Petazzoni 提交于
      The PCI specifications says that an I/O region must be aligned on a 4
      KB boundary, and a memory region aligned on a 1 MB boundary.
      
      However, the Marvell PCIe interfaces rely on address decoding windows
      (which allow to associate a range of physical addresses with a given
      device). For PCIe memory windows, those windows are defined with a 1
      MB granularity (which matches the PCI specs), but PCIe I/O windows can
      only be defined with a 64 KB granularity, so they have to be 64 KB
      aligned. We therefore need to tell the PCI core about this special
      alignement requirement.
      
      The PCI core already calls pcibios_align_resource() in the ARM PCI
      core, specifically for such purposes. So this patch extends the ARM
      PCI core so that it calls a ->align_resource() hook registered by the
      PCI driver, exactly like the existing ->map_irq() and ->swizzle()
      hooks.
      
      A particular PCI driver can register a align_resource() hook, and do
      its own specific alignement, depending on the specific constraints of
      the underlying hardware.
      Signed-off-by: NThomas Petazzoni <thomas.petazzoni@free-electrons.com>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      029baf14
  11. 17 2月, 2013 2 次提交
  12. 04 1月, 2013 1 次提交
    • G
      ARM: drivers: remove __dev* attributes. · 351a102d
      Greg Kroah-Hartman 提交于
      CONFIG_HOTPLUG is going away as an option.  As a result, the __dev*
      markings need to be removed.
      
      This change removes the use of __devinit, __devexit_p, __devinitdata,
      and __devexit from these drivers.
      
      Based on patches originally written by Bill Pemberton, but redone by me
      in order to handle some of the coding style issues better, by hand.
      
      Cc: Bill Pemberton <wfp5p@virginia.edu>
      Cc: Russell King <linux@arm.linux.org.uk>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      351a102d
  13. 19 9月, 2012 2 次提交
  14. 26 7月, 2012 1 次提交
  15. 25 7月, 2012 1 次提交
    • R
      ARM: Add fixed PCI i/o mapping · c2794437
      Rob Herring 提交于
      This adds a fixed virtual mapping for PCI i/o addresses. The mapping is
      located at the last 2MB of vmalloc region (0xfee00000-0xff000000). 2MB
      is used to align with PMD size, but IO_SPACE_LIMIT is 1MB. The space
      is reserved after .map_io and can be mapped at any time later with
      pci_ioremap_io. Platforms which need early i/o mapping (e.g. for vga
      console) can call pci_map_io_early in their .map_io function.
      
      This has changed completely from the 1st implementation which only
      supported creating the static mapping at .map_io.
      Signed-off-by: NRob Herring <rob.herring@calxeda.com>
      Cc: Russell King <linux@arm.linux.org.uk>
      Acked-by: NNicolas Pitre <nico@linaro.org>
      c2794437
  16. 14 6月, 2012 1 次提交
  17. 12 6月, 2012 1 次提交
  18. 16 5月, 2012 1 次提交
  19. 14 5月, 2012 2 次提交
    • R
      ARM: PCI: provide a default bus scan implementation · c23bfc38
      Russell King 提交于
      Most PCI implementations perform simple root bus scanning.  Rather than
      having each group of platforms provide a duplicated bus scan function,
      provide the PCI configuration ops structure via the hw_pci structure,
      and call the root bus scanning function from core ARM PCI code.
      Acked-by: NKrzysztof Hałasa <khc@pm.waw.pl>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      c23bfc38
    • R
      ARM: PCI: get rid of pci_std_swizzle() · daeb4c0c
      Russell King 提交于
      Most PCI implementations use the standard PCI swizzle function, which
      handles the well defined behaviour of PCI-to-PCI bridges which can be
      found on cards (eg, four port ethernet cards.)
      
      Rather than having almost every platform specify the standard swizzle
      function, make this the default when no swizzle function is supplied.
      Therefore, a swizzle function only needs to be provided when there is
      something exceptional which needs to be handled.
      
      This gets rid of the swizzle initializer from 47 files, and leaves us
      with just two platforms specifying a swizzle function: ARM Integrator
      and Chalice CATS.
      Acked-by: NKrzysztof Hałasa <khc@pm.waw.pl>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      daeb4c0c
  20. 26 4月, 2012 1 次提交
    • R
      ARM: PCI: remove unused sys->hw · 8084de8a
      Russell King 提交于
      Some platforms mark their hw_pci structure as __initdata, which means
      it will be discarded after init time.  Storing pointers to __initdata
      in long lived data structures is a potential source of problems, and
      in this case, sys->hw is unused apart from its initialization.
      
      So, lets remove this member and its initializer.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      8084de8a
  21. 31 3月, 2012 1 次提交
  22. 21 3月, 2012 1 次提交
  23. 24 2月, 2012 3 次提交
  24. 07 1月, 2012 2 次提交
  25. 01 11月, 2011 1 次提交
    • P
      arm: convert core files from module.h to export.h · ecea4ab6
      Paul Gortmaker 提交于
      Many of the core ARM kernel files are not modules, but just
      including module.h for exporting symbols.  Now these files can
      use the lighter footprint export.h for this role.
      
      There are probably lots more, but ARM files of mach-* and plat-*
      don't get coverage via a simple yesconfig build.  They will have
      to be cleaned up and tested via using their respective configs.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      ecea4ab6
  26. 02 10月, 2011 1 次提交
    • A
      ARM: pci: always export pcibios_bus_to_resource · b214bea5
      Arnd Bergmann 提交于
      Some PCI drivers call pcibios_bus_to_resource directly,
      but it is only exported when CONFIG_HOTPLUG is set,
      because it was initially mean for pccard support.
      
      Moving the export out of the #ifdef lets us avoid these
      build errors:
      
      ERROR: "pcibios_bus_to_resource" [drivers/video/vt8623fb.ko] undefined!
      ERROR: "pcibios_bus_to_resource" [drivers/video/arkfb.ko] undefined!
      ERROR: "pcibios_bus_to_resource" [drivers/video/s3fb.ko] undefined!
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      b214bea5
  27. 22 7月, 2011 1 次提交
    • R
      PCI: Make the struct pci_dev * argument of pci_fixup_irqs const. · d5341942
      Ralf Baechle 提交于
      Aside of the usual motivation for constification,  this function has a
      history of being abused a hook for interrupt and other fixups so I turned
      this function const ages ago in the MIPS code but it should be done
      treewide.
      
      Due to function pointer passing in varous places a few other functions
      had to be constified as well.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      To: Anton Vorontsov <avorontsov@mvista.com>
      To: Chris Metcalf <cmetcalf@tilera.com>
      To: Colin Cross <ccross@android.com>
      Acked-by: N"David S. Miller" <davem@davemloft.net>
      To: Eric Miao <eric.y.miao@gmail.com>
      To: Erik Gilling <konkers@android.com>
      Acked-by: NGuan Xuetao <gxt@mprc.pku.edu.cn>
      To: "H. Peter Anvin" <hpa@zytor.com>
      To: Imre Kaloz <kaloz@openwrt.org>
      To: Ingo Molnar <mingo@redhat.com>
      To: Ivan Kokshaysky <ink@jurassic.park.msu.ru>
      To: Jesse Barnes <jbarnes@virtuousgeek.org>
      To: Krzysztof Halasa <khc@pm.waw.pl>
      To: Lennert Buytenhek <kernel@wantstofly.org>
      To: Matt Turner <mattst88@gmail.com>
      To: Nicolas Pitre <nico@fluxnic.net>
      To: Olof Johansson <olof@lixom.net>
      Acked-by: NPaul Mundt <lethal@linux-sh.org>
      To: Richard Henderson <rth@twiddle.net>
      To: Russell King <linux@arm.linux.org.uk>
      To: Thomas Gleixner <tglx@linutronix.de>
      Cc: Andrew Morton <akpm@linux-foundation.org>
      Cc: linux-alpha@vger.kernel.org
      Cc: linux-arm-kernel@lists.infradead.org
      Cc: linux-kernel@vger.kernel.org
      Cc: linux-mips@linux-mips.org
      Cc: linux-pci@vger.kernel.org
      Cc: linux-sh@vger.kernel.org
      Cc: linux-tegra@vger.kernel.org
      Cc: sparclinux@vger.kernel.org
      Cc: x86@kernel.org
      Signed-off-by: NJesse Barnes <jbarnes@virtuousgeek.org>
      d5341942
  28. 29 3月, 2011 2 次提交
  29. 24 2月, 2011 1 次提交
  30. 23 4月, 2010 1 次提交
  31. 23 2月, 2010 1 次提交