Re: [PATCH v2 5.10] Revert "tty: n_gsm: avoid call of sleeping functions from atomic context"

From: Greg Kroah-Hartman
Date: Sun Dec 04 2022 - 10:59:19 EST


On Sun, Dec 04, 2022 at 12:55:18AM +0300, Fedor Pchelkin wrote:
> From: Fedor Pchelkin <pchelkin@xxxxxxxxx>
>
> [ Upstream commit acdab4cb4ba7e5f94d2b422ebd7bf4bf68178fb2 ]
>
> This reverts commit eb75efdec8dd0f01ac85c88feafa6e63b34a2521.
>
> The above commit is reverted as the usage of tx_mutex seems not to solve
> the problem described in eb75efdec8dd ("tty: n_gsm: avoid call of sleeping
> functions from atomic context") and just moves the bug to another place.
>
> Signed-off-by: Fedor Pchelkin <pchelkin@xxxxxxxxx>
> Signed-off-by: Alexey Khoroshilov <khoroshilov@xxxxxxxxx>
> Reviewed-by: Daniel Starke <daniel.starke@xxxxxxxxxxx>
> Link: https://lore.kernel.org/r/20221008110221.13645-2-pchelkin@xxxxxxxxx
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> Reviewed-by: Pavel Machek <pavel@xxxxxxx>

Now queued up, thanks.

greg k-h