kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bug 214165] New: Missing clflush before RECEIVE_UPDATE_DATA
@ 2021-08-24 11:52 bugzilla-daemon
  2021-09-13 23:06 ` [Bug 214165] " bugzilla-daemon
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla-daemon @ 2021-08-24 11:52 UTC (permalink / raw)
  To: kvm

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@kernel-bugs.osdl.org
          Reporter: masa.koz@seera-networks.com
        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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug 214165] Missing clflush before RECEIVE_UPDATE_DATA
  2021-08-24 11:52 [Bug 214165] New: Missing clflush before RECEIVE_UPDATE_DATA bugzilla-daemon
@ 2021-09-13 23:06 ` bugzilla-daemon
  0 siblings, 0 replies; 2+ messages in thread
From: bugzilla-daemon @ 2021-09-13 23:06 UTC (permalink / raw)
  To: kvm

https://bugzilla.kernel.org/show_bug.cgi?id=214165

Sean Christopherson (seanjc@google.com) changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |seanjc@google.com

--- Comment #1 from Sean Christopherson (seanjc@google.com) ---
If you can provided a Signed-off-by, I'll happily write a changelog and post
the patch on your behalf.  Thanks!

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-09-13 23:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-24 11:52 [Bug 214165] New: Missing clflush before RECEIVE_UPDATE_DATA bugzilla-daemon
2021-09-13 23:06 ` [Bug 214165] " bugzilla-daemon

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).