[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20250410141904.4750-1-ryotkkr98@gmail.com>
Date: Thu, 10 Apr 2025 23:19:04 +0900
From: Ryo Takakura <ryotkkr98@...il.com>
To: pmladek@...e.com
Cc: alex@...ti.fr,
aou@...s.berkeley.edu,
bigeasy@...utronix.de,
conor.dooley@...rochip.com,
gregkh@...uxfoundation.org,
jirislaby@...nel.org,
john.ogness@...utronix.de,
linux-kernel@...r.kernel.org,
linux-riscv@...ts.infradead.org,
linux-serial@...r.kernel.org,
palmer@...belt.com,
paul.walmsley@...ive.com,
ryotkkr98@...il.com,
samuel.holland@...ive.com,
u.kleine-koenig@...libre.com
Subject: Re: [PATCH v2] serial: sifive: Switch to nbcon console
Hi Petr!
On Thu, 10 Apr 2025 14:29:33 +0200, Petr Mladek wrote:
>On Sat 2025-04-05 23:59:15, Ryo Takakura wrote:
>> Add the necessary callbacks(write_atomic, write_thread, device_lock
>> and device_unlock) and CON_NBCON flag to switch the sifive console
>> driver to perform as nbcon console.
>>
>> Both ->write_atomic() and ->write_thread() will check for console
>> ownership whenever they are accessing registers.
>>
>> The ->device_lock()/unlock() will provide the additional serilization
>> necessary for ->write_thread() which is called from dedicated printing
>> thread.
>>
>> Signed-off-by: Ryo Takakura <ryotkkr98@...il.com>
>> Reviewed-by: John Ogness <john.ogness@...utronix.de>
>
>I do not have the hardware around so I could not test it.
>But the code looks good. With the added comment (reported
>by the robot):
>
>Reviewed-by: Petr Mladek <pmladek@...e.com>
Thanks for reviewing, I appreciate it!
I'll add your Reviewed-by with the comment for v3.
Sincerely,
Ryo Takakura
>Best Regards,
>Petr
Powered by blists - more mailing lists