[PATCH v2 3/3] crypto: cavium: Add more algorithms

2017-05-04 Thread George Cherian
Add more algorithm support for the driver. Add support for ecb(aes), cfb(aes) and ecb(des3_ede). Signed-off-by: George Cherian <george.cher...@cavium.com> --- drivers/crypto/cavium/cpt/cptvf_algs.c | 81 ++ 1 file changed, 81 insertions(+) diff --git a/d

[PATCH v2 3/3] crypto: cavium: Add more algorithms

2017-05-04 Thread George Cherian
Add more algorithm support for the driver. Add support for ecb(aes), cfb(aes) and ecb(des3_ede). Signed-off-by: George Cherian --- drivers/crypto/cavium/cpt/cptvf_algs.c | 81 ++ 1 file changed, 81 insertions(+) diff --git a/drivers/crypto/cavium/cpt

[PATCH v2 2/3] crypto: cavium: Remove the individual encrypt/decrypt function for each algorithm

2017-05-04 Thread George Cherian
Remove the individual encrypt/decrypt function for easch algorithm. This is in prepration of adding more crypto algorithms supported by hardware. While at that simplify create_ctx_hdr/create_input_list function interfaces. Signed-off-by: George Cherian <george.cher...@cavium.com> --- d

[PATCH v2 2/3] crypto: cavium: Remove the individual encrypt/decrypt function for each algorithm

2017-05-04 Thread George Cherian
Remove the individual encrypt/decrypt function for easch algorithm. This is in prepration of adding more crypto algorithms supported by hardware. While at that simplify create_ctx_hdr/create_input_list function interfaces. Signed-off-by: George Cherian --- drivers/crypto/cavium/cpt/cptvf_algs.c

[PATCH v2 1/3] crypto: cavium: Downgrade the annoying misc interrupt print from dev_err to dev_dbg

2017-05-04 Thread George Cherian
Mailbox interrupt is common and it is not an error interrupt. So downgrade the print from dev_err to dev_dbg. Signed-off-by: George Cherian <george.cher...@cavium.com> --- drivers/crypto/cavium/cpt/cptvf_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/

[PATCH v2 1/3] crypto: cavium: Downgrade the annoying misc interrupt print from dev_err to dev_dbg

2017-05-04 Thread George Cherian
Mailbox interrupt is common and it is not an error interrupt. So downgrade the print from dev_err to dev_dbg. Signed-off-by: George Cherian --- drivers/crypto/cavium/cpt/cptvf_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/cavium/cpt/cptvf_main.c b

[PATCH v2 0/3] Add more algorithms and some misc cleanups

2017-05-04 Thread George Cherian
This series adds more algorithem support for CPT. Add support for -ecb(aes) -cfb(aes) -ecb(des3_ede) Some cleanups too. George Cherian (3): crypto: cavium: Downgrade the annoying misc interrupt print from dev_err to dev_dbg crypto: cavium: Remove the individual

[PATCH v2 0/3] Add more algorithms and some misc cleanups

2017-05-04 Thread George Cherian
This series adds more algorithem support for CPT. Add support for -ecb(aes) -cfb(aes) -ecb(des3_ede) Some cleanups too. George Cherian (3): crypto: cavium: Downgrade the annoying misc interrupt print from dev_err to dev_dbg crypto: cavium: Remove the individual

[PATCH 2/3] crypto: cavium: Remove the individual encrypt/decrypt function for each algorithm

2017-04-20 Thread George Cherian
Remove the individual encrypt/decrypt function for easch algorithm. This is in prepration of adding more crypto algorithms supported by hardware. While at that simplify create_ctx_hdr/create_input_list function interfaces. Signed-off-by: George Cherian <george.cher...@cavium.com> --- d

[PATCH 2/3] crypto: cavium: Remove the individual encrypt/decrypt function for each algorithm

2017-04-20 Thread George Cherian
Remove the individual encrypt/decrypt function for easch algorithm. This is in prepration of adding more crypto algorithms supported by hardware. While at that simplify create_ctx_hdr/create_input_list function interfaces. Signed-off-by: George Cherian --- drivers/crypto/cavium/cpt/cptvf_algs.c

[PATCH 1/3] crypto: cavium: Downgrade the annoying misc interrupt print from dev_err to dev_dbg

2017-04-20 Thread George Cherian
Mailbox interrupt is common and it is not an error interrupt. So downgrade the print from dev_err to dev_dbg. Signed-off-by: George Cherian <george.cher...@cavium.com> --- drivers/crypto/cavium/cpt/cptvf_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/

[PATCH 1/3] crypto: cavium: Downgrade the annoying misc interrupt print from dev_err to dev_dbg

2017-04-20 Thread George Cherian
Mailbox interrupt is common and it is not an error interrupt. So downgrade the print from dev_err to dev_dbg. Signed-off-by: George Cherian --- drivers/crypto/cavium/cpt/cptvf_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/cavium/cpt/cptvf_main.c b

[PATCH 0/3] Add more algorithms and some misc cleanups

2017-04-20 Thread George Cherian
This series adds more algorithem support for CPT. Add support for -ecb(aes) -cfb(aes) -ecb(des3_ede) Some cleanups too. George Cherian (3): crypto: cavium: Downgrade the annoying misc interrupt print from dev_err to dev_dbg crypto: cavium: Remove the individual

