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

Re: [PATCH v4 1/7] docs/arm: Document Xen booting protocol on Armv8-R


  • To: Luca Fancellu <luca.fancellu@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: "Orzel, Michal" <michal.orzel@xxxxxxx>
  • Date: Wed, 30 Apr 2025 08:37:19 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.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=N06sIWGoehFMse7vCDApdR4nXa+Gq8fEGZy6VY3ngcY=; b=Qd7EqCLD8u4GupS3QeMPf2BQrQS7L35QOIDWQXARPf67cqlyKzdKJMfq5+CT0vwhY0Oul58JSdgBaJvz75UxdnbZBZTK+e5G6gPk30bp62t1YNVT8YhD4NobEBbLcnoGAE+juJDwrZw520LKo3aDS8w8fvgOiszBpGXWN0eu/gjweb0+Hl0NoB2kAZBvKtq71onOYmIk1hNGrNXzIOaCtANpje2QLILoRSvwOpx7ZzhHTBEXAjvTvOzEktXgLkaZIOWtrfWl1KCShUb0DrMzqKG2shT8CcO4oAV7LjJKM0LAWslSlAz5xaVgmUP1o0sxyhKbrsPLJlWXbUGrlmhmcQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=JQ7bu0SwWIDOZA0V5T+U8gP9uhA8PZ5uqW3itf+//u6S04MS3ilcMj+BENWhJMp1QfBxuJA1InOj8XsIdOEguP9L5XLLthWINtttm119m/QNCwTX5r6SaqGIsW3y75KKTpdrXBYEdk0E+sUjA55YNqQE6eVga9NdI73glEGPj4QuulhwntAFkmSycE1lhkIepIdq8YwuWWP+gPT+dR+4INTL/bfZGOLntc2v6t7bxUZ4aQfk0cKcRR8Im8zmQrCa/JS/zNn4ZGixx5bpPdyEMsltjT7SpF2XOv4ZRd1P7C1eFTGP9DAQa7vLmsy87BL2c3hrhF7ouo+1MOPKd3JMug==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Cc: Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Wed, 30 Apr 2025 06:37:40 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>


On 29/04/2025 17:20, Luca Fancellu wrote:
> Document the requirement needed to boot Xen on Armv8-R platforms.
> 
> Signed-off-by: Luca Fancellu <luca.fancellu@xxxxxxx>
> ---
> v4 changes:
>  - New patch
> ---
>  docs/misc/arm/booting.txt | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/docs/misc/arm/booting.txt b/docs/misc/arm/booting.txt
> index 21ae74837dcc..719af74f1e69 100644
> --- a/docs/misc/arm/booting.txt
> +++ b/docs/misc/arm/booting.txt
> @@ -62,6 +62,14 @@ Xen relies on some settings the firmware has to configure 
> in EL3 before starting
>  
>  * The bit SCR_EL3.HCE (resp. SCR.HCE for 32-bit ARM) must be set to 1.
>  
> +When Xen runs on Armv8-R, the highest exception level is EL2 and the only
> +available state is secure (S) on Arm64 and non secure (NS) on Arm32, hence 
> the
> +above requirements need to be adjusted to this case:
> +
> +* Xen must be entered in S EL2 mode on Arm64 and in NS EL2 mode on Arm32.
> +
> +* Xen must be entered with MPU off and data cache disabled (SCTLR_EL2.M bit 
> and
> +  SCTLR_EL2.C set to 0).
>  
>  [1] linux/Documentation/arm/booting.rst
>  Latest version: 
> http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/arch/arm/booting.rst

Is the goal of this patch to only write firmware/bootloader requirements or
accommodate booting protocol in general? Asking because in this file there is a
requirement that Xen should be loaded below 10TB which afaict does not fit 
Armv8-R.

Other than that:
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>

~Michal




 


Rackspace

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