Message ID | 00cd2ac480db01058d112e347b32599c1a806bc4.1652389823.git.reinette.chatre@intel.com |
---|---|
State | Accepted |
Commit | 2154e1c11b7080aa19f47160bd26b6f39bbd7824 |
Headers | show |
Series | None | expand |
diff --git a/arch/x86/kernel/cpu/sgx/encl.c b/arch/x86/kernel/cpu/sgx/encl.c index 398695a20605..5104a428b72c 100644 --- a/arch/x86/kernel/cpu/sgx/encl.c +++ b/arch/x86/kernel/cpu/sgx/encl.c @@ -84,6 +84,7 @@ static int __sgx_encl_eldu(struct sgx_encl_page *encl_page, } memset(pcmd_page + b.pcmd_offset, 0, sizeof(struct sgx_pcmd)); + set_page_dirty(b.pcmd); /* * The area for the PCMD in the page was zeroed above. Check if the