From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4001:c0b::231; helo=mail-it0-x231.google.com; envelope-from=ard.biesheuvel@linaro.org; receiver=edk2-devel@lists.01.org Received: from mail-it0-x231.google.com (mail-it0-x231.google.com [IPv6:2607:f8b0:4001:c0b::231]) (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 2139720356251 for ; Tue, 5 Dec 2017 01:21:41 -0800 (PST) Received: by mail-it0-x231.google.com with SMTP id m11so15877746iti.1 for ; Tue, 05 Dec 2017 01:26:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=7Yz9rRGM3RWw6RFsenSv6NYn7zYCH1wrXAZ1Y2c5IR4=; b=Rz8DeMhW19jdkYsM5h4QxO8ac/RBV6wCHkDDTpmz0UF+Ol/0V/bOFqMoBqcnWseSC8 yIq6hj7ZkRefchp73WtriVSmZ2+cjM74ztmgrlbu+fOUfN25yO1pJ6J1Uua+osNsfODH Jk4eQux4Xa29WDjX1Brso2praBOx6ovAhJIzQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=7Yz9rRGM3RWw6RFsenSv6NYn7zYCH1wrXAZ1Y2c5IR4=; b=d0Aigp/8Gcds4+3CnGoBgz1sSE3SpFm+19OnN3kfq0BMgxzrSJH8GqA6lzBcTbV90Y K0RBvyO3VjqLFT9CXuAhAf2i795kj5QuYi9GbvP3zXUMED0qKGkloxctWhGHkyjLXgCr IG5v1wjZ1YLtlrtphu302jZNIRPmhT3mcMFjTHOvWilCwj/DIcScYdgQhucNiV/Q/wVm alYrFdj6SvRxy6FkfKPYW2u4Tiiiy8/aI6nxBr17A1VoLACNGTR0Js3WC3+HnTOJQXRa G6JWiwyH3bmw7w1yf/csgrZ/4+XkiGK09S76fD2mPlQmoFjQWglBpjN3kb5iowa/T8UB JXKQ== X-Gm-Message-State: AJaThX6xpkjY8L9pGKSW4jR94iW4OD7XzMypAcUpySsFdPv19YUx/22Y acW0HXJKToVSMDdVEjBoL+1n6dePPEL8zenQheFNUQ== X-Google-Smtp-Source: AGs4zMZamQ0npPeaiHWJTYJWsabSKtYoGphxKIugXRg2DHv7CCN194GJWgLWGBdRMYFGHaslUn48Zq9gclTur6B2poE= X-Received: by 10.107.178.145 with SMTP id b139mr27941762iof.52.1512465971065; Tue, 05 Dec 2017 01:26:11 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.104.16 with HTTP; Tue, 5 Dec 2017 01:26:10 -0800 (PST) In-Reply-To: <0C09AFA07DD0434D9E2A0C6AEB0483103B9BFB70@shsmsx102.ccr.corp.intel.com> References: <20171130101132.18317-1-ard.biesheuvel@linaro.org> <20171130101132.18317-2-ard.biesheuvel@linaro.org> <1c1b4095-3d21-552e-c54e-251a34191740@Intel.com> <0C09AFA07DD0434D9E2A0C6AEB0483103B9BFA78@shsmsx102.ccr.corp.intel.com> <9c301a27-024d-3ba8-65f5-260303d2c9ac@Intel.com> <0C09AFA07DD0434D9E2A0C6AEB0483103B9BFB70@shsmsx102.ccr.corp.intel.com> From: Ard Biesheuvel Date: Tue, 5 Dec 2017 09:26:10 +0000 Message-ID: To: "Zeng, Star" Cc: "Ni, Ruiyu" , "edk2-devel@lists.01.org" , "Wu, Hao A" , "Kinney, Michael D" , "Tian, Feng" , "leif.lindholm@linaro.org" Subject: Re: [PATCH v2 1/2] MdeModulePkg: introduce SD/MMC override protocol 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: Tue, 05 Dec 2017 09:21:41 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On 5 December 2017 at 08:50, Zeng, Star wrote: > Regardless the protocol name SdMmcOverride/SdMmcPlatform, so you mean the= protocol should be produced by a DXE driver, but not a UEFI driver, right?= I saw the example at https://lists.01.org/pipermail/edk2-devel/2017-Novemb= er/017672.html shared by Ard installs the protocol in PlatformDxe that is a= DXE driver. > > And you mean the SD/MMC host controller driver code should use LocateProt= ocol, but not HandleProtocol to find out the protocol instance, right? > I think this makes sense, yes. I will respin the second patch accordingly. --=20 Ard.