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:	Tue, 07 Apr 2009 01:30:28 +0200
From:	José Marí­a Fernández González 
	<josemariafg@...il.com>
To:	Pierre Ossman <drzeus-list@...eus.cx>
CC:	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/1] mmc: Some microSD cards are not recognized by PCIxx12
 SDA controller

It is curious. I have concentrated my tests on 2.6.29 with HZ=100 and no preemption, and I have done next tests with my microSD card and laptop:

*	mmc_delay(2) -> FAIL
*	mdelay(2) -> FAIL
*	mmc_delay(10) -> Works!
*	mdelay(10) -> Works!

And by mistake I found that:

*	msleep(2) -> Works!

	Best Regards,
		José María

Pierre Ossman wrote:
> 
> All of them will result in a sleep though. Preferably, I'd like to now
> the minimum delay you need to get things working. Change from
> mmc_delay() to mdelay() to make sure there aren't any sleeps (which
> generally take quite some time to complete).
> 
> Rgds

--
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