diff mbox series

soc: xilinx: fix unhandled SGI warning message

Message ID 1698431039-2734260-1-git-send-email-radhey.shyam.pandey@amd.com (mailing list archive)
State New, archived
Headers show
Series soc: xilinx: fix unhandled SGI warning message | expand

Commit Message

Radhey Shyam Pandey Oct. 27, 2023, 6:23 p.m. UTC
From: Tanmay Shah <tanmay.shah@xilinx.com>

Xen broadcasts SGI to each VM when multiple VMs run on Xen hypervisor. In
such case spurious SGI is expected if one event is registered by one VM and
not registered by another VM. We let users know that Unhandled SGI is not
error and expected if kernel is running on Xen hypervisor.

Signed-off-by: Tanmay Shah <tanmay.shah@xilinx.com>
Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
---
 drivers/soc/xilinx/xlnx_event_manager.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Michal Simek Nov. 15, 2023, 2:05 p.m. UTC | #1
On 10/27/23 20:23, Radhey Shyam Pandey wrote:
> From: Tanmay Shah <tanmay.shah@xilinx.com>
> 
> Xen broadcasts SGI to each VM when multiple VMs run on Xen hypervisor. In
> such case spurious SGI is expected if one event is registered by one VM and
> not registered by another VM. We let users know that Unhandled SGI is not
> error and expected if kernel is running on Xen hypervisor.
> 
> Signed-off-by: Tanmay Shah <tanmay.shah@xilinx.com>
> Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey@amd.com>
> ---
>   drivers/soc/xilinx/xlnx_event_manager.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/soc/xilinx/xlnx_event_manager.c b/drivers/soc/xilinx/xlnx_event_manager.c
> index 86a048a10a13..6356b80ce57b 100644
> --- a/drivers/soc/xilinx/xlnx_event_manager.c
> +++ b/drivers/soc/xilinx/xlnx_event_manager.c
> @@ -477,7 +477,7 @@ static void xlnx_call_notify_cb_handler(const u32 *payload)
>   		}
>   	}
>   	if (!is_callback_found)
> -		pr_warn("Didn't find any registered callback for 0x%x 0x%x\n",
> +		pr_warn("Unhandled SGI node 0x%x event 0x%x. Expected with Xen hypervisor\n",
>   			payload[1], payload[2]);
>   }
>   

Applied.
M
diff mbox series

Patch

diff --git a/drivers/soc/xilinx/xlnx_event_manager.c b/drivers/soc/xilinx/xlnx_event_manager.c
index 86a048a10a13..6356b80ce57b 100644
--- a/drivers/soc/xilinx/xlnx_event_manager.c
+++ b/drivers/soc/xilinx/xlnx_event_manager.c
@@ -477,7 +477,7 @@  static void xlnx_call_notify_cb_handler(const u32 *payload)
 		}
 	}
 	if (!is_callback_found)
-		pr_warn("Didn't find any registered callback for 0x%x 0x%x\n",
+		pr_warn("Unhandled SGI node 0x%x event 0x%x. Expected with Xen hypervisor\n",
 			payload[1], payload[2]);
 }