1. 01 3月, 2014 1 次提交
  2. 14 2月, 2014 1 次提交
  3. 08 1月, 2014 1 次提交
    • S
      serial: 8250: enable UART_BUG_NOMSR for Tegra · 3685f19e
      Stephen Warren 提交于
      Tegra chips have 4 or 5 identical UART modules embedded. UARTs C..E have
      their MODEM-control signals tied off to a static state. However UARTs A
      and B can optionally route those signals to/from package pins, depending
      on the exact pinmux configuration.
      
      When these signals are not routed to package pins, false interrupts may
      trigger either temporarily, or permanently, all while not showing up in
      the IIR; it will read as NO_INT. This will eventually lead to the UART
      IRQ being disabled due to unhandled interrupts. When this happens, the
      kernel may print e.g.:
      
          irq 68: nobody cared (try booting with the "irqpoll" option)
      
      In order to prevent this, enable UART_BUG_NOMSR. This prevents
      UART_IER_MSI from being enabled, which prevents the false interrupts
      from triggering.
      
      In practice, this is not needed under any of the following conditions:
      
      * On Tegra chips after Tegra30, since the HW bug has apparently been
        fixed.
      
      * On UARTs C..E since their MODEM control signals are tied to the correct
        static state which doesn't trigger the issue.
      
      * On UARTs A..B if the MODEM control signals are routed out to package
        pins, since they will then carry valid signals.
      
      However, we ignore these exceptions for now, since they are only relevant
      if a board actually hooks up more than a 4-wire UART, and no currently
      supported board does this. If we ever support a board that does, we can
      refine the algorithm that enables UART_BUG_NOMSR to take those exceptions
      into account, and/or read a flag from DT/... that indicates that the
      board has hooked up and pinmux'd more than a 4-wire UART.
      
      Reported-by: Olof Johansson <olof@lixom.net> # autotester
      Cc: <stable@vger.kernel.org>
      Signed-off-by: NStephen Warren <swarren@nvidia.com>
      Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
      3685f19e
  4. 27 9月, 2013 1 次提交
  5. 01 8月, 2013 1 次提交
  6. 04 6月, 2013 1 次提交
  7. 26 3月, 2013 3 次提交
  8. 12 3月, 2013 2 次提交
  9. 30 1月, 2013 1 次提交
  10. 18 1月, 2013 1 次提交
  11. 16 1月, 2013 4 次提交
  12. 22 11月, 2012 7 次提交
  13. 25 10月, 2012 1 次提交
  14. 27 9月, 2012 2 次提交
  15. 22 9月, 2012 1 次提交
  16. 12 9月, 2012 1 次提交
  17. 27 7月, 2012 1 次提交
  18. 13 7月, 2012 3 次提交
  19. 13 6月, 2012 2 次提交
  20. 03 5月, 2012 5 次提交