soc: xilinx: fix unhandled SGI warning message
authorTanmay Shah <tanmay.shah@xilinx.com>
Fri, 27 Oct 2023 18:23:59 +0000 (23:53 +0530)
committerMichal Simek <michal.simek@amd.com>
Wed, 15 Nov 2023 14:04:59 +0000 (15:04 +0100)
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>
drivers/soc/xilinx/xlnx_event_manager.c

index edfb1d5c10c6eec37ea6faec4b9b782dac1dc41c..042553abe1bf84b3af080661c6a0f0cd826b9e5f 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]);
 }