• Krzysztof Kozlowski's avatar
    serial: samsung: Continue to work if DMA request fails · f98c7bce
    Krzysztof Kozlowski authored
    If DMA is not available (even when configured in DeviceTree), the driver
    will fail the startup procedure thus making serial console not
    available.
    
    For example this causes boot failure on QEMU ARMv7 (Exynos4210, SMDKC210):
        [    1.302575] OF: amba_device_add() failed (-19) for /amba/pdma@12680000
        ...
        [   11.435732] samsung-uart 13800000.serial: DMA request failed
        [   72.963893] samsung-uart 13800000.serial: DMA request failed
        [   73.143361] Kernel panic - not syncing: Attempted to kill init! exitcode=0x00000000
    
    DMA is not necessary for serial to work, so continue with UART startup
    after emitting a warning.
    
    Fixes: 62c37eed ("serial: samsung: add dma reqest/release functions")
    Cc: <stable@vger.kernel.org>
    Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    f98c7bce
Name
Last commit
Last update
..
hvc Loading commit data...
ipwireless Loading commit data...
serdev Loading commit data...
serial Loading commit data...
vt Loading commit data...
Kconfig Loading commit data...
Makefile Loading commit data...
amiserial.c Loading commit data...
bfin_jtag_comm.c Loading commit data...
cyclades.c Loading commit data...
ehv_bytechan.c Loading commit data...
goldfish.c Loading commit data...
isicom.c Loading commit data...
metag_da.c Loading commit data...
mips_ejtag_fdc.c Loading commit data...
moxa.c Loading commit data...
moxa.h Loading commit data...
mxser.c Loading commit data...
mxser.h Loading commit data...
n_gsm.c Loading commit data...
n_hdlc.c Loading commit data...
n_r3964.c Loading commit data...
n_tracerouter.c Loading commit data...
n_tracesink.c Loading commit data...
n_tracesink.h Loading commit data...
n_tty.c Loading commit data...
nozomi.c Loading commit data...
pty.c Loading commit data...
rocket.c Loading commit data...
rocket.h Loading commit data...
rocket_int.h Loading commit data...
synclink.c Loading commit data...
synclink_gt.c Loading commit data...
synclinkmp.c Loading commit data...
sysrq.c Loading commit data...
tty_audit.c Loading commit data...
tty_buffer.c Loading commit data...
tty_io.c Loading commit data...
tty_ioctl.c Loading commit data...
tty_ldisc.c Loading commit data...
tty_ldsem.c Loading commit data...
tty_mutex.c Loading commit data...
tty_port.c Loading commit data...