From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 75EB581A8A for ; Sun, 8 Jan 2017 17:25:16 -0800 (PST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP; 08 Jan 2017 17:25:16 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,338,1477983600"; d="jpg'145?scan'145,208,217,145";a="50717221" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga005.jf.intel.com with ESMTP; 08 Jan 2017 17:25:16 -0800 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 8 Jan 2017 17:25:14 -0800 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.248.2; Sun, 8 Jan 2017 17:25:14 -0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.177]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.204]) with mapi id 14.03.0248.002; Mon, 9 Jan 2017 09:25:12 +0800 From: "Tian, Feng" To: Haojian Zhuang , "leif.lindholm@linaro.org" , "ard.biesheuvel@linaro.org" , "edk2-devel@lists.01.org" CC: "Tian, Feng" Thread-Topic: [PATCH 4/9] Ufs: fix to set UTRLBA and UTRLBAU register Thread-Index: AQHSZ+l9OoBuA7xxsUqfdDC34UZnQqErH6QQ//+Cm4CABLnF8A== Date: Mon, 9 Jan 2017 01:25:11 +0000 Message-ID: <7F1BAD85ADEA444D97065A60D2E97EE5699A66CE@SHSMSX101.ccr.corp.intel.com> References: <1483685538-11058-1-git-send-email-haojian.zhuang@linaro.org> <1483685538-11058-5-git-send-email-haojian.zhuang@linaro.org>, <7F1BAD85ADEA444D97065A60D2E97EE5699A60C7@SHSMSX101.ccr.corp.intel.com> In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: yes X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.21 Subject: Re: [PATCH 4/9] Ufs: fix to set UTRLBA and UTRLBAU register X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2017 01:25:16 -0000 Content-Language: en-US Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 SGFvamlhbiwNCg0KUGxlYXNlIHJlZmVyIHRvIGJlbG93IHBpYy4NCg0KRm9yIGV4YW1wbGUsIHdl IHNldCBVVFJMIGFzIDB4MTAwMDAsIGFuZCB3ZSBmb3VuZCA1dGggc2xvdCBpcyBmcmVlLCB0aGVu IHdlIHNob3VsZCBkb29yYmVsbCB0aGUgNXRoIGJpdCBvZiBVVFJMREJSLg0KDQpZb3VyIGNoYW5n ZSB3aWxsIHNldCBVVFJMIGFzIDB4MTAwMDUwLChhc3N1bWUgZWFjaCBUUkQgdXNlcyAweDEwYnl0 ZXMgZm9yIGVhc3kgdW5kZXJzdGFuZGluZyksIHRoZW4geW91IGhhdmUgdG8gc2V0IGRvb3JiZWxs IHRvIDAuDQoNCkJlc2lkZXMgdGhpcywgeW91ciBmaXggYWxzbyBkaXNvYmV5cyB0aGUgVUZTIHNw ZWMsIHdoaWNoIHJlcXVlc3RzIHRoZSBVVFJMQkEgaXMgMUtCIGFsaWduLg0KDQpbY2lkOmltYWdl MDAzLmpwZ0AwMUQyNkE1QS40NjU1RTE4MF0NCg0KVGhhbmtzDQpGZW5nDQoNCkZyb206IEhhb2pp YW4gWmh1YW5nIFttYWlsdG86aGFvamlhbi56aHVh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