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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Sat, 3 Sep 2011 22:08:05 +0200
From:	Linus Walleij <linus.walleij@...aro.org>
To:	NamJae Jeon <linkinjeon@...il.com>
Cc:	linux-mmc@...r.kernel.org, linux-kernel@...r.kernel.org,
	Chris Ball <cjb@...top.org>,
	Kyungmin Park <kmpark@...radead.org>,
	Sebastian Rasmussen <Sebastian.Rasmussen@...ricsson.com>,
	Ulf Hansson <Ulf.Hansson@...ricsson.com>
Subject: Re: RFC : mmc : Use wait_for_completion_timeout() instead of
 wait_for_completion in case of multiple write blocks.

2011/9/2 NamJae Jeon <linkinjeon@...il.com>:

> We should consider DMA situation. As I know, host controller can not
> rise timeout interrupt in write not read in DMA status.

Which host controller are you talking about?

> host
> controller can just know whether card is finish to program to use busy
> line. If unstable card is holding busy line while writing using DMA,
> hang problem will happen by wait_for_completion.
> so I think that mmc driver need some exception to avoid this problem.

Yes you can add a timeout in the driver itself. Just set up
a common timer, no big deal.

Yours,
Linus Walleij
--
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