On 2025-01-03 20:58, Denis Mukhin via B4 Relay wrote:
From: Denis Mukhin <dmuk...@ford.com>

Xen console driver has vpl011-related logic which shall belong vpl011 emulator
code (Arm port). Move vpl011-related code from arch-independent console driver
to Arm's vpl011.c.

Signed-off-by: Denis Mukhin <dmuk...@ford.com>

diff --git a/xen/drivers/char/console.c b/xen/drivers/char/console.c
index 
4cb397116b44935214801c496b30e44c9399c59a..1411c991977b5fb26ee5709e523b7bc32b612808
 100644
--- a/xen/drivers/char/console.c
+++ b/xen/drivers/char/console.c

@@ -579,6 +571,9 @@ static void __serial_rx(char c)
      if ( pv_shim && pv_console )
          consoled_guest_tx(c);
  #endif
+
+    if ( rc )
+        printk(KERN_ERR "d%pd: failed to process console input: %d\n", d, rc);
  }
static void cf_check serial_rx(char c)


This will print the ENOSPC that was formerly silent. Since this is input from the console, that seems more informative to the user and okay to me.

Reviewed-by: Jason Andryuk <jason.andr...@amd.com>

Reply via email to