Re: [patch 1/2] crypto: padlock-aes: work around Nano CPU erratain ECB mode

From: Herbert Xu
Date: Thu Jun 18 2009 - 07:36:20 EST


On Wed, Jun 10, 2009 at 03:11:22PM -0400, Chuck Ebbert wrote:
> From: Chuck Ebbert <cebbert@xxxxxxxxxx>
> crypto: padlock-aes: work around Nano CPU errata in ECB mode
>
> The VIA Nano processor has a bug that makes it prefetch extra data
> during encryption operations, causing spurious page faults. Extend
> existing workarounds for ECB mode to copy the data to an temporary
> buffer to avoid the problem.
>
> Acked-by: HaraldWelte <HaraldWelte@xxxxxxxxxxx>
> Signed-off-by: Chuck Ebbert <cebbert@xxxxxxxxxx>

All applied to crypt-2.6. Thanks a lot!
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/