[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: Jason Andryuk <jandryuk@xxxxxxxxx>
- From: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 2 May 2022 09:49:02 -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=1651499428; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Dy+1SB52SPq1m3cdZQ9ztW+oAbas77ImY5sN9i+wbFQ=; b=kBTJZ2ujZcU4Z9mRLQqAeBk5EAmRKVYjLuuCtZ8RlF+6EaQTUvk4Ye//Px6UfiSnG+K7QGLpJ9QY6ftY/HOH8OenFbf2dSkc2t4Nw9aBWPZWNKdaOEXVXxV17NouEa9FciSNEvGi/oKYFRU4OZGrHPBWU4ltpP9QzcZCnb1V24s=
- Arc-seal: i=1; a=rsa-sha256; t=1651499428; cv=none; d=zohomail.com; s=zohoarc; b=evAPQ1x2QSOfPjULaRAFqTpp4AOoENhwkanCqkn2R9PM0PQk6AZObNO9d76XHjIrbvk+3mzWN3qg0pkIkGX9Mb6NQZEqEmFzMuf/52kF3N5zywIQY4p4um5WwChoNMOlRmn8ZvRQgUY4poQubz/DCqtcmQKd65KLfL4fvqYtgbo=
- Cc: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Wei Liu <wl@xxxxxxx>, Scott Davis <scott.davis@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: Mon, 02 May 2022 13:50:39 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
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 compiled.
v/r,
dps
|