diff options
author | Brijesh Singh <[email protected]> | 2017-10-20 09:30:56 -0500 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-11-07 15:35:59 +0100 |
commit | dfaaec9033b80d71056e21cda920752e55f2c514 (patch) | |
tree | 8727323aa0bed2e59bdf35e52d14daac34e4730f /net/unix/sysctl_net_unix.c | |
parent | 606b21d4a6498c23632a4693c81b7b24feedd038 (diff) |
x86: Add support for changing memory encryption attribute in early boot
Some KVM-specific custom MSRs share the guest physical address with the
hypervisor in early boot. When SEV is active, the shared physical address
must be mapped with memory encryption attribute cleared so that both
hypervisor and guest can access the data.
Add APIs to change the memory encryption attribute in early boot code.
Signed-off-by: Brijesh Singh <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Borislav Petkov <[email protected]>
Tested-by: Borislav Petkov <[email protected]>
Cc: Tom Lendacky <[email protected]>
Cc: [email protected]
Cc: Borislav Petkov <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions