All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 106245] Raven ridge (2400g) fails to start (swiotlb buffer is full) with IOMMU disabled
@ 2018-04-26  8:46 bugzilla-daemon
  2018-05-01 16:38 ` bugzilla-daemon
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2018-04-26  8:46 UTC (permalink / raw)
  To: dri-devel


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

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

            Bug ID: 106245
           Summary: Raven ridge (2400g) fails to start (swiotlb buffer is
                    full) with IOMMU disabled
           Product: DRI
           Version: XOrg git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: DRM/AMDgpu
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: ojab@ojab.ru

Created attachment 139123
  --> https://bugs.freedesktop.org/attachment.cgi?id=139123&action=edit
full dmesg, kernel 4.16.4

Ryzen 2400g
ASUS A320M-K with IOMMU disabled (either in BIOS/EFI or using amd_iommu=off)
kernels 4.16.4 & 4.17-rc2 (haven't this hardware before yesterday, so haven't
tested with older kernels)

amdgpu fails to load:

Apr 25 23:39:36 ojab kernel: [    1.886215] amdgpu 0000:08:00.0: swiotlb buffer
is full (sz: 262152 bytes)
Apr 25 23:39:36 ojab kernel: [    1.886315] amdgpu 0000:08:00.0: swiotlb:
coherent allocation failed, size=262152
Apr 25 23:39:36 ojab kernel: [    1.886429] CPU: 7 PID: 263 Comm: udevd Not
tainted 4.16.4-ojab #3
Apr 25 23:39:36 ojab kernel: [    1.886524] Call Trace:
Apr 25 23:39:36 ojab kernel: [    1.887060]  dump_stack+0x67/0x93
Apr 25 23:39:36 ojab kernel: [    1.887130]  swiotlb_alloc_coherent+0x1da/0x1f0
Apr 25 23:39:36 ojab kernel: [    1.887237]  amdgpu_ih_ring_init+0x1fc/0x2c0
[amdgpu]
Apr 25 23:39:36 ojab kernel: [    1.887339]  vega10_ih_sw_init+0x18/0xb0
[amdgpu]
Apr 25 23:39:36 ojab kernel: [    1.887430]  amdgpu_device_init+0xa35/0x11f0
[amdgpu]
Apr 25 23:39:36 ojab kernel: [    1.887523]  amdgpu_driver_load_kms+0x56/0x170
[amdgpu]
Apr 25 23:39:36 ojab kernel: [    1.887605]  drm_dev_register+0x166/0x1f0 [drm]
Apr 25 23:39:36 ojab kernel: [    1.887695]  amdgpu_pci_probe+0x113/0x1a0
[amdgpu]
Apr 25 23:39:36 ojab kernel: [    1.887770]  pci_device_probe+0xc9/0x140
Apr 25 23:39:36 ojab kernel: [    1.887842]  driver_probe_device+0x281/0x370
Apr 25 23:39:36 ojab kernel: [    1.887916]  __driver_attach+0xa9/0xb0
Apr 25 23:39:36 ojab kernel: [    1.887986]  ? driver_probe_device+0x370/0x370
Apr 25 23:39:36 ojab kernel: [    1.888072]  bus_for_each_dev+0x88/0xd0
Apr 25 23:39:36 ojab kernel: [    1.888143]  bus_add_driver+0x1b4/0x230
Apr 25 23:39:36 ojab kernel: [    1.888215]  ? 0xffffffffc1127000
Apr 25 23:39:36 ojab kernel: [    1.888284]  driver_register+0x57/0xc0
Apr 25 23:39:36 ojab kernel: [    1.888355]  ? 0xffffffffc1127000
Apr 25 23:39:36 ojab kernel: [    1.888425]  do_one_initcall+0x5c/0x1c0
Apr 25 23:39:36 ojab kernel: [    1.888496]  do_init_module+0x5e/0x20d
Apr 25 23:39:36 ojab kernel: [    1.888576]  load_module+0x137f/0x19b0
Apr 25 23:39:36 ojab kernel: [    1.888656]  ? m_show+0x1e0/0x1e0
Apr 25 23:39:36 ojab kernel: [    1.888735]  SYSC_init_module+0x102/0x150
Apr 25 23:39:36 ojab kernel: [    1.888818]  do_syscall_64+0x69/0x120
Apr 25 23:39:36 ojab kernel: [    1.888899] 
entry_SYSCALL_64_after_hwframe+0x42/0xb7
Apr 25 23:39:36 ojab kernel: [    1.888988] RIP: 0033:0x7f1eae06551a
Apr 25 23:39:36 ojab kernel: [    1.889079] RSP: 002b:00007ffcce027138 EFLAGS:
00000246 ORIG_RAX: 00000000000000af
Apr 25 23:39:36 ojab kernel: [    1.889194] RAX: ffffffffffffffda RBX:
00000000025ab5a0 RCX: 00007f1eae06551a
Apr 25 23:39:36 ojab kernel: [    1.889290] RDX: 00007f1eaec96e9d RSI:
0000000000465290 RDI: 0000000002719670
Apr 25 23:39:36 ojab kernel: [    1.889386] RBP: 00007f1eaec96e9d R08:
00000000ffffffff R09: 00000000025af020
Apr 25 23:39:36 ojab kernel: [    1.889483] R10: 0000000000000000 R11:
0000000000000246 R12: 0000000002719670
Apr 25 23:39:36 ojab kernel: [    1.889579] R13: 00000000025ab7f0 R14:
0000000000020000 R15: 0000000001c9c380
Apr 25 23:39:36 ojab kernel: [    1.889694] [drm:amdgpu_device_init [amdgpu]]
*ERROR* sw_init of IP block <vega10_ih> failed -12
Apr 25 23:39:36 ojab kernel: [    1.889815] amdgpu 0000:08:00.0:
amdgpu_device_ip_init failed

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

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

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

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

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

* [Bug 106245] Raven ridge (2400g) fails to start (swiotlb buffer is full) with IOMMU disabled
  2018-04-26  8:46 [Bug 106245] Raven ridge (2400g) fails to start (swiotlb buffer is full) with IOMMU disabled bugzilla-daemon
@ 2018-05-01 16:38 ` bugzilla-daemon
  2018-05-03 17:33 ` bugzilla-daemon
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2018-05-01 16:38 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #1 from Michel Dänzer <michel@daenzer.net> ---
Does it work if you disable SME? amdgpu doesn't actually work yet with SME
enabled anyway.

It's odd that SWIOTLB fails allocating 256KB this early, but it might be due to
SME creating pressure on SWIOTLB.

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

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

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

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

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

* [Bug 106245] Raven ridge (2400g) fails to start (swiotlb buffer is full) with IOMMU disabled
  2018-04-26  8:46 [Bug 106245] Raven ridge (2400g) fails to start (swiotlb buffer is full) with IOMMU disabled bugzilla-daemon
  2018-05-01 16:38 ` bugzilla-daemon
