[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 2/6] arm/mpu: Implement vmap functions for MPU
- To: Harry Ramsey <harry.ramsey@xxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: "Orzel, Michal" <michal.orzel@xxxxxxx>
- Date: Thu, 15 Jan 2026 10:19:16 +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=iH1wPPQQd26x/9jv9dNBM+QsAcaIMKkHjiCJ5AWGuPk=; b=G6N6UZdREwy4bc9N9KDwR8UfB2a45ZK80FfJNdAZuili4FdgfylJ/tH3glXknBudr+998VeyxRO0vSjPUATZl/1aKX3HbYZDWZou7L6eY18V9TJQhcltr2vUkAvzL2XNg+1lO4+nYYFMdY2k8BASvjqZNAsJVGLAOkPXm+e7hfeUn8Oh/uHfZMeuGo+JjzVgDOEQMQC2XiJQh7i18Z/6w6PRAZqzOMvQNe9ljAefpt/tBFtuLOVJ//w+pMSaKULIJAvSnPj17dEMcFbNFbCJ6rLxvh6E3v33/4k0vO0KjKGitf9pw3vJiMPHkvWXchyEd/OoLx7UhunCwHTLBiMVpA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=TSJQGkIQsP+0Y9LCeT1w7e0M1rrTXt8YWip6b0WIDIAoUa5sAF+s7HUlfVpCHLPgLbmkf5RBHMTuAonPnV1A8w3WNRYNVM8wDlaSI+5gRdQ+CRdIW0tusFHw/wXjHWTxfjt2g93PEkr6ORK6FanLr5og49PpIGFu3P+zUiR45KeiEpuWqZxc3UvcSpo0lwhquFnpa4ShyA+bWSyc+61ngR7Zd1ApF0jCjOMwi0S6v9k7eIOG4uya0jYM+QMAEJMPcl97BGb8p1KUqcz00to8x57T8KVd/usoIYfINvJqVQz3Cf7X7pSWbOCZLVxMPJS9ED5dnr7PMLF3nt3tJe7K0Q==
- Cc: <Luca.Fancellu@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Bertrand Marquis <bertrand.marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Thu, 15 Jan 2026 09:19:33 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 14/01/2026 15:27, Harry Ramsey wrote:
> From: Luca Fancellu <luca.fancellu@xxxxxxx>
>
> HAS_VMAP is not enabled on MPU systems, but the vmap functions are used
> in places across common code. In order to keep the existing code and
> maintain correct functionality, implement the `vmap_contig` and `vunmap`
> functions for MPU systems.
>
> Introduce a helper function `destroy_xen_mapping_containing` to aid with
> unmapping an entire region when only the start address is known.
>
> Signed-off-by: Luca Fancellu <luca.fancellu@xxxxxxx>
> Signed-off-by: Harry Ramsey <harry.ramsey@xxxxxxx>
Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>
~Michal
|