[PATCH 3/3] ARM: dts: sun6i: Add security system crypto engine clock and device nodes

2015-08-10 Thread Chen-Yu Tsai
A31/A31s have the same "Security System" crypto engine as A10/A20, but with a separate reset control. Signed-off-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun6i-a31.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot/dts/sun6

[PATCH 1/3] crypto: sunxi-ss: Document optional reset control bindings

2015-08-10 Thread Chen-Yu Tsai
Later Allwinner SoCs split out the reset controls for individual modules out of the clock gate controls. The "Security System" crypto engine is no different. Signed-off-by: Chen-Yu Tsai --- Documentation/devicetree/bindings/crypto/sun4i-ss.txt | 4 1 file changed, 4 insertions(+) diff --gi

[PATCH 0/3] ARM: sun6i: Support Security System crypto engine

2015-08-10 Thread Chen-Yu Tsai
Hi everyone, This series enables support for the crypto engine found in sun6i, or Allwinner A31/A31s SoCs. The crypto engine is the same hardware as on earlier sun4i/sun7i (A10/A20), with the only difference being the reset control is separated out of the clock gate control. The same hardware is

[PATCH 2/3] crypto: sunxi-ss: Add optional reset control support

2015-08-10 Thread Chen-Yu Tsai
On sun6i and later platforms, the reset control is split out of the clock gates. Add support for an optional reset control. Signed-off-by: Chen-Yu Tsai --- drivers/crypto/sunxi-ss/sun4i-ss-core.c | 22 ++ drivers/crypto/sunxi-ss/sun4i-ss.h | 2 ++ 2 files changed, 24 in

Re: [PATCH] crypto: sahara - Fix misuse of IS_ENABLED

2015-08-10 Thread Axel Lin
2015-08-10 15:32 GMT+08:00 Herbert Xu : > On Mon, Aug 10, 2015 at 03:18:36PM +0800, Axel Lin wrote: >> IS_ENABLED should only be used for CONFIG_* symbols. >> So use #ifdef DEBUG instead. >> >> Signed-off-by: Axel Lin > > Nack. While the abuse is certainly wrong you're removing compiler > coverag

Re: [kbuild-all] [cryptodev:master 119/123] include/linux/pci.h:389:12: error: 'struct pci_dev' has no member named 'physfn'

2015-08-10 Thread Fengguang Wu
On Mon, Aug 10, 2015 at 12:06:56PM -0700, Tadeusz Struk wrote: > On 08/10/2015 11:47 AM, kbuild test robot wrote: > > tree: > > git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git > > master > > head: 9cfaf082b8775e9f99fa5f2e8b2ae0ca8baff785 > > commit: dd0f368398ea100e342

