1. 02 2月, 2006 6 次提交
  2. 01 2月, 2006 3 次提交
  3. 31 1月, 2006 1 次提交
  4. 30 1月, 2006 1 次提交
  5. 29 1月, 2006 1 次提交
  6. 28 1月, 2006 1 次提交
  7. 27 1月, 2006 3 次提交
  8. 26 1月, 2006 2 次提交
  9. 25 1月, 2006 4 次提交
  10. 24 1月, 2006 1 次提交
    • B
      [SUNGEM]: Make PM of PHYs more reliable (#2) · 40727198
      Benjamin Herrenschmidt 提交于
      On my latest laptop, I've had occasional PHY dead on wakeup from
      sleep... the PHY would be totally unresponsive even to toggling the hard
      reset line until the machine is powered down... Looking closely at the
      code, I found some possible issues in the way we setup the MDIO lines
      during suspend along with slight divergences from what Darwin does when
      resetting it that may explain the problem. That patch change these and
      the problem appear to be gone for me at least... I also fixed an mdelay
      -> msleep while I was at it to the pmac feature code that is called
      when toggling the PHY reset line since sungem doesn't call it in an
      atomic context anymore.
      
      Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>b
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      40727198
  11. 23 1月, 2006 1 次提交
  12. 21 1月, 2006 1 次提交
  13. 20 1月, 2006 5 次提交
  14. 19 1月, 2006 10 次提交
    • A
      [ARM] safer handling of syscall table padding · fa1b4f91
      Al Viro 提交于
      ARM entry-common.S needs to know syscall table size; in itself that would
      not be a problem, but there's an additional constraint - some of the
      instructions using it want a constant that would be a multiple of 4.
      So we have to pad syscall table with sys_ni_syscall and that's where
      the trouble begins.  .rept pseudo-op wants a constant expression for
      number of repetitions and subtraction of two labels (before and after
      syscall table) doesn't always get simplified to constant early enough
      for .rept.  If labels end up in different frags, we lose.  And while
      the frag size is large enough (slightly below 4Kb), the syscall table
      is about 1/3 of that.  We used to get away with that, but the recent
      changes had been enough to trigger the breakage.
      
      Proper fix is simple: have a macro (CALL(x)) to populate the table
      instead of using explicit .long x and the first time we include calls.S
      have it defined to .equ NR_syscalls,NR_syscalls+1.  Then we can find
      the proper amount of padding on the first inclusion simply by looking
      at NR_syscalls at that time.  And that will be constant, no matter what.
      
      Moreover, the same trick kills the need of having an estimate of padded
      NR_syscalls - it will be calculated for free at the same time.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      fa1b4f91
    • R
      [ARM] Remove CONFIG_BROKEN=y from defconfigs · ea497725
      Russell King 提交于
      Remove CONFIG_BROKEN=y from the ARM defconfigs, and update with
      the appropriate changes.  This results in only some unselected
      configuration symbols being removed - hence no material effect
      on the configuration.
      Signed-off-by: NRussell King <rmk+kernel@arm.linux.org.uk>
      ea497725
    • D
      [SPARC]: Add support for *at(), ppoll, and pselect syscalls. · 2d7d5f05
      David S. Miller 提交于
      This also includes by necessity _TIF_RESTORE_SIGMASK support,
      which actually resulted in a lot of cleanups.
      
      The sparc signal handling code is quite a mess and I should
      clean it up some day.
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      2d7d5f05
    • A
      [PATCH] EDAC: core EDAC support code · da9bb1d2
      Alan Cox 提交于
      This is a subset of the bluesmoke project core code, stripped of the NMI work
      which isn't ready to merge and some of the "interesting" proc functionality
      that needs reworking or just has no place in kernel.  It requires no core
      kernel changes except the added scrub functions already posted.
      
      The goal is to merge further functionality only after the core code is
      accepted and proven in the base kernel, and only at the point the upstream
      extras are really ready to merge.
      
      From: doug thompson <norsk5@xmission.com>
      
        This converts EDAC to sysfs and is the final chunk neccessary before EDAC
        has a stable user space API and can be considered for submission into the
        base kernel.
      Signed-off-by: NAlan Cox <alan@redhat.com>
      Signed-off-by: NAdrian Bunk <bunk@stusta.de>
      Signed-off-by: NJesper Juhl <jesper.juhl@gmail.com>
      Signed-off-by: Ndoug thompson <norsk5@xmission.com>
      Signed-off-by: NPavel Machek <pavel@suse.cz>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      da9bb1d2
    • D
      [PATCH] Add pselect/ppoll system calls on i386 · 3213e913
      David Woodhouse 提交于
      Add the sys_pselect6() and sys_poll() calls to the i386 syscall table.
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3213e913
    • J
      [PATCH] uml: use generic sys_rt_sigsuspend · 36a7878a
      Jeff Dike 提交于
      Use the generic sys_rt_sigsuspend.
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      36a7878a
    • J
      [PATCH] uml: add TIF_RESTORE_SIGMASK support · 2fc10620
      Jeff Dike 提交于
      Add support for TIF_RESTORE_SIGMASK.  I copy the i386 handling of the flag.
      sys_sigsuspend is also changed to follow i386.
      Also a bit of cleanup -
         turn an if into a switch
         get rid of a couple more emacs formatting comments
      Signed-off-by: NJeff Dike <jdike@addtoit.com>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      2fc10620
    • D
      [PATCH] TIF_RESTORE_SIGMASK support for arch/powerpc · f27201da
      David Woodhouse 提交于
      Implement the TIF_RESTORE_SIGMASK flag in the new arch/powerpc kernel, for
      both 32-bit and 64-bit system call paths.
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      f27201da
    • D
      [PATCH] Handle TIF_RESTORE_SIGMASK for i386 · 283828f3
      David Howells 提交于
      Handle TIF_RESTORE_SIGMASK as added by David Woodhouse's patch entitled:
      
              [PATCH] 2/3 Add TIF_RESTORE_SIGMASK support for arch/powerpc
              [PATCH] 3/3 Generic sys_rt_sigsuspend
      
      It does the following:
      
       (1) Declares TIF_RESTORE_SIGMASK for i386.
      
       (2) Invokes it over to do_signal() when TIF_RESTORE_SIGMASK is set.
      
       (3) Makes do_signal() support TIF_RESTORE_SIGMASK, using the signal mask saved
           in current->saved_sigmask.
      
       (4) Discards sys_rt_sigsuspend() from the arch, using the generic one instead.
      
       (5) Makes sys_sigsuspend() save the signal mask and set TIF_RESTORE_SIGMASK
           rather than attempting to fudge the return registers.
      
       (6) Makes sys_sigsuspend() return -ERESTARTNOHAND rather than looping
           intrinsically.
      
       (7) Makes setup_frame(), setup_rt_frame() and handle_signal() return 0 or
           -EFAULT rather than true/false to be consistent with the rest of the
           kernel.
      
      Due to the fact do_signal() is then only called from one place:
      
       (8) Makes do_signal() no longer have a return value is it was just being
           ignored; force_sig() takes care of this.
      
       (9) Discards the old sigmask argument to do_signal() as it's no longer
           necessary.
      
      (10) Makes do_signal() static.
      
      (11) Marks the second argument to do_notify_resume() as unused. The unused
           argument should remain in the middle as the arguments are passed in as
           registers, and the ordering is specific in entry.S
      
      Given the way do_signal() is now no longer called from sys_{,rt_}sigsuspend(),
      they no longer need access to the exception frame, and so can just take
      arguments normally.
      
      This patch depends on sys_rt_sigsuspend patch.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      283828f3
    • D
      [PATCH] Handle TIF_RESTORE_SIGMASK for FRV · a411aee9
      David Howells 提交于
      Handle TIF_RESTORE_SIGMASK as added by David Woodhouse's patch entitled:
      
              [PATCH] 2/3 Add TIF_RESTORE_SIGMASK support for arch/powerpc
              [PATCH] 3/3 Generic sys_rt_sigsuspend
      
      It does the following:
      
       (1) Declares TIF_RESTORE_SIGMASK for FRV.
      
       (2) Invokes it over to do_signal() when TIF_RESTORE_SIGMASK is set.
      
       (3) Makes do_signal() support TIF_RESTORE_SIGMASK, using the signal mask saved
           in current->saved_sigmask.
      
       (4) Discards sys_rt_sigsuspend() from the arch, using the generic one instead.
      
       (5) Makes sys_sigsuspend() save the signal mask and set TIF_RESTORE_SIGMASK
           rather than attempting to fudge the return registers.
      
       (6) Makes sys_sigsuspend() return -ERESTARTNOHAND rather than looping
           intrinsically.
      
       (7) Makes setup_frame(), setup_rt_frame() and handle_signal() return 0 or
           -EFAULT rather than true/false to be consistent with the rest of the
            kernel.
      
      Due to the fact do_signal() is then only called from one place:
      
       (8) Make do_signal() no longer have a return value is it was just being
           ignored; force_sig() takes care of this.
      
       (9) Discards the old sigmask argument to do_signal() as it's no longer
           necessary.
      
      This patch depends on the FRV signalling patches as well as the
      sys_rt_sigsuspend patch.
      Signed-off-by: NDavid Howells <dhowells@redhat.com>
      Signed-off-by: NDavid Woodhouse <dwmw2@infradead.org>
      Signed-off-by: NAndrew Morton <akpm@osdl.org>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      a411aee9