[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 1/2] xsm: create idle domain privileged and demote after setup
- To: Luca Fancellu <Luca.Fancellu@xxxxxxx>
- From: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 3 May 2022 07:30:34 -0400
- Arc-authentication-results: i=1; mx.zohomail.com; dkim=pass header.i=apertussolutions.com; spf=pass smtp.mailfrom=dpsmith@xxxxxxxxxxxxxxxxxxxx; dmarc=pass header.from=<dpsmith@xxxxxxxxxxxxxxxxxxxx>
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1651577497; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=L9QqY4cMLNeoXiV3OJDVAFImgfcLfNv3geetzMx4Tp8=; b=OqlcPMYvuymDDIszZ0SGDqbsmImsmk23FZbh5mONDupPESnVd3sQpOJpgXKm1xrxuFWuTo6vPCiscJUmc6LU7l1uAweJF0K9qiUSIYkIfY3OIit0FZZ0xiI5Is9fbUkPNql6wUDBv2321tai4bd2A/F3GorQUJ1DDGnLTp5at6c=
- Arc-seal: i=1; a=rsa-sha256; t=1651577497; cv=none; d=zohomail.com; s=zohoarc; b=keIcmYiTU2s1Fi2qPgffgv1u+MA1PHR3409YrnaLrAXovoCqHBffuxXO8cbYkav0vKBkV3CZRjyoJx1L8ZFCXX2K2gLQ2rZpu0DemhWTflNXNlFB8ndhzEvscLSiJ5770vvNtomQVamXHMnAZd5L8mz9P8rPiqK5MipsCkpy2+c=
- Cc: Jason Andryuk <jandryuk@xxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Wei Liu <wl@xxxxxxx>, Scott Davis <scott.davis@xxxxxxxxxx>, "christopher.clark@xxxxxxxxxx" <christopher.clark@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Dario Faggioli <dfaggioli@xxxxxxxx>, Daniel De Graaf <dgdegra@xxxxxxxxxxxxx>
- Delivery-date: Tue, 03 May 2022 11:31:48 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 5/3/22 05:43, Luca Fancellu wrote:
>
>
>> On 2 May 2022, at 14:53, Daniel P. Smith <dpsmith@xxxxxxxxxxxxxxxxxxxx>
>> wrote:
>>
>> On 5/2/22 09:49, Daniel P. Smith wrote:
>>> On 5/2/22 09:42, Jason Andryuk wrote:
>>>> On Mon, May 2, 2022 at 9:31 AM Daniel P. Smith
>>>> <dpsmith@xxxxxxxxxxxxxxxxxxxx> wrote:
>>>>> diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c
>>>>> index d5d0792ed4..b9057222d6 100644
>>>>> --- a/xen/arch/arm/setup.c
>>>>> +++ b/xen/arch/arm/setup.c
>>>>> @@ -1048,6 +1048,10 @@ void __init start_xen(unsigned long
>>>>> boot_phys_offset,
>>>>> /* Hide UART from DOM0 if we're using it */
>>>>> serial_endboot();
>>>>>
>>>>> + if ( (rc = xsm_set_system_active()) != 0 )
>>>>> + panic("xsm(err=%d): "
>>>>> + "unable to set hypervisor to SYSTEM_ACTIVE privilege\n",
>>>>> err);
>>>>
>>>> You want to print rc in this message.
>>>
>>> Thanks, but now I want to figure out how that compile
>>
>> Ah, arm which I do not have a build env to do build tests.
>
> I’ve built this patch on arm (changing err to rc), everything looks fine, so
> with that
> addressed:
>
> Reviewed-by: Luca Fancellu <luca.fancellu@xxxxxxx>
Thank you and my apologies for not adding your review-by this morning. I
had v6 queued to go out last night and missed this email before releasing.
|