<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><span class="vcard"><a class="email" href="mailto:michel@daenzer.net" title="Michel Dänzer <michel@daenzer.net>"> <span class="fn">Michel Dänzer</span></a>
</span> changed
          <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - memcpy accessing GPU memory mappings using SSE instructions breaks in KVM"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111004">bug 111004</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Assignee</td>
           <td>xorg-driver-ati@lists.x.org
           </td>
           <td>mesa-dev@lists.freedesktop.org
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Summary</td>
           <td>X crash in memcpy (RX590)
           </td>
           <td>memcpy accessing GPU memory mappings using SSE instructions breaks in KVM
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Component</td>
           <td>Driver/AMDgpu
           </td>
           <td>Other
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">QA Contact</td>
           <td>xorg-team@lists.x.org
           </td>
           <td>mesa-dev@lists.freedesktop.org
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Version</td>
           <td>unspecified
           </td>
           <td>git
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">Product</td>
           <td>xorg
           </td>
           <td>Mesa
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - memcpy accessing GPU memory mappings using SSE instructions breaks in KVM"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111004#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_REOPENED "
   title="REOPENED - memcpy accessing GPU memory mappings using SSE instructions breaks in KVM"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111004">bug 111004</a>
              from <span class="vcard"><a class="email" href="mailto:michel@daenzer.net" title="Michel Dänzer <michel@daenzer.net>"> <span class="fn">Michel Dänzer</span></a>
</span></b>
        <pre>Reassigning to Mesa, but TBH I wouldn't expect anything to happen anytime soon
(unless you do it yourself). Mesa definitely wants to use an optimized memcpy
on bare metal, so replacing memcpy everywhere is probably out of the question,
and finding all code in Mesa where this could happen might be tricky.

Also note that APIs such as OpenGL or Vulkan expose such GPU mappings to
applications directly, so the approach you're suggesting would likely require
fixing a lot of application/framework code as well. It would most likely be
less painful if this could be solved in KVM somehow, or if you just override
the default memcpy implementation (with a known-good one) on your system.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>