diff options
author | Eric Biggers <ebiggers@google.com> | 2025-01-05 22:21:10 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-01-14 06:38:32 +0300 |
commit | ee3c9c7e27a68c66490c65141a0c9c5b1fd87695 (patch) | |
tree | 7190f3abafd910c63a05130259454ae70db0bc6d /tools/perf/scripts/python/task-analyzer.py | |
parent | 1742b0a0e4668763066fab5fa76d071c1ac92648 (diff) | |
download | linux-ee3c9c7e27a68c66490c65141a0c9c5b1fd87695.tar.xz |
crypto: powerpc/p10-aes-gcm - simplify handling of linear associated data
p10_aes_gcm_crypt() is abusing the scatter_walk API to get the virtual
address for the first source scatterlist element. But this code is only
built for PPC64 which is a !HIGHMEM platform, and it can read past a
page boundary from the address returned by scatterwalk_map() which means
it already assumes the address is from the kernel's direct map. Thus,
just use sg_virt() instead to get the same result in a simpler way.
Cc: Christophe Leroy <christophe.leroy@csgroup.eu>
Cc: Danny Tsen <dtsen@linux.ibm.com>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Cc: Naveen N Rao <naveen@kernel.org>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions