New: Missing clflush before RECEIVE_UPDATE_DATA
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: [email protected]
Reporter: [email protected]
Regression: NoCreated 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.
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.
[Bug 214165] Missing clflush before RECEIVE_UPDATE_DATA
https://bugzilla.kernel.org/show_bug.cgi?id=214165
Sean Christopherson ([email protected]) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]
--- Comment #1 from Sean Christopherson ([email protected]) --- If you can provided a Signed-off-by, I'll happily write a changelog and post the patch on your behalf. Thanks!
Signature · 4 lines
You may reply to this email to add a comment. You are receiving this mail because: You are watching the assignee of the bug.