dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@freedesktop.org
To: dri-devel@lists.freedesktop.org
Subject: [Bug 106245] Raven ridge (2400g) fails to start (swiotlb buffer is full) with IOMMU disabled
Date: Thu, 26 Apr 2018 08:46:10 +0000	[thread overview]
Message-ID: <bug-106245-502@http.bugs.freedesktop.org/> (raw)


[-- 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

             reply	other threads:[~2018-04-26  8:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-26  8:46 bugzilla-daemon [this message]
2018-05-01 16:38 ` [Bug 106245] Raven ridge (2400g) fails to start (swiotlb buffer is full) with IOMMU disabled bugzilla-daemon
2018-05-03 17:33 ` bugzilla-daemon
2018-05-14 10:24 ` bugzilla-daemon
2019-11-19  8:36 ` bugzilla-daemon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-106245-502@http.bugs.freedesktop.org/ \
    --to=bugzilla-daemon@freedesktop.org \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox