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

RE: [v2 4/4] xen/arm: Allow the user to build Xen with UBSAN


  • To: Julien Grall <julien@xxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: Henry Wang <Henry.Wang@xxxxxxx>
  • Date: Thu, 29 Jun 2023 22:53:08 +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=W3O+NPQINfcoHPCY4lAUdpzRJ3KYjwBFVc+9nzp4TtE=; b=C3kZ5XHWJG6x+GYXwMgSBG4qpV/jtbBSTINuLJRPBsKdxlOq03mUKqNaIgah2aUUh1LrLS00/RPvjdlHTtoViiC0I6dUogwQUUt9LKTM50p1ChLzEuiB4exvST3kB3+b3koFlJh30T7UXAo69cwj2s7nXI3C0CpThEPh/0rctp26VVj7Azy9VXvNlpY2LSiooPHQXB7l8nTDqu6TChHj4KBSQC0+D5GNpC6JPctNeL87Co+VicMXN2gcV59nkU1tTBjSk/gt3hLcxt9TJgbnF16CzM3o/YGYr4CszrOUU4yVTboqCVYNUQAsKw1epRu/E43EmtGrwmVKTQuPZJXXWQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TdbK5AAzwRlDO/Zgg0R57IaRTeu7B2LhGk2Wyri3sUk/iYoB7Pc1JNVBIuo0eFUy6CXiAB7gWU0nYYSHZf5zVOFUJHucgK2ZKtXCAlAQNTvU3TWQWt/WpP8+kgeJXIxCbKozbGgpMkCHQKE68/vla2HHfefaAUglQ8r/2sQfAjhlwOm67XAVmauHQxqS3d9PXIh9KOkpxPXRk3fTFnEjd2jOBOpLuthhc1OJ2GbmhCBJragtb1K/52kEgU9VipQ1ZBQiyHEiJ6KwDjnAHk/+G4XMdpMLru15vLsmKCNLXH1uby+emR+xfZXL4ZebzDvXD5VBP30yJz84r9YMWHXnnA==
  • 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>, Bertrand Marquis <Bertrand.Marquis@xxxxxxx>, "sstabellini@xxxxxxxxxx" <sstabellini@xxxxxxxxxx>
  • Delivery-date: Thu, 29 Jun 2023 22:53:36 +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: AQHZqsXtbIsbuBfDF0O4wfm2JvsKDK+iYyoQ
  • Thread-topic: [v2 4/4] xen/arm: Allow the user to build Xen with UBSAN

Hi Julien,

> -----Original Message-----
> Subject: [v2 4/4] xen/arm: Allow the user to build Xen with UBSAN
> 
> From: Julien Grall <jgrall@xxxxxxxxxx>
> 
> UBSAN has been enabled a few years ago on x86 but was never
> enabled on Arm because the final binary is bigger than 2MB (
> the maximum we can currently handled).
> 
> With the recent rework, it is now possible to grow Xen over 2MB.
> So there is no more roadblock to enable Xen other than increasing
> the reserved area.
> 
> On my setup, for arm32, the final binaray was very close to 4MB.
> Furthermore, one may want to enable UBSAN and GCOV which would put
> the binary well-over 4MB (both features require for some space).
> Therefore, increase the size to 8MB which should us some margin.
> 
> Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx>

Reviewed-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®.