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

Re: [XEN][PATCH 0/8] xen/arm64: make aarch32 support optional


  • To: Julien Grall <julien@xxxxxxx>, "Orzel, Michal" <michal.orzel@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Grygorii Strashko <grygorii_strashko@xxxxxxxx>
  • Date: Wed, 23 Jul 2025 15:12:40 +0300
  • 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=mr9E2tTXV2xWAk92JaADXJPR/lhZP6TH56F8ch5FU+8=; b=B15+5JAC31iqBMpz0Itb4OKBs/tX117Bcm7o31ayv3pLW4CDmTI6awhszoki0yhZhFChO5ovq7KQOdHm26zg2gAndGq+xhLXFz//wHMvJ+xYom8Ysbmni+HTJMGfeNjzYUAv1clKQP9i98P0CP5xU9524S/igtKAwv3Qnx71uoCncsju8o1dRSI/HrOvCUGNR8shTYHk44rWLrgs5NVL+/uPvGD82Bixx68LLguhBdymnTOpZlKXs1Nm8Om/x6UKk+8gF4/af+vMSTaCjv6YCOsu/ja0F9n3YnaK6R2lhWW1ER6YkAhSRq3SbvknCSZGjCmsmG+EYkTGehM97d+7Pg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=lJx4AxP4xrVsjvsvLp+m0d5M/DVX3eeQTNbmWZF4HKPKwOfuZ70sk/eM55JqJbHjzxuC/w55tp7E8OD3nIsCPTq6iiTc1Gm6RkGUR8V4grJi1t2FEqisHklTW5ZFw2G+NUoAfCstAMQcJQ0sj5XLSpWrADlUgZZcuV+VWOT5GP1+PYxGR6AJXpd9VbhtOFCAha88cE8lMhqtkrqcDVE5KZklrqZrSX7gOL2RMlhrswTnIGl8YTOw5Qdqzis3oeC5So6xaylJhrmwCr8wMWwvGw8fSr9cqBrUIcegYjSWWV6sSTWSC6gUM6BEKW9QEqB7fhyKHkxSA8e97/90Ze6P1Q==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=epam.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Anthony PERARD <anthony.perard@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Roger Pau Monne <roger.pau@xxxxxxxxxx>
  • Delivery-date: Wed, 23 Jul 2025 12:12:48 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>



On 23.07.25 15:02, Julien Grall wrote:
Hi,

On 23/07/2025 12:48, Grygorii Strashko wrote:


On 23.07.25 13:54, Orzel, Michal wrote:


On 23/07/2025 10:06, Julien Grall wrote:


On 23/07/2025 08:58, Grygorii Strashko wrote:
From: Grygorii Strashko <grygorii_strashko@xxxxxxxx>

Hi,

Hi Grygorii,

Now Arm64 AArch32 guest support is always enabled and built-in while not
all Arm64 platforms supports AArch32 or this support might not be needed.

I am not entirely sure I like the proliferation of using CONFIG_* for
every single feature. This makes the testing a bit more complicated.

Can you clarify what the goal with this patch?
AArch32 is used quite rarely in embedded systems. Also, in Armv9A it might only
be implemented at EL0 if at all. When focusing on safety certification, AArch32
related code in Xen leaves a gap in terms of coverage that cannot really be
justified in words. This leaves us with two options: either support it (lots of
additional testing, requirements and documents would be needed) or compile it 
out.

FYI. bloat-o-meter report for this series with CONFIG_ARM64_AARCH32=n, 
CONFIG_EXPERT=y

Thanks for sharing the bloat-o-meter. But I don't think the result below 
warrant a new config.
 The reason provided by Michal is a better reason as the impact on safety 
certification is more significant.

It just an additional info to illustrate achieved build-time optimization 
results
which reduces coverage gaps.

--
Best regards,
-grygorii



 


Rackspace

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