1. 22 9月, 2007 1 次提交
  2. 30 8月, 2007 1 次提交
    • C
      [POWERPC] spu_manage: fix spu_unit_number for celleb device tree · aac2e684
      Christian Krafft 提交于
      This fixes a regression introduced with 2.6.23-rc4 after on some
      confusion about the device tree interfaces.
      
      IBM QS21 device trees provide "physical-id", so we changed the code to
      run on that and remain compatible with all IBM machines.
      
      However, the Toshiba Celleb device tree provides the "unit-id" property,
      which was in the Linux code, but never used in this way on IBM hardware.
      
      Legacy device tree used the reg property for the physical id of an spe.
      This patch fixes find_spu_unit_number to look for the spu id in that order.
      The length is checked to avoid misinterpretation in case the attributes
      unit-id or reg do not contain the id.
      Signed-off-by: NChristian Krafft <krafft@de.ibm.com>
      Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
      Cc: Jeremy Kerr <jk@ozlabs.org>
      aac2e684
  3. 25 8月, 2007 1 次提交
  4. 10 8月, 2007 1 次提交
  5. 18 7月, 2007 1 次提交
  6. 13 4月, 2007 1 次提交
  7. 13 2月, 2007 1 次提交
  8. 07 2月, 2007 1 次提交
  9. 19 12月, 2006 2 次提交
  10. 04 12月, 2006 1 次提交
    • G
      [POWERPC] cell: abstract spu management routines · e28b0031
      Geoff Levand 提交于
      This adds a platform specific spu management abstraction and the coresponding
      routines to support the IBM Cell Blade.  It also removes the hypervisor only
      resources that were included in struct spu.
      
      Three new platform specific routines are introduced, spu_enumerate_spus(),
      spu_create_spu() and spu_destroy_spu().  The underlying design uses a new
      type, struct spu_management_ops, to hold function pointers that the platform
      setup code is expected to initialize to instances appropriate to that platform.
      
      For the IBM Cell Blade support, I put the hypervisor only resources that were
      in struct spu into a platform specific data structure struct spu_pdata.
      Signed-off-by: NGeoff Levand <geoffrey.levand@am.sony.com>
      Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
      e28b0031
  11. 25 10月, 2006 1 次提交
  12. 21 6月, 2006 3 次提交
  13. 09 1月, 2006 1 次提交
    • A
      [PATCH] spufs: abstract priv1 register access. · f0831acc
      Arnd Bergmann 提交于
      In a hypervisor based setup, direct access to the first
      priviledged register space can typically not be allowed
      to the kernel and has to be implemented through hypervisor
      calls.
      
      As suggested by Masato Noguchi, let's abstract the register
      access trough a number of function calls. Since there is
      currently no public specification of actual hypervisor
      calls to implement this, I only provide a place that
      makes it easier to hook into.
      
      Cc: Masato Noguchi <Masato.Noguchi@jp.sony.com>
      Cc: Geoff Levand <geoff.levand@am.sony.com>
      Signed-off-by: NArnd Bergmann <arndb@de.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f0831acc