From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mx.groups.io with SMTP id smtpd.web10.25567.1611134903127736175 for ; Wed, 20 Jan 2021 01:28:23 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@intel.onmicrosoft.com header.s=selector2-intel-onmicrosoft-com header.b=yiM3G24D; spf=pass (domain: intel.com, ip: 192.55.52.115, mailfrom: star.zeng@intel.com) IronPort-SDR: wcAmde/iG/JAXj3HhPSerR1VneDm+d+lLIworRJdAZ1OB/Aa6LgrQ8HORnTiYlrwRM6fmlkcXK q8sCMEB7+5Mw== X-IronPort-AV: E=McAfee;i="6000,8403,9869"; a="178295942" X-IronPort-AV: E=Sophos;i="5.79,360,1602572400"; d="scan'208";a="178295942" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Jan 2021 01:28:22 -0800 IronPort-SDR: r/bSmeFYU037PT6Pb2pSt8gOvnNnrKL3Wf1FU7KrtpeKD73VBebIjg6SO21QGMzvYfK/2bfU7r 5DMygLA+83KA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,360,1602572400"; d="scan'208";a="355984716" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga008.fm.intel.com with ESMTP; 20 Jan 2021 01:28:20 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 20 Jan 2021 01:28:19 -0800 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Wed, 20 Jan 2021 01:28:18 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 20 Jan 2021 01:28:18 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.172) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Wed, 20 Jan 2021 01:28:18 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VuHITqPNIfLj5h1DjOLV+urCqRelDzcodHBJ7FKLrNaflJ3/c9mCUzVTqXcO64IXFgxhUT4y81+M7gq/207lyCgkv34s0uzntPe8jn8KZeBnc5A3yC+qjFbvjpiAKzOrOz+exYa1iSLMSHAB6gtVPbrBkaS5nXksCkAnq+tNTWS2aaOkrM+g+OQkTzzrVVa/C8HrlfaVcquaqrvqCESpxIDBSxnUUOOBqDV0G2vWJwx5fuIXF8YJFiDy0OWbBx71N44ZDC+cgBcSpTQEgT9AbpCyYM85M70nKb6RUNL5+W38iSJy6RfF7V1dcORwIpADjJpgMM9qYItdDvcLFOc8qw== 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=2PY1JYjOnYb6iU9TB0wTRHY9VqPWHf9ot530TFNqPm4=; b=A67xVokxb03dW8PgN7QpKfGAX3Vsn5IL0bjoSs84+4QWj7DgMXOqAzH3UONzE4IIFALJENa5te4bzt/0jLS+LR57ovqAdc1CzIPB0ibqe2AmVPYnFUJtHFDqQEiK3Y4g+UlctbnZGL9x8I1jH/6F/rkdl7zjufOJJEK6k3JMt+7E+9XoStNsNoOcnHAqKmu+pPozrE568s3JF/mnWc0jAtpJgkVD6KTqJldqducQF1wI2nD0Aqc2A8FCPfjLmCnEWa8rggT9ehkyIsAAnuCA5KYSbsKzmWPOdX81fMek+HdGbWPo4WA1nmmpexhCZrc067j0EMJyGoM5GO1pb7Lkpw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2PY1JYjOnYb6iU9TB0wTRHY9VqPWHf9ot530TFNqPm4=; b=yiM3G24DLfxOJtdOI4B58A5IVJvJphFC7DHo/zip7QlHJbp11MfNUtLeu1+Ubr8DgsYP9TOYrp4ZE+hTTmcvJG3yPGxMGUW5R2Se9dpD/kfcMLXjPVrZmmpmoiMqnGSQg8gvBY78YF0lTZRj/XC7pQU3HXUReG/M5d53SUsykjE= Received: from DM6PR11MB4058.namprd11.prod.outlook.com (2603:10b6:5:193::13) by DM6PR11MB3930.namprd11.prod.outlook.com (2603:10b6:5:197::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3763.9; Wed, 20 Jan 2021 09:28:15 +0000 Received: from DM6PR11MB4058.namprd11.prod.outlook.com ([fe80::29e6:77f7:8834:9f88]) by DM6PR11MB4058.namprd11.prod.outlook.com ([fe80::29e6:77f7:8834:9f88%7]) with mapi id 15.20.3784.011; Wed, 20 Jan 2021 09:28:15 +0000 From: "Zeng, Star" To: Laszlo Ersek , edk2-devel-groups-io CC: Ard Biesheuvel , "Dong, Eric" , "Justen, Jordan L" , =?utf-8?B?UGhpbGlwcGUgTWF0aGlldS1EYXVkw6k=?= , "Kumar, Rahul1" , "Ni, Ray" , "Zeng, Star" Subject: Re: [PATCH v2 0/4] UefiCpuPkg, OvmfPkg: do not allocate useless register tables for S3 resume Thread-Topic: [PATCH v2 0/4] UefiCpuPkg, OvmfPkg: do not allocate useless register tables for S3 resume Thread-Index: AQHW7ntxqHSqvPT640G2cz198lEK6qowQARQ Date: Wed, 20 Jan 2021 09:28:15 +0000 Message-ID: References: <20210119155440.2262-1-lersek@redhat.com> In-Reply-To: <20210119155440.2262-1-lersek@redhat.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.46.46] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: a700d93d-86de-45a4-e320-08d8bd25b73d x-ms-traffictypediagnostic: DM6PR11MB3930: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rJu3NlkafaNC/m695bvz8Ym5Ig/LNRIzfs2mCzu69RyfvHS04yRtqRS2zprSDcFjYUig2VaZvMb5SsQPL3H4ocYpZXHy0zDXzdSP7SLo25/JYFNnzwLNR7jdBrXj2MIUTfYoF4HxV1pR7uMFHl/cRJDT72KDiLFxxwxTCvw9NaLTBizPBdJRWpE6HMDm7IqD/ez/KdHhd2tQmBkwEu4VH+r6WWG4fUInfjtvJZ3o5XIfn8g4ZCcYkGcj48S1r1kVbtvhssvcnNaOwsiXu+9wcnfZvY6bFjfaLKDqt5DiVDgeyNcOayCH1FZESsgF/nGztd7+dSmIgmqbNpQfavoxHSFTW3l7fc2gveU886e110sV47LvyrQsVQgyJUWrGS9HITNvCVmlH5hTaCnmdewhhIkxYex1A777DkGRQFnTZRNeT33ogpKL1eH9vAeQ+i27jDYAIL3nBcTuKJmLf82y22hZdMlbypqkrldIz3J946/BVtWyEtoI02IY8Mue9AY3LjCMAiW1EjttUgE7xxdyinCg3F9LOWXGFx1PwwGi69N3Ytxg8WuxFBm0qZpQFEw5re65jMtib3S0JwNbR5IdBtmn3e9hV4uqQXY9JXtgsCc= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR11MB4058.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(39860400002)(366004)(396003)(376002)(346002)(136003)(8936002)(64756008)(55016002)(6506007)(107886003)(4326008)(110136005)(9686003)(7696005)(66946007)(86362001)(54906003)(33656002)(83380400001)(186003)(478600001)(8676002)(66556008)(26005)(71200400001)(5660300002)(66476007)(316002)(2906002)(53546011)(19627235002)(966005)(52536014)(76116006)(66446008);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata: =?utf-8?B?amw0eFYxM1hXYWVhVko1d01Ea3VTR1BuQzBrYTFmL0dwRFFEUmMrWmdsVjRK?= =?utf-8?B?cFE3WVBDQ1NaTDJFaEt5eVFpY3pyOFdoTE1JM3Q0eFkvbUtZcU91K1E3Q0h2?= =?utf-8?B?QmNja1BYRHRPSzFOaTZ4SWhSR3ZVOGhEVTNPdzYyc3F2c1pFdzZmTDg5R25l?= =?utf-8?B?eEtIbjl1SDJvOTEvOWo1YXdmYnc0OGcvemc1WHUvanpadGJ5Nm1yVXBrODlX?= =?utf-8?B?cXA2YllpNXhQZmxzQ2thQ08xc2lwTkNmeVZ6Y2l5bmRDeDBZNE9BSEFmQWcr?= =?utf-8?B?RGFwbEVIY3lpQ3o2SGU1RTJxU3paN3lsbkphS28zOUNDS0tVSXZsS1ZFTkxT?= =?utf-8?B?OHZCUHJ6Z2ZPYWRKOUVISkhjQkNENXJuN1ZhM1NrVktkS1hYTmxWMXdQcHdj?= =?utf-8?B?R3ZWckpsMzhWWk5KbEx0aDJkRjhLTUk2RUtMbW4ySHlUQ2dIYnNxNzR0UjhC?= =?utf-8?B?Nm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uthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR11MB4058.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: a700d93d-86de-45a4-e320-08d8bd25b73d X-MS-Exchange-CrossTenant-originalarrivaltime: 20 Jan 2021 09:28:15.6962 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: PPAjSDejjoE+fiZ9mZWfcuP6kBmyYe/QoR7+2Saa96VjOKhVu8KJT3KZGq3NLAevYzIJAY6ipxQKbKXyhEesjw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR11MB3930 Return-Path: star.zeng@intel.com X-OriginatorOrg: intel.com Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 U2VyaWVzIFJldmlld2VkLWJ5OiBTdGFyIFplbmcgPHN0YXIuemVuZ0BpbnRlbC5jb20+DQoNCj4g LS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogTGFzemxvIEVyc2VrIDxsZXJzZWtA cmVkaGF0LmNvbT4NCj4gU2VudDogVHVlc2RheSwgSmFudWFyeSAxOSwgMjAyMSAxMTo1NSBQTQ0K PiBUbzogZWRrMi1kZXZlbC1ncm91cHMtaW8gPGRldmVsQGVkazIuZ3JvdXBzLmlvPg0KPiBDYzog QXJkIEJpZXNoZXV2ZWwgPGFyZC5iaWVzaGV1dmVsQGFybS5jb20+OyBEb25nLCBFcmljDQo+IDxl cmljLmRvbmdAaW50ZWwuY29tPjsgSnVzdGVuLCBKb3JkYW4gTCA8am9yZGFuLmwuanVzdGVuQGlu dGVsLmNvbT47DQo+IFBoaWxpcHBlIE1hdGhpZXUtRGF1ZMOpIDxwaGlsbWRAcmVkaGF0LmNvbT47 IEt1bWFyLCBSYWh1bDENCj4gPHJhaHVs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