From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR02-VE1-obe.outbound.protection.outlook.com (EUR02-VE1-obe.outbound.protection.outlook.com [40.107.2.76]) by mx.groups.io with SMTP id smtpd.web12.22679.1659941933661063021 for ; Sun, 07 Aug 2022 23:58:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=ebA4fSw/; spf=pass (domain: arm.com, ip: 40.107.2.76, mailfrom: jianyong.wu@arm.com) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=H1CoDAjUJniZIQNKuwakG8kTFNXNgpcZl8WX6V3AluYc+9Oullz01ijqvmd0lZf+HgT8UCWERjlGqPFQyXKh+vfRZBFEf21A+DNsNkoP9TX5MNTqAFMTwvMv/R+3NTfTB5jTrQ1hsMXBrGMGUDmezXD0ZTiq0w7Fi1jo4LB9jp+duh5BAAVVBLzwUklHTIWHAZ701aywOXO6noGaKxm2GLqCsszYWJXEXYPek2hiyKFEJjXBd8uRWB0tlZlR0uCpQ8MWF+kr/BcjLjuwEEXmgwRedmcqUT3evF1cZBoMHreqnXh5xy7XBHaW3RCHyze4JaVmJwc9FbzDbGfQAj+SoA== 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=DCHFp/CGmKeqyRTxVuqCMSOZAn/5lTvyMsEFGancafA=; b=jE8dHZXXRT80VPeW3ybG6yEkLPvP0U/N2UT2JuyuKc5TfQtxJT5/X+tgrEbLyJmmOthbIvcLq0D1b69EOUlE1q5oLwTtrvHVBe2ugPpmXWDks61URuICcPQYYWpSshvNdoKSgFU6AEA7MtD1j4T1qMO0JU6V94qUFNdBj2VDTnCMyg8/zi4ClDAqjNpabtuDRX3qAguNkb2C8GaYoDofFQILamSEtnLkO2cKh39Vjq49v9+ZHj6W0yjRnADnR1rooOdNN1Xf/ok23NazAvD1bzOKWdyfLhS5SKI094/9VlltVZbypnRQWitrgzAOSefxE8UWaf5kiiAjM+zfYa5/YQ== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=edk2.groups.io 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]) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DCHFp/CGmKeqyRTxVuqCMSOZAn/5lTvyMsEFGancafA=; b=ebA4fSw/v+DBfHL6in0m4wR++L21hjxEtqFXUuyfbApD363TTAsjp8kCDj9aqLZKZnrB5oo5EKfFk5NLzNoArQH7W7U28GZPtmOj+Y0MCdm6qrxxfbwiMRp3DLB+eJT1GDLSkCzL0z2m0q2ouDL2KHKc+6LCA/DfRzpa/srTWEs= Received: from AS9PR06CA0361.eurprd06.prod.outlook.com (2603:10a6:20b:460::13) by DB6PR08MB2821.eurprd08.prod.outlook.com (2603:10a6:6:19::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.17; Mon, 8 Aug 2022 06:58:49 +0000 Received: from AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:460:cafe::df) by AS9PR06CA0361.outlook.office365.com (2603:10a6:20b:460::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.15 via Frontend Transport; Mon, 8 Aug 2022 06:58:49 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT049.mail.protection.outlook.com (10.152.17.130) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.16 via Frontend Transport; Mon, 8 Aug 2022 06:58:49 +0000 Received: ("Tessian outbound fa99bf31ee7d:v123"); Mon, 08 Aug 2022 06:58:49 +0000 X-CR-MTA-TID: 64aa7808 Received: from e3c7ccc23b68.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 093AE905-3A6C-4BFD-8D8D-5AA8C8143949.1; Mon, 08 Aug 2022 06:58:43 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e3c7ccc23b68.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Mon, 08 Aug 2022 06:58:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=TKhZPZprwM8imrGARhtZm0bZjAbtCSJECvFidQi/9GtDopipuiXNvZfQY7ZuV7X8FBdC1ui0ljMZKGbqeH0ZKKYPzNR8xRZnSQOzpjaF008G78RGHRXH1CMaW76A15VaQIL0P49yKypDAwPXj+wYtw/UgeKNckdG5jPro9nhl8grIfecDocXQGADdOxO3skKqXYpGQpGtSaKlCtMyFqOcBz6zDGZ9EN9xQ07g7dzlZqELknEL0N1TlOPkMczl04JcsqUumU4aPL3uwVFQuLkWerHA020yuMsUzIRK0lb/iDrW+JwxVsPDnUrFtF0oybecqwuprHgZOeZxr40SVXI9g== 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=DCHFp/CGmKeqyRTxVuqCMSOZAn/5lTvyMsEFGancafA=; b=G3FJpqVsrwotHtn8iOgvVJ2lxJ5lBE568WzNVjoV3rWNe/2cI9SXLR5voZjxsSyxJhBF9bwH721FM63VwFxMIrom/BFXj61AYWDDAsIuN/tWTqlTTZsL5+J2Us/ePS5Z7k7ROgsC1/0ofnMfOwnkV3Zhv76eCK8/9obcYHrY5LCh42UghV60xdBRxojO/p2EpMjDiYB4niH35GsIP7WgQBao1drnOtKGp+WXUF4GpyZ1zoGcpRhAO/zRPV7D7BCFfdsUcaMj70ce+ArIkBNmPc5fLxLM9IeeRveOiFQ+x+tGvJ+3s1g/CInGUe7IkSuylSplmDefvaF9WgclVCjGOg== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DCHFp/CGmKeqyRTxVuqCMSOZAn/5lTvyMsEFGancafA=; b=ebA4fSw/v+DBfHL6in0m4wR++L21hjxEtqFXUuyfbApD363TTAsjp8kCDj9aqLZKZnrB5oo5EKfFk5NLzNoArQH7W7U28GZPtmOj+Y0MCdm6qrxxfbwiMRp3DLB+eJT1GDLSkCzL0z2m0q2ouDL2KHKc+6LCA/DfRzpa/srTWEs= Received: from DB9PR08MB7511.eurprd08.prod.outlook.com (2603:10a6:10:302::21) by DB6PR0802MB2293.eurprd08.prod.outlook.com (2603:10a6:4:86::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5504.16; Mon, 8 Aug 2022 06:58:42 +0000 Received: from DB9PR08MB7511.eurprd08.prod.outlook.com ([fe80::98ec:4f72:8e:7da3]) by DB9PR08MB7511.eurprd08.prod.outlook.com ([fe80::98ec:4f72:8e:7da3%9]) with mapi id 15.20.5504.019; Mon, 8 Aug 2022 06:58:41 +0000 From: "Jianyong Wu" To: "devel@edk2.groups.io" , Jianyong Wu , Sami Mujawar CC: Ard Biesheuvel , Justin He , "quic_llindhol@quicinc.com" , "kraxel@redhat.com" Subject: Re: [edk2-devel] [PATCH 0/2] CloudHv/arm: Add specific mem info lib Thread-Topic: [edk2-devel] [PATCH 0/2] CloudHv/arm: Add specific mem info lib Thread-Index: AQHYoxv9rOoUkwR48kSDncciB8FMya2koSGg Date: Mon, 8 Aug 2022 06:58:41 +0000 Message-ID: References: <17063BDECB7096AC.5099@groups.io> In-Reply-To: <17063BDECB7096AC.5099@groups.io> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 0F63302CDBDF6E4A9992B14FAE68B114.0 x-checkrecipientchecked: true Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-MS-Office365-Filtering-Correlation-Id: 35d83fb9-a8ca-4dd9-109a-08da790b722b x-ms-traffictypediagnostic: DB6PR0802MB2293:EE_|AM5EUR03FT049:EE_|DB6PR08MB2821:EE_ x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: w4nfPaxFmjzq1Dkaxx8BE1VDSH24ZrgwA3i0PndJwUfHjAuCb3pfP+CazizkMKJYaJ6r3ytt1X6T6frt2dAAXHAQAr39PFoM8JbN21xTMT/gjst5eeI8gXKnKuDs4xU2K6zuEv6K4N1efWpW9zlJlhSv21JyDKATUqS7XuBabbhpR7cr68r3pMK3Xw/M3qbIX9/kBA9bipMA+q8d0zq3/89qRSRORQqaIbLQhBum/fQRb0rJglNrDThzCy5MFHVJlxxLNaQn/wkLTJm9TBTP14Y53Q7f+pdYoU7c/Pc+aKov5VN3x61HCw0NZphUjEfvKJz+XT6YqhyLivERozPO/q6+ypWXR0ge3EIID/M4XTk3+vcWWuzZJiEFyziNGcwoBkA0t1yCRfL+2OQyvcOVgfhqZSzvc4WKC8p0qAry5P+ZBXzy2/Qut6cm50KG0vyYP6EBqW3DJZdm5DYenhsUr965D4k/tfYTPpWX76O48Tv4ur5Lhiw1MnLRrmSYnjIkrjb3nrifK89A7fVyI5GgCunHB8DlqXcHUjaU96ywA7U/4XRQOLIIQoRVYbyjO7BXLfeY9LB+bTBNZheFGqlpZrG//mQH/ixls7UQ+ic68Ca0azqa0sFFZXfmHQ6M4cUxJW5fJBW9ZhjJwGkgv/FvYaHZp9hXLHyLzusaPceji2A3tr7Anf7BFJb/68t1qKA9Aq9rLuE7EDgcNLiMcZ1GL51y7doO3BissXxy/C6eRecSgLucQMEzuMxyhtnpU9DJsY7NRC7RmU/12lSIV8O6HqXNQJp5pvbDIkG4DvI+GG4BfJPfBwuit55Ok7P1+zHE0fuYwf14iHd6AkILi5GCARffOpLIyue8b5C+LDm651sqeR+/Tc72u1Gprirv52Rq X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR08MB7511.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230016)(4636009)(366004)(376002)(396003)(346002)(136003)(39850400004)(38100700002)(2906002)(86362001)(66446008)(66476007)(66946007)(66556008)(64756008)(9686003)(8676002)(4326008)(53546011)(110136005)(7696005)(6506007)(26005)(76116006)(316002)(6636002)(55016003)(54906003)(478600001)(966005)(38070700005)(41300700001)(71200400001)(122000001)(186003)(83380400001)(8936002)(5660300002)(52536014)(33656002);DIR:OUT;SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2293 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Return-Path: Jianyong.Wu@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: c32d7e94-f08e-4050-ac3d-08da790b6db5 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 4EHMNHpBDu6JuqhYh3YkK+BXRW6Lq2Aq/aJtjMShswit2NmfGw49EN/gL5MsSQ66KjM232ehFMYZry3SaYsenyrRIYo3p09qMtPhVLQ2LWjueQNXxr9hrhkP2KVmRWflhzrUt0VQn+euGuzTdywnyiJYFXpJ04KSFUDkkeTUdXabs9vlGjdot0m6d5T0o3SAoJDk8StDANiknTgi7bRPgH6FBxexstodtmD48oFfBwHzU1JlAjioZP/lIPSJzmaTBoqGRireSzJIpcAKXMBjj9ZQ9Dl03BogJysfXv2MSXBSSyWOZ1ti2TGPlt38YsUg6+SFOgZlSiuYGDd0jCJ8XCKjYl41GJ8jxXodH0u8HXS8vG324jNOSAFehM0uYbeezxUtEQFtI4boeeetKpS+meoJuYZxnWsq/7pSSFD0iBE3noTQ027nJwks/mqeK/YePao2dnFEq7DmJ6y2Zlc4PQEon40WWlVGmG/T0W3IS5OaO+orF+SlCxNcLKI/DfEGCb+EWmSPL1owEpbM+dTItYK8WWWQkRphjcRoe30uV6ym45rRmKjPP7FBYHH56OpgCrgLIORKGbAFZ6rRaVKQF90rfebZ6JholQkaahqWxE15TBcyA10BOdHr6LaIeD5HZL5s5ifCG7GbOn+/z4swfcOJ5Jhc6H0qXlVtYQL8tYCGZnsP1MPUA9317xv31MQHe8eQ5i2Lt57ZLU/wWhwCrwPUrsnbYRPJwwueXlD0iGotCnN5fI/NHp0GIS792ZScudfjpVRaxtdalk9ecgLJY4LlAVLRxJcul7GXowRPm/Dp7cUQ1MvlNpmlYYLNyRifLkcFfODdh/4bxvplhGMByw== X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230016)(4636009)(39850400004)(396003)(376002)(136003)(346002)(46966006)(36840700001)(70586007)(70206006)(5660300002)(4326008)(8676002)(316002)(6636002)(54906003)(110136005)(82310400005)(86362001)(55016003)(40480700001)(33656002)(52536014)(8936002)(2906002)(36860700001)(83380400001)(81166007)(356005)(82740400003)(41300700001)(26005)(53546011)(6506007)(9686003)(7696005)(478600001)(336012)(966005)(186003)(47076005)(107886003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 08 Aug 2022 06:58:49.2748 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 35d83fb9-a8ca-4dd9-109a-08da790b722b X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT049.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR08MB2821 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable +cc: Ard Biesheuvel, Leif Lindholm, Gerd Hoffmann > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Jianyong > Wu via groups.io > Sent: Friday, July 29, 2022 3:22 PM > To: devel@edk2.groups.io; Sami Mujawar > Cc: ard.biesheuvel@linaro.org; Justin He ; Jianyong > Wu > Subject: [edk2-devel] [PATCH 0/2] CloudHv/arm: Add specific mem info lib > > Currently, the meminfo lib for CloudHv/arm is reusing QEMU's. As the > memory layout for cloud hypervisor is changed, it needs a new meminfo lib= . > > Signed-off-by: Jianyong Wu > > Jianyong Wu (2): > CloudHv/arm: add PeiMemInfoLib > CloudHv/arm: switch PeiMemLib to its own > > ArmVirtPkg/ArmVirtCloudHv.dsc | 2 +- > .../CloudHvVirtMemInfoLib.c | 251 ++++++++++++++++++ > .../CloudHvVirtMemInfoPeiLib.inf | 46 ++++ > 3 files changed, 298 insertions(+), 1 deletion(-) create mode 100755 > ArmVirtPkg/Library/CloudHvVirtMemInfoLib/CloudHvVirtMemInfoLib.c > create mode 100755 > ArmVirtPkg/Library/CloudHvVirtMemInfoLib/CloudHvVirtMemInfoPeiLib.inf > > -- > 2.17.1 > > > >=20 > IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.