From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfram Sang Subject: Re: [PATCH v2 1/7] mmc: mxs-mmc: add mmc host driver for i.MX23/28 Date: Tue, 15 Feb 2011 18:29:48 +0100 Message-ID: <20110215172948.GE10770@pengutronix.de> References: <1297650746-12841-1-git-send-email-shawn.guo@freescale.com> <1297650746-12841-2-git-send-email-shawn.guo@freescale.com> <20110214165958.GH10709@pengutronix.de> <20110215223941.GJ10990@S2100-06.ap.freescale.net> <20110215171341.GD10770@pengutronix.de> <20110215171917.GQ4152@n2100.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8BIT Return-path: Received: from metis.ext.pengutronix.de ([92.198.50.35]:47129 "EHLO metis.ext.pengutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755513Ab1BOR3v convert rfc822-to-8bit (ORCPT ); Tue, 15 Feb 2011 12:29:51 -0500 Content-Disposition: inline In-Reply-To: <20110215171917.GQ4152@n2100.arm.linux.org.uk> Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Russell King - ARM Linux Cc: Shawn Guo , arnd@arndb.de, s.hauer@pengutronix.de, linux-mmc@vger.kernel.org, cjb@laptop.org, linux-arm-kernel@lists.infradead.org, LW@KARO-electronics.de On Tue, Feb 15, 2011 at 05:19:17PM +0000, Russell King - ARM Linux wrote: > On Tue, Feb 15, 2011 at 06:13:41PM +0100, Wolfram Sang wrote: > > > > > Ah, yes. I can also see the problem here after turning on > > > DEBUG_SPINLOCK. > > > > Ah, okay. After turning it off, it works a lot better :) > > That doesn't mean the problem is fixed. [...] Yes, I know that. I should have put the 'works' above in quotes, sorry. > > MMC fails for me (note: the card works fine with an mx35-based board) > > > > mmc0: new high speed MMC card at address 0001 > > mmcblk0: mmc0:0001 AF HMP 247 MiB > > mmcblk0: retrying using single block read > > mmcblk0: error -84 transferring data, sector 0, nr 8, card status 0x900 > > end_request: I/O error, dev mmcblk0, sector 0 > > EILSEQ means CRC failure. Probably unrelated. Even if it works in another setup? As a result of the above, I can't read the partition table of that MMC. The mx35 can do so. > > SDIO card locks the machine. Is it supposed to work already? > > Guess it's the spinlock causing that problem. Yeah, that could be. In addition, I was just generally interested if SDIO has been tested by Shawn. Regards, Wolfram -- Pengutronix e.K. | Wolfram Sang | Industrial Linux Solutions | http://www.pengutronix.de/ |