@ 2018-05-03 17:33 ` bugzilla-daemon
  2018-05-14 10:24 ` bugzilla-daemon
  2019-11-19  8:36 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2018-05-03 17:33 UTC (permalink / raw)
  To: dri-devel


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

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

--- Comment #2 from ojab <ojab@ojab.ru> ---
Yep, works fine with `mem_encrypt=off amd_iommu=off`

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

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

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

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

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

* [Bug 106245] Raven ridge (2400g) fails to start (swiotlb buffer is full) with IOMMU disabled
  2018-04-26  8:46 [Bug 106245] Raven ridge (2400g) fails to start (swiotlb buffer is full) with IOMMU disabled bugzilla-daemon
  2018-05-01 16:38 ` bugzilla-daemon
  2018-05-03 17:33 ` bugzilla-daemon
@ 2018-05-14 10:24 ` bugzilla-daemon
  2019-11-19  8:36 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2018-05-14 10:24 UTC (permalink / raw)
  To: dri-devel


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

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

Michel Dänzer <michel@daenzer.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |cig@atamisk.net

--- Comment #3 from Michel Dänzer <michel@daenzer.net> ---
*** Bug 106496 has been marked as a duplicate of this bug. ***

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

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

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

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

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

* [Bug 106245] Raven ridge (2400g) fails to start (swiotlb buffer is full) with IOMMU disabled
  2018-04-26  8:46 [Bug 106245] Raven ridge (2400g) fails to start (swiotlb buffer is full) with IOMMU disabled bugzilla-daemon
                   ` (2 preceding siblings ...)
  2018-05-14 10:24 ` bugzilla-daemon
@ 2019-11-19  8:36 ` bugzilla-daemon
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2019-11-19  8:36 UTC (permalink / raw)
  To: dri-devel


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

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

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

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

--- Comment #4 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/354.

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

[-- Attachment #1.2: Type: text/html, Size: 2461 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] 5+ messages in thread

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-26  8:46 [Bug 106245] Raven ridge (2400g) fails to start (swiotlb buffer is full) with IOMMU disabled bugzilla-daemon
2018-05-01 16:38 ` bugzilla-daemon
2018-05-03 17:33 ` bugzilla-daemon
2018-05-14 10:24 ` bugzilla-daemon
2019-11-19  8:36 ` 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.