[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v6 07/12] xen: enable Dom0 to use SVE feature


  • To: Luca Fancellu <Luca.Fancellu@xxxxxxx>
  • From: Jan Beulich <jbeulich@xxxxxxxx>
  • Date: Mon, 24 Apr 2023 18:10:03 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=suse.com; dmarc=pass action=none header.from=suse.com; dkim=pass header.d=suse.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=PKf1rklL4kim2o6be/N/6Qkhxt83x3us1rIf78YHmi8=; b=c+P8S/K6HVOtk+I9PVjHyHNYeXU3n8KxAJ4NX7rolIQqO+Diuih00lKptO7H0f2fqzMX0FODuij9kF8l18Z0Vyuh3A4v3jNtOV7GAhGai9nrm65baVQ5RtSmLZX1jFULmxg5sGjImQFSaD2Esd6aZ5kHU1zWh+Il7rZpoT1C6H2ojA0x0Au0yVoDHW1DXYolldRJqijZFXfwGDJnb3Fmw/ws5G5X7Z0zemxR+59+ItWJm1JEsfjIAC0vpzYMUyNUSAkETdhGnx9KzDaW1mYfgBmDovJeu46/Aolsro/X3gO1J0n+ouqjzAL5tLrIlPF7K6bCzeq9AvuUYM0hh+f8/g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ANjVEypR2dehnasN6FSLN8uhZbMwUoC0Rnh4nMb1DTe4tsWs3p45HICPa/2ZCBR1WJi8ctcxUBTj75SFYN8WQcqLJ2imkrCFH5EWstzDP6RdvT8t5Vw3/aD97Tw2PXeZH/p+ff+nN6HdU2Qslxg4vXQ8+4aCFKW2txpShgyed+FyAXgGyq4l4hDHyMV9uzuiVvPGhlPRZe9eww0qPfb/qS6JLgTYxs8slSXSJ4+x8eAQLTeD8we7K2G6RRCXMuZgTY+/fJeZHPRP3mimVGaavBKdNGPo0iIHNrQ9ZtmXOlpmEQWzDgFh9QB8AvFC7y09YL+XnTcnsbY0YuFvicVVKQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=suse.com;
  • Cc: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Wei Chen <Wei.Chen@xxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 24 Apr 2023 16:10:30 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 24.04.2023 17:43, Luca Fancellu wrote:
>> On 24 Apr 2023, at 16:41, Jan Beulich <jbeulich@xxxxxxxx> wrote:
>> On 24.04.2023 17:34, Luca Fancellu wrote:
>>>> On 24 Apr 2023, at 16:25, Jan Beulich <jbeulich@xxxxxxxx> wrote:
>>>> On 24.04.2023 17:18, Luca Fancellu wrote:
>>>>> Oh ok, I don’t know, here what I get if for example I build arm32:
>>>>>
>>>>> arm-linux-gnueabihf-ld -EL -T arch/arm/xen.lds -N prelink.o \
>>>>> ./common/symbols-dummy.o -o ./.xen-syms.0
>>>>> arm-linux-gnueabihf-ld: prelink.o: in function `create_domUs':
>>>>> (.init.text+0x13464): undefined reference to `sve_domctl_vl_param'
>>>>
>>>> In particular with seeing this: What you copied here is a build with the
>>>> series applied only up to this patch? I ask because the patch here adds a
>>>> call only out of create_dom0().
>>>
>>> No I’ve do the changes on top of the serie, I’ve tried it now, only to this 
>>> patch and it builds correctly,
>>> It was my mistake to don’t read carefully the error output.
>>>
>>> Anyway I guess this change is not applicable because we don’t have a symbol 
>>> that is plain 0 for domUs
>>> to be placed inside create_domUs.
>>
>> Possible, but would you mind first telling me in which other patch(es) the
>> further reference(s) are being introduced, so I could take a look without
>> (again) digging through the entire series?
> 
> Sure, the other references to the function are introduced in "xen/arm: add 
> sve property for dom0less domUs” patch 11

Personally I'm inclined to suggest adding "#ifdef CONFIG_ARM64_SVE" there.
But I guess that may again go against your desire to not ignore inapplicable
options. Still I can't resist to at least ask how an "sve" node on Arm32 is
different from an entirely unknown one.

Jan



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.