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

Re: [PATCH v4 5/6] arm/mpu: Implement early_fdt_map support in MPU systems


  • To: Hari Limaye <hari.limaye@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: "Orzel, Michal" <michal.orzel@xxxxxxx>
  • Date: Mon, 21 Jul 2025 11:11:45 +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=CWHRGZrbgIRWEsX2trQvE2MVl0q1MgsXzAZXLzguGrY=; b=m7X2/ZF0OnLUmMDivDiYBi+G6gmLs2qXz0vZiKKlitLgQVuQWLum3PapcJmPVAP8Ey2s10eN3zVBYvWfyrpY6QDCEavEmXRyAfI38DR64Xft9p/dvTTsduHh9l9HSWkY2yXpb/q/v1fR9biKn5oj4/qRFAVp6sERvInLvKsx8yK404IUFmshzKD4P9ymdWfW4ceDu6Gmx8Egc1K5x0X6EJAPpZUW9quueMFyQRBFlELbKsGAKJf3w79gXx0rCV5X4OIDixqEAe61ghNDXQx54uuec3J+Gg89kAsQulvldDqVOjp6yoB5S1MePDwqqpfTt3ChV459c4lM61+wCzkNSw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=R+lkInVRGajcK2rvIlxSKCCowPFYv9gcz6aSXFvDDFmh1FLr8dfJQFPiPPLgCumbnMt0tJ3v/iFFFTlr2s3ILILgC9905PibXIfhfgOnGDATwBZ/GBYLZ9yBkPG8ou6/ZeuxkcvOgUd2Kx59cRUaacyp6cvaL5EHNVuYOZg9THeSZXzS1mleD1hP24SyRP0FHGu1BSM9fnM9x7kuNlpqZ0SIpPhzqtEA8TAcvTMPtiCG0OvXDRpkgrJRpADpNzXiTUXNiw/mOW+EOqEnVo7O1FnDQRtkj6W/GrIXR4nwU6CeyGli67b8mv6AU9rrI9QuU4mLkxCGd3SQu6nArg+7LQ==
  • Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com;
  • Cc: luca.fancellu@xxxxxxx, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
  • Delivery-date: Mon, 21 Jul 2025 09:11:59 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>


On 21/07/2025 10:31, Hari Limaye wrote:
> From: Luca Fancellu <luca.fancellu@xxxxxxx>
> 
> Implement the function early_fdt_map(), which is responsible for mapping
> the Device Tree Blob in the early stages of the boot process, for MPU
> systems.
> 
> We make use of the map_pages_to_xen() and destroy_xen_mappings() APIs.
> In particular the latter function is necessary in the case that the
> initial mapping of the fdt_header is insufficient to cover the entire
> DTB, as we must destroy and then remap the region due to the APIs no
> providing support for extending the size of an existing region.
> 
> Signed-off-by: Luca Fancellu <luca.fancellu@xxxxxxx>
> Signed-off-by: Hari Limaye <hari.limaye@xxxxxxx>
> Reviewed-by: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
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®.