Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754974Ab0LEKus (ORCPT ); Sun, 5 Dec 2010 05:50:48 -0500 Received: from cantor.suse.de ([195.135.220.2]:45007 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754569Ab0LEKuq (ORCPT ); Sun, 5 Dec 2010 05:50:46 -0500 Date: Sun, 05 Dec 2010 11:50:40 +0100 Message-ID: From: Takashi Iwai To: Chris Ball Cc: Philip Rakity , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Aries Lee Subject: Re: [PATCH 2/2] mmc: Test bus-width for old MMC devices In-Reply-To: <20101205040221.GA24547@void.printf.net> References: <1290579674-4616-1-git-send-email-tiwai@suse.de> <1290579674-4616-3-git-send-email-tiwai@suse.de> <20101205040221.GA24547@void.printf.net> User-Agent: Wanderlust/2.15.6 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.7 Emacs/23.1 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1717 Lines: 48 Hi Chris, At Sun, 5 Dec 2010 04:02:24 +0000, Chris Ball wrote: > > Hi Takashi, Philip, > > On Wed, Nov 24, 2010 at 07:21:14AM +0100, Takashi Iwai wrote: > > From: Aries Lee > > > > Some old MMC devices fail with the 4/8 bits the driver tries to use > > exclusively. This patch adds a test for the given bus setup and falls > > back to the lower bit mode (until 1-bit mode) when the test fails. > > > > [Major rework and refactoring by tiwai] > > > > Signed-off-by: Aries Lee > > Signed-off-by: Takashi Iwai > > We have two independent patches for performing MMC bus-width testing now: > > https://patchwork.kernel.org/patch/351781/ > https://patchwork.kernel.org/patch/361702/ Yeah, Philip and I discussed shortly in a mail thread after that. > I'm planning on taking Takashi's since it looks a little cleaner; Philip, > please could you take a look at Takashi's patch and add anything you > think should be present from your own patch as a new incremental patch? One missing thing in my (originally Aries') patch is the quirk bit to enable/disable the bus-width test. In Philip's latest patch, the default is off. I'm also not sure whether this bus-width test should be enabled as default. I guess it's better for performance, so I'd vote for turning on as default. But, having a quirk for turning off would be safer for working around old hardware problems, of course. thanks, Takashi -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/