[PATCH 0/3] Add more algorithms and some misc cleanups

2017-04-20 Thread George Cherian
This series adds more algorithem support for CPT. Add support for -ecb(aes) -cfb(aes) -ecb(des3_ede) Some cleanups too. George Cherian (3): crypto: cavium: Downgrade the annoying misc interrupt print from dev_err to dev_dbg crypto: cavium: Remove the individual

[PATCH 3/3] crypto: cavium: Add more algorithms

2017-04-20 Thread George Cherian
Add more algorithm support for the driver. Add support for ecb(aes), cfb(aes) and ecb(des3_ede). Signed-off-by: George Cherian <george.cher...@cavium.com> --- drivers/crypto/cavium/cpt/cptvf_algs.c | 63 ++ 1 file changed, 63 insertions(+) diff --git a/d

[PATCH 3/3] crypto: cavium: Add more algorithms

2017-04-20 Thread George Cherian
Add more algorithm support for the driver. Add support for ecb(aes), cfb(aes) and ecb(des3_ede). Signed-off-by: George Cherian --- drivers/crypto/cavium/cpt/cptvf_algs.c | 63 ++ 1 file changed, 63 insertions(+) diff --git a/drivers/crypto/cavium/cpt

[PATCH] net: thunderx: Fix set_max_bgx_per_node for 81xx rgx

2017-04-13 Thread George Cherian
num_vfs is always calculated as zero. Signed-off-by: George Cherian <george.cher...@cavium.com> --- drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 1 + drivers/net/ethernet/cavium/thunder/thunder_bgx.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/net/ethernet/cavium/t

[PATCH] net: thunderx: Fix set_max_bgx_per_node for 81xx rgx

2017-04-13 Thread George Cherian
num_vfs is always calculated as zero. Signed-off-by: George Cherian --- drivers/net/ethernet/cavium/thunder/thunder_bgx.c | 1 + drivers/net/ethernet/cavium/thunder/thunder_bgx.h | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/net/ethernet/cavium/thunder/thunder_bgx.c b/drivers

Re: [PATCH 0/2] Make cppc acpi driver aware of pcc subspace ids

2017-04-04 Thread George Cherian
Hi Hoan/Prashanth, On 04/03/2017 11:20 PM, Hoan Tran wrote: Hi George, On Mon, Apr 3, 2017 at 9:44 AM, Prakash, Prashanth <pprak...@codeaurora.org> wrote: Hi George, On 3/31/2017 12:24 AM, George Cherian wrote: The current cppc acpi driver works with only one pcc subspace id. It mai

Re: [PATCH 0/2] Make cppc acpi driver aware of pcc subspace ids

2017-04-04 Thread George Cherian
Hi Hoan/Prashanth, On 04/03/2017 11:20 PM, Hoan Tran wrote: Hi George, On Mon, Apr 3, 2017 at 9:44 AM, Prakash, Prashanth wrote: Hi George, On 3/31/2017 12:24 AM, George Cherian wrote: The current cppc acpi driver works with only one pcc subspace id. It maintains and registers only one

Re: [PATCH 2/2] ACPI / CPPC: Make cppc acpi driver aware of pcc subspace ids

2017-04-04 Thread George Cherian
Hi Alexey, On 04/03/2017 11:07 PM, Alexey Klimov wrote: (adding Prashanth to c/c) Hi George, On Fri, Mar 31, 2017 at 06:24:02AM +, George Cherian wrote: Based on Section 14.1 of ACPI specification, it is possible to have a maximum of 256 PCC subspace ids. Add support of multiple PCC

Re: [PATCH 2/2] ACPI / CPPC: Make cppc acpi driver aware of pcc subspace ids

2017-04-04 Thread George Cherian
Hi Alexey, On 04/03/2017 11:07 PM, Alexey Klimov wrote: (adding Prashanth to c/c) Hi George, On Fri, Mar 31, 2017 at 06:24:02AM +, George Cherian wrote: Based on Section 14.1 of ACPI specification, it is possible to have a maximum of 256 PCC subspace ids. Add support of multiple PCC

[PATCH 1/2] mailbox: PCC: Move the MAX_PCC_SUBSPACES definition to header file

2017-03-31 Thread George Cherian
Move the MAX_PCC_SUBSPACES definition to acpi/pcc.h file. In preparation to add subspace id support for cppc_acpi driver. Signed-off-by: George Cherian <george.cher...@cavium.com> --- drivers/mailbox/pcc.c | 1 - include/acpi/pcc.h| 1 + 2 files changed, 1 insertion(+), 1 deletion(-)

[PATCH 1/2] mailbox: PCC: Move the MAX_PCC_SUBSPACES definition to header file

2017-03-31 Thread George Cherian
Move the MAX_PCC_SUBSPACES definition to acpi/pcc.h file. In preparation to add subspace id support for cppc_acpi driver. Signed-off-by: George Cherian --- drivers/mailbox/pcc.c | 1 - include/acpi/pcc.h| 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mailbox

[PATCH 0/2] Make cppc acpi driver aware of pcc subspace ids

