From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.93; helo=mga11.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 8251B20347171 for ; Wed, 25 Oct 2017 22:04:36 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Oct 2017 22:08:21 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.43,433,1503385200"; d="scan'208";a="327875348" Received: from fmsmsx107.amr.corp.intel.com ([10.18.124.205]) by fmsmga004.fm.intel.com with ESMTP; 25 Oct 2017 22:08:21 -0700 Received: from shsmsx101.ccr.corp.intel.com (10.239.4.153) by fmsmsx107.amr.corp.intel.com (10.18.124.205) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 25 Oct 2017 22:08:21 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.175]) by SHSMSX101.ccr.corp.intel.com ([169.254.1.159]) with mapi id 14.03.0319.002; Thu, 26 Oct 2017 13:08:19 +0800 From: "Zeng, Star" To: Ard Biesheuvel , Laszlo Ersek CC: "Dong, Eric" , edk2-devel-01 , "Yao, Jiewen" , "Brijesh Singh" , "Zeng, Star" Thread-Topic: [edk2] [PATCH 03/10] MdeModulePkg/AtaAtapiPassThru: disable the device at ExitBootServices() Thread-Index: AQHTKCp3dHJqWQ9CqEu0g7NE1GzNeaL0dOaAgABPoYCAARo5gA== Date: Thu, 26 Oct 2017 05:08:19 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B9AE2CE@shsmsx102.ccr.corp.intel.com> References: <20170907224116.895-1-lersek@redhat.com> <20170907224116.895-4-lersek@redhat.com> <5bf829cb-4517-a579-ba7c-745c4ee89147@redhat.com> In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [PATCH 03/10] MdeModulePkg/AtaAtapiPassThru: disable the device at ExitBootServices() X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 05:04:36 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 R29vZCBwb2ludC4NCg0KQ291bGQgd2UgZmluZCBvdXQgd2hhdCBjaGFuZ2UgY2F1c2VzIHRoZSBw ZXJmb3JtYW5jZSByZWdyZXNzaW9uPyBCdXMgTWFzdGVyIGRpc2FibGUgLyBNZW1vcnkgU3BhY2Ug ZGlzYWJsZSAvIElPIFNwYWNlIGRpc2FibGU/DQpIb3cgYWJvdXQgdG8gb25seSBkaXNhYmxlIEJ1 cyBNYXN0ZXIgaW4gdGhlIGV4aXQgYm9vdCBzZXJ2aWNlIGV2ZW50IG5vdGlmaWNhdGlvbj8gSXQg c2VlbXMgdGhlIGtleSBwb2ludCBzdWdnZXN0ZWQgYnkgVUVGSSBEcml2ZXJfV3JpdGVyX0d1aWRl X1YxLjAuMV8xMjAzMDgucGRmLg0KDQo3LjcNCkV4YW1wbGVzIGZyb20gdGhlIEVESyBJSSB0aGF0 IHVzZSB0aGlzIGZlYXR1cmUgYXJlIHRoZSBQQ0kgZGV2aWNlIGRyaXZlcnMgZm9yIFVTQiBIb3N0 DQpDb250cm9sbGVycy4gU29tZSBVU0IgSG9zdCBDb250cm9sbGVycyBhcmUgUENJIEJ1cyBNYXN0 ZXJzIHRoYXQgY29udGludW91c2x5IGFjY2VzcyBhDQptZW1vcnkgYnVmZmVyIHRvIHBvbGwgZm9y IG9w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