lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 12 Jan 2009 11:50:32 +0100
From:	Wolfgang Mües <wolfgang.mues@...rswald.de>
To:	"Matt Fleming" <matt@...sole-pimps.org>
Cc:	"David Brownell" <dbrownell@...rs.sourceforge.net>,
	linux-kernel@...r.kernel.org, "Pierre Ossman" <drzeus@...eus.cx>
Subject: Re: [PATCH] Fixes and enhancements for the MMC SPI driver

Matt,

I think I should explain a little bit more the situation with the current 
implementation of the MMC SPI driver...

The SPI mode is not used widely to drive SD cards. Most SD capable devices are 
using 1 bit or 4 bit SD mode. SPI mode is only used by some embedded devices 
which have no native SD host controller.

So, in practice, most of the available SD cards have bugs in the SPI mode. 
These bugs are unlikely to fix by the SD card vendors because SPI mode is not 
in focus. In general, Sandisk has the best SPI mode.

The current MMC SPI driver without my patch was able to work with only ONE of 
my cards (a new microSD card from Sandisk). All other cards failed. Common 
causes of failure are implementation bugs in the SD card: missing response 
timing or timeouts.

With my patch applied, all of my available cards (with the exception of one 
card which fails because of a bit offset error in reading blocks) are 
working. For the bit-offset error, I have found no easy and performant 
solution. (You have to bitshift the whole datastream).

So, essential, all of my patch is for common SPI bugs in SD cards - not only 
the timeout adjust you comlpained about.

So, my patch changes the status of the MMC SPI driver from "don't work for the 
majority of cards" to "work for the majority of cards".

best regards
 
i. A. Wolfgang Mües
-- 
Auerswald GmbH & Co. KG
Hardware Development
Telefon: +49 (0)5306 9219 0
Telefax: +49 (0)5306 9219 94 
E-Mail: Wolfgang.Mues@...rswald.de
Web: http://www.auerswald.de
 
--------------------------------------------------------------
Auerswald GmbH & Co. KG, Vor den Grashöfen 1, 38162 Cremlingen
Registriert beim AG Braunschweig HRA 13289
p.h.G Auerswald Geschäftsführungsges. mbH
Registriert beim AG Braunschweig HRB 7463
Geschäftsführer: Dipl-Ing. Gerhard Auerswald
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