All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 110929] sw_init of IP block <vega10_ih> failed -12 when using Secure Memory Encryption (SME) with Vega 64
@ 2019-06-17 22:21 bugzilla-daemon
  2019-06-27 23:50 ` bugzilla-daemon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla-daemon @ 2019-06-17 22:21 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 1336 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=110929

            Bug ID: 110929
           Summary: sw_init of IP block <vega10_ih> failed -12 when using
                    Secure Memory Encryption (SME) with Vega 64
           Product: DRI
           Version: DRI git
          Hardware: x86-64 (AMD64)
                OS: All
            Status: NEW
          Severity: major
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: sarnex@gentoo.org

Created attachment 144574
  --> https://bugs.freedesktop.org/attachment.cgi?id=144574&action=edit
dmesg_sme

Hi all,

If I turn on SME for my Ryzen 2700x CPU, I get the following error during boot:

[   19.998488] [drm:amdgpu_device_init.cold [amdgpu]] *ERROR* sw_init of IP
block <vega10_ih> failed -12
[   19.998490] amdgpu 0000:0c:00.0: amdgpu_device_ip_init failed
[   19.998492] amdgpu 0000:0c:00.0: Fatal error during GPU init
[   19.998493] [drm] amdgpu: finishing device.
[   19.998601] [drm] amdgpu: ttm finalized

I've attached the full dmesg.

I am using a Vega 64, Gentoo, Mesa/DRI* git, and kernel 5.1.x.

I can test any patches or provide any more information.

Thanks,
Sarnex

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2788 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 110929] sw_init of IP block <vega10_ih> failed -12 when using Secure Memory Encryption (SME) with Vega 64
  2019-06-17 22:21 [Bug 110929] sw_init of IP block <vega10_ih> failed -12 when using Secure Memory Encryption (SME) with Vega 64 bugzilla-daemon
@ 2019-06-27 23:50 ` bugzilla-daemon
  2019-06-27 23:52 ` bugzilla-daemon
  2019-11-19  9:31 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2019-06-27 23:50 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 743 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=110929

--- Comment #1 from John Bridgman <john.bridgman@amd.com> ---
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 only pages
with PA bit 47 set are encrypted ? 

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. 

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.

[-- Attachment #1.2: Type: text/html, Size: 1643 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 110929] sw_init of IP block <vega10_ih> failed -12 when using Secure Memory Encryption (SME) with Vega 64
  2019-06-17 22:21 [Bug 110929] sw_init of IP block <vega10_ih> failed -12 when using Secure Memory Encryption (SME) with Vega 64 bugzilla-daemon
  2019-06-27 23:50 ` bugzilla-daemon
@ 2019-06-27 23:52 ` bugzilla-daemon
  2019-11-19  9:31 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2019-06-27 23:52 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 375 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=110929

--- Comment #2 from Nick Sarnie <sarnex@gentoo.org> ---
Thanks for the response John. I'm pretty sure it is the second case: through
the OS. I am not changing any BIOS options, I am only passing mem_encrypt=on to
the kernel command line.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1263 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

* [Bug 110929] sw_init of IP block <vega10_ih> failed -12 when using Secure Memory Encryption (SME) with Vega 64
  2019-06-17 22:21 [Bug 110929] sw_init of IP block <vega10_ih> failed -12 when using Secure Memory Encryption (SME) with Vega 64 bugzilla-daemon
  2019-06-27 23:50 ` bugzilla-daemon
  2019-06-27 23:52 ` bugzilla-daemon
@ 2019-11-19  9:31 ` bugzilla-daemon
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla-daemon @ 2019-11-19  9:31 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 805 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=110929

Martin Peres <martin.peres@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |MOVED
             Status|NEW                         |RESOLVED

--- Comment #3 from Martin Peres <martin.peres@free.fr> ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/832.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2533 bytes --]

[-- Attachment #2: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

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

end of thread, other threads:[~2019-11-19  9:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-17 22:21 [Bug 110929] sw_init of IP block <vega10_ih> failed -12 when using Secure Memory Encryption (SME) with Vega 64 bugzilla-daemon
2019-06-27 23:50 ` bugzilla-daemon
2019-06-27 23:52 ` bugzilla-daemon
2019-11-19  9:31 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.