diff options
author | Paolo Bonzini <[email protected]> | 2022-11-07 03:49:59 -0500 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2022-11-09 12:25:33 -0500 |
commit | e287bd005ad9d85dd6271dd795d3ecfb6bca46ad (patch) | |
tree | 10e0fac1c9d0378b3af82dbc882c695352177e93 /tools/testing | |
parent | e61ab42de874c5af8c5d98b327c77a374d9e7da1 (diff) |
KVM: SVM: restore host save area from assembly
Allow access to the percpu area via the GS segment base, which is
needed in order to access the saved host spec_ctrl value. In linux-next
FILL_RETURN_BUFFER also needs to access percpu data.
For simplicity, the physical address of the save area is added to struct
svm_cpu_data.
Cc: [email protected]
Fixes: a149180fbcf3 ("x86: Add magic AMD return-thunk")
Reported-by: Nathan Chancellor <[email protected]>
Analyzed-by: Andrew Cooper <[email protected]>
Tested-by: Nathan Chancellor <[email protected]>
Reviewed-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions