Re: [PATCH 0/7] crypto: omap-aes updates

2012-11-19 Thread Mark A. Greer
On Mon, Nov 19, 2012 at 12:03:45PM -0700, Mark A. Greer wrote: > From: "Mark A. Greer" > > This series updates the crypto omap-aes driver and supporting > infrastructure. > > Notes: > > a) Based on omap-sham patches recently submitted, XXX ^^^

[PATCH] crypto: allow compression algs in fips mode

2012-11-19 Thread Milan Broz
When in fips mode, compression algoritms fails to initialize, e.g. modprobe ubifs returns UBIFS error: compr_init: cannot initialize compressor lzo, error -2 FIPS mode should not care about compression algoritms at all. Patch just set fips_enabled flag to 1 to all compression algorithms managed

[PATCH 6/7] crypto: omap-aes: Add code to use dmaengine API

2012-11-19 Thread Mark A. Greer
From: "Mark A. Greer" Add code to use the new dmaengine API alongside the existing DMA code that uses the private OMAP DMA API. The API to use is chosen by defining or undefining 'OMAP_AES_DMA_PRIVATE'. CC: Russell King CC: Dmitry Kasatkin Signed-off-by: Mark A. Greer --- drivers/crypto/oma

[PATCH 7/7] crypto: omap-aes: Remove usage of private DMA API

2012-11-19 Thread Mark A. Greer
From: "Mark A. Greer" Remove usage of the private OMAP DMA API. The dmaengine API will be used instead. CC: Russell King CC: Dmitry Kasatkin Signed-off-by: Mark A. Greer --- drivers/crypto/omap-aes.c | 140 -- 1 file changed, 140 deletions(-) diff

[PATCH 3/7] ARM: OMAP2+: Remove unnecessary message when no AES IP is present

2012-11-19 Thread Mark A. Greer
From: "Mark A. Greer" Remove the error message that prints when there is no AES IP present to make it consistent with all the other IPs. CC: Paul Walmsley Signed-off-by: Mark A. Greer --- arch/arm/mach-omap2/devices.c | 23 +-- 1 file changed, 9 insertions(+), 14 deletions

[PATCH 2/7] ARM: OMAP3xxx: hwmod: Convert AES crypto device data to hwmod

2012-11-19 Thread Mark A. Greer
From: "Mark A. Greer" Convert the device data for the OMAP3 AES crypto IP from explicit platform_data to hwmod. CC: Paul Walmsley Signed-off-by: Mark A. Greer --- arch/arm/mach-omap2/clock3xxx_data.c | 1 + arch/arm/mach-omap2/devices.c | 42 +--- arch/arm/

[PATCH 5/7] crypto: omap-aes: Convert to use pm_runtime API

2012-11-19 Thread Mark A. Greer
From: "Mark A. Greer" Convert the omap-aes crypto driver to use the pm_runtime API instead of the clk API. CC: Kevin Hilman CC: Paul Walmsley CC: Dmitry Kasatkin Signed-off-by: Mark A. Greer --- drivers/crypto/omap-aes.c | 29 +++-- 1 file changed, 11 insertions(+),

[PATCH 4/7] crypto: omap-aes: Remove cpu_is/omap_type check from driver

2012-11-19 Thread Mark A. Greer
From: "Mark A. Greer" The omap-aes driver should not check the CPU class or the type of OMAP device its on. The platform code should do that instead. Signed-off-by: Mark A. Greer --- drivers/crypto/omap-aes.c | 5 - 1 file changed, 5 deletions(-) diff --git a/drivers/crypto/omap-aes.c b/

[PATCH 1/7] ARM: OMAP2xxx: hwmod: Convert AES crypto devcie data to hwmod

2012-11-19 Thread Mark A. Greer
From: "Mark A. Greer" Convert the device data for the OMAP2 AES crypto IP from explicit platform_data to hwmod. CC: Paul Walmsley Signed-off-by: Mark A. Greer --- arch/arm/mach-omap2/clock2430_data.c | 1 + arch/arm/mach-omap2/devices.c | 36 +++

[PATCH 0/7] crypto: omap-aes updates

