soc: xilinx: fix unhandled SGI warning message
authorTanmay Shah <tanmay.shah@xilinx.com>
Fri, 27 Oct 2023 18:23:59 +0000 (23:53 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Feb 2024 20:14:19 +0000 (20:14 +0000)
[ Upstream commit 9c6724abf969251af53cdae525ad8100ec78d3c2 ]

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>
Link: https://lore.kernel.org/r/1698431039-2734260-1-git-send-email-radhey.shyam.pandey@amd.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/soc/xilinx/xlnx_event_manager.c

index edfb1d5..042553a 100644 (file)
@@ -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]);
 }