From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-x235.google.com (mail-pg0-x235.google.com [IPv6:2607:f8b0:400e:c05::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id EFA30818D0 for ; Sun, 8 Jan 2017 01:25:07 -0800 (PST) Received: by mail-pg0-x235.google.com with SMTP id 204so12398448pge.0 for ; Sun, 08 Jan 2017 01:25:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:thread-topic:thread-index:date:message-id :references:in-reply-to:content-language:mime-version; bh=Q0jXJ0dYeL6yDYtFjauw91ly9G2FZYLjr3LxmnCL730=; b=E3xrEHcpFIP2qIXZt7Zqvct/1NqQeNhaHXHlII8O6ofxKf9YbZ8dnPk6ESbwXni5Lm /ZPjNJZlw920PtRI1bGCHWysCLxXpf+f4pv7f21OO89p2CjE0GsKQYNapS7jn5xv1Vqn 2fYkipnRr6T6cmcmYkKKO4ov/jbnaB4vj8t6w= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:thread-topic:thread-index :date:message-id:references:in-reply-to:content-language :mime-version; bh=Q0jXJ0dYeL6yDYtFjauw91ly9G2FZYLjr3LxmnCL730=; b=sTRwM3ufD+d4IsTkTE1faeDhvU7/ljZ2hFSxL0dyiajU2bYTcSvAWxu65JHVjjPZYT 5oE2/NmkUDYedetz7q0NS0ptVfn+fi/O0Q4o3h7H56DuaLyKifk+TTyR4eQGOji+ltqX bj1ZTHZBCMQhQD0pPnMm1/YGAKr5YYqUtxBdUzUmMGG9LhTYskjAhwOe3T3NMN9f+7dd JlRAR8yTPXjbPcO93Qae90tiSYREsk/uO0kPEteWMkIJ8m05YlT7SL0Q4Xo5WajMKZdO LTqN2kZDmdEo/2CmF0jDNvv+jBVZj6BGdUxDyh7z4WA7NXhus2UJVXOqb4SRiYDib1yS 8qtQ== X-Gm-Message-State: AIkVDXLgLkQFcETi/4eBvA+mvfPetgjj5OHHGD+Qqyyc+4/3cbcY9lBGTNLLnYaCwwpgjqAe X-Received: by 10.99.178.89 with SMTP id t25mr7337779pgo.183.1483867507638; Sun, 08 Jan 2017 01:25:07 -0800 (PST) Received: from BL2PR08MB356.namprd08.prod.outlook.com ([132.245.11.164]) by smtp.gmail.com with ESMTPSA id k67sm170523991pfk.69.2017.01.08.01.25.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 08 Jan 2017 01:25:06 -0800 (PST) From: Haojian Zhuang To: "Tian, Feng" , "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+l5PHezgxbljECMBoss2xmzAqErICEAgAAIOjc= Date: Fri, 6 Jan 2017 09:05:57 +0000 Message-ID: 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: <7F1BAD85ADEA444D97065A60D2E97EE5699A60C7@SHSMSX101.ccr.corp.intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: 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: Sun, 08 Jan 2017 09:25:08 -0000 Content-Language: zh-CN Content-Type: text/plain; charset="big5" Content-Transfer-Encoding: base64 SGkgRmVuZywNCg0KDQoN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