1. 31 Aug, 2007 14 commits
  2. 30 Aug, 2007 21 commits
  3. 29 Aug, 2007 5 commits
    • Christian Krafft's avatar
      [POWERPC] spu_manage: fix spu_unit_number for celleb device tree · aac2e684
      Christian Krafft authored
      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: default avatarChristian Krafft <krafft@de.ibm.com>
      Signed-off-by: default avatarArnd Bergmann <arnd.bergmann@de.ibm.com>
      Cc: Jeremy Kerr <jk@ozlabs.org>
      aac2e684
    • Kumar Gala's avatar
      [POWERPC] Update defconfigs · 5cc44e08
      Kumar Gala authored
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      5cc44e08
    • Vlad Yasevich's avatar
      SCTP: Assign stream sequence numbers to the entire message · ab3e5e7b
      Vlad Yasevich authored
      Currently we only assign the sequence number to a packet that
      we are about to transmit.  This however breaks the Partial
      Reliability extensions, because it's possible for us to
      never transmit a packet, i.e. it expires before we get to send
      it.  In such cases, if the message contained multiple SCTP
      fragments, and we did manage to send the first part of the
      message, the Stream sequence numbers would get into invalid
      state and cause receiver to stall.
      Signed-off-by: default avatarVlad Yasevich <vladislav.yasevich@hp.com>
      ab3e5e7b
    • Vlad Yasevich's avatar
      SCTP: properly clean up fragment and ordering queues during FWD-TSN. · ea2dfb37
      Vlad Yasevich authored
      When we recieve a FWD-TSN (meaning the peer has abandoned the data),
      we need to clean up any partially received messages that may be
      hanging out on the re-assembly or re-ordering queues.  This is
      a MUST requirement that was not properly done before.
      Signed-off-by: default avatarVlad Yasevich <vladislav.yasevich@hp.com.>
      ea2dfb37
    • Kumar Gala's avatar
      [POWERPC] Flush registers to proper task context · 0ee6c15e
      Kumar Gala authored
      When we flush register state for FP, Altivec, or SPE in flush_*_to_thread
      we need to respect the task_struct that the caller has passed to us.
      
      Most cases we are called with current, however sometimes (ptrace) we may
      be passed a different task_struct.
      
      This showed up when using gdbserver debugging a simple program that used
      floating point. When gdb tried to show the FP regs they all showed up as
      0, because the child's FP registers were never properly flushed to memory.
      Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
      0ee6c15e