On 18.02.2025 09:31, dm...@proton.me 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.
> 
> The new calls used in __serial_rx(), which also fixed console forwarding to
> late hardware domains which run with domain IDs different from 0.
> 
> Signed-off-by: Denis Mukhin <dmuk...@ford.com>
> ---
> Link to the original patch:
>   
> https://lore.kernel.org/xen-devel/20250103-vuart-ns8250-v3-v1-4-c5d36b31d...@ford.com/
> ---
>  xen/arch/arm/vpl011.c      |  6 ++---
>  xen/drivers/char/console.c | 53 +++++++++++++++++++-------------------
>  xen/include/xen/console.h  |  3 ++-
>  3 files changed, 32 insertions(+), 30 deletions(-)
> 

This patch doesn't apply to staging. Looks like it depends on "arm/vuart:
move vpl011-related code to vpl011 emulator" without this being said anywhere.

Jan


Reply via email to