1. 22 11月, 2014 2 次提交
  2. 17 9月, 2013 1 次提交
    • L
      ARM: delete mach-shark · 136dfa5e
      Linus Walleij 提交于
      The Shark machine sub-architecture (also known as DNARD, the
      DIGITAL Network Appliance Reference Design) lacks a maintainer
      able to apply and test patches to modernize the architecture.
      
      It is suspected that the current kernel, while it compiles,
      does not even boot on this machine. The listed maintainer has
      expressed that he will not be able to spend any time on the
      maintenance for the coming year.
      
      So let's delete it from the kernel for now. It can always be
      resurrected with git revert if maintenance is resumed.
      
      As the VIA82c505 PCI adapter was only used by this
      architecture, that gets deleted too.
      
      Cc: arm@kernel.org
      Cc: Alexander Schulz <alex@shark-linux.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      136dfa5e
  3. 12 8月, 2013 1 次提交
  4. 03 6月, 2013 2 次提交
    • L
      ARM: integrator: merge PCIv3 driver into one file · f4bc4f0a
      Linus Walleij 提交于
      The Integrator/AP PCI bridget, "v3" is contained in two files,
      where pci.c is a socket container to plug in the v3 device.
      However to transition the v3 to enable device tree probing, it
      need to be converted to a platform device (so that it can have
      a device node in the device tree) and then we want the PCI
      driver in a single file, as any other device driver, so we can
      handle variants using compatible strings and device name,
      and get the base address etc from resources connected to the
      device node.
      
      To move toward this goal we consolidate all code in the
      pci_v3.c file.
      Acked-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      f4bc4f0a
    • 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
  5. 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
  6. 17 2月, 2013 1 次提交
  7. 26 7月, 2012 1 次提交
  8. 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
  9. 16 5月, 2012 1 次提交
  10. 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
  11. 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
  12. 07 1月, 2012 1 次提交
  13. 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
  14. 17 7月, 2010 1 次提交
  15. 23 4月, 2010 1 次提交
  16. 08 1月, 2009 1 次提交
  17. 03 8月, 2008 1 次提交
  18. 27 3月, 2008 1 次提交
  19. 25 9月, 2006 2 次提交
  20. 28 6月, 2006 1 次提交
  21. 17 4月, 2005 1 次提交
    • L
      Linux-2.6.12-rc2 · 1da177e4
      Linus Torvalds 提交于
      Initial git repository build. I'm not bothering with the full history,
      even though we have it. We can create a separate "historical" git
      archive of that later if we want to, and in the meantime it's about
      3.2GB when imported into git - space that would just make the early
      git days unnecessarily complicated, when we don't have a lot of good
      infrastructure for it.
      
      Let it rip!
      1da177e4