[Bug 214165] New: Missing clflush before RECEIVE_UPDATE_DATA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux