[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v4 14/14] xen/arm64: smpboot: Directly switch to the runtime page-tables
- To: Julien Grall <julien@xxxxxxx>
- From: Luca Fancellu <Luca.Fancellu@xxxxxxx>
- Date: Fri, 13 Jan 2023 17:42:49 +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=2RAPshMN3xIQ1BrKS7cc5QTA8+y3tTA+a4KJWLglJ1w=; b=TKoHptZz3yH0CudI0SoiVnAlQ67dQqjBCN9MozmJgmrZVQghet0ZueDVTS5tIO18uz/J86ScUEW6xoN7hToy4G9JKM9hNtYc0aOSw11OE+qGS6KneiTpvZjhXw7jvzGNg+y8Ft2lREidUj0+bBSpzsDlo3vHTPlSkoX+8zA8IFxdJ9elWV0srr8EWP73Ll9ZKxdYbz1/hGeTWW9HnMVzR6NiTnFbE/gmo2PcnFIsPnvSOd60j4xvqidQgnMvcPWuwyH/ZNgq8BQITL2BhTcRRIxm7mQc0HQhyGYLpkl8I7mymH3mRSiyN0ZSkrGqvKexjFHIfvrRftopC4F4IHxvxg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ISmhEMfLjKafYYT5czq91XzkEVPxU3fiDmOnR6J2s2gphUc7hknNxqL4/lnwQ8eeoD+J9xJnsKr2r+ZG3TE3V4KTVJ0BtuYhwXN5bHMljUKfHmNp8km4MHD5Yl1f5Vf6F+dN1uyJuBCeHA31kKsVjWSDgpRhn/Sdvm4HwmrgH6lGCtP6LqZlDXYuuSvIpAMZWA+HSBByJxy6R+Ds9vAoAHsibSWkJ12le3IBJ7FfRzk7OjEOIezAVny8VTv3aUizPJp1q7TVfsgZSS7bGxP9RIlJUeqqI9Hbfxk0t4L/7m0glJ1/ikbfgyTo00Fjms+EbYWW9ljbY+TSSH6jIoFLtg==
- 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 17:43:23 +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: AQHZJzoPSgWN5vNZ70iPu83PQrLhuK6cnmWA
- Thread-topic: [PATCH v4 14/14] xen/arm64: smpboot: Directly switch to the runtime page-tables
> On 13 Jan 2023, at 10:11, Julien Grall <julien@xxxxxxx> wrote:
>
> From: Julien Grall <jgrall@xxxxxxxxxx>
>
> Switching TTBR while the MMU is on is not safe. Now that the identity
> mapping will not clash with the rest of the memory layout, we can avoid
> creating temporary page-tables every time a CPU is brought up.
>
> The arm32 code will use a different approach. So this issue is for now
> only resolved on arm64.
>
> Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx>
> ----
> Changes in v4:
> - Somehow I forgot to send it in v3. So re-include it.
>
> Changes in v2:
> - Remove arm32 code
> ---
Reviewed-by: Luca Fancellu <luca.fancellu@xxxxxxx>
I’ve also built for arm32/64 and test this patch (so this serie) on fvp, n1sdp,
raspberry pi4, Juno,
booting Dom0 and creating/running/destroying some guests, on a first shot
everything works.
Tested-by: Luca Fancellu <luca.fancellu@xxxxxxx>
I’ve left the boards to test all night, so on Monday I will be 100% sure this
serie
Is not introducing any issue.
|