[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: Ayan Kumar Halder <ayankuma@xxxxxxx>
- Date: Tue, 29 Apr 2025 18:11:00 +0100
- 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=xd2LDbDW2HMjGdIZYsGPKnlRJMWngP020+yceTnodD8=; b=aXaUMhVRW+qbUqx+ZnOvzi7XFbA4yFnMg91RLEjH7FnSAVomBfQP1lB6LtFSUn8+ch/rqZMr5gAwXehB9zhMZmd1x5WiGD3H8dOGvufeKKBf8lGzQkSrkwX1KHIzqVVcoHsCRqlk7Ul8Vf9jZi64j4+VsQdhd70+TJ9RfSzF5+gISiYEliIwRG3K/V8925wk9sgAH0a66sDFKIeGddPqbCIng9Y2PIov5+DM0uTe3MayaOjCvjnXEtccx80twIP57k1HbujQT7nZQbZM0l3SmCtym7/n/0TAdpKBuwq9cNVqDY3yFCa7ytu/70IsGn2DRb3AIvtxDliPEuoAk725kw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=xa6QHLgz23AZ8lxupkoS5UYg8JVVxSWEpsAd1ZBSz2V4+oDhyySqGKLSpSDpsGRFSGGa6dxihwYXeW4I66jFfUXueNSY7PShrWVvUAHhfZ3jK3Fjn5sk9/oQ3ArawLb2UJWIGgD3V4uch3s1+1ZKtTqfeI+CgHkG+qBRhgUTtSebAxv00rKN5FvdHGTd+iWJAzsESqlk4zT1mOXgvT2QKe7VRxEFwuw1/CzaVnPwo4Q1iCqFlY9ZompQoU30w02rCC2eGJL6BOv7eiCAAKzdqsJaF8kOpIufUYcYWTgOXWjq5SndMDfsFJlcjOXlgoK29GsjV3l2kdjkzlzLtPbokw==
- 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>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Tue, 29 Apr 2025 17:11:14 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
Hi Luca,
On 29/04/2025 16:20, Luca Fancellu wrote:
CAUTION: This message has originated from an External Source. Please use proper
judgment and caution when opening attachments, clicking links, or responding to
this email.
Document the requirement needed to boot Xen on Armv8-R platforms.
Signed-off-by: Luca Fancellu <luca.fancellu@xxxxxxx>
Reviewed-by: Ayan Kumar Halder <ayan.kumar.halder@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
--
2.34.1
- Ayan
|