Skip to content
  1. Apr 30, 2008
  2. Apr 18, 2008
  3. Apr 17, 2008
  4. Apr 16, 2008
  5. Apr 15, 2008
  6. Apr 07, 2008
  7. Apr 05, 2008
  8. Apr 03, 2008
  9. Apr 01, 2008
  10. Mar 30, 2008
  11. Mar 28, 2008
    • Gerhard Stenzel's avatar
      [POWERPC] spufs: fix incorrect file descriptors in SPU coredump note names · ada397e9
      Gerhard Stenzel authored
      
      
      At present, ppu-gdb can't trace spu infomation with coredump generated
      by the kernel. While the core dumps notes have correct contents, they
      have the wrong names, as the file descriptors used to generate the note
      names are off-by-one. An application that opens a SPE context as fd 3,
      the current core dump code will generate notes like:
        SPU/4/mem
        SPU/4/regs
      etc.
      
      This confuses GDB, which knows it is looking for SPE context 3 (from
      parsing the spu_context_run system call arguments), and cannot find
      any notes that match context 3.
      
      This change corrects the file descriptor counting, to only increment
      the fd until after we've written the note name.
      
      Signed-off-by: default avatarGerhard Stenzel <stenzel@de.ibm.com>
      Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
      ada397e9
    • Jeremy Kerr's avatar
      [POWERPC] spufs: save MFC command channel before purging MFC queue · 36d29edb
      Jeremy Kerr authored
      
      
      During the context save process, we currently save the MFC command
      channel after purging the MFC queues. This causes a systemsim warning,
      as the command channel may be in an unknown state after the purge.
      
      This change does the save before purging the MFC queues.
      
      Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
      36d29edb
    • Jeremy Kerr's avatar
      [POWERPC] spufs: reacquire LS pointer in spu_process_callback · 4eb5aef5
      Jeremy Kerr authored
      
      
      During spu_process callback, we release then acquire the SPU, but keep a
      pointer to the local store memory. Since the context may have been
      scheduled out during the callback, the ls pointer may become invalid.
      
      This change reacquires the pointer to the context local store after
      spu_acquire()-ing, so that it isn't invalidated by a context switch.
      
      Signed-off-by: default avatarJeremy Kerr <jk@ozlabs.org>
      4eb5aef5
Loading