[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [PATCH 7/7] 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, 20 Jun 2023 03:07:15 +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=bLQpQpOhOr+auVK6MXQ1oCRvr6oog6ybRcT4RjaPepA=; b=Zj6iDVwLp6oZs0oPl+ZL1JUNsnEIhhkNiygs0Bz0qHBqUE9CPl5EdbacVOGcjqDIiyDC3GOg8RXB1r3m2EGy03HQpna6qbCwiyVm4kR3LhhVTm6pgIw1jDutHdIY//nuw2Lrsy73P45bh7uAfwLjz3b2Fl2/mRErNMrl9r3bPz55TR2UKCVSZTneXOf9vHBqVfRZyErL9tvA/+4R3wPf9FSIbbse2AWSJhdhYQF6znRWyOAY+F+GCVDux1x5Aal/k4NHwxSjE/Yi+6FkCLOJ8dRPr8XSOaT9JxRRnswsk/HcNjsSUaOWhKSNwAwH29bUpcLpIyPv4wATMcJEjD/z5w==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OnTCo+tBFaJb0kUOblzqYbTQi6s4XAMDZrjl2mTALXBPs7xpNmMQAlh04sS2dRqNJ0hIA+kspi5cUmTj/0+h+GUdlw2HLicUrz5/B0LIvB6mxO+WSH/0OkJrSHT2fy7ZVUCGAKEoh22zWAm+WDHxKNwaqUchOf+JvivDd+ZZA4cilfpBToQNLJlXl4c+UwyPEiwI2L+S9uRKwJmbHfxPWbBU040nVC8p674PqBoKF/ntT0OdrbBowl2+1kOLQBV6kP3Vy5/s2l0NNnadDZjDU5ykWuB2bzEyWzny8Nde4J216BU+F52IQdQ+3NbdwAQcK/gYkR6P9MPf22HfxWoAjg==
- Authentication-results-original: 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, 20 Jun 2023 03:07:31 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
- Nodisclaimer: true
- Original-authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Thread-index: AQHZos+8C/o4+lU2y0K001pAm5cZ6q+S18mA
- Thread-topic: [PATCH 7/7] xen/arm32: head: Widen the use of the temporary mapping
Hi Julien,
> -----Original Message-----
> Subject: [PATCH 7/7] 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>
> Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>
I've tested this patch on top of today's staging by our internal CI, and this
patch looks good, so:
Tested-by: Henry Wang <Henry.Wang@xxxxxxx>
Kind regards,
Henry
|