1. 18 8月, 2016 4 次提交
  2. 21 6月, 2016 3 次提交
  3. 03 5月, 2016 1 次提交
  4. 06 4月, 2016 1 次提交
    • J
      PCI: designware: Move Root Complex setup code to dw_pcie_setup_rc() · 7e57fd14
      Jisheng Zhang 提交于
      dw_pcie_host_init() looks up host bridge resources, ioremaps them, creates
      IRQ domains, and enumerates devices below the bridge.  dw_pcie_setup_rc()
      programs the Root Complex registers.  The Root Complex may lose power
      during suspend-to-RAM, and when we resume, we want to redo the latter but
      not the former.
      
      Move some Root Complex programming from dw_pcie_host_init() to
      dw_pcie_setup_rc() where it belongs.  DesignWare-based drivers can call
      dw_pcie_setup_rc() in their resume paths.
      
      [Niklas Cassel <niklas.cassel@axis.com>:  This change moves outbound ATU
      programming, which uses pp->mem_base, to dw_pcie_setup_rc().  Apply the
      dra7xx pp->mem_base update before calling dw_pcie_setup_rc().]
      
      [bhelgaas: changelog, fold in dra7xx fix from Niklas]
      Signed-off-by: NJisheng Zhang <jszhang@marvell.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      Acked-by: NPratyush Anand <pratyush.anand@gmail.com>
      7e57fd14
  5. 15 3月, 2016 2 次提交
  6. 10 2月, 2016 2 次提交
  7. 11 1月, 2016 1 次提交
    • B
      PCI: designware: Make config accessor override checking symmetric · 67de2dc3
      Bjorn Helgaas 提交于
      Drivers based on the DesignWare core can override the config read accessors
      by supplying rd_own_conf() and rd_other_conf() function pointers.
      dw_pcie_rd_conf() calls dw_pcie_rd_own_conf() (for accesses to the root
      bus) or dw_pcie_rd_other_conf():
      
        dw_pcie_rd_conf
          dw_pcie_rd_own_conf                # if on root bus
          dw_pcie_rd_other_conf              # if not on root bus
      
      Previously we checked for rd_other_conf() directly in dw_pcie_rd_conf(),
      but we checked for rd_own_conf() in dw_pcie_rd_own_conf().
      
      Check for rd_other_conf() in dw_pcie_rd_other_conf() to make this symmetric
      with the rd_own_conf() checking, and similarly for the write path.
      
      No functional change intended.
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      Acked-by: NPratyush Anand <pratyush.anand@gmail.com>
      67de2dc3
  8. 06 1月, 2016 2 次提交
  9. 25 11月, 2015 1 次提交
  10. 03 11月, 2015 9 次提交
  11. 19 9月, 2015 3 次提交
  12. 21 8月, 2015 1 次提交
    • L
      ARM/PCI, designware, xilinx: Use pci_scan_root_bus_msi() · 8953aab1
      Lorenzo Pieralisi 提交于
      ARM previously stored the msi_controller pointer in its sysdata, struct
      pci_sys_data, and implemented pcibios_msi_controller() to retrieve it.
      That made PCI host controller drivers specific to ARM because they had to
      put the msi_controller pointer in the ARM-specific pci_sys_data.
      
      There is now a generic mechanism, pci_scan_root_bus_msi(), for giving the
      msi_controller pointer to the PCI core.  Use this for all ARM systems and
      for the DesignWare and Xilinx PCI host controller drivers.
      
      This removes an ARM dependency from the DesignWare, DRA7xx, EXYNOS, i.MX6,
      Keystone, Layerscape, SPEAr13xx, and Xilinx drivers.
      
      [bhelgaas: changelog, split into separate patch]
      Suggested-by: NRussell King <linux@arm.linux.org.uk>
      Signed-off-by: NLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      Acked-by: NJingoo Han <jingoohan1@gmail.com>
      CC: Pratyush Anand <pratyush.anand@gmail.com>
      CC: Arnd Bergmann <arnd@arndb.de>
      CC: Simon Horman <horms@verge.net.au>
      CC: Russell King <linux@arm.linux.org.uk>
      CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
      CC: Thierry Reding <thierry.reding@gmail.com>
      CC: Michal Simek <michal.simek@xilinx.com>
      CC: Marc Zyngier <marc.zyngier@arm.com>
      8953aab1
  13. 12 8月, 2015 1 次提交
    • R
      PCI: Kill off set_irq_flags() usage · 3e146753
      Rob Herring 提交于
      set_irq_flags is ARM-specific with custom flags which have genirq
      equivalents.  Convert drivers to use the genirq interfaces directly, so we
      can kill off set_irq_flags.  The translation of flags is as follows:
      
        IRQF_VALID -> !IRQ_NOREQUEST
        IRQF_PROBE -> !IRQ_NOPROBE
        IRQF_NOAUTOEN -> IRQ_NOAUTOEN
      
      For IRQs managed by an irqdomain, the irqdomain core code handles clearing
      and setting IRQ_NOREQUEST already, so there is no need to do this in .map()
      functions, and we can simply remove the set_irq_flags calls.  Some users
      also modify IRQ_NOPROBE, and this has been maintained although it is not
      clear that is really needed.  There appears to be a great deal of blind
      copy and paste of this code.
      Signed-off-by: NRob Herring <robh@kernel.org>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      Acked-by: NJingoo Han <jingoohan1@gmail.com>
      CC: Kishon Vijay Abraham I <kishon@ti.com>
      CC: Murali Karicheri <m-karicheri2@ti.com>
      CC: Thierry Reding <thierry.reding@gmail.com>
      CC: Stephen Warren <swarren@wwwdotorg.org>
      CC: Alexandre Courbot <gnurou@gmail.com>
      CC: Jingoo Han <jingoohan1@gmail.com>
      CC: Pratyush Anand <pratyush.anand@gmail.com>
      CC: Simon Horman <horms@verge.net.au>
      CC: Michal Simek <michal.simek@xilinx.com>
      CC: "Sören Brinkmann" <soren.brinkmann@xilinx.com>
      3e146753
  14. 23 7月, 2015 2 次提交
  15. 17 7月, 2015 1 次提交
  16. 28 5月, 2015 1 次提交
  17. 21 5月, 2015 2 次提交
  18. 20 5月, 2015 1 次提交
  19. 07 3月, 2015 1 次提交
  20. 28 1月, 2015 1 次提交