[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <e2ff335d-5d21-345f-d899-8985477ffa53@kernel.org>
Date: Wed, 10 Nov 2021 10:50:40 +0100
From: Jiri Slaby <jirislaby@...nel.org>
To: Xianting Tian <xianting.tian@...ux.alibaba.com>,
gregkh@...uxfoundation.org, amit@...nel.org, arnd@...db.de,
osandov@...com
Cc: shile.zhang@...ux.alibaba.com, sfr@...b.auug.org.au,
linuxppc-dev@...ts.ozlabs.org,
virtualization@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v12 1/2] tty: hvc: pass DMA capable memory to put_chars()
On 04. 11. 21, 14:06, Xianting Tian wrote:
>> OTOH, you need c[N_OUTBUF] in the console case (hvc_console_print), but
>> not whole hvc_struct. So cons_hvcs should be an array of structs
>> composed of only the lock and the buffer.
> It is ok for me.
>> =============
>>
>> And I would do it even simpler now. One c[N_OUTBUF] buffer for all
>> consoles and a single lock.
>>
>> And "char c" in struct hvc_struct.
>>
>> No need for the complex logic in hvc_console_print.
>
> So you will implement this?
No, there is a slight difference between "I would" and "I will" :). I
don't have anything to test this hvc change on…
thanks,
--
js
suse labs
Powered by blists - more mailing lists