2012-11-19 Thread Mark A. Greer
From: "Mark A. Greer" This series updates the crypto omap-aes driver and supporting infrastructure. Notes: a) Based on omap-sham patches recently submitted, XXX b) Since these patches will likely go though the OMAP tree (and not through the crypto tree), it would be nice if the crypto guy(s

[PATCH v4 5/8] crypto: omap-sham: Remove cpu_is/omap_type check from driver

2012-11-19 Thread Mark A. Greer
From: "Mark A. Greer" The omap-sham driver should not check the CPU class or the type of OMAP device its on. The platform code should do that instead. CC: Paul Walmsley CC: Dmitry Kasatkin Signed-off-by: Mark A. Greer --- drivers/crypto/omap-sham.c | 8 1 file changed, 8 deletions(

[PATCH v4 1/8] ARM: OMAP2xxx: hwmod: Convert SHAM crypto device data to hwmod

2012-11-19 Thread Mark A. Greer
From: "Mark A. Greer" Convert the device data for the OMAP2 SHAM crypto IP from explicit platform_data to hwmod. CC: Paul Walmsley Signed-off-by: Mark A. Greer --- arch/arm/mach-omap2/clock2430_data.c | 1 + arch/arm/mach-omap2/devices.c | 34 --

[PATCH v4 7/8] crypto: omap-sham: Add code to use dmaengine API

2012-11-19 Thread Mark A. Greer
From: "Mark A. Greer" Add code to use the new dmaengine API alongside the existing DMA code that uses the private OMAP DMA API. The API to use is chosen by defining or undefining 'OMAP_SHAM_DMA_PRIVATE'. CC: Russell King CC: Dmitry Kasatkin Signed-off-by: Mark A. Greer --- drivers/crypto/om

[PATCH v4 6/8] crypto: omap-sham: Convert to use pm_runtime API

2012-11-19 Thread Mark A. Greer
From: "Mark A. Greer" Convert the omap-sham crypto driver to use the pm_runtime API instead of the clk API. CC: Kevin Hilman CC: Paul Walmsley CC: Dmitry Kasatkin Signed-off-by: Mark A. Greer --- drivers/crypto/omap-sham.c | 28 +++- 1 file changed, 11 insertions(+),

[PATCH v4 8/8] crypto: omap_sham: Remove usage of private DMA API

2012-11-19 Thread Mark A. Greer
From: "Mark A. Greer" Remove usage of the private OMAP DMA API. The dmaengine API will be used instead. CC: Russell King CC: Dmitry Kasatkin Signed-off-by: Mark A. Greer --- drivers/crypto/omap-sham.c | 116 - 1 file changed, 116 deletions(-) diff

[PATCH v4 0/8] crypto: omap-sham updates

2012-11-19 Thread Mark A. Greer
From: "Mark A. Greer" Changes since v3: - Added hwmod support for SIDLEMODE. This requires adding a specific omap_hwmod_sysc_fields structure since there are not generic ones that have the correct offsets. - Added patch to remove the cpu check from the omap-sh

[PATCH v4 3/8] ARM: OMAP3xxx: hwmod: Convert SHAM crypto device data to hwmod

2012-11-19 Thread Mark A. Greer
From: "Mark A. Greer" Convert the device data for the OMAP3 SHAM2 (SHA1/MD5) crypto IP from explicit platform_data to hwmod. CC: Paul Walmsley Signed-off-by: Mark A. Greer --- arch/arm/mach-omap2/clock3xxx_data.c | 1 + arch/arm/mach-omap2/devices.c | 42 ++

[PATCH v4 4/8] ARM: OMAP2+: Remove unnecessary message when no SHA IP is present

2012-11-19 Thread Mark A. Greer
From: "Mark A. Greer" Remove the error message that prints when there is no SHA IP present to make it consistent with all the other IPs. CC: Paul Walmsley Signed-off-by: Mark A. Greer --- arch/arm/mach-omap2/devices.c | 19 +++ 1 file changed, 7 insertions(+), 12 deletions(-)

[PATCH v4 2/8] ARM: OMAP2xxx: hwmod: Add DMA support for SHAM module

2012-11-19 Thread Mark A. Greer
From: "Mark A. Greer" The current OMAP2 SHAM support doesn't enable DMA so add that support so it can use DMA just like OMAP3. CC: Paul Walmsley Signed-off-by: Mark A. Greer --- arch/arm/mach-omap2/omap_hwmod_2xxx_interconnect_data.c | 2 +- arch/arm/mach-omap2/omap_hwmod_2xxx_ipblock_data.c

[PATCH 225/493] crypto: remove use of __devinit

2012-11-19 Thread Bill Pemberton
CONFIG_HOTPLUG is going away as an option so __devinit is no longer needed. Signed-off-by: Bill Pemberton Cc: Herbert Xu Cc: "David S. Miller" Cc: linux-crypto@vger.kernel.org Cc: linux-ge...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org --- drivers/crypto/atmel-aes.c

[PATCH 053/493] crypto: remove use of __devexit_p

2012-11-19 Thread Bill Pemberton
CONFIG_HOTPLUG is going away as an option so __devexit_p is no longer needed. Signed-off-by: Bill Pemberton Cc: Herbert Xu Cc: "David S. Miller" Cc: linux-crypto@vger.kernel.org Cc: linux-ge...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org --- drivers/crypto/atmel-aes.c

[PATCH 397/493] crypto: remove use of __devexit

2012-11-19 Thread Bill Pemberton
CONFIG_HOTPLUG is going away as an option so __devexit is no longer needed. Signed-off-by: Bill Pemberton Cc: Herbert Xu Cc: "David S. Miller" Cc: linux-crypto@vger.kernel.org Cc: linux-ge...@lists.infradead.org Cc: linux-arm-ker...@lists.infradead.org --- drivers/crypto/atmel-aes.c

[PATCH 303/493] crypto: remove use of __devinitdata

2012-11-19 Thread Bill Pemberton
CONFIG_HOTPLUG is going away as an option so __devinitdata is no longer needed. Signed-off-by: Bill Pemberton Cc: Herbert Xu Cc: "David S. Miller" Cc: linux-crypto@vger.kernel.org --- drivers/crypto/n2_core.c | 2 +- drivers/crypto/nx/nx.c | 2 +- drivers/crypto/tegra-aes.c | 2 +- 3