1. 26 4月, 2013 5 次提交
  2. 18 4月, 2013 1 次提交
  3. 04 1月, 2013 1 次提交
    • G
      POWERPC: drivers: remove __dev* attributes. · cad5cef6
      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,
      __devinitconst, 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: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      cad5cef6
  4. 15 11月, 2012 1 次提交
  5. 17 9月, 2012 8 次提交
  6. 12 9月, 2012 1 次提交
    • G
      powerpc/powernv: I/O and memory alignment for P2P bridges · 271fd03a
      Gavin Shan 提交于
      The patch implements ppc_md.pcibios_window_alignment for powernv
      platform so that the resource reassignment in PCI core will be
      done according to the I/O and memory alignment returned from
      powernv platform. The alignments returned from powernv platform
      is closely depending on the scheme for PE segmenting. Besides,
      the patch isn't useful for now, but the subsequent patches will
      be working based on it.
      
      [bhelgaas: use pci_pcie_type() since pci_dev.pcie_type was removed]
      Signed-off-by: NGavin Shan <shangw@linux.vnet.ibm.com>
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      271fd03a
  7. 05 9月, 2012 1 次提交
  8. 23 8月, 2012 1 次提交
  9. 14 6月, 2012 1 次提交
  10. 24 2月, 2012 1 次提交
    • B
      powerpc/PCI: replace pci_probe_only with pci_flags · 673c9756
      Bjorn Helgaas 提交于
      We already use pci_flags, so this just sets pci_flags directly and removes
      the intermediate step of figuring out pci_probe_only, then using it to set
      pci_flags.
      
      The PCI core provides a pci_flags definition (currently __weak), so drop
      the powerpc definitions in favor of that.
      
      CC: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      CC: linuxppc-dev@lists.ozlabs.org
      Signed-off-by: NBjorn Helgaas <bhelgaas@google.com>
      673c9756
  11. 25 1月, 2012 1 次提交
  12. 07 12月, 2011 2 次提交
  13. 25 11月, 2011 1 次提交
    • B
      powerpc/powernv: PCI support for p7IOC under OPAL v2 · 184cd4a3
      Benjamin Herrenschmidt 提交于
      This adds support for p7IOC (and possibly other IODA v1 IO Hubs)
      using OPAL v2 interfaces.
      
      We completely take over resource assignment and assign them using an
      algorithm that hands out device BARs in a way that makes them fit in
      individual segments of the M32 window of the bridge, which enables us
      to assign individual PEs to devices and functions.
      
      The current implementation gives out a PE per functions on PCIe, and a
      PE for the entire bridge for PCIe to PCI-X bridges.
      
      This can be adjusted / fine tuned later.
      
      We also setup DMA resources (32-bit only for now) and MSIs (both 32-bit
      and 64-bit MSI are supported).
      
      The DMA allocation tries to divide the available 256M segments of the
      32-bit DMA address space "fairly" among PEs. This is done using a
      "weight" heuristic which assigns less value to things like OHCI USB
      controllers than, for example SCSI RAID controllers. This algorithm
      will probably want some fine tuning for specific devices or device
      types.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      184cd4a3