[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XEN][PATCH] xen/arm: restrict cpu_up_send_sgi() to arm32
- To: "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Grygorii Strashko <grygorii_strashko@xxxxxxxx>
- Date: Tue, 2 Dec 2025 23:42:06 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=epam.com; dmarc=pass action=none header.from=epam.com; dkim=pass header.d=epam.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=fl11NCIGAD5Yo+640t3InN51CUL5wLKMWZYnexmF/tA=; b=rwWoEinPJMUyeLWEVQ6ae961rMNJ9VoLHHtjo3TJcHUbSxTz7ZKxLoJnUntzdRWxu00Qf2XgLszvJ+JCie1Lkqi/mG+zJ5XxMojHr6AfOHhivTbb97u/08DzzWyamOzgVVYy9HKnbSW4WLpVTirslvRqKSKkV5ZUE6dnL/rHqo8ahlcafFbeW3bzKlHl2oxB+XLNu0pvZPKT50LJHpRGvaoG6lMqjF2U0R7SaiRkPp/1vEA5MgDksgZhNpzMTBiUY3g37GBuHvUeohg4E9wEBEMjIWRDnAd1+cx16yJaEn2pdXVpvv8ExWlbtn9Vrff10zFgrwtN2MW9CDLFwA6lDQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=Le0uCPt3eUvM1HAPfvwGoVsXsn0KQUmNunWF0FkZnLgxMlWBmzuKtp50zeE1HXsLPr5pKVW0V3OkuQ3hJRu1gpO002G8253uJa6HUWH0jw0onNiUnCDqYsCXScP/CrPMzTKrQZehvL8YL3DOvxIphVkCY795w/UwXVnjfRV4riNY4DSwdxLSF01lW9icOZFiZOyXACMLcR75+WXlGlifCDu2Nl3kuhXvG9RGqMjgoJ9s2aG8GPBpWyBrZn+r9EukiQJZN7uvOY0+KhmaOMWdDjOrEGIY7rkvjrzrxNBLJjprMTzS9qWYag5ZueoaZpNLk6u3YD3elBzHBpek2VZqFg==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
- Cc: Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Tue, 02 Dec 2025 21:42:24 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hi, all
On 22.09.25 12:48, Bertrand Marquis wrote:
Hi,
On 13 Sep 2025, at 00:12, Stefano Stabellini <sstabellini@xxxxxxxxxx> wrote:
On Fri, 12 Sep 2025, Julien Grall wrote:
Hi Grygorii,
On 11/09/2025 09:12, Grygorii Strashko wrote:
From: Grygorii Strashko <grygorii_strashko@xxxxxxxx>
Restrict cpu_up_send_sgi() function to arm32 code as it's used by arm32
platforms only and unreachable on arm64 (Misra rule 2.1).
Signed-off-by: Grygorii Strashko <grygorii_strashko@xxxxxxxx>
---> Logically cpu_up_send_sgi() should be moved in arm32, but source is
"GPL-2.0-or-later" while possible destination is "GPL-2.0-only", so put it
under ifdef for now.
:(. I don't know if we will ever solve this license mess... Looking at the
list of platform using cpu_up_send_sgi(), all the platforms are 10+ years old
and to be honest except maybe the rcar2 development platforms. I doubt there
are anyone using them.
So I would be tempted to get rid of them and mandate PSCI when booting on Xen.
Bertrand, Michal, Stefano any thoughts?
I am OK with that.
I am OK with that to.
I'd like to clarify if this patch as is will be merged as is?
or expected to be superseded by clean up series?
Meanwhile for this patch:
Acked-by: Julien Grall <jgrall@xxxxxxxxxx>
--
Best regards,
-grygorii
|