summaryrefslogtreecommitdiff
path: root/arch/x86/boot/compressed/pgtable_64.c
diff options
context:
space:
mode:
authorTom Lendacky <thomas.lendacky@amd.com>2020-09-25 16:38:26 +0300
committerBorislav Petkov <bp@suse.de>2020-09-25 18:12:41 +0300
commit0ddfb1cf3b6b07c97cff16ea69931d986f9622ee (patch)
tree1381fe44d01716e7a05bb15687e3797f844ce5d8 /arch/x86/boot/compressed/pgtable_64.c
parentf5ed777586e08e09c4b6f1e87161a145ee1431cf (diff)
downloadlinux-0ddfb1cf3b6b07c97cff16ea69931d986f9622ee.tar.xz
x86/sev-es: Use GHCB accessor for setting the MMIO scratch buffer
Use ghcb_set_sw_scratch() to set the GHCB scratch field, which will also set the corresponding bit in the GHCB valid_bitmap field to denote that sw_scratch is actually valid. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Borislav Petkov <bp@suse.de> Reviewed-by: Joerg Roedel <jroedel@suse.de> Link: https://lkml.kernel.org/r/ba84deabdf44a7a880454fb351d189c6ad79d4ba.1601041106.git.thomas.lendacky@amd.com
Diffstat (limited to 'arch/x86/boot/compressed/pgtable_64.c')
0 files changed, 0 insertions, 0 deletions