[PATCH] soc: xilinx: fix unhandled SGI warning message

Michal Simek michal.simek at amd.com
Wed Nov 15 06:05:06 PST 2023



On 10/27/23 20:23, Radhey Shyam Pandey wrote:
> From: Tanmay Shah <tanmay.shah at 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 at xilinx.com>
> Signed-off-by: Radhey Shyam Pandey <radhey.shyam.pandey at 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



More information about the linux-arm-kernel mailing list