diff options
author | Sean Christopherson <seanjc@google.com> | 2021-04-07 01:49:49 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-04-21 19:20:07 +0300 |
commit | e4a9af799e5539b0feb99571f0aaed5a3c81dc5a (patch) | |
tree | a0d0148a1741b5e20f7d895918be1a5bff6a4e90 /tools/perf/scripts/python/flamegraph.py | |
parent | 8347b99473a313be6549a5b940bc3c56a71be81c (diff) | |
download | linux-e4a9af799e5539b0feb99571f0aaed5a3c81dc5a.tar.xz |
crypto: ccp: Use the stack for small SEV command buffers
For commands with small input/output buffers, use the local stack to
"allocate" the structures used to communicate with the PSP. Now that
__sev_do_cmd_locked() gracefully handles vmalloc'd buffers, there's no
reason to avoid using the stack, e.g. CONFIG_VMAP_STACK=y will just work.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20210406224952.4177376-6-seanjc@google.com>
Reviewed-by: Brijesh Singh <brijesh.singh@amd.com>
Acked-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions