[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20250330003058.386447-1-ryotkkr98@gmail.com>
Date: Sun, 30 Mar 2025 09:30:58 +0900
From: Ryo Takakura <ryotkkr98@...il.com>
To: alex@...ti.fr,
	aou@...s.berkeley.edu,
	gregkh@...uxfoundation.org,
	jirislaby@...nel.org,
	john.ogness@...utronix.de,
	palmer@...belt.com,
	paul.walmsley@...ive.com,
	pmladek@...e.com,
	samuel.holland@...ive.com,
	bigeasy@...utronix.de,
	conor.dooley@...rochip.com,
	u.kleine-koenig@...libre.com
Cc: linux-kernel@...r.kernel.org,
	linux-riscv@...ts.infradead.org,
	linux-serial@...r.kernel.org,
	Ryo Takakura <ryotkkr98@...il.com>
Subject: [PATCH v2 0/2] serial: sifive: Convert sifive console to nbcon
Hi!
This series convert sifive console to nbcon.
The first patch fixes the issue which was pointed out by John [0] 
that the driver has been accessing SIFIVE_SERIAL_IE_OFFS register 
on its ->startup() and ->shutdown() without port lock synchronization 
against ->write().
The fix on the first patch still applies to the second patch which 
converts the console to nbcon as ->write_thread() holds port lock
and ->write_atomic() checks for the console ownership.
Sincerely,
Ryo Takakura
[0] https://lore.kernel.org/lkml/84sen2fo4b.fsf@jogness.linutronix.de/
---
Changes since v1:
[1] https://lore.kernel.org/lkml/20250323060603.388621-1-ryotkkr98@gmail.com/
- Thank you John for the feedback!
- Add a patch for synchronizing startup()/shutdown() vs write(). 
- Add <Reviewed-by> by John.
---
Ryo Takakura (2):
  serial: sifive: lock port in startup()/shutdown() callbacks
  serial: sifive: Switch to nbcon console
 drivers/tty/serial/sifive.c | 93 +++++++++++++++++++++++++++++++------
 1 file changed, 80 insertions(+), 13 deletions(-)
-- 
2.34.1
Powered by blists - more mailing lists
 
