[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v3 1/3] arm/mpu: Implement setup_mm for MPU systems
- To: Harry Ramsey <harry.ramsey@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: "Orzel, Michal" <michal.orzel@xxxxxxx>
- Date: Wed, 19 Nov 2025 09:13:22 +0100
- 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=24AyysSNcNIiHw+H3hH98QJaEOrIoTB56CxyVKzb4U0=; b=PKI/F2P1SkZtUTzIAgDPBhCX0NOt5PjWqwdEQQpZJVMeDbXS27a/Hn6o8ObuzTeJcW5AOdMrBD1B6mibvMceJXw/8ma3jQ2mxRJ+jILgpQpYJ+VnmLvCEERf3YeO1WQSn0PsT0+YsjTZ3cAX9IJA7G5zZtYg62GYpB13Xart38Vm6GIFs1KW5+Q6ihXpTFQNTyClFWnDKXUBhw8wb/vN7WIxzMWFnTQzVX9tXkXL9hj89xhd8KYiR7C6CVDgP1URlCLsRXBqzmITim6DG9HQ5x7irSLvXdLsmagbZ+ab7fdfyiJmZyr/AlBzlf1BMCqiXkxe8nuY1e4QkSn61MAUiA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=ndkZj1lG5nOvd9Dg3LfVMEHy+Vae/6dO6oA4hY4W7w5+k1CrnkZayXhr1HiFirOcwFqwfd/4mbvO7Jo7UZjXizB0UQOUfmWe0xXtuOAtga1nUwS/fQ4in8PBsd9Fa6s6ttDc98fb8TDC4WWGT84u5fcbQ2Kc9urKYgkNeYtpTgJwdmrJ/apvN3QSoI0ezmFbKHhnm/w6dHRqbDhsKxpHGiGC6ZmDQqx0slXB0o2JrTjEF87o3nTYbb6jiU45MjNE/4YKAevnVAmrNRfHHCV31u0Fz3zEsy8eDSDjjZYe+/m5Kgr9e6nS03KyS8Bi1nZXzt/VUTRZqahRf0uX4kW20A==
- Cc: <Luca.Fancellu@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Wed, 19 Nov 2025 08:13:39 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 19/11/2025 08:53, Harry Ramsey wrote:
> Implement `setup_mm` for MPU systems. This variant does not require
> setting up a direct map.
>
> To reduce code duplication the common initalisation code for both MPU
> and MMU Arm64 configurations is refactored into `setup_mm`. Platform-specific
> setup steps are now handled by a new helper function `setup_mm_helper`.
>
> Signed-off-by: Harry Ramsey <harry.ramsey@xxxxxxx>
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>
~Michal
|