On 2025-01-03 20:58, Denis Mukhin via B4 Relay wrote:
From: Denis Mukhin <dmuk...@ford.com>
console_input_domain() takes an RCU lock to protect domain structure.
That implies call to rcu_unlock_domain() after use.
Introduce a pair of console_get_domain() / console_put_domain() to highlight
the correct use of the call within the code interacting with Xen console
driver.
Also, use new calls in the console driver in __serial_rx(). That prepares
the code for the follow-on console driver cleanup series.
Signed-off-by: Denis Mukhin <dmuk...@ford.com>
Reviewed-by: Jason Andryuk <jason.andr...@amd.com>