From: Al Viro v...@zeniv.linux.org.uk
With that, all -sendmsg() instances are converted to iov_iter primitives
and are agnostic wrt the kind of iov_iter they are working with.
So's the last remaining -recvmsg() instance that wasn't kind-agnostic yet.
All -sendmsg() and -recvmsg() advance
test_aead_speed is written for sync algorithms without specifically
requiring them. The effect is that an async algorithm may be used without
setting up the request callback, this leading to a kernel panic.
Signed-off-by: Cristian Stoica cristian.sto...@freescale.com
---
crypto/tcrypt.c | 3 ++-
Where applicable, convert calls to their devm_ counterparts, e.g. kzalloc
to devm_kzalloc.
Signed-off-by: Tom Lendacky thomas.lenda...@amd.com
---
drivers/crypto/ccp/ccp-dev.c |2 +-
drivers/crypto/ccp/ccp-pci.c | 19 +--
drivers/crypto/ccp/ccp-platform.c | 11
Changes to address warnings and errors reported by the checkpatch
script.
Signed-off-by: Tom Lendacky thomas.lenda...@amd.com
---
drivers/crypto/ccp/ccp-crypto-aes-cmac.c | 12 +++-
drivers/crypto/ccp/ccp-crypto-aes-xts.c |4 +---
drivers/crypto/ccp/ccp-crypto-aes.c |3
Add HAS_IOMEM as a Kconfig dependency. Always include ccp-platform.c
in the CCP build and conditionally include ccp-pci.c.
Signed-off-by: Tom Lendacky thomas.lenda...@amd.com
---
drivers/crypto/Kconfig |2 +-
drivers/crypto/ccp/Makefile |9 ++---
2 files changed, 3
For some reason this series never reached the mailing list... resending.
The following series of patches includes functional updates to the
driver as well as some trivial changes.
- Fix checks/warnings from checkpatch
- Update how the CCP is built (Kconfig and Makefile)
- Use
Replace the setting of the DMA masks with the dma_set_mask_and_coherent
function call.
Signed-off-by: Tom Lendacky thomas.lenda...@amd.com
---
drivers/crypto/ccp/ccp-platform.c |7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/ccp/ccp-platform.c
Add support for ACPI to the CCP platform driver.
Signed-off-by: Tom Lendacky thomas.lenda...@amd.com
---
drivers/crypto/Kconfig|2 -
drivers/crypto/ccp/ccp-platform.c | 96 +++--
2 files changed, 93 insertions(+), 5 deletions(-)
diff --git