Re: [cryptodev:master 119/123] (.text+0x7a3): multiple definition of `adf_isr_resource_free'

2015-08-10 Thread Tadeusz Struk
On 08/10/2015 12:36 PM, kbuild test robot wrote: > tree: > git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master > head: 9cfaf082b8775e9f99fa5f2e8b2ae0ca8baff785 > commit: dd0f368398ea100e34259bf812bc482e15c81991 [119/123] crypto: qat - Add > qat dh895xcc VF driver >

[PATCH] Fix email address mistypo for NX/VMX crypto driver maintainers

2015-08-10 Thread Paulo Flabiano Smorigo
--- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index aa748b0..97e7822 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -5061,7 +5061,7 @@ F:arch/ia64/ IBM Power VMX Cryptographic instructions M: Leonidas S. Barbosa -M

Re: [cryptodev:master 119/123] include/linux/pci.h:389:12: error: 'struct pci_dev' has no member named 'physfn'

2015-08-10 Thread Tadeusz Struk
On 08/10/2015 11:47 AM, kbuild test robot wrote: > tree: > git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master > head: 9cfaf082b8775e9f99fa5f2e8b2ae0ca8baff785 > commit: dd0f368398ea100e34259bf812bc482e15c81991 [119/123] crypto: qat - Add > qat dh895xcc VF driver >

Re: [cryptodev:master 119/123] warning: (CRYPTO_DEV_QAT_DH895xCCVF) selects PCI_IOV which has unmet direct dependencies (PCI)

2015-08-10 Thread Tadeusz Struk
On 08/10/2015 09:24 AM, kbuild test robot wrote: > tree: > git://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git master > head: 9cfaf082b8775e9f99fa5f2e8b2ae0ca8baff785 > commit: dd0f368398ea100e34259bf812bc482e15c81991 [119/123] crypto: qat - Add > qat dh895xcc VF driver >

Re: [PATCH] crypto: doc - make URL into hyperlink

2015-08-10 Thread Herbert Xu
On Thu, Aug 06, 2015 at 02:49:00PM -0700, Brian Norris wrote: > The HTML output works a little nicer that way. > > Signed-off-by: Brian Norris Applied. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe

Re: [PATCH] Removing CTR mode from NX driver

2015-08-10 Thread Herbert Xu
On Sat, Aug 08, 2015 at 06:31:01PM -0300, Leonidas S. Barbosa wrote: > CTR hardware implementation does not match with kernel spec causing a counter > bug > where just low 8 bytes are used for counter, when should be all 16bytes. > > Since we already have other counter modes working according wit

Re: [PATCH v2] crypto: talitos: Prevent panic in probe error path

2015-08-10 Thread Herbert Xu
On Thu, Aug 06, 2015 at 01:45:42PM -0500, Aaron Sierra wrote: > > I just found this drvdata cleanup hasn't been required for a few years, > due to the following commit: > > commit 0998d0631001288a5974afc0b2a5f568bcdecb4d > Author: Hans de Goede > Date: Wed May 23 00:09:34 2012 +0200

Re: [PATCH 0/5] crypto: qat - Add support for SRIOV

2015-08-10 Thread Herbert Xu
On Fri, Aug 07, 2015 at 11:34:14AM -0700, Tadeusz Struk wrote: > The following series adds SRIOV support for qat dh895xcc HW accelerator. > First patch moves admin code and hw arbiter code that can be reused by PF > and VF to common code in qat/qat_common/ > Second patch enables SRIOV support on dh

Re: [PATCH] Update NX crypto driver maintainers and adding VMX maintainers

2015-08-10 Thread Herbert Xu
On Sat, Aug 08, 2015 at 06:29:27PM -0300, Leonidas S. Barbosa wrote: > Marcelo and Fin are no long IBMers, thus no longer NX maintainers. > Updating with the new names. > > Adding VMX crypto maintainers. > > Signed-off-by: Leonidas S. Barbosa Applied. -- Email: Herbert Xu Home Page: http://go

Re: [PATCH v2 00/14] crypto: caam - Add i.MX6 support to the Freescale CAAM driver

2015-08-10 Thread Herbert Xu
On Wed, Aug 05, 2015 at 11:28:34AM -0700, Victoria Milhoan wrote: > This patch series adds i.MX6 support to the Freescale CAAM driver. > > Modifications include: > > - explicit cache coherency support in the driver > - register I/O primitive support > - scatter/gather entry modifications > - cloc

Re: [PATCH 5/6] crypto/omap-sham: remove an open coded access to ->page_link

2015-08-10 Thread Herbert Xu
On Fri, Aug 07, 2015 at 06:15:15PM +0200, Christoph Hellwig wrote: > Signed-off-by: Dan Williams > [hch: split from a larger patch by Dan] > Signed-off-by: Christoph Hellwig Acked-by: Herbert Xu -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.

Re: [PATCH 3/6] crypto: replace scatterwalk_sg_chain with sg_chain

2015-08-10 Thread Herbert Xu
On Fri, Aug 07, 2015 at 06:15:13PM +0200, Christoph Hellwig wrote: > From: Dan Williams > > Signed-off-by: Dan Williams > [hch: split from a larger patch by Dan] > Signed-off-by: Christoph Hellwig Acked-by: Herbert Xu -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP

Re: [PATCH] crypto: sahara - Fix misuse of IS_ENABLED

2015-08-10 Thread Herbert Xu
On Mon, Aug 10, 2015 at 03:18:36PM +0800, Axel Lin wrote: > IS_ENABLED should only be used for CONFIG_* symbols. > So use #ifdef DEBUG instead. > > Signed-off-by: Axel Lin Nack. While the abuse is certainly wrong you're removing compiler coverage over code which is worse. PLease find a way to

[PATCH] crypto: sahara - Fix misuse of IS_ENABLED

2015-08-10 Thread Axel Lin
IS_ENABLED should only be used for CONFIG_* symbols. So use #ifdef DEBUG instead. Signed-off-by: Axel Lin --- drivers/crypto/sahara.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/crypto/sahara.c b/drivers/crypto/sahara.c index 397a500b..b2661a5 1006