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:	Sun, 24 Apr 2011 11:35:22 -0400
From:	Jeff Garzik <jgarzik@...ox.com>
To:	Igor Plyatov <plyatov@...il.com>
CC:	linux-ide@...r.kernel.org, linux-kernel@...r.kernel.org,
	stf_xl@...pl
Subject: Re: [PATCH] ATA: pata_at91.c bugfixes

On 04/20/2011 07:44 AM, Igor Plyatov wrote:
> * Fix "initial_timing" structure initialisation. The "struct ata_timing" must
>    contain 10 members, but ".dmack_hold" member was not initialised.
> * The AT91SAM9 microcontrollers use special coding scheme for SMC_SETUP,
>    SMC_PULSE, SMC_CYCLE registers.
>    Old driver operates correctly only with low master clock values, but
>    with high master clock it incorrectly calculates SMC values and stops
>    to operate, because SMC can be setup only to admissible ranges in special
>    format.
>    New code correctly calculates SMC registers values, adjusts calculated
>    to admissible ranges, enlarges cycles if required and converts values
>    into SMC's format.
> * Old driver calculates CS_SETUP and CS_PULSE cycles incorrectly
>    because of wrong assumptions.
>    New code calculates:
>        CS_SETUP = SETUP/2
>        CS_PULSE = PULSE + SETUP/2 + HOLD/2
> * This fixes allows to correctly operate with any master clock frequency.
>
> Signed-off-by: Igor Plyatov<plyatov@...il.com>
> ---
>   drivers/ata/pata_at91.c |  223 ++++++++++++++++++++++++++++++++---------------
>   1 files changed, 154 insertions(+), 69 deletions(-)

FYI, the two previous "v4" patches are now applied.

Based on the comments from Stanislaw, this patch would need to be 
updated anyway.
--
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