From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mx.groups.io with SMTP id smtpd.web09.12098.1583332611338151095 for ; Wed, 04 Mar 2020 06:36:51 -0800 Authentication-Results: mx.groups.io; dkim=missing; spf=pass (domain: intel.com, ip: 134.134.136.24, mailfrom: eric.dong@intel.com) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Mar 2020 06:36:50 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,514,1574150400"; d="scan'208";a="234051846" Received: from fmsmsx105.amr.corp.intel.com ([10.18.124.203]) by orsmga008.jf.intel.com with ESMTP; 04 Mar 2020 06:36:50 -0800 Received: from fmsmsx113.amr.corp.intel.com (10.18.116.7) by FMSMSX105.amr.corp.intel.com (10.18.124.203) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 4 Mar 2020 06:36:50 -0800 Received: from shsmsx105.ccr.corp.intel.com (10.239.4.158) by FMSMSX113.amr.corp.intel.com (10.18.116.7) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 4 Mar 2020 06:36:49 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.50]) by SHSMSX105.ccr.corp.intel.com ([169.254.11.144]) with mapi id 14.03.0439.000; Wed, 4 Mar 2020 22:36:47 +0800 From: "Dong, Eric" To: Laszlo Ersek , "devel@edk2.groups.io" CC: Ard Biesheuvel , Igor Mammedov , "Yao, Jiewen" , "Justen, Jordan L" , "Kinney, Michael D" , =?utf-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= , "Ni, Ray" , Boris Ostrovsky Subject: Re: [edk2-devel] [PATCH v2 02/16] UefiCpuPkg/PiSmmCpuDxeSmm: fix S3 Resume for CPU hotplug Thread-Topic: [edk2-devel] [PATCH v2 02/16] UefiCpuPkg/PiSmmCpuDxeSmm: fix S3 Resume for CPU hotplug Thread-Index: AQHV7PHaDw0IiW64fEyfNmtV/GEfcagv6kEggAf1E4CAAKsZkA== Date: Wed, 4 Mar 2020 14:36:47 +0000 Message-ID: References: <20200226221156.29589-1-lersek@redhat.com> <20200226221156.29589-3-lersek@redhat.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiZmY1NDU2YmYtYTc0OC00MGEzLWJlMmMtNTU2N2E1ZmE1NDFmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoiV3JwdE9TTHNGYlFFQmxoM0N4VE9yNHVLR1liMEsxWFI5SDRVdHFURmFianlRc1c4M01tNjJhcWdvR2x5OGh3SSJ9 x-ctpclassification: CTP_NT dlp-product: dlpe-windows dlp-version: 11.2.0.6 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Return-Path: eric.dong@intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgTGFzemxvLA0KDQpHb3QgaXQuIEdvIGFoZWFkLg0KDQpUaGFua3MsDQpFcmljDQoNCi0tLS0t T3JpZ2luYWwgTWVzc2FnZS0tLS0tDQpGcm9tOiBMYXN6bG8gRXJzZWsgPGxlcnNla0ByZWRoYXQu Y29tPiANClNlbnQ6IFdlZG5lc2RheSwgTWFyY2ggNCwgMjAyMCA4OjIzIFBNDQpUbzogZGV2ZWxA ZWRrMi5ncm91cHM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