• Russell King's avatar
    [SERIAL] Remove unconditional enable of TX irq for console · a88d75b2
    Russell King authored
    A bug report from Gerd Hoffmann has highlighted that unconditionally
    enabling the transmit interrupt at the end of console writes is very
    bad.
    
    In Gerd's case, it causes the test for buggy UARTs to give false
    positives, incorrectly identifying ports as buggy when they are not.
    
    Moreover, if we unconditionally enable the interrupt, and the port
    is sharing it's interrupt with other ports, there is the very real
    possibility that we'll cause an interrupt storm.  (Not all ports use
    OUT2 as an interrupt mask.)
    
    Hence, revert part of f91a3715 and
    all of f5968b37 until a better solution
    can be found.
    Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
    a88d75b2
8250.c 66.1 KB