2017-03-31 Thread George Cherian
: In preparation to share the MAX_PCC_SUBSPACE definition with cppc acpi driver Patch 2 : Make the cppc acpi driver aware of multiple pcc subspace ids. George Cherian (2): mailbox: PCC: Move the MAX_PCC_SUBSPACES definition to header file ACPI / CPPC: Make cppc acpi driver aware of pcc

[PATCH 2/2] ACPI / CPPC: Make cppc acpi driver aware of pcc subspace ids

2017-03-31 Thread George Cherian
is initialized properly. Also maintain a global total_mpar_count which is a sum of per subspace id mpar value. Signed-off-by: George Cherian <george.cher...@cavium.com> --- drivers/acpi/cppc_acpi.c | 189 ++- 1 file changed, 105 insertions(+), 84 del

[PATCH 0/2] Make cppc acpi driver aware of pcc subspace ids

2017-03-31 Thread George Cherian
: In preparation to share the MAX_PCC_SUBSPACE definition with cppc acpi driver Patch 2 : Make the cppc acpi driver aware of multiple pcc subspace ids. George Cherian (2): mailbox: PCC: Move the MAX_PCC_SUBSPACES definition to header file ACPI / CPPC: Make cppc acpi driver aware of pcc

[PATCH 2/2] ACPI / CPPC: Make cppc acpi driver aware of pcc subspace ids

2017-03-31 Thread George Cherian
is initialized properly. Also maintain a global total_mpar_count which is a sum of per subspace id mpar value. Signed-off-by: George Cherian --- drivers/acpi/cppc_acpi.c | 189 ++- 1 file changed, 105 insertions(+), 84 deletions(-) diff --git a/drivers/acpi

[PATCH] crypto: cavium/cpt: Fix couple of static checker errors

2017-02-15 Thread George Cherian
Fix the following smatch errors cptvf_reqmanager.c:333 do_post_process() warn: variable dereferenced before check 'cptvf' cptvf_main.c:825 cptvf_remove() error: we previously assumed 'cptvf' could be null Reported-by: Dan Carpenter <dan.carpen...@oracle.com> Signed-off-by: George C

[PATCH] crypto: cavium/cpt: Fix couple of static checker errors

2017-02-15 Thread George Cherian
Fix the following smatch errors cptvf_reqmanager.c:333 do_post_process() warn: variable dereferenced before check 'cptvf' cptvf_main.c:825 cptvf_remove() error: we previously assumed 'cptvf' could be null Reported-by: Dan Carpenter Signed-off-by: George Cherian --- drivers/crypto/cavium/cpt

Re: crypto/cavium MSI-X fixups

2017-02-15 Thread George Cherian
. Can you please test it and make sure it goes in before the end of the merge window so that no more users of the old API hit mainline? Yes the changes works well. Acked-by: George Cherian <george.cher...@cavium.com> for the series.

Re: crypto/cavium MSI-X fixups

2017-02-15 Thread George Cherian
. Can you please test it and make sure it goes in before the end of the merge window so that no more users of the old API hit mainline? Yes the changes works well. Acked-by: George Cherian for the series.

[PATCH] drivers: crypto: cpt: cpt_bind_vq_to_grp could return an error code

2017-02-14 Thread George Cherian
ed-off-by: George Cherian <george.cher...@cavium.com> --- drivers/crypto/cavium/cpt/cptpf_mbox.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/cavium/cpt/cptpf_mbox.c b/drivers/crypto/cavium/cpt/cptpf_mbox.c index 5818b41..20f2c6e 100644 --- a/drivers/c

[PATCH] drivers: crypto: cpt: cpt_bind_vq_to_grp could return an error code

2017-02-14 Thread George Cherian
cpt_bind_vq_to_grp() could return an error code. However, it currently returns a u8. This produce the static checker warning. drivers/crypto/cavium/cpt/cptpf_mbox.c:70 cpt_bind_vq_to_grp() warn: signedness bug returning '(-22)' Reported-by: Dan Carpenter Signed-off-by: George Cherian

[PATCH v6 3/3] drivers: crypto: Enable CPT options crypto for build

2017-02-07 Thread George Cherian
Add the CPT options in crypto Kconfig and update the crypto Makefile Update the MAINTAINERS file too. Signed-off-by: George Cherian <george.cher...@cavium.com> Reviewed-by: David Daney <david.da...@cavium.com> --- MAINTAINERS | 7 +++ drivers/crypto/Kconfig |

[PATCH v6 3/3] drivers: crypto: Enable CPT options crypto for build

2017-02-07 Thread George Cherian
Add the CPT options in crypto Kconfig and update the crypto Makefile Update the MAINTAINERS file too. Signed-off-by: George Cherian Reviewed-by: David Daney --- MAINTAINERS | 7 +++ drivers/crypto/Kconfig | 1 + drivers/crypto/Makefile | 1 + 3 files changed, 9 insertions

