[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [PATCH v7 5/5] xen/arm64: smpboot: Directly switch to the runtime page-tables


  • To: Julien Grall <julien@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Henry Wang <Henry.Wang@xxxxxxx>
  • Date: Mon, 17 Apr 2023 04:59: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=MJTq2bjk9yaNV4ZBoXSHfSpASV673BeyC4EA45/r4/k=; b=EpDXNJ4QykTaInItHOeDG+p3Xxuar3yHBOh2R5NXQGdCQjNrarQLn/1yjHayMc9bBeEpp2tZlETAEXKFjyDXDUJUdn1vbCDRvQlxvURAyVPc6ymZ53W0wk9w9S2h4AJnEOOv23YYO8l68WCnFPJYoDdELm0ZXyp3X9twzZheW8UoVbEigDz7wZlCK96MQQfrHtkrhMc8yfFadUCRsf8U4VM8rrAbpsH+fQvAYNU77DbUAiT9125URsaQ+YEwdsSQjPsKEVf3i6oNBW8E45JWyVaiA7uc5txFqHb37JiXT3WlGBIuwXJlKNmCV+f9eRKQ+uVr9jJ1UHbZeyrxJAOFrQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kz6t3nE/3sgqnKFM1GhNQtbI9jEgsEX1UtOteSJ8cdpofJ74yvHBYbRe029fIDn4aqAzAnYjSJASXe1+JMw6VaTTO9fUABcx6A51LiLfKHF9GxycRjTvr+KSgf0MNAehLgUPjvDTJedrq0v1eGxuxVG4pWIcqDnmnWtpL7E5Lo3AU0CQtSFLJGl4mnWLhxnv9gqUmrnRdqQr+LoUxaQrMuvfs/i2jVBQydy3OPbmUFHQItd8XiVknhYL8KiwtGPGdVkw9xMHv0ija9EGDiqWmbVVk/33iLmPF66YheET0JwQpe4rw2G7fJK3V5JIy/KiekhCHFRN5To4OqbHUr4brw==
  • 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>, Luca Fancellu <Luca.Fancellu@xxxxxxx>
  • Delivery-date: Mon, 17 Apr 2023 04:59:39 +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: AQHZcHBUxvhM1r7suU+gX9Lg9ukFqq8uz8Yw
  • Thread-topic: [PATCH v7 5/5] xen/arm64: smpboot: Directly switch to the runtime page-tables

Hi Julien,

> -----Original Message-----
> Subject: [PATCH v7 5/5] xen/arm64: smpboot: Directly switch to the runtime
> page-tables
> 
> 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>
> Reviewed-by: Luca Fancellu <luca.fancellu@xxxxxxx>
> Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>

I used the test method described in my notes from patch#2, and this
patch passed the test, so:

Tested-by: Henry Wang <Henry.Wang@xxxxxxx>

Kind regards,
Henry



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.