]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
crypto: padlock-aes - work around Nano CPU errata in ECB mode
authorChuck Ebbert <cebbert@redhat.com>
Thu, 18 Jun 2009 11:24:10 +0000 (19:24 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 18 Jun 2009 11:24:10 +0000 (19:24 +0800)
commita76c1c23d0c33d98f2d9b36e76e7f71289fc8391
treec04959c24c8db5e8353e2cbab50fedc6cb4f110b
parent1d89b30cc9be41af87881682ec82e2c107849dbe
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.

Signed-off-by: Chuck Ebbert <cebbert@redhat.com>
Acked-by: Harald Welte <HaraldWelte@viatech.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/padlock-aes.c