https://bugzilla.kernel.org/show_bug.cgi?id=214165 Bug ID: 214165 Summary: Missing clflush before RECEIVE_UPDATE_DATA Product: Virtualization Version: unspecified Kernel Version: 5.13.12 Hardware: x86-64 OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: kvm Assignee: virtualization_kvm@xxxxxxxxxxxxxxxxxxxx Reporter: masa.koz@xxxxxxxxxxxxxxxxxx Regression: No Created attachment 298457 --> https://bugzilla.kernel.org/attachment.cgi?id=298457&action=edit Add the missing sev_clflush_pages() In sev_receive_update_data(), sev_clflush_pages() is not called b/w sev_pin_memory() and RECEIVE_UPDATE_DATA. Because of this missing, we will often see the pre-written contents in the memory updated by RECEIVE_UPDATE_DATA. I guess that we should call sev_clflush_pages() as LAUNCH_UPDATE_DATA. -- You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.