1. 08 12月, 2011 4 次提交
  2. 07 12月, 2011 27 次提交
  3. 28 11月, 2011 6 次提交
  4. 25 11月, 2011 3 次提交
    • J
      powerpc/mpic: Remove extra semicolon. · e075cd70
      Justin P. Mattock 提交于
      The patch below removes an extra semicolon.
      Signed-off-by: NJustin P. Mattock <justinmattock@gmail.com>
      CC: linuxppc-dev@lists.ozlabs.org
      CC: Paul Mackerras <paulus@samba.org>
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      e075cd70
    • A
      powerpc: Export PIR data through sysfs · 595fe914
      Ananth N Mavinakayanahalli 提交于
      On Fri, Nov 11, 2011 at 10:17:55AM +0530, Ananth N Mavinakayanahalli wrote:
      > >
      > > At this rate we're going to end up with no bits left for CPU features
      > > way too quickly... Especially for something we only care about once at
      > > boot time.
      > >
      > > Wouldn't CPU_FTR_PPCAS_ARCH_V2 be a good enough test ?
      >
      > /me checks Cell manuals... yes, that test would be good enough. I will
      > cook up a patch to use this.
      
      Here it is...
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      595fe914
    • 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