[Bug 106245] Raven ridge (2400g) fails to start (swiotlb buffer is full) with IOMMU disabled

2019-11-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106245

Martin Peres  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |MOVED

--- Comment #4 from Martin Peres  ---
-- 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.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Bug 106245] Raven ridge (2400g) fails to start (swiotlb buffer is full) with IOMMU disabled

2018-05-14 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106245

Michel Dänzer  changed:

   What|Removed |Added

 CC||c...@atamisk.net

--- Comment #3 from Michel Dänzer  ---
*** Bug 106496 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 106245] Raven ridge (2400g) fails to start (swiotlb buffer is full) with IOMMU disabled

2018-05-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106245

--- Comment #2 from ojab  ---
Yep, works fine with `mem_encrypt=off amd_iommu=off`

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 106245] Raven ridge (2400g) fails to start (swiotlb buffer is full) with IOMMU disabled

2018-05-01 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=106245

--- Comment #1 from Michel Dänzer  ---
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.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel


[Bug 106245] Raven ridge (2400g) fails to start (swiotlb buffer is full) with IOMMU disabled

2018-04-26 Thread bugzilla-daemon
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: o...@ojab.ru

Created attachment 139123
  --> https://bugs.freedesktop.org/attachment.cgi?id=139123=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 :08:00.0: swiotlb buffer
is full (sz: 262152 bytes)
Apr 25 23:39:36 ojab kernel: [1.886315] amdgpu :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]  ? 0xc1127000
Apr 25 23:39:36 ojab kernel: [1.888284]  driver_register+0x57/0xc0
Apr 25 23:39:36 ojab kernel: [1.888355]  ? 0xc1127000
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.18]  do_syscall_64+0x69/0x120
Apr 25 23:39:36 ojab kernel: [1.99] 
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:7ffcce027138 EFLAGS:
0246 ORIG_RAX: 00af
Apr 25 23:39:36 ojab kernel: [1.889194] RAX: ffda RBX:
025ab5a0 RCX: 7f1eae06551a
Apr 25 23:39:36 ojab kernel: [1.889290] RDX: 7f1eaec96e9d RSI:
00465290 RDI: 02719670
Apr 25 23:39:36 ojab kernel: [1.889386] RBP: 7f1eaec96e9d R08:
 R09: 025af020
Apr 25 23:39:36 ojab kernel: [1.889483] R10:  R11:
0246 R12: 02719670
Apr 25 23:39:36 ojab kernel: [1.889579] R13: 025ab7f0 R14:
0002 R15: 01c9c380
Apr 25 23:39:36 ojab kernel: [1.889694] [drm:amdgpu_device_init [amdgpu]]
*ERROR* sw_init of IP block  failed -12
Apr 25 23:39:36 ojab kernel: [1.889815] amdgpu :08:00.0:
amdgpu_device_ip_init failed

-- 
You are receiving this mail because:
You are the assignee for the bug.___
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel