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

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

2024-04-11 Thread Jiri Slaby
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_interrupt() will be executed, a

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

2024-04-11 Thread Greg KH
On Fri, Apr 12, 2024 at 11:38:48AM +0800, 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_handl

[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

[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 Greg KH
On Thu, Apr 11, 2024 at 09:50:17PM +0800, 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_handl