From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (NAM11-DM6-obe.outbound.protection.outlook.com [40.107.223.115]) by mx.groups.io with SMTP id smtpd.web09.1523.1622158135800936415 for ; Thu, 27 May 2021 16:28:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@microsoft.com header.s=selector2 header.b=C81yKKjF; spf=pass (domain: microsoft.com, ip: 40.107.223.115, mailfrom: bret.barkelew@microsoft.com) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HxtKPJU9/mpKjljy180xTK7mcorGCp6va3yeVnwZZE2sfURvcxDa/q6Yrmg+LJx2+nbaovxD8wO/ovcyZd75sp6Q2jT9mR6iftfjRBADKcwxfBaVLUiveg9rRgaQX8r4TzclVdjwNRI5WRrMS1cy1dDqwl9kaotJ7H8sp3i0LTroqrNAcIN2Ok1I1UZDC+uGflTLM0N3ScNDirLGZo0nqxDagdlNs3tqG0/mlrNKxZLC6DwbboD5+fTilBFSGovfm2XGfso+ZnoBOfvXr1jUuxLw09G6xuvdoJcpvgvWU7yX+haK15FmbTiPc8ZcZotUxQUQNLSCMU/1Kpn9h1yQCw== 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-SenderADCheck; bh=OHtb9i46Wq4cZG6teHLvxH6AKSdLIrR9tDgIVpkp+dM=; b=bNV60KrR2Nvb7r8h0LELhBPmlRtgJOzDIkFfcfrFqcbmSAokb7/W//9voGw3I8iIPK5GcALXeVzgLeJmYcn8eMXhESau8tFmSSLfKVNLPtlrA6qbMjplLf2cJHBK4wL6NScJT6wJUErAGKNGccvDPLWa9Lvgi97pAawu8tVlKTxagW5Vo2YZPMpUab30MS+fMUOTShBFVNAfrrJTXiuOEj5on6HfXKvzWQ9NAMKWOUq/D46DlEg0J7cCXlXhVzwcEwPR+QY33wBiE5yljjPLLA1u1XFXv9bBYJ++s/U/PcVe9Dr3jwJIp3RRyQaOURERVi3QcYDpoMiGalYNjWmWXg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=microsoft.com; dmarc=pass action=none header.from=microsoft.com; dkim=pass header.d=microsoft.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OHtb9i46Wq4cZG6teHLvxH6AKSdLIrR9tDgIVpkp+dM=; b=C81yKKjF17TzPkVMM3UpJtVpoituIUBKPmE0m9wJHqUFVPe1mDu4d88U7q5HbAkd60+lqm6Vps+BUV5yq8s9uyrjIfeatleHj6QkvBYThJq8rww1Of8PA0Dy0MO/7uk6T2OBLT6nWc246jZu2tSC8mjXWzWHGYMS2ir/xkf/lFk= Received: from MW4PR21MB1907.namprd21.prod.outlook.com (2603:10b6:303:71::8) by MW2PR2101MB0892.namprd21.prod.outlook.com (2603:10b6:302:10::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.2; Thu, 27 May 2021 23:28:54 +0000 Received: from MW4PR21MB1907.namprd21.prod.outlook.com ([fe80::4487:3839:685c:56cd]) by MW4PR21MB1907.namprd21.prod.outlook.com ([fe80::4487:3839:685c:56cd%7]) with mapi id 15.20.4195.012; Thu, 27 May 2021 23:28:54 +0000 From: "Bret Barkelew" To: "devel@edk2.groups.io" , Arti Gupta Subject: ArmPkg: TranslationTable exceeding TempRam on virtual systems Thread-Topic: ArmPkg: TranslationTable exceeding TempRam on virtual systems Thread-Index: AQHXU09Kn+Pphls3UkGZXpvyKDoNZQ== Date: Thu, 27 May 2021 23:28:54 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Enabled=True;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SiteId=72f988bf-86f1-41af-91ab-2d7cd011db47;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_SetDate=2021-05-27T23:23:24.4572951Z;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_ContentBits=0;MSIP_Label_f42aa342-8706-4288-bd11-ebb85995028c_Method=Privileged authentication-results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=microsoft.com; x-originating-ip: [71.212.153.42] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 8495f952-1578-4a88-f736-08d921673147 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6430; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: h4DyIk8e2hBG9wgsPNve/TKTlxmcA1g+TlbdB+7mGmcrBr8froBu5EENAkE/1JSDrXhb87b7aUVMLz5XqcyegpaRchk8AIy5dvtgyLFTlPh8cpCFfvuujJhfDQqP9IOxCKiyczyOoztgDHuh60JbycHtrM72w7khy9cXO3fCgSlN9C83xk427s1Ju1MRMp3r+dQetjTWeHjIciE7Rlo6k90uZgOyRYImx2Z6FJFXC9uKSMMM0TkZWeO80qhN+U7hlGITP+nnfgEbaVp2Zl/qcSyDTyNClU1qQTEE59CKjo8zw4qloHEaMEEKJwWJAysLcT5ePfNMgMQddBSPRd51AUUbbx9+1ES11gxXV5jdSL7/TmPxnIkDebHlAq0MHLeIWVqUPW/snP5aVZxWfKi8cIbBDsayZbxM1l+N6dqTW409fyMIjhovAyy4u+JyvsI347FGdpUizDtj9Y8RihjwyU5hzNpKEMSxkwNPNZSQa+/ExF/9WzqNNXtfeIGU7/ppBIN78rKHPmlglcYS4LGyKEmTN4J3hOGZjpWVEfe+EPDqR5yGygz2dq3fQePCUOrB8tw2Gmew6ib+XgjdPZTe+EzlHrc2BtAa9SCWpbTa7MA= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:MW4PR21MB1907.namprd21.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(4744005)(38100700002)(66476007)(66446008)(66556008)(55016002)(26005)(52536014)(76116006)(2906002)(66946007)(122000001)(7696005)(64756008)(82950400001)(8676002)(5660300002)(82960400001)(8936002)(86362001)(478600001)(6636002)(9686003)(8990500004)(33656002)(186003)(71200400001)(83380400001)(10290500003)(316002)(6506007)(110136005);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 2 x-ms-exchange-antispam-messagedata-0: =?Windows-1252?Q?NFxXETi2UxVzTwNYEnThznzsUNAMKY6WQvwZTmXR2RxoBJ5WnIZEP4E9?= =?Windows-1252?Q?DFSZHDbZS/E/WwRR6xa0k6bdqfx9jaHf1o5GN6304zFNzLqp6y3R+yOr?= =?Windows-1252?Q?j8iFeAWJ1+iMp+S+GOxdtS9l5Rewyp2Rt50UeMxBj6RwsL8G66pl0cGJ?= =?Windows-1252?Q?Aw9Y5//If6stQQat6D01J2TXbr50frYL24lQmkguaTkhGuG37O+/15QD?= =?Windows-1252?Q?e/IzteUxP672yWKI+w5tqjgoKDfQL5JNQ0/Fj3ERHNsj36+bxmVjzhvM?= =?Windows-1252?Q?F0/bMvAU10bxi3Gysg3F+SFK6xp2t6lRTSge9ODwfPWccbLGDs801ntO?= =?Windows-1252?Q?s8TDDkA787T0DdDou27i5KpFcNsqmT4yHkuZN8obnli0c3lye4gOmUfJ?= =?Windows-1252?Q?L2ZcS7nf+s0QAINVNrm16sJBTOZtFdBRJBlSA+k2y5M2YTM39pQ/yvtN?= =?Windows-1252?Q?GSqKIZcm7cmAaGnFFelIzd1bwcmidOobbpTLhQNr51Q8esF3oWukYxPy?= =?Windows-1252?Q?tLCk0KYQMvT2aIIrPYUhCmNz+Cce4qKB/6cwsmngX6+619Cb08He1dC4?= =?Windows-1252?Q?pDedCAjt8KA+24yarc8eiy4Vls1ZSQ3RmzPggkgwNB5AWb+S6KC3d8DH?= =?Windows-1252?Q?LbVj8qCOkRNoGp59FAd71sK461pFhaiSoqMT4QeVUqetQsg61waAaThr?= =?Windows-1252?Q?p5d9tz+As0E6F3Lpe8RG3n7XSAA/9Y1XoiIheVX49ytP6ajccro76Fri?= =?Windows-1252?Q?syJMZ3ujJoRXfurFybVfIBPeEhmciF3Z6npXgDRmkTqRhAgyNkjk148U?= =?Windows-1252?Q?lxrAQJBy0TJr+nd9gMC5eLbO9Z7ugTa1rIq+BxEu/JIOhNPShEhJ01ym?= =?Windows-1252?Q?nQytor8NPjQfVH5LQB0Efs46RTIJO8rdFl4r0lVcK9bLlWj5B9icqJPi?= =?Windows-1252?Q?Qth6n9MeLt57yeMcB01FTDcshqywGA17Z/2RSrUWBUYfQ3kaegd200Iy?= =?Windows-1252?Q?vcsWbGRJ5IxKGrpOHjxCcgiP/HW3q8JZwVRt3eriAvLPH2he?= x-ms-exchange-antispam-messagedata-1: Ro62F3tl02jCcVlZ/jVULFkBdotROC/KGUeIXNUwCqiP+bHLNBlmP/QePAJKLPtqEpWH3ny2crb5Di5HKfrh0dPhHVzXpRM0ieaRpLFiXYdn/MEJ9uQRcKjz3k73hSlBkqnMKQx5yrLXkLoWDnR65Z8BiNDeFzSrrLzV69sgNIbdlPDOakWOoOCPtBTOCErBtHGd41uZDyB8FR0GTK0l/gPr3Two6AFO+bUe2J0+z1xyfy16gVs3EqhkieiEEXTqyLgQuI9/Ea5KeYG7Gid9qG/iU2vnTQWSNijzjCE8/krJJZB1cyD5WupFi0mGbXBTE2SbX8K4k5ZF/FyV45ReLV7ysYdnYbsqRQNpz/vZRI2LQw== MIME-Version: 1.0 X-OriginatorOrg: microsoft.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MW4PR21MB1907.namprd21.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8495f952-1578-4a88-f736-08d921673147 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 May 2021 23:28:54.0459 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 72f988bf-86f1-41af-91ab-2d7cd011db47 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: flGiU6QPc+/CqXL7xPfhIdNdRGyXT9noGL8t9pVAfG2tU5jokcv3JzEKhT3JJgcORjl8n5auOEWcNe+RVEVafg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW2PR2101MB0892 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_MW4PR21MB1907E1CC4E3D21E811372B05EF239MW4PR21MB1907namp_" --_000_MW4PR21MB1907E1CC4E3D21E811372B05EF239MW4PR21MB1907namp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I=92m fielding a series of questions coming out of our compatriot team that= deals with virtual FW (for HyperV). They=92re seeing ARM64 systems that ha= ve lots of RAM vastly exceeding the TempRam that=92s passed into the system= due to HOB allocations to create all the 4k entries for the early page tab= les. Is this a known limitation or are we doing something dumb? Is there a way to sparsely populate the page tables and fill them in more i= n DXE? I=92ve seen some questions about 64k pages on the list before. Is that an o= ption? Thanks in advance! - Bret --_000_MW4PR21MB1907E1CC4E3D21E811372B05EF239MW4PR21MB1907namp_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable

I=92m fielding a series of questions coming out of o= ur compatriot team that deals with virtual FW (for HyperV). They=92re seein= g ARM64 systems that have lots of RAM vastly exceeding the TempRam that=92s= passed into the system due to HOB allocations to create all the 4k entries for the early page tables.

 

Is this a known limitation or are we doing something= dumb?

Is there a way to sparsely populate the page tables = and fill them in more in DXE?

I=92ve seen some questions about 64k pages on the li= st before. Is that an option?

 

Thanks in advance!

 

- Bret

 

--_000_MW4PR21MB1907E1CC4E3D21E811372B05EF239MW4PR21MB1907namp_--