[PATCH v2] tty/serial/imx: Enable TXEN bit in imx_poll_init().

2020-12-01 Thread jiladahe1997
From: Mingrui Ren As described in Documentation, poll_init() is called by kgdb to initialize hardware which supports both poll_put_char() and poll_get_char(). It's necessary to enable TXEN bit, otherwise, it will cause hardware fault and kernel panic when calling imx_poll_put_char().

Re: [PATCH RESEND] tty/serial/imx: Enable TXEN bit in imx_poll_init().

2020-12-01 Thread jiladahe1997
On 2020/12/2 0:47, Greg KH wrote: On Wed, Dec 02, 2020 at 07:03:08AM +0800, jiladahe1997 wrote: From: Mingrui Ren As described in Documentation, poll_init() is called by kgdb to initialize hardware which supports both poll_put_char() and poll_get_char(). It's necessary to enable TXEN bit

[PATCH RESEND] tty/serial/imx: Enable TXEN bit in imx_poll_init().

2020-12-01 Thread jiladahe1997
From: Mingrui Ren As described in Documentation, poll_init() is called by kgdb to initialize hardware which supports both poll_put_char() and poll_get_char(). It's necessary to enable TXEN bit, otherwise, it will cause hardware fault and kernel panic when calling imx_poll_put_char().