From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR03-AM7-obe.outbound.protection.outlook.com (EUR03-AM7-obe.outbound.protection.outlook.com [40.107.105.45]) by mx.groups.io with SMTP id smtpd.web11.11488.1669172191749354810 for ; Tue, 22 Nov 2022 18:56:32 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=S48qZVPO; spf=pass (domain: arm.com, ip: 40.107.105.45, mailfrom: jianyong.wu@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=IA3VPorAs2weKTGEkN9hb/qgg5Jnf5oT4+jPtxuYshA=; b=S48qZVPOsW6kFyY57vB24uVwkWQJyejyR2NuCtIfaYdBHwTGJ8uiHYdaW5ikHxhZ40+SSujVANsZ837ThB91OPjTG09w2o8hPOWm0e2djV8hhHLjdWywAEovvbUJpUW6GRAoyDOi4dPTom/uv95/I78kIb8pxNZ0uIMOJtQ6A7Q= Received: from ZR0P278CA0158.CHEP278.PROD.OUTLOOK.COM (2603:10a6:910:41::17) by PR3PR08MB5643.eurprd08.prod.outlook.com (2603:10a6:102:84::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.17; Wed, 23 Nov 2022 02:56:28 +0000 Received: from VI1EUR03FT024.eop-EUR03.prod.protection.outlook.com (2603:10a6:910:41:cafe::1e) by ZR0P278CA0158.outlook.office365.com (2603:10a6:910:41::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.15 via Frontend Transport; Wed, 23 Nov 2022 02:56:28 +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 VI1EUR03FT024.mail.protection.outlook.com (100.127.145.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.8 via Frontend Transport; Wed, 23 Nov 2022 02:56:27 +0000 Received: ("Tessian outbound 58faf9791229:v130"); Wed, 23 Nov 2022 02:56:27 +0000 X-CR-MTA-TID: 64aa7808 Received: from eda4b87480ad.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 50AC67B0-B141-4616-853A-C62379034295.1; Wed, 23 Nov 2022 02:56:22 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id eda4b87480ad.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 23 Nov 2022 02:56:22 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WaoSmeZzIjYHLsb6mx6Lsr3EHlo+m8KR44s84C6H8dIgt42iHMJjYuZUdJV6lfwNRgIaLPHgHm1QNLnqn4+6u8aXJVG1qo71e55lJabh6Wdg5BSAiHb7YhY2dmgE/WvpfejHRo5LAIkZg9EcdEMW6CqEuYtbL/NC4QmX5G6IelnayV1z0bkZ9L09wyY52FsMPNTOSU48C3Haw/LJpwdpuVhhtIsjRS3D9bWktGOnGDmRARL+BQP7Q5+LfMvusNel9+GjXgaBqD23z4F7sZT0KnFomKen/CcQHvSMz5D2jgw2O7uYiiwatZODx/BoYnUgxr0ut/Ve0aujiwtyw4lqMQ== 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=IA3VPorAs2weKTGEkN9hb/qgg5Jnf5oT4+jPtxuYshA=; b=fRzl9nm73w4hBgTR1p4ogCcKK3Tc+v/XDLkJtIC7Plr/kX9+gxpymKSzOtmChg+xNyHsb0exPeumKSoNn55R0eTSrUda9k6Hw0RCjJPko9zN9LbKmASTY17HLE+S0FC+5i7ilU9t1sd/B3rUHInjaBjz2hkvLSDl99ykS1jLDMcEbtf++uogrenkaTopWIa/WBTjBbscCYUVhWaKKTAd4m0punONNtuJVxqhTcdtcoT5X6BcIex41QD81xT/lWFNnjhUSrVutF2TT7GZEiF+I0w7z4Bf521o0wbnG76VY8swydIpOv815+Iplv1ttJAMAmsBQLDxFJjWX5JruCBU8A== 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=IA3VPorAs2weKTGEkN9hb/qgg5Jnf5oT4+jPtxuYshA=; b=S48qZVPOsW6kFyY57vB24uVwkWQJyejyR2NuCtIfaYdBHwTGJ8uiHYdaW5ikHxhZ40+SSujVANsZ837ThB91OPjTG09w2o8hPOWm0e2djV8hhHLjdWywAEovvbUJpUW6GRAoyDOi4dPTom/uv95/I78kIb8pxNZ0uIMOJtQ6A7Q= Received: from DB9PR08MB7511.eurprd08.prod.outlook.com (2603:10a6:10:302::21) by PAVPR08MB9627.eurprd08.prod.outlook.com (2603:10a6:102:31b::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5857.17; Wed, 23 Nov 2022 02:56:13 +0000 Received: from DB9PR08MB7511.eurprd08.prod.outlook.com ([fe80::52b0:ad37:1be3:5b67]) by DB9PR08MB7511.eurprd08.prod.outlook.com ([fe80::52b0:ad37:1be3:5b67%7]) with mapi id 15.20.5857.017; Wed, 23 Nov 2022 02:56:13 +0000 From: "Jianyong Wu" To: Sami Mujawar , "devel@edk2.groups.io" CC: "ardb+tianocore@kernel.org" , Justin He , nd Subject: Re: [PATCH 2/3] CloudHv:arm: build hob for kernel image memory as read-only Thread-Topic: [PATCH 2/3] CloudHv:arm: build hob for kernel image memory as read-only Thread-Index: AQHYyXaOE0O9DXNSz061k0zVF58pwa5LgJEAgAC123A= Date: Wed, 23 Nov 2022 02:56:13 +0000 Message-ID: References: <20220916024620.114084-1-jianyong.wu@arm.com> <20220916024620.114084-3-jianyong.wu@arm.com> <0149df14-4918-3f7a-7fd1-63c5d4509a9a@arm.com> In-Reply-To: <0149df14-4918-3f7a-7fd1-63c5d4509a9a@arm.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ts-tracking-id: 3DED13D30D1020498C26362E6B035790.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-traffictypediagnostic: DB9PR08MB7511:EE_|PAVPR08MB9627:EE_|VI1EUR03FT024:EE_|PR3PR08MB5643:EE_ X-MS-Office365-Filtering-Correlation-Id: a685d96d-1f05-498a-0e6c-08daccfe5120 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: dW76BD9Y1SD8Y4vK30vTCIOiDwibUv9MKKGvVidhwukgZdVeKpN4vAIR1v267Id1gHuYczZyquAkm8J2usClH3cTk0dB184mTACA9l5zCFRR0B+3fjAau7Mk2Pz+VMTK/NFZmCXFEXzR1uuIp/rqg0QYCgNCfbi3WHArCKKp3ZMEfJ4tOF4Us4NDB3puNaocRvkrvdmUj+48KAnfYOuEWf5yuWAzm531mEyrAi5dVVUcY8FhE7FxinWXxkywwj4D8CMnXW0OIU2X8Q6wvG97RMo9RCJmxnvCUzubXNqWjjomSY9tYXvtYT2T6dKEX7o/AfftV3vWs85MjsVe/v/bixrK6JQ+cjPEUAn+CER5LTLbs4TtBYdqifTz5fAAKkYynv3rYqmOOKMv4eqMSVraGbPY4+XD1uK9kGZd/8ex765iw+lqy54hUWrNBL3IgiJBITHXB9VCL54xoymoye2bRtYgRwklM2BELjyu4P6xSN2DLLbo4dMHaYjzCAC37ORqZogvBw+XXNzDj3ikW/+ON0bljH9uVPYLOpikEJ8yb0GaR/rbfpG5C9BkjB89mzaveMbBtBt2H8I2PY15NJObVJ66XwzuHL8EePjXIsRsZ2YxF3D1O0NJ3WoI6qXaiVETap06Bcs7g2jbf84CHriZcKrZKqnyDM+K91wXfoie+T6jVw9BXHXAj9WRxJNnaIW0rG/yG4GnDjacQVTL4HQejA== 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:(13230022)(4636009)(346002)(366004)(136003)(396003)(376002)(39860400002)(451199015)(41300700001)(8936002)(4326008)(5660300002)(316002)(54906003)(66556008)(76116006)(66476007)(66946007)(64756008)(66446008)(8676002)(52536014)(478600001)(71200400001)(2906002)(9686003)(53546011)(7696005)(6506007)(186003)(110136005)(122000001)(26005)(38100700002)(38070700005)(83380400001)(86362001)(33656002)(55016003);DIR:OUT;SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR08MB9627 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: VI1EUR03FT024.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: ccb19355-3959-4b94-8533-08daccfe4866 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: yPOzpTflQMXzFL8qhwCDF4zVGYLTzStUVB7PAIAVXTQpZRYqm9Ika+e4GQsTlJ9xsFZppX2lByZ1DGJaoxAXo1yGQX+Q/eQhxtQHSnBz/EihAwC4DEByE5eaXjoY2gqcM8WXYrghkuSAd7gV/XR0uaBnyTDelDtLTDlgQZ0ThgKVYzZjG0OHyHQRobtSy7SggVlM31d0+4iR2xVyrSA7+HKFGbNCwCInXkBgy4bSHNzLj+heuiwDDdh364++xK40EKC3SMxd73S3s5fb3ZZz9nKNnWiU1QbI5DUHvO3x1r4W8QKq3cOm7x3hloePbhcWt1B1bbH0adLLeICE/T3caUSERUq8UVgZRRA8Xc4RHTCpDPiNW2c02COzf6QFg6OqW6o4wdOAZUvGgflLRazYpqPVvSwfvm9ILzCjetiLIS+TOnG0f0HLGWJWz+Y+Qh6XOrdnAWlTR80x0YH8hN0IQKJHarYoCOsjIjGnaGk42EWvmvIyClTVJy1NFNx75I0o0PRXnWTc407A04XXM757RFLQHHGre53TpSYLCW+4B5vYpieKSSPP54M2DugJjIBbxt24HLv0b3qWGYcDHfnkG4k/oZ2i5f5SBnfOn5UOpSGuTbahI5055U6sGiYjgjLfD5smcP1YXt7mvAjRF2EOuyEauh/a9zDAg2mzr3TtsVTkhdSEp5aypcC+9IozB63ZKn1t6+e0/oRb48jnv8zZSg== 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:(13230022)(4636009)(39860400002)(346002)(136003)(396003)(376002)(451199015)(36840700001)(46966006)(40470700004)(41300700001)(40480700001)(52536014)(8936002)(54906003)(316002)(5660300002)(8676002)(4326008)(70586007)(70206006)(86362001)(55016003)(82740400003)(6506007)(478600001)(83380400001)(26005)(356005)(110136005)(81166007)(2906002)(336012)(7696005)(186003)(82310400005)(47076005)(9686003)(53546011)(40460700003)(36860700001)(33656002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Nov 2022 02:56:27.9755 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a685d96d-1f05-498a-0e6c-08daccfe5120 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: VI1EUR03FT024.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR08MB5643 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgU2FtaSwgDQoNCklubGluZSByZXBseS4NCg0KPiAtLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0t LQ0KPiBGcm9tOiBTYW1pIE11amF3YXIgPFNhbWkuTXVqYXdhckBhcm0uY29tPg0KPiBTZW50OiBU dWVzZGF5LCBOb3ZlbWJlciAyMiwgMjAyMiAxMTo0OCBQTQ0KPiBUbzogSmlhbnlvbmcgV3UgPEpp YW55b25nLld1QGFybS5jb20+OyBkZXZlbEBlZGsyLmdyb3Vwcy5pbw0KPiBDYzogYXJkYit0aWFu b2NvcmVAa2VybmVsLm9yZzsgSnVzdGluIEhlIDxKdXN0aW4uSGVAYXJtLmN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nQsIEtlcm5lbFNp emU7DQo+ID4gICAgIENPTlNUIENIQVI4ICAgICAgICAgICAgICAgICAgKlR5cGU7DQo+ID4gLSAg SU5UMzIgICAgICAgICAgICAgICAgICAgICAgICBMZW47DQo+ID4gKyAgSU5UMzIgICAgICAgICAg ICAgICAgICAgICAgICBMZW4sIENob3Nlbk5vZGU7DQo+ID4gICAgIENPTlNUIFVJTlQ2NCAgICAg ICAgICAgICAgICAgKlJlZ1Byb3A7DQo+ID4gICAgIFJFVFVSTl9TVEFUVVMgICAgICAgICAgICAg ICAgUGNkU3RhdHVzOw0KPiA+ICAgICBVSU5UOCAgICAgICAgICAgICAgICAgICAgICAgIEluZGV4 Ow0KPiA+IEBAIC01Myw2ICs1NCw4IEBAIENsb3VkSHZWaXJ0TWVtSW5mb1BlaUxpYkNvbnN0cnVj dG9yICgNCj4gPiAgICAgRmlyTWVtTm9kZUJhc2UgICAgID0gMDsNCj4gPiAgICAgRmlyTWVtTm9k ZVNpemUgICAgID0gMDsNCj4gPiAgICAgSW5kZXggICAgICAgICAgICAgID0gMDsNCj4gPiArICBD dXJTaXplT2ZmICAgICAgICAgPSAwOw0KPiA+ICsgIEtlcm5lbFNpemUgICAgICAgICA9IDA7DQo+ ID4gICAgIE1lbUJhc2UgICAgICAgICAgICA9IEZpeGVkUGNkR2V0NjQgKFBjZFN5c3RlbU1lbW9y eUJhc2UpOw0KPiA+ICAgICBSZXNvdXJjZUF0dHJpYnV0ZXMgPSAoDQo+ID4gICAgICAgICAgICAg ICAgICAgICAgICAgICBFRklfUkVTT1VSQ0VfQVRUUklCVVRFX1BSRVNFTlQgfCBAQCAtNjAsNg0K PiA+ICs2MywxMiBAQCBDbG91ZEh2VmlydE1lbUluZm9QZWlMaWJDb25zdHJ1Y3RvciAoDQo+ID4g ICAgICAgICAgICAgICAgICAgICAgICAgICBFRklfUkVTT1VSQ0VfQVRUUklCVVRFX1dSSVRFX0JB Q0tfQ0FDSEVBQkxFIHwNCj4gPiAgICAgICAg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