[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: Stefano Stabellini <sstabellini@xxxxxxxxxx>
- From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
- Date: Mon, 22 Sep 2025 09:48:36 +0000
- Accept-language: en-GB, en-US
- Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 4.158.2.129) smtp.rcpttodomain=kernel.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=arm.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
- Arc-message-signature: i=2; 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=BCdKscu6ruRp97nwmqgS4IMyeU9XD9sfV9Qu+aXDYms=; b=bLMJ1VBE2vp6wMnux3kHiN1vkWn95mlpOs1SY3G3q0zWUEISvZ1ClMggN8TOdfdpWvES0KDbRf376mILy9xKNzEitTnQqP3NICA/NNZFsTl386nq/x6slu4RoxZda+7/vf5j2tirUaWT23KpcmA4aBp4xJUgQnItmDqdER9WgIHBOoHEiVg71sPSzkYBSOySDQkbOjoVohkxPYhO8LdRCacTw4ZHzTZRK3aAEoZYFbslI+Fgy6JJYtZklikucdItztxJnjIuWdp+7/VmdKciXlk5SV0qNiJdb8sXiyrc5I/LE23ITt05wVK7nUjzMNZ1G883bNNtMCdgJpPOxpwUcQ==
- 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=BCdKscu6ruRp97nwmqgS4IMyeU9XD9sfV9Qu+aXDYms=; b=Ns72EQFYXXKs/zrAIh34b81Gm8sfgeIzfgrUCusE4iReDQ6mg23aZSDh52/UeRn2lIEPQK8eF4rIrpOs0BWct9wSm54EOStf8Knd7lCRcgG2Ap3bmBhN8Wf0J3EWSYYPhtXFt1W27LUb7QG9Zj6mlLwHpFGPq5F+gB+FMEPErIfVuhH17WjizH80H0fn2BU9n6o8e/uUl0Q8oxXqe+Or0WoANn3qJ8R69GU0q5FbVDTmKBxdnyfH5v2OM2HnVZH5CTTMgAmqO3UpcwkK82NLzJ5CYexfNYgmrrHw61u0PtRUHdg4g5Y+l+Jc76gZNwCo84tq6a4jXdGzugZKBTqIqQ==
- Arc-seal: i=2; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=pass; b=ryUswlh2bPfQjhtacTN4xP7rucK+2AvSM+ZaKQjG1Tk+yskweE3LNZjAUDcMnh4BhwoDh2bra3zBJ9xrAVpJbqTO1jcb3glpVoV9q1dzYYkM1x6QsUoM681fOu+rbyFEUyLOG5zYq8Mf8LqT5o1xxhaKoCQG0WTxVN+RHDphjK0BbAY4/sUnDAXuGw7tRUHlKR5ZLuvPDfReHriiN6DeymwHmHfMFhXRvinyu5amsF+dnOeE0qUeC3AZWH4D/qL1XiPa+SQrWdFw8O7S71Ng7Lll1qAmfVr9KDr4OoprV54e4dB+zsERUMMJKM6lCaLBpN5YoQluybw/xxUMtTuJww==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=p2wZZdLOuigaRyhNap3K14f7tm+CZhxvv3gxiP2/s15X9cMDTfzSU7aQ60Xwstw0KjkbntY7XXPUnbChpLBbaKVnKIbzUaey+8dJ0QU91LiHR6MohER97x7pkMpL4HHaWQXs4Uz2insdx3CPAwVGe28SGkwe8T/TgchTAc+3eX0p5lN/YYf/qaaXoeRySnhpHOlvnfBRT2najaDQh/NdDRbITd6NuKqhKdAURSQOyYPT8Yit2u7vWqVLNrjulNwvDeOzqIZIoii8X1Qnn+46zMs75QcELrcoaObgjTr5jQLnLbLy5ayTfl8XawIhLdFiJTkNa7LKzZVxTIxN2gZrNg==
- Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Cc: Julien Grall <julien@xxxxxxx>, Grygorii Strashko <grygorii_strashko@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Mon, 22 Sep 2025 09:49:35 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Nodisclaimer: true
- Thread-index: AQHcJC1gjv9t41MjxkWbCWqmFW+v17SQHGmAgA7nUIA=
- Thread-topic: [XEN][PATCH] xen/arm: restrict cpu_up_send_sgi() to arm32
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.
Cheers
Bertrand
>
>
>> Meanwhile for this patch:
>>
>> Acked-by: Julien Grall <jgrall@xxxxxxxxxx>
|