diff options
author | 2021-04-06 15:49:49 -0700 | |
---|---|---|
committer | 2021-04-21 12:20:07 -0400 | |
commit | e4a9af799e5539b0feb99571f0aaed5a3c81dc5a (patch) | |
tree | a0d0148a1741b5e20f7d895918be1a5bff6a4e90 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | crypto: ccp: Play nice with vmalloc'd memory for SEV command structs (diff) | |
download | linux-dev-e4a9af799e5539b0feb99571f0aaed5a3c81dc5a.tar.xz linux-dev-e4a9af799e5539b0feb99571f0aaed5a3c81dc5a.zip |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions