diff options
| author | Ashish Kalra <ashish.kalra@amd.com> | 2022-06-06 22:28:01 +0000 |
|---|---|---|
| committer | Suravee Suthikulpanit <suravee.suthikulpanit@amd.com> | 2022-07-13 17:27:31 -0500 |
| commit | e775a851be9fb6ea4050a469baff111af7d5b51e (patch) | |
| tree | 1264ec562efa2b7836d2f4fd8ad3ca7f22b9f5eb /tools/perf/scripts/python | |
| parent | b7fe62a656bffc8c559b2183ccd747e923fe0f3e (diff) | |
| download | cachepc-linux-e775a851be9fb6ea4050a469baff111af7d5b51e.tar.gz cachepc-linux-e775a851be9fb6ea4050a469baff111af7d5b51e.zip | |
KVM: SVM: Sync the GHCB scratch buffer using already mapped ghcb
Using kvm_write_guest() to sync the GHCB scratch buffer can fail
due to host mapping being 2M, but RMP being 4K. The page fault handling
in do_user_addr_fault() fails to split the 2M page to handle RMP fault due
to it being called here in a non-preemptible context. Instead use
the already kernel mapped ghcb to sync the scratch buffer when the
scratch buffer is contained within the GHCB.
Signed-off-by: Ashish Kalra <ashish.kalra@amd.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
