From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.20; helo=mga02.intel.com; envelope-from=hao.a.wu@intel.com; receiver=edk2-devel@lists.01.org Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) (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 59A3820349D8E for ; Sun, 12 Nov 2017 19:33:46 -0800 (PST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 12 Nov 2017 19:37:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,387,1505804400"; d="scan'208";a="4202553" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga001.jf.intel.com with ESMTP; 12 Nov 2017 19:37:51 -0800 Received: from fmsmsx126.amr.corp.intel.com (10.18.125.43) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 12 Nov 2017 19:37:51 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by FMSMSX126.amr.corp.intel.com (10.18.125.43) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 12 Nov 2017 19:37:51 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.152]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.213]) with mapi id 14.03.0319.002; Mon, 13 Nov 2017 11:37:49 +0800 From: "Wu, Hao A" To: "Zeng, Star" , Ard Biesheuvel , "edk2-devel@lists.01.org" , "leif.lindholm@linaro.org" , "Kinney, Michael D" CC: "Gao, Liming" , "Tian, Feng" , "Dong, Eric" Thread-Topic: [RFC PATCH 0/2] quirks handling for SDHCI controllers Thread-Index: AQHTXC/z/mVpjWhcIki3XkFnSsUyraMRqQqg Date: Mon, 13 Nov 2017 03:37:48 +0000 Message-ID: References: <20171110135847.361-1-ard.biesheuvel@linaro.org> <0C09AFA07DD0434D9E2A0C6AEB0483103B9B461F@shsmsx102.ccr.corp.intel.com> In-Reply-To: <0C09AFA07DD0434D9E2A0C6AEB0483103B9B461F@shsmsx102.ccr.corp.intel.com> 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: [RFC PATCH 0/2] quirks handling for SDHCI controllers 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: Mon, 13 Nov 2017 03:33:46 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable > -----Original Message----- > From: Zeng, Star > Sent: Monday, November 13, 2017 11:32 AM > To: Wu, Hao A; Ard Biesheuvel; edk2-devel@lists.01.org; > leif.lindholm@linaro.org; Kinney, Michael D > Cc: Gao, Liming; Tian, Feng; Dong, Eric; Zeng, Star > Subject: RE: [RFC PATCH 0/2] quirks handling for SDHCI controllers >=20 > Hao, >=20 > Could you help do the evaluation on this RFC? Sure, I will take a look on this. Best Regards, Hao Wu >=20 >=20 > Thanks, > Star > -----Original Message----- > From: Ard Biesheuvel [mailto:ard.biesheuvel@linaro.org] > Sent: Friday, November 10, 2017 9:59 PM > To: edk2-devel@lists.01.org; leif.lindholm@linaro.org; Kinney, Michael D > > Cc: Gao, Liming ; Zeng, Star ; > Tian, Feng ; Dong, Eric ; Ard > Biesheuvel > Subject: [RFC PATCH 0/2] quirks handling for SDHCI controllers >=20 > Many SDHCI implementations exist that are almost spec complicant, and cou= ld > be driver by the generic SD/MMC host controller driver except for some > minimal necessary init time tweaks. >=20 > Adding such tweaks to the generic driver is undesirable. On the other han= d, > forking the driver for every platform that has such a SDHCI controller is > problematic when it comes to upstreaming and ongoing maintenance (which i= s > arguably the point of upstreaming in the first place). >=20 > So these patches propose a workaround that is minimally invasive on the > EDK2 side, but gives platforms a lot of leeway when it comes to applying = SDHCI > quirks. >=20 > Ard Biesheuvel (2): > MdeModulePkg: introduce SD/MMC override protocol > MdeModulePkg/SdMmcPciHcDxe: allow HC capabilities to be overridden >=20 > MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.c | 111 > +++++++++++++++++++- > MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.h | 6 ++ > MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/SdMmcPciHcDxe.inf | 2 + > MdeModulePkg/Include/Protocol/SdMmcOverride.h | 95 > +++++++++++++++++ > MdeModulePkg/MdeModulePkg.dec | 3 + > 5 files changed, 212 insertions(+), 5 deletions(-) create mode 100644 > MdeModulePkg/Include/Protocol/SdMmcOverride.h >=20 > -- > 2.11.0