aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorJan Glauber <[email protected]>2018-04-09 17:45:50 +0200
committerHerbert Xu <[email protected]>2018-04-21 00:58:34 +0800
commit37ff02acaa3d7be87ecb89f198a549ffd3ae2403 (patch)
tree74c47cac0489b75f909976fd450454d9acb59d20 /tools/perf/scripts
parent6650c4de681ee90ea6da1fc34fb913f60e9bb008 (diff)
crypto: cavium - Fix fallout from CONFIG_VMAP_STACK
Enabling virtual mapped kernel stacks breaks the thunderx_zip driver. On compression or decompression the executing CPU hangs in an endless loop. The reason for this is the usage of __pa by the driver which does no longer work for an address that is not part of the 1:1 mapping. The zip driver allocates a result struct on the stack and needs to tell the hardware the physical address within this struct that is used to signal the completion of the request. As the hardware gets the wrong address after the broken __pa conversion it writes to an arbitrary address. The zip driver then waits forever for the completion byte to contain a non-zero value. Allocating the result struct from 1:1 mapped memory resolves this bug. Signed-off-by: Jan Glauber <[email protected]> Reviewed-by: Robert Richter <[email protected]> Cc: stable <[email protected]> # 4.14 Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions