Skip to content
  1. Jan 09, 2006
    • Mark Nutter's avatar
      [PATCH] spufs: add spu-side context switch code · 05b84117
      Mark Nutter authored
      
      
      Add the source code that is used to generate spu_save_dump.h and
      spu_restore_dump.h. Since a full spu tool chain is needed to
      generate these files, the default remains to use the shipped
      versions in order to keep the number of tools for building the
      kernel down.
      
      Signed-off-by: default avatarArnd Bergmann <arndb@de.ibm.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      05b84117
    • Mark Nutter's avatar
      [PATCH] kernel-side context switch code for spufs · 7c038749
      Mark Nutter authored
      
      
      This adds the code needed to perform a context switch from
      spufs, following the recommended 76-step sequence.
      
      Signed-off-by: default avatarArnd Bergmann <arndb@de.ibm.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      7c038749
    • Mark Nutter's avatar
      [PATCH] spufs: switchable spu contexts · 5473af04
      Mark Nutter authored
      
      
      Add some infrastructure for saving and restoring the context of an
      SPE. This patch creates a new structure that can hold the whole
      state of a physical SPE in memory. It also contains code that
      avoids races during the context switch and the binary code that
      is loaded to the SPU in order to access its registers.
      
      The actual PPE- and SPE-side context switch code are two separate
      patches.
      
      Signed-off-by: default avatarArnd Bergmann <arndb@de.ibm.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      5473af04
    • Arnd Bergmann's avatar
      [PATCH] spufs: The SPU file system, base · 67207b96
      Arnd Bergmann authored
      This is the current version of the spu file system, used
      for driving SPEs on the Cell Broadband Engine.
      
      This release is almost identical to the version for the
      2.6.14 kernel posted earlier, which is available as part
      of the Cell BE Linux distribution from
      http://www.bsc.es/projects/deepcomputing/linuxoncell/
      
      .
      
      The first patch provides all the interfaces for running
      spu application, but does not have any support for
      debugging SPU tasks or for scheduling. Both these
      functionalities are added in the subsequent patches.
      
      See Documentation/filesystems/spufs.txt on how to use
      spufs.
      
      Signed-off-by: default avatarArnd Bergmann <arndb@de.ibm.com>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      67207b96
    • Michael Ellerman's avatar
      [PATCH] powerpc: Merge kexec · 3d1229d6
      Michael Ellerman authored
      
      
      This patch merges, to some extent, the PPC32 and PPC64 kexec implementations.
      
      We adopt the PPC32 approach of having ppc_md callbacks for the kexec functions.
      The current PPC64 implementation becomes the "default" implementation for PPC64
      which platforms can select if they need no special treatment.
      
      I've added these default callbacks to pseries/maple/cell/powermac, this means
      iSeries no longer supports kexec - but it never worked anyway.
      
      I've renamed PPC32's machine_kexec_simple to default_machine_kexec, inline with
      PPC64. Judging by the comments it might be better named machine_kexec_non_of,
      or something, but at the moment it's the only implementation for PPC32 so it's
      the "default".
      
      Kexec requires machine_shutdown(), which is in machine_kexec.c on PPC32, but we
      already have in setup-common.c on powerpc. All this does is call
      ppc_md.nvram_sync, which only powermac implements, so instead make
      machine_shutdown a ppc_md member and have it call core99_nvram_sync directly
      on powermac.
      
      I've also stuck relocate_kernel.S into misc_32.S for powerpc.
      
      Built for ARCH=ppc, and 32 & 64 bit ARCH=powerpc, with KEXEC=y/n. Booted on
      P5 LPAR and successfully kexec'ed.
      
      Should apply on top of 493f25ef.
      
      Signed-off-by: default avatarMichael Ellerman <michael@ellerman.id.au>
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      3d1229d6
  2. Dec 22, 2005
    • Paul Mackerras's avatar
      powerpc: Fix i8259 cascade on pSeries with XICS interrupt controller · 8b1af56b
      Paul Mackerras authored
      
      
      It turns out that commit f9bd170a
      broke the cascade from XICS to i8259 on pSeries machines; specifically
      we ended up not ever doing the EOI on the XICS for the cascade.  The
      result was that interrupts from the serial ports (and presumably any
      other devices using ISA interrupts) didn't get through.  This fixes
      it and also simplifies the code, by doing the EOI on the XICS in the
      xics_get_irq routine after reading and acking the interrupt on the
      i8259.
      
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      8b1af56b
  3. Dec 12, 2005
  4. Dec 08, 2005
  5. Dec 05, 2005
    • Paul Mackerras's avatar
      powerpc/pseries: Optimize IOMMU setup · 6fbb618f
      Paul Mackerras authored
      
      
      The previous commit will use the page-at-a-time hypervisor call for
      setting up IOMMU entries when we are using 64k pages and setting up
      one 64k page, even though that means 16 calls to the hypervisor, since
      the hypervisor still works on 4k pages.  This optimizes this case by
      using the multi-page IOMMU setup hypervisor call instead.
      
      Signed-off-by: default avatarPaul Mackerras <paulus@samba.org>
      6fbb618f
  6. Dec 02, 2005
  7. Nov 23, 2005
  8. Nov 19, 2005
  9. Nov 18, 2005
  10. Nov 17, 2005
  11. Nov 16, 2005
  12. Nov 15, 2005
  13. Nov 14, 2005
  14. Nov 11, 2005
  15. Nov 10, 2005
Loading