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

Re: [PATCH v3 2/6] xen/arm: mpu: Introduce choice between MMU and MPU


  • To: Julien Grall <julien@xxxxxxx>, Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: Ayan Kumar Halder <ayankuma@xxxxxxx>
  • Date: Mon, 21 Oct 2024 12:25:21 +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=p3/UazAXgyQl1xJR3qrZqCMWeE1TDkb5KglTussWt1c=; b=hN/AjfApiiaCtIdRsXd0SeVZPOaF+hTLUniBRpDjG8SBr2Wrj6Qjk3tnZl7xJ7bIu9BqiJXs5FPSt8OmV75vMPpKFip6kUnS5FKKLY1ZCrHDxeGQVWGjxoZvn1aQbMHkAIRDph5yI03vsKsMlwtD15fvDhJ7ZkHYCk9b/2jF2886zWWdU9HGMWLRdTl++LzyGfK0Dydi9aM4R/2M8x3S7b9y75rHTMDyLKGXf+je20gLgYDkcSmxDj87gCshB3Gn2HmEWKPZUgaw/gH7zs9JNm/ux+E//EcR9PuvK3ai4whjneqlJdmo3armwKwATO87dZjaESl0AI5vxAlZrShftg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=eCFz6fdjqEhMORaqA+2ZzGkUX4t5m+p4j45hpNA1eVHHl6nfisZ3BQ+/dlPNnx8C/MSiUpbN3LvAfipVMK1ylBxJ3R5B08RYI9lF/0GgFDF1oY3Be4hjMoGIdG1P6896NObyqpofTi+XSpmp8oKpKhxqHY3DGi20p8hYud29mKuXR1pLpJioCykn/1Z7CfXnaDiReos3AGIU4EN+kxa+6jcf8LyFR5yHByVE0ZqqjSbYu55tageNZLquHlXsvXXs9+67IiDTJ26P8yqPXa1aSQH6zMg/SGLEgnrWuSN+9CzTmtc2YYB6gvbzt1F14EVHxkbv4RcDd7mtUBesBaz8jA==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Cc: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, Jan Beulich <jbeulich@xxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
  • Delivery-date: Mon, 21 Oct 2024 11:25:42 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>


On 18/10/2024 15:08, Julien Grall wrote:
Hi,
Hi,

On 10/10/2024 15:03, Ayan Kumar Halder wrote:
There are features in the forthcoming patches which are dependent on
MPU. For eg fixed start address.
Also, some of the Xen features (eg STATIC_MEMORY) will be selected
by the MPU configuration.

Thus, this patch introduces a choice between MMU and MPU for the type
of memory management system. By default, MMU is selected.
MPU is now gated by UNSUPPORTED.

Update SUPPORT.md to state that the support for MPU is experimental.

Signed-off-by: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>

With one remark below:

Acked-by: Julien Grall <jgrall@xxxxxxxxxx>
Thanks.

---
Changes from :-

v1 - 1. Reworded the help messages.
2. Updated Support.md.

v2 - 1. Reworded the help message.

  SUPPORT.md                     |  1 +
  xen/arch/arm/Kconfig           | 17 ++++++++++++++++-
  xen/arch/arm/platforms/Kconfig |  2 +-
  3 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/SUPPORT.md b/SUPPORT.md
index 23dd7e6424..3f6d788a43 100644
--- a/SUPPORT.md
+++ b/SUPPORT.md
@@ -40,6 +40,7 @@ supported in this document.
        Status, Xen in AArch64 mode: Supported
      Status, Xen in AArch32 mode: Tech Preview
+    Status, Xen with MPU: Experimental

Maybe mention Armv8-R?

Yes.

I propose this change be done on commit as well.

And then I can respin the next 4 patches.

- Ayan




 


Rackspace

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