diff options
| author | Sean Christopherson <seanjc@google.com> | 2025-06-11 01:57:07 +0300 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2025-06-20 23:05:39 +0300 |
| commit | fb96d5cf0fdaacd2165797982502d5b157f8bcf5 (patch) | |
| tree | 9118c5ce797ea161af993c9fb73d76640c6bc7af /tools/perf/scripts/python/task-analyzer.py | |
| parent | 674ffc65035119be0ea2664684d1e8d004409ae1 (diff) | |
| download | linux-fb96d5cf0fdaacd2165797982502d5b157f8bcf5.tar.xz | |
KVM: SVM: Allocate IOPM pages after initial setup in svm_hardware_setup()
Allocate pages for the IOPM after initial setup has been completed in
svm_hardware_setup(), so that sanity checks can be added in the setup flow
without needing to free the IOPM pages. The IOPM is only referenced (via
iopm_base) in init_vmcb() and svm_hardware_unsetup(), so there's no need
to allocate it early on.
No functional change intended (beyond the obvious ordering differences,
e.g. if the allocation fails).
Link: https://lore.kernel.org/r/20250610225737.156318-3-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
