From: bugzilla-daemon@freedesktop.org Subject: [Bug 110929] sw_init of IP block failed -12 when using Secure Memory Encryption (SME) with Vega 64 Date: Thu, 27 Jun 2019 23:50:09 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2050891388==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id F22266E858 for ; Thu, 27 Jun 2019 23:50:08 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2050891388== Content-Type: multipart/alternative; boundary="15616794082.1DC87762.15114" Content-Transfer-Encoding: 7bit --15616794082.1DC87762.15114 Date: Thu, 27 Jun 2019 23:50:08 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D110929 --- Comment #1 from John Bridgman --- How are you enabling SME - transparent mode (via SBIOS I think) where all p= ages are encrypted, or via OS where only pages with PA bit 47 set are encrypted ?=20 I would not expect the first option to work since anything written from CPU= to GPU will get garbled by the encryption, but the second should work as long = as no buffers passed to or allocated by GPU driver are encrypted.=20 I haven't used SME so not sure about options - wasn't aware we even enabled= it on Ryzen parts, thought it was Epyc only. --=20 You are receiving this mail because: You are the assignee for the bug.= --15616794082.1DC87762.15114 Date: Thu, 27 Jun 2019 23:50:08 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated

Commen= t # 1 on bug 11092= 9 from John Bridgman
How are you enabling SME - transparent mode (via SBIOS I think=
) where all pages
are encrypted, or <whatever you call the other mode> via OS where onl=
y pages
with PA bit 47 set are encrypted ?=20

I would not expect the first option to work since anything written from CPU=
 to
GPU will get garbled by the encryption, but the second should work as long =
as
no buffers passed to or allocated by GPU driver are encrypted.=20

I haven't used SME so not sure about options - wasn't aware we even enabled=
 it
on Ryzen parts, thought it was Epyc only.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15616794082.1DC87762.15114-- --===============2050891388== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============2050891388==--