[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 10/14] xen/arm32: head: Widen the use of the temporary mapping
- To: Julien Grall <julien@xxxxxxx>
- From: Luca Fancellu <Luca.Fancellu@xxxxxxx>
- Date: Fri, 13 Jan 2023 15:37:41 +0000
- Accept-language: en-GB, 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=ShCHXF58vn4RgDMtCTcfwMPk5Oqhr6eypMGbteKbhvs=; b=oJa7ue/cUW7kMpNA/vnwwmpJYcI/kqkoii4508KGknF4/gqR0CDA/8A4ChiWKXS3z/Sp2j7sExi3X7IMDtGz9EAkSEYq5BfbuDO+PeLXahjh0OhZb/qy4nluZudGkuc7tQLbC0hwM2Tgty5fuYogZ3X34Yt482tV8n5n9DgS+Hwip4/7K5JyJKwmtcTmiKMQ7MjShfsfEIWAL0kgpr5QNICLFb5AVnmwcZxLlyDrHZYJxt9V42pPgddp0e3ddf291I5kG42Cnb69ovcTwLHrPkeE1gsW4e40BTNf3u76UDUU1Kpalb65zvUfgAtsGYk8/+HbXK6s6arH8emceslXfw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YhnqlZp9v9qGrMq7I2tgdcIwVGvMrgKYCyTU+e467GBp+r8ilNGG05DLu8TvE92o4M2M4mR38MXMcUzh65brIiWCVtqhctnt1Lv6ZkKuzm1uDvEGyRCuFJNkbQYvh7i2ekFNDkRDZrEz1oTy6LP+ekCplnTnkarKz/92CDYM/vt7NOKAaD4F2VAZjP7Gvq/kIl9DlFcSM6J38tvaHS0qTbYrTZRKbj62Dzo2B6RRXP2LsJoZwy0W1G7pqGEueewUS4vf5tgO6KPeeQMHasgU+Xf+Jdv1ujO+3abbJ7BPTmL833MRLO7PmzIs71XP0OD7dgQ2ULdRdIuhEIx1450fAA==
- Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com;
- Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, Julien Grall <jgrall@xxxxxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>
- Delivery-date: Fri, 13 Jan 2023 15:38:09 +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: AQHZJzoSeyoTqT1kWEmelvocRfmip66ce3AA
- Thread-topic: [PATCH v4 10/14] xen/arm32: head: Widen the use of the temporary mapping
> On 13 Jan 2023, at 10:11, Julien Grall <julien@xxxxxxx> wrote:
>
> 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: Luca Fancellu <luca.fancellu@xxxxxxx>
I’ve also built for arm32 and test this patch on fvp aarch32 mode,
booting Dom0 and creating/running/destroying some guests
Tested-by: Luca Fancellu <luca.fancellu@xxxxxxx>
|