[PATCH v6 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-02-07 Thread George Cherian
Enable the CPT VF driver. CPT is the cryptographic Acceleration Unit in Octeon-tx series of processors. Signed-off-by: George Cherian <george.cher...@cavium.com> Reviewed-by: David Daney <david.da...@cavium.com> --- drivers/crypto/cavium/cpt/Makefile | 3 +- drivers/crypt

[PATCH v6 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-02-07 Thread George Cherian
Enable the CPT VF driver. CPT is the cryptographic Acceleration Unit in Octeon-tx series of processors. Signed-off-by: George Cherian Reviewed-by: David Daney --- drivers/crypto/cavium/cpt/Makefile | 3 +- drivers/crypto/cavium/cpt/cptvf.h| 135 drivers/crypto

[PATCH v6 1/3] drivers: crypto: Add Support for Octeon-tx CPT Engine

2017-02-07 Thread George Cherian
Enable the Physical Function driver for the Cavium Crypto Engine (CPT) found in Octeon-tx series of SoC's. CPT is the Cryptographic Accelaration Unit. CPT includes microcoded GigaCypher symmetric engines (SEs) and asymmetric engines (AEs). Signed-off-by: George Cherian <george.cher...@cavium.

[PATCH v6 1/3] drivers: crypto: Add Support for Octeon-tx CPT Engine

2017-02-07 Thread George Cherian
Enable the Physical Function driver for the Cavium Crypto Engine (CPT) found in Octeon-tx series of SoC's. CPT is the Cryptographic Accelaration Unit. CPT includes microcoded GigaCypher symmetric engines (SEs) and asymmetric engines (AEs). Signed-off-by: George Cherian Reviewed-by: David Daney

[PATCH v6 0/3] Add Support for Cavium Cryptographic Acceleration Unit

2017-02-07 Thread George Cherian
cro definitions -- Remove the redundant ROUNDUP* macros and use kernel function -- Select proper config option in Kconfig file. -- Removed some of the unwanted header file inclusions -- Miscellaneous Cleanup George Cherian (3): drivers: cryp

[PATCH v6 0/3] Add Support for Cavium Cryptographic Acceleration Unit

2017-02-07 Thread George Cherian
cro definitions -- Remove the redundant ROUNDUP* macros and use kernel function -- Select proper config option in Kconfig file. -- Removed some of the unwanted header file inclusions -- Miscellaneous Cleanup George Cherian (3): drivers: cryp

Re: [PATCH v5 0/3] Add Support for Cavium Cryptographic Acceleration Unit

2017-02-03 Thread George Cherian
On Friday 03 February 2017 11:02 PM, Sasha Levin wrote: On Mon, Jan 30, 2017 at 7:30 AM, George Cherian <george.cher...@cavium.com> wrote: This series adds the support for Cavium Cryptographic Accelerarion Unit (CPT) CPT is available in Cavium's Octeon-Tx SoC series. The series was

Re: [PATCH v5 0/3] Add Support for Cavium Cryptographic Acceleration Unit

2017-02-03 Thread George Cherian
On Friday 03 February 2017 11:02 PM, Sasha Levin wrote: On Mon, Jan 30, 2017 at 7:30 AM, George Cherian wrote: This series adds the support for Cavium Cryptographic Accelerarion Unit (CPT) CPT is available in Cavium's Octeon-Tx SoC series. The series was tested with ecryptfs and dm-crypt

Re: [PATCH v5 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-02-03 Thread George Cherian
Hi Sasha, Thanks for the reveiw. On Friday 03 February 2017 12:24 AM, Sasha Levin wrote: On Mon, Jan 30, 2017 at 7:30 AM, George Cherian <george.cher...@cavium.com> wrote: diff --git a/drivers/crypto/cavium/cpt/cptvf_main.c b/drivers/crypto/cavium/cpt/cptvf_main.c new file mode

Re: [PATCH v5 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-02-03 Thread George Cherian
Hi Sasha, Thanks for the reveiw. On Friday 03 February 2017 12:24 AM, Sasha Levin wrote: On Mon, Jan 30, 2017 at 7:30 AM, George Cherian wrote: diff --git a/drivers/crypto/cavium/cpt/cptvf_main.c b/drivers/crypto/cavium/cpt/cptvf_main.c new file mode 100644 index 000..4cf466d --- /dev

[PATCH v5 3/3] drivers: crypto: Enable CPT options crypto for build

2017-01-30 Thread George Cherian
Add the CPT options in crypto Kconfig and update the crypto Makefile Signed-off-by: George Cherian <george.cher...@cavium.com> Reviewed-by: David Daney <david.da...@cavium.com> --- drivers/crypto/Kconfig | 1 + drivers/crypto/Makefile | 1 + 2 files changed, 2 insertions(+)

[PATCH v5 3/3] drivers: crypto: Enable CPT options crypto for build

2017-01-30 Thread George Cherian
Add the CPT options in crypto Kconfig and update the crypto Makefile Signed-off-by: George Cherian Reviewed-by: David Daney --- drivers/crypto/Kconfig | 1 + drivers/crypto/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index

[PATCH v5 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-01-30 Thread George Cherian
Enable the CPT VF driver. CPT is the cryptographic Acceleration Unit in Octeon-tx series of processors. Signed-off-by: George Cherian <george.cher...@cavium.com> Reviewed-by: David Daney <david.da...@cavium.com> --- drivers/crypto/cavium/cpt/Makefile | 3 +- drivers/crypt

[PATCH v5 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-01-30 Thread George Cherian
Enable the CPT VF driver. CPT is the cryptographic Acceleration Unit in Octeon-tx series of processors. Signed-off-by: George Cherian Reviewed-by: David Daney --- drivers/crypto/cavium/cpt/Makefile | 3 +- drivers/crypto/cavium/cpt/cptvf.h| 135 drivers/crypto

[PATCH v5 1/3] drivers: crypto: Add Support for Octeon-tx CPT Engine

2017-01-30 Thread George Cherian
Enable the Physical Function driver for the Cavium Crypto Engine (CPT) found in Octeon-tx series of SoC's. CPT is the Cryptographic Accelaration Unit. CPT includes microcoded GigaCypher symmetric engines (SEs) and asymmetric engines (AEs). Signed-off-by: George Cherian <george.cher...@cavium.

[PATCH v5 0/3] Add Support for Cavium Cryptographic Acceleration Unit

2017-01-30 Thread George Cherian
definitions -- Remove the redundant ROUNDUP* macros and use kernel function -- Select proper config option in Kconfig file. -- Removed some of the unwanted header file inclusions -- Miscellaneous Cleanup George Cherian (3

[PATCH v5 1/3] drivers: crypto: Add Support for Octeon-tx CPT Engine

2017-01-30 Thread George Cherian
Enable the Physical Function driver for the Cavium Crypto Engine (CPT) found in Octeon-tx series of SoC's. CPT is the Cryptographic Accelaration Unit. CPT includes microcoded GigaCypher symmetric engines (SEs) and asymmetric engines (AEs). Signed-off-by: George Cherian Reviewed-by: David Daney

[PATCH v5 0/3] Add Support for Cavium Cryptographic Acceleration Unit

2017-01-30 Thread George Cherian
definitions -- Remove the redundant ROUNDUP* macros and use kernel function -- Select proper config option in Kconfig file. -- Removed some of the unwanted header file inclusions -- Miscellaneous Cleanup George Cherian (3

Re: [PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-01-12 Thread George Cherian
Hi Stephan, Thank you for the clarification. Regards, -George On 01/12/2017 04:49 PM, Stephan Müller wrote: Am Donnerstag, 12. Januar 2017, 16:40:32 CET schrieb George Cherian: Hi George, Sure, please do not forget to invoke xts_verify_key. Should I be using xts_check_key

Re: [PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-01-12 Thread George Cherian
Hi Stephan, Thank you for the clarification. Regards, -George On 01/12/2017 04:49 PM, Stephan Müller wrote: Am Donnerstag, 12. Januar 2017, 16:40:32 CET schrieb George Cherian: Hi George, Sure, please do not forget to invoke xts_verify_key. Should I be using xts_check_key

Re: [PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-01-12 Thread George Cherian
Hi Stephan, On 01/11/2017 06:09 PM, Stephan Müller wrote: Am Mittwoch, 11. Januar 2017, 16:58:17 CET schrieb George Cherian: Hi George, I will add a seperate function for xts setkey and make changes as following. ... + +struct crypto_alg algs[] = { { + .cra_flags

Re: [PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-01-12 Thread George Cherian
Hi Stephan, On 01/11/2017 06:09 PM, Stephan Müller wrote: Am Mittwoch, 11. Januar 2017, 16:58:17 CET schrieb George Cherian: Hi George, I will add a seperate function for xts setkey and make changes as following. ... + +struct crypto_alg algs[] = { { + .cra_flags

Re: [PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-01-11 Thread George Cherian
Hi Stephan, Thanks for pointing it out!! On 01/11/2017 04:42 PM, Stephan Müller wrote: Am Mittwoch, 11. Januar 2017, 10:56:50 CET schrieb George Cherian: Hi George, +int cvm_enc_dec_setkey(struct crypto_ablkcipher *cipher, const u8 *key, + u32 keylen) +{ + struct

Re: [PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-01-11 Thread George Cherian
Hi Stephan, Thanks for pointing it out!! On 01/11/2017 04:42 PM, Stephan Müller wrote: Am Mittwoch, 11. Januar 2017, 10:56:50 CET schrieb George Cherian: Hi George, +int cvm_enc_dec_setkey(struct crypto_ablkcipher *cipher, const u8 *key, + u32 keylen) +{ + struct

[PATCH v4 1/3] drivers: crypto: Add Support for Octeon-tx CPT Engine

2017-01-11 Thread George Cherian
Enable the Physical Function driver for the Cavium Crypto Engine (CPT) found in Octeon-tx series of SoC's. CPT is the Cryptographic Accelaration Unit. CPT includes microcoded GigaCypher symmetric engines (SEs) and asymmetric engines (AEs). Signed-off-by: George Cherian <george.cher...@cavium.

[PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-01-11 Thread George Cherian
Enable the CPT VF driver. CPT is the cryptographic Acceleration Unit in Octeon-tx series of processors. Signed-off-by: George Cherian <george.cher...@cavium.com> Reviewed-by: David Daney <david.da...@cavium.com> --- drivers/crypto/cavium/cpt/Makefile | 3 +- drivers/crypt

[PATCH v4 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-01-11 Thread George Cherian
Enable the CPT VF driver. CPT is the cryptographic Acceleration Unit in Octeon-tx series of processors. Signed-off-by: George Cherian Reviewed-by: David Daney --- drivers/crypto/cavium/cpt/Makefile | 3 +- drivers/crypto/cavium/cpt/cptvf.h| 135 drivers/crypto

[PATCH v4 1/3] drivers: crypto: Add Support for Octeon-tx CPT Engine

2017-01-11 Thread George Cherian
Enable the Physical Function driver for the Cavium Crypto Engine (CPT) found in Octeon-tx series of SoC's. CPT is the Cryptographic Accelaration Unit. CPT includes microcoded GigaCypher symmetric engines (SEs) and asymmetric engines (AEs). Signed-off-by: George Cherian Reviewed-by: David Daney

[PATCH v4 3/3] drivers: crypto: Enable CPT options crypto for build

2017-01-11 Thread George Cherian
Add the CPT options in crypto Kconfig and update the crypto Makefile Signed-off-by: George Cherian <george.cher...@cavium.com> Reviewed-by: David Daney <david.da...@cavium.com> --- drivers/crypto/Kconfig | 1 + drivers/crypto/Makefile | 1 + 2 files changed, 2 insertions(+)

[PATCH v4 3/3] drivers: crypto: Enable CPT options crypto for build

2017-01-11 Thread George Cherian
Add the CPT options in crypto Kconfig and update the crypto Makefile Signed-off-by: George Cherian Reviewed-by: David Daney --- drivers/crypto/Kconfig | 1 + drivers/crypto/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index

[PATCH v4 0/3] Add Support for Cavium Cryptographic Acceleration Unit

2017-01-11 Thread George Cherian
s Cleanup George Cherian (3): drivers: crypto: Add Support for Octeon-tx CPT Engine drivers: crypto: Add the Virtual Function driver for CPT drivers: crypto: Enable CPT options crypto for build drivers/crypto/Kconfig | 1 + drivers/crypto/Makefile

[PATCH v4 0/3] Add Support for Cavium Cryptographic Acceleration Unit

2017-01-11 Thread George Cherian
s Cleanup George Cherian (3): drivers: crypto: Add Support for Octeon-tx CPT Engine drivers: crypto: Add the Virtual Function driver for CPT drivers: crypto: Enable CPT options crypto for build drivers/crypto/Kconfig | 1 + drivers/crypto/Makefile

Re: [PATCH v3 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-01-05 Thread George Cherian
Hi Corentin, On 12/21/2016 07:31 PM, Corentin Labbe wrote: Hello I have some comment inline On Wed, Dec 21, 2016 at 11:56:12AM +, george.cher...@cavium.com wrote: From: George Cherian <george.cher...@cavium.com> Enable the CPT VF driver. CPT is the cryptographic Accelaratio

Re: [PATCH v3 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2017-01-05 Thread George Cherian
Hi Corentin, On 12/21/2016 07:31 PM, Corentin Labbe wrote: Hello I have some comment inline On Wed, Dec 21, 2016 at 11:56:12AM +, george.cher...@cavium.com wrote: From: George Cherian Enable the CPT VF driver. CPT is the cryptographic Accelaration Unit typo acceleration will fix

Re: [PATCH v3 1/3] drivers: crypto: Add Support for Octeon-tx CPT Engine

2017-01-05 Thread George Cherian
: From: George Cherian <george.cher...@cavium.com> Enable the Physical Function diver for the Cavium Crypto Engine (CPT) typo driver okay found in Octeon-tx series of SoC's. CPT is the Cryptographic Acceleration Unit. CPT includes microcoded GigaCypher symmetric engines (SEs) and asym

Re: [PATCH v3 1/3] drivers: crypto: Add Support for Octeon-tx CPT Engine

2017-01-05 Thread George Cherian
: From: George Cherian Enable the Physical Function diver for the Cavium Crypto Engine (CPT) typo driver okay found in Octeon-tx series of SoC's. CPT is the Cryptographic Acceleration Unit. CPT includes microcoded GigaCypher symmetric engines (SEs) and asymmetric engines (AEs). Signed-off

Re: [PATCH v2 0/3] Add Support for Cavium Cryptographic Accelerarion Unit

2016-12-15 Thread George Cherian
Hi, I got few review comments for this series from David Daney. I am reworking on this series and will sent v3 once it is done. So,kindly ignore this series Regards, -George On 12/13/2016 07:33 PM, George Cherian wrote: This series adds the support for Cavium Cryptographic Accelerarion Unit

Re: [PATCH v2 0/3] Add Support for Cavium Cryptographic Accelerarion Unit

2016-12-15 Thread George Cherian
Hi, I got few review comments for this series from David Daney. I am reworking on this series and will sent v3 once it is done. So,kindly ignore this series Regards, -George On 12/13/2016 07:33 PM, George Cherian wrote: This series adds the support for Cavium Cryptographic Accelerarion Unit

[PATCH v2 0/3] Add Support for Cavium Cryptographic Accelerarion Unit

2016-12-13 Thread George Cherian
ros and use kernel function -- Select proper config option in Kconfig file. -- Removed some of the unwanted header file inclusions -- Miscellaneous Cleanup George Cherian (3): drivers: crypto: Add Support for Octeon-tx CPT Engine driv

[PATCH v2 0/3] Add Support for Cavium Cryptographic Accelerarion Unit

2016-12-13 Thread George Cherian
ros and use kernel function -- Select proper config option in Kconfig file. -- Removed some of the unwanted header file inclusions -- Miscellaneous Cleanup George Cherian (3): drivers: crypto: Add Support for Octeon-tx CPT Engine driv

[PATCH v2 1/3] drivers: crypto: Add Support for Octeon-tx CPT Engine

2016-12-13 Thread George Cherian
Enable the Physical Function diver for the Cavium Crypto Engine (CPT) found in Octeon-tx series of SoC's. CPT is the Cryptographic Acceleration Unit. CPT includes microcoded GigaCypher symmetric engines (SEs) and asymmetric engines (AEs). Signed-off-by: George Cherian <george.cher...@cavium.

[PATCH v2 1/3] drivers: crypto: Add Support for Octeon-tx CPT Engine

2016-12-13 Thread George Cherian
Enable the Physical Function diver for the Cavium Crypto Engine (CPT) found in Octeon-tx series of SoC's. CPT is the Cryptographic Acceleration Unit. CPT includes microcoded GigaCypher symmetric engines (SEs) and asymmetric engines (AEs). Signed-off-by: George Cherian --- drivers/crypto/cavium

[PATCH v2 3/3] drivers: crypto: Enable CPT options crypto for build

2016-12-13 Thread George Cherian
Add the CPT options in crypto Kconfig and update the crypto Makefile Signed-off-by: George Cherian <george.cher...@cavium.com> --- drivers/crypto/Kconfig | 1 + drivers/crypto/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig

[PATCH v2 3/3] drivers: crypto: Enable CPT options crypto for build

2016-12-13 Thread George Cherian
Add the CPT options in crypto Kconfig and update the crypto Makefile Signed-off-by: George Cherian --- drivers/crypto/Kconfig | 1 + drivers/crypto/Makefile | 1 + 2 files changed, 2 insertions(+) diff --git a/drivers/crypto/Kconfig b/drivers/crypto/Kconfig index 4d2b81f..15f9040 100644

[PATCH v2 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2016-12-13 Thread George Cherian
Enable the CPT VF driver. CPT is the cryptographic Accelaration Unit in Octeon-tx series of processors. Signed-off-by: George Cherian <george.cher...@cavium.com> --- drivers/crypto/cavium/cpt/Makefile | 3 +- drivers/crypto/cavium/cpt/cptvf.h| 145 drivers/

[PATCH v2 2/3] drivers: crypto: Add the Virtual Function driver for CPT

2016-12-13 Thread George Cherian
Enable the CPT VF driver. CPT is the cryptographic Accelaration Unit in Octeon-tx series of processors. Signed-off-by: George Cherian --- drivers/crypto/cavium/cpt/Makefile | 3 +- drivers/crypto/cavium/cpt/cptvf.h| 145 drivers/crypto/cavium/cpt/cptvf_algs.c

Re: [PATCH 1/3] drivers: crypto: Add Support for Octeon-tx CPT Engine

2016-11-18 Thread George Cherian
Hi David, Thanks for the review. On Saturday 19 November 2016 12:25 AM, David Daney wrote: On 11/18/2016 07:00 AM, gcheri...@gmail.com wrote: From: George Cherian <george.cher...@cavium.com> Enable the Physical Function diver for the Cavium Crypto Engine (CPT) found in Octeon-tx

Re: [PATCH 1/3] drivers: crypto: Add Support for Octeon-tx CPT Engine

2016-11-18 Thread George Cherian
Hi David, Thanks for the review. On Saturday 19 November 2016 12:25 AM, David Daney wrote: On 11/18/2016 07:00 AM, gcheri...@gmail.com wrote: From: George Cherian Enable the Physical Function diver for the Cavium Crypto Engine (CPT) found in Octeon-tx series of SoC's. CPT

Re: [RFC 01/19] extcon: add extcon-odroid-usbotg driver

2015-03-19 Thread George Cherian
Hi Robert, +Roger On Thu, Mar 19, 2015 at 5:37 PM, Robert Baldyga wrote: > Hi George, > > On 03/19/2015 09:50 AM, George Cherian wrote: >> Hi Robert, >> >> This looks like a extcon driver based on gpio for USB. >> >> Roger posted a generic one a while back

Re: [RFC 01/19] extcon: add extcon-odroid-usbotg driver

2015-03-19 Thread George Cherian
Hi Robert, This looks like a extcon driver based on gpio for USB. Roger posted a generic one a while back. https://lkml.org/lkml/2015/2/2/187 Doesn't this serve the purpose rather than adding this driver? -George On Wed, Mar 18, 2015 at 7:34 PM, Robert Baldyga wrote: > This patch adds extcon

Re: [RFC 11/19] dwc3: add OTG handling code

2015-03-19 Thread George Cherian
Hi Robert, On Wed, Mar 18, 2015 at 7:34 PM, Robert Baldyga wrote: > > This patch introduces OTG support in DWC3 driver. OTG feature is responsible > for dynamic USB role switching (between host and peripheral modes) based > on detected cable type. > > Each role switch causes complete core

Re: [RFC 11/19] dwc3: add OTG handling code

2015-03-19 Thread George Cherian
Hi Robert, On Wed, Mar 18, 2015 at 7:34 PM, Robert Baldyga r.bald...@samsung.com wrote: This patch introduces OTG support in DWC3 driver. OTG feature is responsible for dynamic USB role switching (between host and peripheral modes) based on detected cable type. Each role switch causes

Re: [RFC 01/19] extcon: add extcon-odroid-usbotg driver

2015-03-19 Thread George Cherian
Hi Robert, This looks like a extcon driver based on gpio for USB. Roger posted a generic one a while back. https://lkml.org/lkml/2015/2/2/187 Doesn't this serve the purpose rather than adding this driver? -George On Wed, Mar 18, 2015 at 7:34 PM, Robert Baldyga r.bald...@samsung.com wrote:

Re: [RFC 01/19] extcon: add extcon-odroid-usbotg driver

2015-03-19 Thread George Cherian
Hi Robert, +Roger On Thu, Mar 19, 2015 at 5:37 PM, Robert Baldyga r.bald...@samsung.com wrote: Hi George, On 03/19/2015 09:50 AM, George Cherian wrote: Hi Robert, This looks like a extcon driver based on gpio for USB. Roger posted a generic one a while back. https://lkml.org/lkml/2015/2

Re: [PATCH] usb: dwc3: dwc3-omap: Fix disable IRQ

2015-02-12 Thread George Cherian
On 02/12/2015 11:52 PM, Felipe Balbi wrote: On Thu, Feb 12, 2015 at 11:13:16AM +0530, George Cherian wrote: >In the wrapper the IRQ disable should be done by writing 1's to the >IRQ*_CLR register. Existing code is broken because it instead writes >zeros to IRQ*_SET registe

[PATCH v2] usb: dwc3: dwc3-omap: Fix disable IRQ

2015-02-12 Thread George Cherian
: 72246da40f37 ("usb: Introduce DesignWare USB3 DRD Driver") Cc: # v3.2+ Signed-off-by: George Cherian --- drivers/usb/dwc3/dwc3-omap.c | 30 -- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-om

[PATCH v2] usb: dwc3: dwc3-omap: Fix disable IRQ

2015-02-12 Thread George Cherian
: 72246da40f37 (usb: Introduce DesignWare USB3 DRD Driver) Cc: sta...@vger.kernel.org # v3.2+ Signed-off-by: George Cherian george.cher...@ti.com --- drivers/usb/dwc3/dwc3-omap.c | 30 -- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-omap.c b

Re: [PATCH] usb: dwc3: dwc3-omap: Fix disable IRQ

2015-02-12 Thread George Cherian
On 02/12/2015 11:52 PM, Felipe Balbi wrote: On Thu, Feb 12, 2015 at 11:13:16AM +0530, George Cherian wrote: In the wrapper the IRQ disable should be done by writing 1's to the IRQ*_CLR register. Existing code is broken because it instead writes zeros to IRQ*_SET register. Fix this by adding

[PATCH] usb: dwc3: dwc3-omap: Fix disable IRQ

2015-02-11 Thread George Cherian
-by: George Cherian --- drivers/usb/dwc3/dwc3-omap.c | 30 -- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index 172d64e..52e0c4e 100644 --- a/drivers/usb/dwc3/dwc3-omap.c +++ b/drivers/usb/dwc3

[PATCH] usb: dwc3: dwc3-omap: Fix disable IRQ

2015-02-11 Thread George Cherian
-by: George Cherian george.cher...@ti.com --- drivers/usb/dwc3/dwc3-omap.c | 30 -- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/drivers/usb/dwc3/dwc3-omap.c b/drivers/usb/dwc3/dwc3-omap.c index 172d64e..52e0c4e 100644 --- a/drivers/usb/dwc3/dwc3-omap.c

[PATCH 02/19] usb: host xhci: fix up deallocation code

2014-11-25 Thread George Cherian
to preserve the already allocated xhci struct for the subsequent call of usb_add_hcd() from the DRD library. A new quirk flag XHCI_DRD_SUPPORT is added to differentiate between normal usb_remove_hcd and drd specific call. Signed-off-by: George Cherian --- drivers/usb/host/xhci.c | 22

[PATCH 01/19] usb: common: drd-lib: Add DRD lib for USB.

2014-11-25 Thread George Cherian
() or IP specific low level start/stop defined in ll_start/stop Signed-off-by: George Cherian --- drivers/usb/Kconfig | 15 ++ drivers/usb/common/Makefile | 1 + drivers/usb/common/drd-lib.c | 346 +++ include/linux/usb/drd.h | 77 ++ 4

[PATCH 07/19] usb: host: xhci: Adapt xhci to use usb drd library

2014-11-25 Thread George Cherian
Adapt the xhci-plat driver to use drd library functions. In prepration to support DRD on dwc3. Signed-off-by: George Cherian --- drivers/usb/host/xhci-plat.c | 15 +++ 1 file changed, 15 insertions(+) diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index

[PATCH 05/19] usb: host: xhci-plat: Add support to pass XHCI_NEEDS_LHC_RESET quirk

2014-11-25 Thread George Cherian
Extend the platform data to pass XHCI_NEEDS_LHC_RESET quirk to the xhci driver. Signed-off-by: George Cherian --- drivers/usb/host/xhci-plat.c | 3 +++ include/linux/usb/xhci_pdriver.h | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci

<    1   2   3   4   5   6   7   8   9   10   >