diff options
author | Brijesh Singh <brijesh.singh@amd.com> | 2021-04-27 06:16:35 -0500 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-05-10 07:46:39 +0200 |
commit | b81fc74d53d1248de6db3136dd6b29e5d5528021 (patch) | |
tree | 09dd0959cb65f9055e247341215880654fe5a514 /tools/arch | |
parent | e759959fe3b8313c81d6200be44cb8a644d845ea (diff) | |
download | linux-next-b81fc74d53d1248de6db3136dd6b29e5d5528021.tar.gz |
x86/sev: Move GHCB MSR protocol and NAE definitions in a common header
The guest and the hypervisor contain separate macros to get and set
the GHCB MSR protocol and NAE event fields. Consolidate the GHCB
protocol definitions and helper macros in one place.
Leave the supported protocol version define in separate files to keep
the guest and hypervisor flexibility to support different GHCB version
in the same release.
There is no functional change intended.
Signed-off-by: Brijesh Singh <brijesh.singh@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Acked-by: Joerg Roedel <jroedel@suse.de>
Link: https://lkml.kernel.org/r/20210427111636.1207-3-brijesh.singh@amd.com
Diffstat (limited to 'tools/arch')
0 files changed, 0 insertions, 0 deletions