mirror of
https://github.com/torvalds/linux.git
synced 2024-12-08 20:21:34 +00:00
f6d58266d7
Continue moving accesses to struct vcpu_svm to vmenter.S. Reducing the
number of arguments limits the chance of mistakes due to different
registers used for argument passing in 32- and 64-bit ABIs; pushing the
VMCB argument and almost immediately popping it into a different
register looks pretty weird.
32-bit ABI is not a concern for __svm_sev_es_vcpu_run() which is 64-bit
only; however, it will soon need @svm to save/restore SPEC_CTRL so stay
consistent with __svm_vcpu_run() and let them share the same prototype.
No functional change intended.
Cc: stable@vger.kernel.org
Fixes:
|
||
---|---|---|
.. | ||
avic.c | ||
hyperv.h | ||
nested.c | ||
pmu.c | ||
sev.c | ||
svm_onhyperv.c | ||
svm_onhyperv.h | ||
svm_ops.h | ||
svm.c | ||
svm.h | ||
vmenter.S |