From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: suse.com, ip: 15.124.2.86, mailfrom: glin@suse.com) Received: from m4a0040g.houston.softwaregrp.com (m4a0040g.houston.softwaregrp.com [15.124.2.86]) by groups.io with SMTP; Wed, 03 Jul 2019 03:23:40 -0700 Received: FROM m4a0040g.houston.softwaregrp.com (15.120.17.146) BY m4a0040g.houston.softwaregrp.com WITH ESMTP; Wed, 3 Jul 2019 10:23:07 +0000 Received: from M9W0067.microfocus.com (2002:f79:be::f79:be) by M4W0334.microfocus.com (2002:f78:1192::f78:1192) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10; Wed, 3 Jul 2019 10:22:57 +0000 Received: from NAM03-BY2-obe.outbound.protection.outlook.com (15.124.72.10) by M9W0067.microfocus.com (15.121.0.190) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1591.10 via Frontend Transport; Wed, 3 Jul 2019 10:22:57 +0000 Received: from DM6PR18MB2489.namprd18.prod.outlook.com (20.179.105.16) by DM6PR18MB2956.namprd18.prod.outlook.com (20.179.50.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.18; Wed, 3 Jul 2019 10:22:56 +0000 Received: from DM6PR18MB2489.namprd18.prod.outlook.com ([fe80::c953:1927:cc0a:dcae]) by DM6PR18MB2489.namprd18.prod.outlook.com ([fe80::c953:1927:cc0a:dcae%7]) with mapi id 15.20.2032.019; Wed, 3 Jul 2019 10:22:56 +0000 From: "Gary Lin" To: "devel@edk2.groups.io" CC: Jordan Justen , Laszlo Ersek , =?utf-8?B?TWFyYy1BbmRyw6kgTHVyZWF1?= , Stefan Berger Subject: [PATCH 1/1] OvmfPkg: Only import DxeTpmMeasurementLib when TPM is enabled Thread-Topic: [PATCH 1/1] OvmfPkg: Only import DxeTpmMeasurementLib when TPM is enabled Thread-Index: AQHVMYlHJPM5Pv2uK02R7xr3titCAw== Date: Wed, 3 Jul 2019 10:22:56 +0000 Message-ID: <20190703102228.25441-1-glin@suse.com> Accept-Language: zh-TW, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: DB6PR0301CA0057.eurprd03.prod.outlook.com (2603:10a6:4:54::25) To DM6PR18MB2489.namprd18.prod.outlook.com (2603:10b6:5:184::16) authentication-results: spf=none (sender IP is ) smtp.mailfrom=GLin@suse.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.22.0 x-originating-ip: [202.47.205.198] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b78a6d14-1a70-4aba-7e57-08d6ffa069e2 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020);SRVR:DM6PR18MB2956; x-ms-traffictypediagnostic: DM6PR18MB2956: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:346; x-forefront-prvs: 00872B689F x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(4636009)(39860400002)(396003)(366004)(376002)(346002)(136003)(199004)(189003)(256004)(25786009)(53936002)(6512007)(66066001)(5640700003)(1076003)(6116002)(3846002)(6436002)(14454004)(4326008)(86362001)(6916009)(19627235002)(36756003)(2906002)(102836004)(6486002)(6506007)(386003)(68736007)(486006)(1730700003)(316002)(66946007)(66446008)(186003)(66556008)(66476007)(73956011)(26005)(64756008)(72206003)(478600001)(2501003)(2351001)(54906003)(52116002)(80792005)(71190400001)(305945005)(71200400001)(99286004)(7736002)(2616005)(476003)(5660300002)(8936002)(50226002)(81166006)(81156014)(8676002);DIR:OUT;SFP:1102;SCL:1;SRVR:DM6PR18MB2956;H:DM6PR18MB2489.namprd18.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: suse.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: 8dAwapHHbs2GcS3AhLtUVxHefyB+Qi9NkR0za6yGnLfjKydl4eUvi9bzML75i3XAuCqXlNf8pjO8xDIcj5eptz1juHxVa52/ODlOW9ymIkBvpQExXTvzXcCUDPlghL8MQeFOSOJ8EFY/31T3dDn/8tXQaZntb9pV28h8cTDgASkDdjj95q2ZCKwtsWHX8siZTJkpwPNXt49/AjZp/8g7jKfF+OonD3Fqw4FpDPZZE4bCXWtlNWL/BZD3ScQLY/i3EIZmA/4HonzlwrO0cmTFBZwWCE7RcWCpVT9/vMZPMwa/MsSZpSBS1cgvSyVtfjtr8uSRZlh+45fePFkmR4sznwa/K4X2eF4wtR1UtTpsDjAmMuAU2xwcz/Mn2cfNMeE0rxCtb4skye9E1PJI0z+0b7kNlqn9UBG4DWu3lib+Sx4= MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: b78a6d14-1a70-4aba-7e57-08d6ffa069e2 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Jul 2019 10:22:56.0302 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 856b813c-16e5-49a5-85ec-6f081e13b527 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: GLin@suse.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR18MB2956 Return-Path: GLin@suse.com X-OriginatorOrg: suse.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 RHhlVHBtTWVhc3VyZW1lbnRMaWIgaXMgb25seSB1c2VmdWwgd2hlbiBUUE0gaXMgZW5hYmxlZC4N Cg0KQ2M6IEpvcmRhbiBKdXN0ZW4gPGpvcmRhbi5sLmp1c3RlbkBpbnRlbC5jb20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