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

Re: [PATCH 5/5] xen/arm: map static memory on demand


  • To: Hari Limaye <hari.limaye@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: "Orzel, Michal" <michal.orzel@xxxxxxx>
  • Date: Fri, 22 Aug 2025 09:50:24 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=arm.com smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
  • 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=YcSlBYGaeo1+EAeQK6fGxxF/HO2wobmy7Ikal3h2dgk=; b=LR+XyP40Wi5EUW/CbHRAK641EnOLUSpdX0NmGXtggdqAkpmcZCvAZixxwg3h8R+mPZQ6E2OOKI4BVFu3alr/3z8yOYdkshm+pYjTV20EC5dX9XuIwb1rXnFJDOs6NKtRP/lAgKM/x4ncDCnYPTzvc3o2twLOklZoHDY4mhgGh2umSyi5p0k7sHVw7Wph/CRmc/kKZMwlPOQ2N24AVvnyNorbMxDHIRJCUbwiesyXrhmqW9Uq2OHfBz3Ss5VVNs8oIvO8Nxu7I4oALa4qRBWoN9YbcViyBf1Tmk4cSmfjHm1DHyYov1w3Apqq0TStAyEqgIvNX4wta5isgm51BTR4GQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UPZZPSltBICy62F9+36ywCvnQKx29aIDZaoG92auvNYOdXFRmttXMWE3MyAAQnPjUt107CEF2IudA2XVg9qtUsqRm7l2nphhyp6fk6Exg1+A5oB+Oo37xeWaTrO048mg63SOg1T2eWoAWjoTjS62Cwaq4cH+gtGBzqfAsKmBmo1yNwyc8He3kv6e5rsbcuJU7FVo6d3iGAoDi52u9Cj8r/kPqqprcqTx9lZdldC6u32PrbUGZTsuxCxEwGIktAE2mZZuC0rYUjqHztX6iVzgtZq7eJI24049ABjRIB1lJ4wqkHAlg70d8gWTWLN9h3u6svlQPHzcLa/IrOyppN9Azg==
  • Cc: <luca.fancellu@xxxxxxx>, Penny Zheng <Penny.Zheng@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, 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 Monné <roger.pau@xxxxxxxxxx>, Wei Chen <wei.chen@xxxxxxx>
  • Delivery-date: Fri, 22 Aug 2025 07:50:36 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>


On 30/07/2025 10:45, Hari Limaye wrote:
> From: Penny Zheng <Penny.Zheng@xxxxxxx>
> 
> In the function `init_staticmem_pages` we need to have mapped static
> memory banks for initialization. Unlike on an MMU system, we cannot map
> the entire RAM on an MPU system as we have a limited number of MPU
> memory regions. To solve this, transiently map the static memory banks
> for initialization.
How does this correspond to Arm32 MPU (R52), where all of the RAM will be
covered? I don't think 'transient' mappings will be needed there but all of your
work targets common (i.e. not only Arm64) MPU code.

~Michal




 


Rackspace

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