linux/drivers/crypto
Nathan Fontenot 0ba3e10116 crypto/nx/nx-842: Fix handling of vmalloc addresses
The powerpc specific nx-842 compression driver does not currently
handle translating a vmalloc address to a physical address.

The current driver uses __pa() for all addresses which does not
properly handle vmalloc addresses and thus causes a failure since
we do not pass a proper physical address to the hypervisor.

This patch adds a routine to convert an address to a physical
address by checking for vmalloc addresses and handling them properly.

Signed-off-by: Nathan Fontenot <nfont@linux.vnet.ibm.com>
 ---
 drivers/crypto/nx/nx-842.c |   29 +++++++++++++++++++----------
 1 file changed, 19 insertions(+), 10 deletions(-)
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2014-02-11 11:24:49 +11:00
..
amcc crypto: crypto4xx - Remove redundant dev_set_drvdata 2013-12-30 20:19:15 +08:00
caam crypto: caam - simplify and harden key parsing 2013-12-20 20:06:27 +08:00
ccp crypto: ccp - CCP device enabled/disabled changes 2014-01-15 11:33:40 +08:00
nx crypto/nx/nx-842: Fix handling of vmalloc addresses 2014-02-11 11:24:49 +11:00
ux500 crypto: ux500 - Fix logging, make arrays const, neatening 2013-08-01 10:53:59 +10:00
atmel-aes-regs.h
atmel-aes.c crypto: atmel-aes - add support for Device Tree 2013-12-12 18:39:35 +01:00
atmel-sha-regs.h
atmel-sha.c crypto: atmel-sha - add sha information to the log 2013-12-12 18:39:36 +01:00
atmel-tdes-regs.h
atmel-tdes.c crypto: atmel-tdes - add support for Device Tree 2013-12-12 18:39:35 +01:00
bfin_crc.c
geode-aes.c
geode-aes.h
hifn_795x.c
ixp4xx_crypto.c crypto: ixp4xx - Fix kernel compile error 2014-01-01 14:06:23 +08:00
Kconfig crypto: mxs - Add Freescale MXS DCP driver 2014-01-05 20:49:54 +08:00
Makefile crypto: drivers - Sort drivers/crypto/Makefile 2014-01-05 20:49:57 +08:00
mv_cesa.c crypto: mv_cesa: remove deprecated IRQF_DISABLED 2013-10-16 20:56:24 +08:00
mv_cesa.h
mxs-dcp.c crypto: mxs - Fix sparse non static symbol warning 2014-01-15 11:33:41 +08:00
n2_asm.S
n2_core.c
n2_core.h
omap-aes.c crypto: omap-aes - add error check for pm_runtime_get_sync 2013-12-05 21:28:43 +08:00
omap-sham.c crypto: omap-sham - Fix Polling mode for larger blocks 2013-12-20 20:06:26 +08:00
padlock-aes.c
padlock-sha.c
picoxcell_crypto_regs.h
picoxcell_crypto.c crypto: picoxcell - Simplify and harden key parsing 2013-10-16 20:56:26 +08:00
s5p-sss.c
sahara.c crypto: sahara - Remove redundant of_match_ptr 2013-10-07 14:17:07 +08:00
talitos.c crypto: talitos - Remove redundant dev_set_drvdata 2013-12-30 20:19:17 +08:00
talitos.h
tegra-aes.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 2013-11-23 16:18:25 -08:00
tegra-aes.h