diff options
author | Josh Poimboeuf <jpoimboe@redhat.com> | 2017-09-18 14:42:08 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-09-20 17:42:36 +0800 |
commit | d3dfbfe2e6e7ecd620531d5201314ad14c4ed5b3 (patch) | |
tree | 3ca1e7bf788cdc1a2c3f3b5e58e0cf7f4d99e1e2 /tools/perf/scripts/python/sctop.py | |
parent | 673ac6fbc74f835e2125df9ee39e8a2a423832e2 (diff) |
crypto: x86/sha256-avx2 - Fix RBP usage
Using RBP as a temporary register breaks frame pointer convention and
breaks stack traces when unwinding from an interrupt in the crypto code.
There's no need to use RBP as a temporary register for the TBL value,
because it always stores the same value: the address of the K256 table.
Instead just reference the address of K256 directly.
Reported-by: Eric Biggers <ebiggers@google.com>
Reported-by: Peter Zijlstra <peterz@infradead.org>
Tested-by: Eric Biggers <ebiggers@google.com>
Acked-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions