Re: [PATCH] serial: fsl_lpuart: Reset prior to registration

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 11 Sep 2022, Lukas Wunner wrote:

> Since commit bd5305dcabbc ("tty: serial: fsl_lpuart: do software reset
> for imx7ulp and imx8qxp"), certain i.MX UARTs are reset after they've
> already been registered.  Register state may thus be clobbered after
> user space has begun to open and access the UART.
> 
> Avoid by performing the reset prior to registration.
> 
> Fixes: bd5305dcabbc ("tty: serial: fsl_lpuart: do software reset for imx7ulp and imx8qxp")
> Signed-off-by: Lukas Wunner <lukas@xxxxxxxxx>
> Cc: stable@xxxxxxxxxxxxxxx # v5.15+
> Cc: Fugang Duan <fugang.duan@xxxxxxx>
> Cc: Sherry Sun <sherry.sun@xxxxxxx>

Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@xxxxxxxxxxxxxxx>

-- 
 i.

[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux