1. 26 5月, 2006 1 次提交
  2. 24 5月, 2006 1 次提交
  3. 16 5月, 2006 1 次提交
    • B
      [PATCH] Fix pSeries identification in prom_init.c · cb6b2eb9
      Benjamin Herrenschmidt 提交于
      The OF trampoline code prom_init.c still needs to identify IBM pSeries
      (PAPR) machines in order to run some platform specific code on them like
      instanciating the TCE tables. The code doing that detection was changed
      recently in 2.6.17 early stages but was done slightly incorrectly. It
      should be testing for an exact match of "chrp" and it currently tests
      for anything that begins with "chrp". That means it will incorrectly
      match with platforms using Maple-like device-trees and have open
      firmware. This fixes it by using strcmp instead of strncmp to match what
      the actual platform detection code does.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      cb6b2eb9
  4. 03 5月, 2006 2 次提交
  5. 02 5月, 2006 1 次提交
  6. 01 5月, 2006 1 次提交
  7. 29 4月, 2006 1 次提交
  8. 28 4月, 2006 4 次提交
  9. 26 4月, 2006 3 次提交
  10. 21 4月, 2006 3 次提交
  11. 20 4月, 2006 1 次提交
  12. 18 4月, 2006 1 次提交
    • P
      powerpc: Use correct sequence for putting CPU into nap mode · f39224a8
      Paul Mackerras 提交于
      We weren't using the recommended sequence for putting the CPU into
      nap mode.  When I changed the idle loop, for some reason 7447A cpus
      started hanging when we put them into nap mode.  Changing to the
      recommended sequence fixes that.
      
      The complexity here is that the recommended sequence is a loop that
      keeps putting the cpu back into nap mode.  Clearly we need some way
      to break out of the loop when an interrupt (external interrupt,
      decrementer, performance monitor) occurs.  Here we use a bit in
      the thread_info struct to indicate that we need this, and the exception
      entry code notices this and arranges for the exception to return
      to the value in the link register, thus breaking out of the loop.
      We use a new `local_flags' field in the thread_info which we can
      alter without needing to use an atomic update sequence.
      
      The PPC970 has the same recommended sequence, so we do the same thing
      there too.
      
      This also fixes a bug in the kernel stack overflow handling code on
      32-bit, since it was causing a value that we needed in a register to
      get trashed.
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f39224a8
  13. 14 4月, 2006 3 次提交
  14. 11 4月, 2006 1 次提交
    • J
      [PATCH] splice: add support for sys_tee() · 70524490
      Jens Axboe 提交于
      Basically an in-kernel implementation of tee, which uses splice and the
      pipe buffers as an intelligent way to pass data around by reference.
      
      Where the user space tee consumes the input and produces a stdout and
      file output, this syscall merely duplicates the data inside a pipe to
      another pipe. No data is copied, the output just grabs a reference to the
      input pipe data.
      Signed-off-by: NJens Axboe <axboe@suse.de>
      70524490
  15. 04 4月, 2006 1 次提交
  16. 03 4月, 2006 2 次提交
  17. 02 4月, 2006 1 次提交
  18. 01 4月, 2006 6 次提交
  19. 31 3月, 2006 2 次提交
  20. 29 3月, 2006 1 次提交
  21. 28 3月, 2006 3 次提交