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:	Thu, 26 Mar 2009 10:22:54 +0800
From:	"Cai, Cliff" <Cliff.Cai@...log.com>
To:	"Pierre Ossman" <drzeus-mmc@...eus.cx>
CC:	"Bryan Wu" <cooloney@...nel.org>, <linux-kernel@...r.kernel.org>
Subject: RE: [PATCH] mmc: align data size for host which only supports power-of-2 block



>
 

>-----Original Message-----
>From: Pierre Ossman [mailto:drzeus-mmc@...eus.cx] 
>Sent: Thursday, March 26, 2009 3:24 AM
>To: Cai, Cliff
>Cc: Bryan Wu; linux-kernel@...r.kernel.org
>Subject: Re: [PATCH] mmc: align data size for host which only 
>supports power-of-2 block
>
>On Wed, 25 Mar 2009 11:22:25 +0800
>"Cai, Cliff" <Cliff.Cai@...log.com> wrote:
>
>> >
>> >This patch seems premature as there is no associated 
>modification of 
>> >any of the host drivers.
>> 
>> The SDH on Blackfin BF54x/BF51x only supports power-of-2 block 
>> transfer,we will soon Send the sdh driver to mainline as well.
>> 
>
>Ok. Looking forward to it. :)
>
>> >Padding to a power of two size can also mean a rather large 
>> >padding. We might need to check the host data limits after 
>> >doing the adjustment.
>> 
>> Yes,but it's the higher level driver's job. 
>> 
>
>mmc_align_data_size() shouldn't be adjusting the size to something it
>can easily determine that it's invalid.

Should I create a new function to do the power-of-2 adjustment?
Or any ideal way to do it?
Otherwise,the SDH almost can't be used as sdio host.

Thanks 

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