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

Re: [PATCH v2 5/5] xen/arm: mm: Reduce the area that xen_second covers


  • To: Julien Grall <julien@xxxxxxx>
  • From: Bertrand Marquis <Bertrand.Marquis@xxxxxxx>
  • Date: Thu, 21 Jul 2022 10:47:12 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dkim=[1,1,header.d=arm.com] dmarc=[1,1,header.from=arm.com])
  • 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=2; 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=NSH43A6qt4zFa+wW0FGzZ4cwVivxVXU9pacBfuLujtU=; b=MeI0paRXarau9rLFChco+HybwHp2DGAJWpB46w+br9WbooyN4iRoDPhc41ma1omwvVYz7xSOcPAaMB42z2UKkczrajhXupMN/XKnjbZaBquLzxYKUMKDlewecme90fH0oQz1SN4+J8nYXEYMIF+f59TncbLBaXqn4/PWA6p4bn5Sqmvkq1FLgTr9Q3yed4P53Q13PByxSyazvjf3yDHLEtv7bhgFb+I4KYpkQSqdkIS5u4+3hrvfEJs7C3GilZ7baLPcwa5UBwG9uRZfiyWsiZYBbs9i3lgM9x/N+Bip8GrwN/jgjftoGyyU0A/GJAzV5xKh7P3pGxjGkFP9z6VJCg==
  • 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=NSH43A6qt4zFa+wW0FGzZ4cwVivxVXU9pacBfuLujtU=; b=gMspU/jePg85tjeG/E48dvhJwjpCN8BRcJyUNTyFbXqYOzrf7KjXsPqlGV5HLOGWDtmSBmpgBgl+H68cGJZdsV2I9cFD1VUN3DKkqnBLs1WhQoZCVNI6ydSo9IiKzDgtFBkWD9YEXFabYx2/daU5ThGaKgNWXOZP57aaKdfq5pun/Nhw4JYjTkpclPoR4a5rpmmf7tkng+5Hc2NbjKRBbxEo+flad9P0lGjCkOjQYVJwPS2kJ6CqQW9zv9SJiAFGoCd5xqGyH+Liz942GFV5x9crkskdeRs1PVw2cfbUD/yyeXHkvbtnSsqaGNr/Abe1PhdnSoqosta8TiBKEWD3NA==
  • Arc-seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=BqNzWhPfrp4npaWEqC1iAmE7/TqonUrAeaRP7nIh12MkifGqJc+Kgdq85GdEnxTZn1xZBPMpCxgGtOW+aBpZhCv7AaJORZPBRcpUjl41YUFonXmAIGolbObSLUaU7z2QdWzlU+PLoq9bg7XR5ebfvTA/QRQCsON1BdoYmkywXUA7VOqdT5ab4nWFChjapTJCSquMkHAxTFi4vVihz3yeEUonrv3S4rpMulGzrJ7OyxlJXgC/j67Tq9Y2vZJA/4v6/MRqLPwBjPxf4A5y+M+RvKy2veuGOWxuiI4cRwWZoqg7fMJgeu6AibmVLVQMFDB6W66Vm0o5RVfffG+bXFr37w==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WkN2s00uTGuFPEgETAhu4TOJNZyLyT6+1pP74aSTfXmJR4AHDL+s3PtgaNPUPxe/jLTwazjRf86Ym1Gj6yiD2M0F79IrnFC+1CyJa+iNTYxC9eQl7+/lfetrhIihD7sF2VjtvV6Vq3XpuQzG1uS29J7H3k+JF+gRRfrJaJiDuYq+Y3JllxBAFqNj4asIc3Pe5Y29sE/bwLTeONFsj31JWibCb3CPK+/To/0Huipdlq91PYQqCoyAzJaG3Ds14TmBlJy1mXZYaBMOur4lxU9VK18LkzYhPf0j3wZDwtuMOaYu4bx2cPQPwWOuLJ9LtBHSMq/nKqiGUai8cP+W3oKP0A==
  • 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>, Volodymyr Babchuk <Volodymyr_Babchuk@xxxxxxxx>, Michal Orzel <Michal.Orzel@xxxxxxx>
  • Delivery-date: Thu, 21 Jul 2022 10:47:48 +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: AQHYnGjeDDgZDtcVsUyunSX4tE/BZq2IpaUA
  • Thread-topic: [PATCH v2 5/5] xen/arm: mm: Reduce the area that xen_second covers

Hi Julien,

> On 20 Jul 2022, at 19:44, Julien Grall <julien@xxxxxxx> wrote:
> 
> From: Julien Grall <jgrall@xxxxxxxxxx>
> 
> At the moment, xen_second is used to cover the first 2GB of the
> virtual address space. With the recent rework of the page-tables,
> only the first 1GB region (where Xen resides) is effectively used.
> 
> In addition to that, I would like to reshuffle the memory layout.
> So Xen mappings may not be anymore in the first 2GB of the virtual
> address space.
> 
> Therefore, rework xen_second so it only covers the 1GB region where
> Xen will reside.
> 
> With this change, xen_second doesn't cover anymore the xenheap area
> on arm32. So, we first need to add memory to the boot allocator before
> setting up the xenheap mappings.
> 
> Take the opportunity to update the comments on top of xen_fixmap and
> xen_xenmap.
> 
> Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx>
> Reviewed-by: Michal Orzel <michal.orzel@xxxxxxx>
Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>

Cheers
Bertrand




 


Rackspace

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