(aes) but also for cts(cbc(aes))
> and cts(cbc(paes)).
>
> Cc: Gilad Ben-Yossef
> Signed-off-by: Andrei Botila
> ---
> drivers/crypto/ccree/cc_cipher.c | 11 ++-
> 1 file changed, 6 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/crypto/ccree/cc_cipher.c
Due to a snafu "paes" testmgr tests were not ordered
lexicographically, which led to boot time warnings.
Reorder the tests as needed.
Fixes: a794d8d ("crypto: ccree - enable support for hardware keys")
Reported-by: Abdul Haleem
Signed-off-by: Gilad Ben-Yossef
---
c
at the cipher test names are alphabetically ordered.
I wonder why I didn't see this myself as I'm 100% sure booted this fix
on 2 different platforms.
Maybe because Khazad was not enabled in my test setup and I guess
there are no other cipher starting in I, L,M,N,O ?
Fix coming up shortly
On Fri, Jan 6, 2012 at 3:03 PM, Peter Zijlstra wrote:
> On Tue, 2012-01-03 at 16:19 +0200, Gilad Ben-Yossef wrote:
>> on_each_cpu() returns as its own return value the return value of
>> smp_call_function(). smp_call_function() in turn returns a hard
>> coded value of zero.
on_each_cpu returns the retunr value of smp_call_function
which is hard coded to 0.
Refactor on_each_cpu to a void function and the few callers
that check the return value to save compares and branches.
Signed-off-by: Gilad Ben-Yossef
Acked-by: Peter Zijlstra
Reviewed-by: Michal Nazarewicz
CC
on_each_cpu always returns a hard coded return code of zero.
Removing all tests based on this return value saves run time
cycles for compares and code bloat for branches.
Signed-off-by: Gilad Ben-Yossef
Acked-by: Peter Zijlstra
Reviewed-by: Michal Nazarewicz
CC: Benjamin Herrenschmidt
CC
t git://github.com/gby/linux.git
Signed-off-by: Gilad Ben-Yossef
Acked-by: Peter Zijlstra
Reviewed-by: Michal Nazarewicz
CC: Michal Nazarewicz
CC: David Airlie
CC: dri-de...@lists.freedesktop.org
CC: Benjamin Herrenschmidt
CC: Paul Mackerras
CC: Grant Likely
CC: Rob Herring
CC: linuxpp
2012/1/3 Michal Nazarewicz :
> On Tue, 03 Jan 2012 15:19:04 +0100, Gilad Ben-Yossef
> wrote:
>>
>> on_each_cpu() returns as its own return value the return value of
>> smp_call_function(). smp_call_function() in turn returns a hard
>> coded value of zero.
>>
&g
on_each_cpu returns the retunr value of smp_call_function
which is hard coded to 0.
Refactor on_each_cpu to a void function and the few callers
that check the return value to save compares and branches.
CC: Michal Nazarewicz
CC: David Airlie
CC: dri-de...@lists.freedesktop.org
CC: Benjamin Herr
on_each_cpu always returns a hard coded return code of zero.
Removing all tests based on this return value saves run time
cycles for compares and code bloat for branches.
CC: Michal Nazarewicz
CC: Benjamin Herrenschmidt
CC: Paul Mackerras
CC: Grant Likely
CC: Rob Herring
CC: linuxppc-dev@lis
Yu
CC: linux-i...@vger.kernel.org
CC: Will Deacon
CC: Peter Zijlstra
CC: Arnaldo Carvalho de Melo
CC: Russell King
CC: linux-arm-ker...@lists.infradead.org
Gilad Ben-Yossef (9):
arm: avoid using on_each_cpu hard coded ret value
ia64: avoid using on_each_cpu hard coded ret value
x86: avoid using o
11 matches
Mail list logo