On 2/1/2023 1:58 AM, Michael Kelley (LINUX) wrote:
+ + ret = set_memory_decrypted((unsigned long) + hv_cpu->post_msg_page, 1); + if (ret) + goto err_decrypt_msg_page; + + memset(hv_cpu->synic_message_page, 0, PAGE_SIZE); + memset(hv_cpu->synic_event_page, 0, PAGE_SIZE); + memset(hv_cpu->post_msg_page, 0, PAGE_SIZE); + }Having decrypted the pages here in hv_synic_alloc(), shouldn't there be corresponding re-encryption in hv_synic_free()?
Yes, I ignore in this version and will fix it. Thanks.