[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH v2] xen/arm32: head: Widen the use of the temporary mapping
- To: Julien Grall <julien@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Henry Wang <Henry.Wang@xxxxxxx>
- Date: Tue, 25 Jul 2023 01:30:13 +0000
- Accept-language: zh-CN, en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; 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=R6+43YiA7NSSOO1kPlP466bX5vcdFAxXzpiBNrwtWx4=; b=QQkeE1+iVQzUPWA77VdWOCZoL4YhXvP7kfph+OUjjpQkDHV7/hJ2WxrqmDXk6nuytPEtQhhVnYLUff6LoR5UmMJ21PV5t9e8mYLS+/5A8xV/6ZHTDxrC8mDOXnlJBGEqYrBSYrWBGSG9MdGYdlMrPMrZmRqvGOs80xIW3+UiiTUN6AnLJp/AZWgWqHI0HCE4QAQ3k70UbVKIRNL6CF7eUiddXqXcyggy3Aj034inYpy0jl+c/0kc5OniLCnSaESPVKQH1tEU7B4f1kw/C0AJJn7wamireK2jbjJvrivf6J0EjJR1d7tNv7Y3StmcI2LZ+gqGzOrubhs4DoOsQiulpA==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JV9mIbVS14dDB0XhxEw92+N+/CQzxXUzforYRsXJexN0im89/5mF5U8K6J6PM8cEfZm/c+D+oFkXPTwDIv8TskabO2lVowK9tEZEkgzYSPkR9Qu2IIsICQ3kMlIPFWEmAxJeoLPGsEOhNOwbeA65yiAS18QNJFOtQfQsjren834udlJg5vLYkfoUm3nLCEgmapWiKymy5+aZwn/yWcWb9LvBrNzxC1vqkI2NkC9h/BuFyn6G0yAm9sTHDvbyYka5psNcoYRFkYr0ii4pk4JlYlh6dT+pcxLz6Wd0w6LTVpMa0tz1JX/x5YcT6gH/yq0wOa+m1A2aRBMxiVynUtWoMg==
- Authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Cc: Luca Fancellu <Luca.Fancellu@xxxxxxx>, "michal.orzel@xxxxxxx" <michal.orzel@xxxxxxx>, Julien Grall <jgrall@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Tue, 25 Jul 2023 01:30:48 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Nodisclaimer: true
- Thread-index: AQHZvhfA/4kdXKXKFU+aFkgCYJxPNK/JsRLg
- Thread-topic: [PATCH v2] xen/arm32: head: Widen the use of the temporary mapping
Hi Julien,
> -----Original Message-----
> Subject: [PATCH v2] xen/arm32: head: Widen the use of the temporary
> mapping
>
> From: Julien Grall <jgrall@xxxxxxxxxx>
>
> At the moment, the temporary mapping is only used when the virtual
> runtime region of Xen is clashing with the physical region.
>
> In follow-up patches, we will rework how secondary CPU bring-up works
> and it will be convenient to use the fixmap area for accessing
> the root page-table (it is per-cpu).
>
> Rework the code to use temporary mapping when the Xen physical address
> is not overlapping with the temporary mapping.
>
> This also has the advantage to simplify the logic to identity map
> Xen.
>
> Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx>
Reviewed-by: Henry Wang <Henry.Wang@xxxxxxx>
Kind regards,
Henry
|