On 2018-08-23 17:34, Paulo Flabiano Smorigo wrote:
On 2018-08-22 21:04, Marcelo Henrique Cerri wrote:
That looks good to me. Maybe Paulo can help testing it.
--
Regards,
Marcelo
On Wed, Aug 22, 2018 at 08:26:31AM +0200, Ondrej Mosnacek wrote:
This patch fixes sleep-in-atomic bugs in AES-CBC
disable_kernel_vsx();
- pagefault_enable();
- preempt_enable();
}
return ret;
}
--
2.17.1
Sure thing. I'll test it later today. Thanks Ondrej for the fix.
--
Paulo Flabiano Smorigo
IBM Linux Technology Center
Signed-off-by: Paulo Flabiano Smorigo <pfsmor...@linux.vnet.ibm.com>
---
drivers/crypto/vmx/aes_ctr.c | 33 +
1 file changed, 17 insertions(+), 16 deletions(-)
diff --git a/drivers/crypto/vmx/aes_ctr.c b/drivers/crypto/vmx/aes_ctr.c
index 17d8421..fc60d00
ontexts."
[1] https://patchwork.kernel.org/patch/6027481/
--
Paulo Flabiano Smorigo
IBM Linux Technology Center
Signed-off-by: Paulo Flabiano Smorigo <pfsmor...@linux.vnet.ibm.com>
---
drivers/crypto/vmx/aes_xts.c | 32
1 file changed, 16 insertions(+), 16 deletions(-)
diff --git a/drivers/crypto/vmx/aes_xts.c b/drivers/crypto/vmx/aes_xts.c
index 24353ec3..6adc929
Signed-off-by: Paulo Flabiano Smorigo <pfsmor...@linux.vnet.ibm.com>
---
drivers/crypto/vmx/aes_cbc.c | 47 ++--
1 file changed, 24 insertions(+), 23 deletions(-)
diff --git a/drivers/crypto/vmx/aes_cbc.c b/drivers/crypto/vmx/aes_cbc.c
index 9
Signed-off-by: Paulo Flabiano Smorigo <pfsmor...@linux.vnet.ibm.com>
---
drivers/crypto/vmx/aes_cbc.c | 44 ++--
1 file changed, 22 insertions(+), 22 deletions(-)
diff --git a/drivers/crypto/vmx/aes_cbc.c b/drivers/crypto/vmx/aes_cbc.c
index 9
Signed-off-by: Paulo Flabiano Smorigo <pfsmor...@linux.vnet.ibm.com>
---
drivers/crypto/vmx/aes_xts.c | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/drivers/crypto/vmx/aes_xts.c b/drivers/crypto/vmx/aes_xts.c
index 24353ec3..a1e653a
Signed-off-by: Paulo Flabiano Smorigo <pfsmor...@linux.vnet.ibm.com>
---
drivers/crypto/vmx/aes_xts.c | 32 ++--
1 file changed, 18 insertions(+), 14 deletions(-)
diff --git a/drivers/crypto/vmx/aes_xts.c b/drivers/crypto/vmx/aes_xts.c
index 24353ec3..a8245e1
Signed-off-by: Paulo Flabiano Smorigo <pfsmor...@linux.vnet.ibm.com>
---
drivers/crypto/vmx/aes_cbc.c | 41 -
1 file changed, 20 insertions(+), 21 deletions(-)
diff --git a/drivers/crypto/vmx/aes_cbc.c b/drivers/crypto/vmx/aes_cbc.c
index 94ad5c0..5a
Currently, neither cbc or xts are working with upstream kernel due to a failure
in the fallback allocation. This can be fixed by changing the fallback to
skcipher.
Paulo Flabiano Smorigo (2):
crypto: vmx - Use skcipher for cbc fallback
crypto: vmx - Use skcipher for xts fallback
drivers
eric is the only posible fallback for ppc, I think that's a
good solution. :)
>
> Thanks,
> --
> Email: Herbert Xu <herb...@gondor.apana.org.au>
> Home Page: http://gondor.apana.org.au/~herbert/
> PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
>
--
Paulo Flabiano Smorigo
IBM Linux Technology Center
\
> add RT(t),RT(t),r6; \
> add r14,r0,W(t);\
> - lwz W((t)+4),((t)+4)*4(r4); \
> + LWZ(W((t)+4),((t)+4)*4,r4); \
> rotlwi RB(t),RB(t),30; \
> add RT(t),RT(t),r14
>
> --
> 2.7.4
>
--
Paulo Flabiano Smorigo
IBM Linux Technology Center
Ignore assembly files generated by the perl script.
Signed-off-by: Paulo Flabiano Smorigo <pfsmor...@linux.vnet.ibm.com>
---
drivers/crypto/vmx/.gitignore | 2 ++
1 file changed, 2 insertions(+)
create mode 100644 drivers/crypto/vmx/.gitignore
diff --git a/drivers/crypto/vmx/.gitig
From: "Leonidas S. Barbosa" <leosi...@linux.vnet.ibm.com>
This patch add XTS support using VMX-crypto driver.
Signed-off-by: Leonidas S. Barbosa <leosi...@linux.vnet.ibm.com>
Signed-off-by: Paulo Flabiano Smorigo <pfsmor...@linux.vnet.ibm.com>
---
drivers/crypto/vmx
m>
Signed-off-by: Paulo Flabiano Smorigo <pfsmor...@linux.vnet.ibm.com>
---
drivers/crypto/vmx/aesp8-ppc.h |4 +
drivers/crypto/vmx/aesp8-ppc.pl | 1865 ++-
2 files changed, 1867 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/vmx/aes
Thu, Jul 14, 2016 at 01:11:58AM +1000, Stephen Rothwell wrote:
> Hi Paulo,
>
> On Wed, 13 Jul 2016 10:34:27 -0300 Paulo Flabiano Smorigo
> <pfsmor...@linux.vnet.ibm.com> wrote:
> >
> > Wed, Jul 13, 2016 at 01:05:03PM +1000, Stewart Smith wrote:
> > >
Wed, Jul 13, 2016 at 01:05:03PM +1000, Stewart Smith wrote:
> Stephen Rothwell <s...@canb.auug.org.au> writes:
> > On Mon, 11 Jul 2016 16:07:39 -0300 Paulo Flabiano Smorigo
> > <pfsmor...@linux.vnet.ibm.com> wrote:
> >>
> >> diff --git a/drivers/crypt
From: "Leonidas S. Barbosa" <leosi...@linux.vnet.ibm.com>
This patch add XTS support using VMX-crypto driver.
Signed-off-by: Leonidas S. Barbosa <leosi...@linux.vnet.ibm.com>
Signed-off-by: Paulo Flabiano Smorigo <pfsmor...@linux.vnet.ibm.com>
---
drivers/crypto/vmx
m>
Signed-off-by: Paulo Flabiano Smorigo <pfsmor...@linux.vnet.ibm.com>
---
drivers/crypto/vmx/aesp8-ppc.h |4 +
drivers/crypto/vmx/aesp8-ppc.pl | 1865 ++-
2 files changed, 1867 insertions(+), 2 deletions(-)
diff --git a/drivers/crypto/vmx/aes
20 matches
Mail list logo