[PATCH v3] tty: hvc: wakeup hvc console immediately when needed

2024-04-15 Thread li.hao40
From: Li Hao Cancel the do_wakeup flag in hvc_struct, and change it to immediately wake up tty when hp->n_outbuf is 0 in hvc_push(). When we receive a key input character, the interrupt handling function hvc_handle_interrupt() will be executed, and the echo thread flush_to_ldisc() will be added

[PATCH v2] tty: hvc: wakeup hvc console immediately when needed

2024-04-15 Thread li.hao40
From: Li Hao Cancel the do_wakeup flag in hvc_struct, and change it to immediately wake up tty when hp->n_outbuf is 0 in hvc_push(). When we receive a key input character, the interrupt handling function hvc_handle_interrupt() will be executed, and the echo thread flush_to_ldisc() will be added

Re: Re: [PATCH] tty: hvc: wakeup hvc console immediately when needed

2024-04-12 Thread li.hao40
> On 12. 04. 24, 5:38, li.ha...@zte.com.cn wrote: > > From: Li Hao > > > > Cancel the do_wakeup flag in hvc_struct, and change it to immediately > > wake up tty when hp->n_outbuf is 0 in hvc_push(). > > > > When we receive a key input character, the interrupt handling function > > hvc_handle_int

[PATCH] tty: hvc: wakeup hvc console immediately when needed

2024-04-11 Thread li.hao40
From: Li Hao Cancel the do_wakeup flag in hvc_struct, and change it to immediately wake up tty when hp->n_outbuf is 0 in hvc_push(). When we receive a key input character, the interrupt handling function hvc_handle_interrupt() will be executed, and the echo thread flush_to_ldisc() will be added

Re: [PATCH] tty: hvc: wakeup hvc console immediately when needed

2024-04-11 Thread li.hao40
sorry,the patch seems to be corrupt,I will resubmit the patch --Original-- From: gregkh To: li hao10307857; Cc: jirislaby ;linuxppc-dev ;linux-kernel ; Date: 2024/04/11 22:03 Subject: Re: [PATCH] tty: hvc: wakeup hvc console immediately when needed On Thu, Apr

[PATCH] tty: hvc: wakeup hvc console immediately when needed

2024-04-11 Thread li.hao40
From: Li Hao Cancel the do_wakeup flag in hvc_struct, and change it to immediately wake up tty when hp->n_outbuf is 0 in hvc_push(). When we receive a key input character, the interrupt handling function hvc_handle_interrupt() will be executed, and the echo thread flush_to_ldisc() will be added