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
..
2014-02-06 23:08:54 +01:00
2014-01-24 15:51:02 -08:00
2014-01-25 13:18:00 -08:00
2014-01-30 17:20:32 -08:00
2014-02-05 16:01:11 -08:00
2014-01-31 15:15:13 -08:00
2014-01-30 11:40:10 -08:00
2014-02-09 15:21:16 -05:00
2014-01-28 18:44:53 -08:00
2014-01-31 21:04:01 -08:00
2014-02-04 21:41:15 +01:00
2014-01-29 17:02:24 +11:00
2014-02-11 11:24:49 +11:00
2014-01-29 11:48:23 +01:00
2014-01-29 20:27:23 -08:00
2014-01-20 12:10:27 -08:00
2014-01-17 14:57:29 -07:00
2014-01-20 01:11:13 +01:00
2014-01-27 21:02:40 -08:00
2014-01-23 18:49:36 -08:00
2014-02-06 12:13:52 +10:00
2014-01-31 09:31:14 -08:00
2014-01-27 16:40:45 -08:00
2014-02-06 17:22:33 -08:00
2014-01-29 19:56:20 -08:00
2014-01-28 23:35:09 -08:00
2014-01-24 15:51:02 -08:00
2014-01-22 21:21:55 -08:00
2014-01-31 15:31:23 -08:00
2014-01-24 17:17:30 -08:00
2014-01-29 20:00:13 -08:00
2014-02-05 16:02:53 -08:00
2014-01-25 11:17:34 -08:00
2014-01-28 18:53:01 -08:00
2014-01-27 21:11:26 -08:00
2014-01-23 16:36:53 -08:00
2014-01-30 11:40:10 -08:00
2014-02-04 06:46:10 -02:00
2014-01-23 16:37:04 -08:00
2014-01-30 11:19:05 -08:00
2014-01-25 13:19:10 -08:00
2014-01-29 18:56:27 -08:00
2014-01-26 11:00:41 -08:00
2014-01-30 20:04:09 -08:00
2014-01-30 18:44:44 -08:00
2014-01-25 11:17:34 -08:00
2014-01-20 16:05:23 -08:00
2014-02-03 22:30:15 +01:00
2014-01-22 16:39:28 -08:00
2014-01-25 11:17:34 -08:00
2014-02-06 14:21:19 +01:00
2014-01-29 20:06:01 -08:00
2014-01-25 11:17:34 -08:00
2014-01-15 14:51:22 -08:00
2014-01-27 08:15:51 -08:00
2014-02-04 12:58:19 +00:00
2014-01-23 19:11:50 -08:00
2014-01-31 08:37:32 -08:00
2014-01-28 23:38:23 -08:00
2014-01-31 15:31:23 -08:00
2014-01-29 16:53:55 +11:00
2014-01-30 17:20:32 -08:00
2014-02-04 06:28:00 -02:00
2014-01-31 15:31:23 -08:00
2014-01-24 17:13:49 -08:00
2014-01-30 17:20:32 -08:00
2014-01-29 16:53:55 +11:00
2014-01-27 21:11:26 -08:00
2014-01-31 15:31:23 -08:00
2014-02-02 20:56:47 +01:00
2014-01-22 22:24:35 -08:00
2014-01-23 16:36:55 -08:00
2014-01-23 16:37:04 -08:00
2014-02-08 09:47:11 +01:00
2014-02-05 16:01:11 -08:00