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

Re: [PATCH v6 1/3] xen/arm: Move some of the functions to common file


  • To: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxxx
  • From: "Orzel, Michal" <michal.orzel@xxxxxxx>
  • Date: Mon, 14 Apr 2025 10:14:22 +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=YQXZacACADDzwhw6ZY9RVkMFNtb+/JyZ3k6RwRWqN3c=; b=f9N7pnuf9307P3ayT2kXOPKf2J3E1oc8F8t8CZYNRPULscbl7x2Mo84nQnJYKRmoefPTHHu7yUb5gWVCKCtX0N0AyR9Ewlj5wF76FuRZ3kGSn1iOq4oIsjB/nG5xRsE1R4PW12Dl65BUpufyKPP0BIGf3a39tgHz3QfpY1diavRc1j5mXCjmfTbBpYR8QIPH9ex+pf5XQbeVNHRIQKbQl1aSzoft91D2oH0Q+koRfLZe9Qjm7tzsr7+S4GQY8J+tSZhbHL6kvh4rzWvUVkb+JvhTlQ+2PxJxzvrc18WxP+CZO8NMoNejQv5SgliIOMVp/ONdsUGd0n91YmbVsREwGA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=UcY778N9puR607nhqdjAYtzfUnz88jmGxUQKs2O+uVlEJgIiN8G0l8LGzF/WlkHl/1hpUzFqwn804ilxywnsqdJTa1OpXEV/2tAR2jPt5MEpoR+kFKPzFbKLrx+U6I3KFHfMS+efq9PHHExPzUvxQRllS7uGcHx6YEk+ekOIVyBNqKiUpmU/gZA/l7+sDjjqMDtrrKVyzTPE+dv8HEBanpZcMvNBqpTbjK+ipv7mqeifHIMIESzU3TaDBsh1+ayaFwDDWa6ajSQGnGI6HK3mFCTbm+E7k37ZAUH4QKmSX8/Lx1BqnZQxT+PIYw1vqMgLw3aL82rvRBIrS4w3AYyKDA==
  • 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>, Luca Fancellu <luca.fancellu@xxxxxxx>
  • Delivery-date: Mon, 14 Apr 2025 08:14:35 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

On 11/04/2025 13:04, Ayan Kumar Halder wrote:
> regions.inc is added to hold the common earlyboot MPU regions configuration
NIT: I mentioned this a few times already. Please use imperative mood in commit 
msg.

> between arm64 and arm32.
> 
> prepare_xen_region, fail_insufficient_regions() will be used by both arm32 and
> arm64. Thus, they have been moved to regions.inc.
> 
> *_PRBAR are moved to arm64/sysregs.h.
> *_PRLAR are moved to regions.inc as they are common between arm32 and arm64.
> 
> Introduce WRITE_SYSREG_ASM to write to the system registers from regions.inc.
> 
> Signed-off-by: Ayan Kumar Halder <ayan.kumar.halder@xxxxxxx>
> Reviewed-by: Luca Fancellu <luca.fancellu@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®.