lkml.org 
[lkml]   [2019]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH] serial: sh-sci: disable DMA for uart_console
    Hi George,

    On Thu, May 9, 2019 at 4:44 PM George G. Davis <ggdavisiv@gmail.com> wrote:
    > As noted in commit 84b40e3b57ee ("serial: 8250: omap: Disable DMA for
    > console UART"), UART console lines use low-level PIO only access functions
    > which will conflict with use of the line when DMA is enabled, e.g. when
    > the console line is also used for systemd messages. So disable DMA
    > support for UART console lines.
    >
    > Fixes: https://patchwork.kernel.org/patch/10929511/
    > Reported-by: Michael Rodin <mrodin@de.adit-jv.com>
    > Cc: Eugeniu Rosca <erosca@de.adit-jv.com>
    > Signed-off-by: George G. Davis <george_davis@mentor.com>

    I think this makes sense. In addition to OMAP 8250, the same approach
    is used in the Mediatek 8250 and iMX serial drivers.

    Regardless, this is definitely better than removing the "dmas" properties
    from DT, as DT describes hardware, not usage policies.

    Anyone else with a comment?

    Gr{oetje,eeting}s,

    Geert

    --
    Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

    In personal conversations with technical people, I call myself a hacker. But
    when I'm talking to journalists I just say "programmer" or something like that.
    -- Linus Torvalds

    \
     
     \ /
      Last update: 2019-05-13 13:14    [W:2.109 / U:0.048 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site