1. 31 10月, 2006 9 次提交
  2. 30 10月, 2006 3 次提交
  3. 29 10月, 2006 3 次提交
  4. 28 10月, 2006 7 次提交
  5. 27 10月, 2006 4 次提交
  6. 26 10月, 2006 9 次提交
  7. 25 10月, 2006 5 次提交
    • A
      [PATCH] uml: mconsole fixes · 3a51237d
      Al Viro 提交于
       * when we have stop/sysrq/go, we get pt_regs of whatever executes
         mc_work_proc().  Would be better to see what we had at the time of
         interrupt that got us stop.
      
       * stop/stop/stop.....  will give stack overflow.  Shouldn't allow stop
         from mconsole_stop().
      
       * stop/stop/go leaves us inside mconsole_stop() with
      	os_set_fd_block(req->originating_fd, 0);
      	reactivate_fd(req->originating_fd, MCONSOLE_IRQ);
         just done by nested mconsole_stop().  Ditto.
      
       * once we'd seen stop, there's a period when INTR commands are executed
         out of order (as they should; we might have the things stuck badly
         enough to never reach mconsole_stop(), but still not badly enough to
         block mconsole_interrupt(); in that situation we _want_ things like
         "cad" to be executed immediately).  Once we enter monsole_stop(), all
         INTR commands will be executed in order, mixed with PROC ones.  We'd
         better let user see that such change of behaviour has happened.
         (Suggested by lennert).
      
       * stack footprint of monsole_interrupt() is an atrocity; AFAICS we can
         safely make struct mc_request req; static in function there.
      Signed-off-by: NAl Viro <viro@zeniv.linux.org.uk>
      Acked-by: NJeff Dike <jdike@addtoit.com>
      Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
      3a51237d
    • B
      [POWERPC] Fix CHRP platforms with only 8259 · f4d4c354
      Benjamin Herrenschmidt 提交于
      On CHRP platforms with only a 8259 controller, we should set the
      default IRQ host to the 8259 driver's one for the IRQ probing
      fallbacks to work in case the IRQ tree is incorrect (like on
      Pegasos for example). Without this fix, we get a bunch of WARN_ON's
      during boot.
      Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f4d4c354
    • S
      [POWERPC] IPIC: Fix spinlock recursion in set_irq_handler · f49196a5
      Scott Wood 提交于
      This causes ipic_set_irq_type to set the handler directly rather
      than call set_irq_handler, which causes spinlock recursion because
      the lock is already held when ipic_set_irq_type is called.
      
      I'm also not convinced that ipic_set_irq_type should be changing the
      handler at all.  There seem to be several controllers that don't and
      several that do.  Those that do would break what appears to be a common
      usage of calling set_irq_chip_and_handler followed by set_irq_type, if a
      non-standard handler were to be used.  OTOH, irq_create_of_mapping()
      doesn't set the handler, but only calls set_irq_type().
      
      This patch gets things working in the spinlock-debugging-enabled case,
      but I'm curious as to where the handler setting is ideally supposed to be
      done.  I don't see any documentation on set_irq_type() that clarifies
      what the semantics are supposed to be.
      Signed-off-by: NScott Wood <scottwood@freescale.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f49196a5
    • L
      [POWERPC] Fix the UCC rx/tx clock of QE · f84c39da
      Liu Dave-r63238 提交于
      MPC8323EMDS board ethernet interface with RMII uses the CLK16 divisor
      for the rx and tx clock, but the ucc_set_qe_mux_rxtx() function doesn't
      handle the CLK16 setting of the CMXUCR3 and CMXUCR4 registers.  This
      fixes it.
      Signed-off-by: NDave Liu <daveliu@freescale.com>
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      f84c39da
    • A
      [POWERPC] cell: update defconfig · b910ecf6
      Arnd Bergmann 提交于
      ===================================================================
      Signed-off-by: NPaul Mackerras <paulus@samba.org>
      b910ecf6