diff options
author | Sean Christopherson <seanjc@google.com> | 2021-11-09 23:23:50 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-12-05 09:02:03 +0100 |
commit | a655276a594978a4887520c1241cf6ac49d6230b (patch) | |
tree | 26115fbe820b3a597f45b087bf05b94d73fb7549 /sound/soc/tegra/tegra210_sfc.h | |
parent | KVM: SEV: Return appropriate error codes if SEV-ES scratch setup fails (diff) | |
download | linux-a655276a594978a4887520c1241cf6ac49d6230b.tar.xz linux-a655276a594978a4887520c1241cf6ac49d6230b.zip |
KVM: SEV: Fall back to vmalloc for SEV-ES scratch area if necessary
Use kvzalloc() to allocate KVM's buffer for SEV-ES's GHCB scratch area so
that KVM falls back to __vmalloc() if physically contiguous memory isn't
available. The buffer is purely a KVM software construct, i.e. there's
no need for it to be physically contiguous.
Cc: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20211109222350.2266045-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'sound/soc/tegra/tegra210_sfc.h')
0 files changed, 0 insertions, 0 deletions