[PATCH 2/2] x86/kvm: use __decrypted attribute when declaring shared variables

2018-08-27 Thread Brijesh Singh
The following commit: 368a540e0232 (x86/kvmclock: Remove memblock dependency) caused SEV guest regression. When SEV is active, we map the shared variables (wall_clock and hv_clock_boot) with C=0 to ensure that both the guest and the hypervisor is able to access the data. To map the variables

[PATCH 2/2] x86/kvm: use __decrypted attribute when declaring shared variables

2018-08-27 Thread Brijesh Singh
The following commit: 368a540e0232 (x86/kvmclock: Remove memblock dependency) caused SEV guest regression. When SEV is active, we map the shared variables (wall_clock and hv_clock_boot) with C=0 to ensure that both the guest and the hypervisor is able to access the data. To map the variables