Re: [PATCH] backup timer for UARTs that lose interrupts

From: Russell King (rmk+lkml_at_arm.linux.org.uk)
Date: 11/10/05

  • Next message: Adrian Bunk: "Re: [PATCH 8/8] Inline 3 functions"
    Date:	Thu, 10 Nov 2005 10:44:19 +0000
    To: Alex Williamson <alex.williamson@hp.com>
    
    

    On Tue, Nov 08, 2005 at 05:16:32PM -0700, Alex Williamson wrote:
    > I was hoping that would be the solution too. I just tried enabling
    > UART_BUG_TXEN to double check my previous results. Somehow it makes the
    > problem much, much worse. Instead of being the nuisance it usually is,
    > it seems like the UART gets way behind on transmitting bits. So it
    > would probably prevent the unattended reboot stall since we kick it
    > every time we want to transmit, but it renders the UART completely
    > unusable as a console. I can't even get it caught up enough to login
    > via the serial console w/ UART_BUG_TXEN enabled on the port. Thanks,

    Ok, would you mind fixing the patch so it isn't screwing up the
    default use of up->timer please? You may notice that this timer
    is already used, and overwriting up->timer.function is a one-way
    process in your patch (which kills off the point of serial8250_timeout).

    -- 
    Russell King
     Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
     maintainer of:  2.6 Serial core
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at  http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at  http://www.tux.org/lkml/
    

  • Next message: Adrian Bunk: "Re: [PATCH 8/8] Inline 3 functions"

    Relevant Pages

    • [PATCH] backup timer for UARTs that lose interrupts (take 2)
      ... I've revised the patch for this backup timer idea based on your ... The problem is that the UART does not reassert the THRE ... static unsigned int serial8250_tx_empty ...
      (Linux-Kernel)
    • Re: [parisc-linux] Re: [PATCH 3/9] mm: parisc pte atomicity
      ... using your own tmpalias area sounds much better than getting ... I've simply not wrapped my head around the races, ... it looks like we agree that my patch is necessary and valid as is; ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: keyboard - was: Re: Linux 2.6.0-test4
      ... >> I was able to get the key unstuck by switching back and forth between ... I rebuild my kernel including your patch; ... I'll get back to you once I verify that the problem doesn't occur ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.0-test8/test9 io scheduler needs tuning?
      ... interactivity with regard to desktop use. ... Going to improve the time info output of the ddd loops to get better data and ... with the patch the hang reported earlier was not encountered again so ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [CFT][PATCH] 2.6.4-rc1 remove x86 boot page tables
      ... > For VISWS I think you actually need to turn paging off explicitly. ... The patch will need a few tweaks but it should be fairly straight forward. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)