1. 27 3月, 2006 6 次提交
    • A
      [PATCH] spufs: implement mfc access for PPE-side DMA · a33a7d73
      Arnd Bergmann 提交于
      This patch adds a new file called 'mfc' to each spufs directory.
      The file accepts DMA commands that are a subset of what would
      be legal DMA commands for problem state register access. Upon
      reading the file, a bitmask is returned with the completed
      tag groups set.
      
      The file is meant to be used from an abstraction in libspe
      that is added by a different patch.
      
      From the kernel perspective, this means a process can now
      offload a memory copy from or into an SPE local store
      without having to run code on the SPE itself.
      
      The transfer will only be performed while the SPE is owned
      by one thread that is waiting in the spu_run system call
      and the data will be transferred into that thread's
      address space, independent of which thread started the
      transfer.
      Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      a33a7d73
    • A
      [PATCH] spufs: allow SPU code to do syscalls · 2dd14934
      Arnd Bergmann 提交于
      An SPU does not have a way to implement system calls
      itself, but it can create intercepts to the kernel.
      
      This patch uses the method defined by the JSRE interface
      for C99 host library calls from an SPU to implement
      Linux system calls. It uses the reserved SPU stop code
      0x2104 for this, using the structure layout and syscall
      numbers for ppc64-linux.
      
      I'm still undecided wether it is better to have a list
      of allowed syscalls or a list of forbidden syscalls,
      since we can't allow an SPU to call all syscalls that
      are defined for ppc64-linux.
      
      This patch implements the easier choice of them, with a
      blacklist that only prevents an SPU from calling anything
      that interacts with its own execution, e.g fork, execve,
      clone, vfork, exit, spu_run and spu_create and everything
      that deals with signals.
      Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      2dd14934
    • A
      [PATCH] powerpc: work around a cell interrupt HW bug · 5536408c
      Arnd Bergmann 提交于
      Apparently we have found a bug in the CPU that causes
      external interrupts to sometimes get disabled indefinitely.
      This adds a workaround for the problem.
      Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      5536408c
    • J
      [PATCH] powerpc: cell interrupt controller updates · d0e57c68
      Jens Osterkamp 提交于
      The current interrupt controller setup on Cell is done
      in a rather ad-hoc way with device tree properties
      that are not standardized at all.
      
      In an attempt to do something that follows the OF standard
      (or at least the IBM extensions to it) more closely,
      we have now come up with this patch. It still provides
      a fallback to the old behaviour when we find older firmware,
      that hack can not be removed until the existing customer
      installations have upgraded.
      
      Cc: hpenner@de.ibm.com
      Cc: stk@de.ibm.com
      Cc: Segher Boessenkool <segher@kernel.crashing.org>
      Cc: Milton Miller <miltonm@bga.com>
      Cc: benh@kernel.crashing.org
      Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      d0e57c68
    • A
      [PATCH] powerpc: fix cell iommu setup · 5fa500bf
      Arnd Bergmann 提交于
      A small bug crept in the iommu driver when we made it more
      generic. This patch is needed for boards that have a dma
      window that does not start at bus address zero.
      Signed-off-by: NArnd Bergmann <arnd.bergmann@de.ibm.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      5fa500bf
    • I
      [PATCH] sem2mutex: misc static one-file mutexes · 14cc3e2b
      Ingo Molnar 提交于
      Semaphore to mutex conversion.
      
      The conversion was generated via scripts, and the result was validated
      automatically via a script as well.
      Signed-off-by: NIngo Molnar <mingo@elte.hu>
      Cc: Dave Jones <davej@codemonkey.org.uk>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Ralf Baechle <ralf@linux-mips.org>
      Cc: Jens Axboe <axboe@suse.de>
      Cc: Neil Brown <neilb@cse.unsw.edu.au>
      Acked-by: NAlasdair G Kergon <agk@redhat.com>
      Cc: Greg KH <greg@kroah.com>
      Cc: Dominik Brodowski <linux@dominikbrodowski.net>
      Cc: Adam Belay <ambx1@neo.rr.com>
      Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      14cc3e2b
  2. 22 3月, 2006 1 次提交
  3. 07 2月, 2006 1 次提交
  4. 13 1月, 2006 1 次提交
  5. 12 1月, 2006 1 次提交
  6. 11 1月, 2006 2 次提交
  7. 10 1月, 2006 1 次提交
  8. 09 1月, 2006 27 次提交