1. 24 4月, 2007 5 次提交
  2. 13 4月, 2007 2 次提交
  3. 10 3月, 2007 3 次提交
  4. 14 2月, 2007 16 次提交
  5. 13 2月, 2007 5 次提交
  6. 11 12月, 2006 1 次提交
  7. 09 12月, 2006 1 次提交
  8. 08 12月, 2006 2 次提交
  9. 04 12月, 2006 5 次提交
    • A
      [POWERPC] spufs: always send sigtrap on breakpoint · c2b2226c
      Arnd Bergmann 提交于
      Currently, we only send a sigtrap if the current task is being ptraced.
      This is somewhat inconsistant, and it breaks utrace support in fedora.
      Removing the check should do the right thing in all cases.
      
      Cc: Ulrich Weigand <ulrich.weigand@de.ibm.com>
      Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
      c2b2226c
    • J
      [POWERPC] spufs: return an error in spu_create is isolated create isnt supported · bd2e5f82
      Jeremy Kerr 提交于
      This changes the spu_create system call to return an error (-ENODEV) if
      and isolated spu context is requested on hardware that doesn't support
      isolated mode.
      
      Tested on systemsim with and without isolation support
      Signed-off-by: NJeremy Kerr <jk@ozlabs.org>
      Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
      bd2e5f82
    • D
      [POWERPC] coredump: Add SPU elf notes to coredump. · bf1ab978
      Dwayne Grant McConnell 提交于
      This patch adds SPU elf notes to the coredump. It creates a separate note
      for each of /regs, /fpcr, /lslr, /decr, /decr_status, /mem, /signal1,
      /signal1_type, /signal2, /signal2_type, /event_mask, /event_status,
      /mbox_info, /ibox_info, /wbox_info, /dma_info, /proxydma_info, /object-id.
      
      A new macro, ARCH_HAVE_EXTRA_NOTES, was created for architectures to
      specify they have extra elf core notes.
      
      A new macro, ELF_CORE_EXTRA_NOTES_SIZE, was created so the size of the
      additional notes could be calculated and added to the notes phdr entry.
      
      A new macro, ELF_CORE_WRITE_EXTRA_NOTES, was created so the new notes
      would be written after the existing notes.
      
      The SPU coredump code resides in spufs. Stub functions are provided in the
      kernel which are hooked into the spufs code which does the actual work via
      register_arch_coredump_calls().
      
      A new set of __spufs_<file>_read/get() functions was provided to allow the
      coredump code to read from the spufs files without having to lock the
      SPU context for each file read from.
      
      Cc: <linux-arch@vger.kernel.org>
      Signed-off-by: NDwayne Grant McConnell <decimal@us.ibm.com>
      Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
      bf1ab978
    • J
      [POWERPC] spufs: Load isolation kernel from spu_run · c6730ed4
      Jeremy Kerr 提交于
      In order to fit with the "don't-run-spus-outside-of-spu_run" model, this
      patch starts the isolated-mode loader in spu_run, rather than
      spu_create. If spu_run is passed an isolated-mode context that isn't in
      isolated mode state, it will run the loader.
      
      This fixes potential races with the isolated SPE app doing a
      stop-and-signal before the PPE has called spu_run: bugzilla #29111.
      Also (in conjunction with a mambo patch), this addresses #28565, as we
      always set the runcntrl register when entering spu_run.
      
      It is up to libspe to ensure that isolated-mode apps are cleaned up
      after running to completion - ie, put the app through the "ISOLATE EXIT"
      state (see Ch11 of the CBEA).
      Signed-off-by: NJeremy Kerr <jk@ozlabs.org>
      Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      c6730ed4
    • J
      [POWERPC] spufs: Add runcntrl read accessors · 3960c260
      Jeremy Kerr 提交于
      This change adds a read accessor for the SPE problem-state run control
      register.
      
      This is required for for applying (userspace) changes made to the run
      control register while the SPE is stopped - simply asserting the master
      run control bit is not sufficient. My next patch for isolated-mode
      setup requires this.
      Signed-off-by: NJeremy Kerr <jk@ozlabs.org>
      Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      3960c260