Fwd: Regression with commit PCI: mvebu: Convert to PCI emulated bridge config space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Retrying email again, because, message was rejected by linux-pci
mailing list, due to not being a plain-text. Sorry for the
inconvenience.

Hi Thomas, Lorenzo,

I've been running Linux on a armhf with an AMD gpu card and since this
commit, in linux 4.20, the amdgpu driver causes a kernel oops and
fails to initialize when calling pci_map_rom, which then fails on a
call to ioremap_page_range. If I revert the patch from commit

1f08673eef1236f7d02d93fcf596bb8531ef0d12
 then amdgpu successfully initializes.

The kernel oops follows in attachment.

Regards,
Luís
[   10.133435] Unhandled fault: external abort on non-linefetch (0x1008) at 0xf14e0000
[   10.141118] pgd = (ptrval)
[   10.143836] [f14e0000] *pgd=2c4ff811, *pte=e0200243, *ppte=e0200013
[   10.150126] Internal error: : 1008 [#1] SMP ARM
[   10.154665] Modules linked in: si2168 rfkill amdgpu(+) snd_rawmidi snd_seq snd_seq_device snd_timer chash gpu_sched ttm drm_kms_helper smipcie(+) snd drm syscopyarea sysfillrect sysimgblt fb_sys_fops soundcore binfmt_misc sch_fq_codel ip_tables x_tables autofs4
[   10.177856] CPU: 1 PID: 259 Comm: systemd-udevd Not tainted 4.20.0-rc4-next3g-clearfog #1
[   10.186051] Hardware name: Marvell Armada 380/385 (Device Tree)
[   10.191989] PC is at pci_map_rom+0x88/0x1f4
[   10.196181] LR is at ioremap_page_range+0x10c/0x1b8
[   10.201069] pc : [<c07bb520>]    lr : [<c0bdb61c>]    psr: a0070113
[   10.207348] sp : ec0a5a58  ip : eed20000  fp : ec0a5a7c
[   10.212583] r10: ec551000  r9 : bf3bf6dc  r8 : 00020000
[   10.217818] r7 : ec0a5a80  r6 : ee2a1800  r5 : f14e0000  r4 : f14e0000
[   10.224359] r3 : 00000012  r2 : 0000aa55  r1 : 52494350  r0 : f1500000
[   10.230901] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
[   10.238052] Control: 10c5387d  Table: 2c0a804a  DAC: 00000051
[   10.243809] Process systemd-udevd (pid: 259, stack limit = 0x(ptrval))
[   10.250350] Stack: (0xec0a5a58 to 0xec0a6000)
[   10.254715] 5a40:                                                       ec550000 ec550000
[   10.262913] 5a60: c1005dc8 00000100 00000009 bf3bf6dc ec0a5aa4 ec0a5a80 bf1b5d8c c07bb4a4
[   10.271109] 5a80: 00020000 6ab4ddaf c1005dc8 ec550000 ec552000 00000100 ec0a5b0c ec0a5aa8
[   10.279304] 5aa0: bf1b5e9c bf1b5d58 c1005dc8 ec556000 ec558000 00000100 ec0a5ae4 ec0a5ac8
[   10.287500] 5ac0: c01bc074 c01bc75c ec0a5aec 6ab4ddaf bf216aa8 c0875474 ec0a5b0c ec0a5ae8
[   10.295697] 5ae0: c0875474 c0bf5b18 ec550000 6ab4ddaf ec552000 ec550000 ec558000 ec552000
[   10.303893] 5b00: ec0a5ba4 ec0a5b10 bf196c6c bf1b5e38 00000000 0000e367 000000ff c0bf1a9c
[   10.312089] 5b20: ec33e420 00000000 00000000 6ab4ddaf ec0a5b64 c02d72a8 ec552000 bf387d00
[   10.320286] 5b40: bf3ba258 c1005dc8 00000004 ec33f640 ec0a5b6c ec0a5b60 c02d72a8 c02e121c
[   10.328483] 5b60: ec0a5ba4 ec0a5b70 c02d72e0 c02d7280 ec33f640 6ab4ddaf ec33f640 ec05b800
[   10.336680] 5b80: ec550000 00000010 bf3ba000 00000000 ec33f640 00000000 ec0a5bc4 ec0a5ba8
[   10.344877] 5ba0: bf19aab0 bf1961e4 ec05b800 00000000 00000010 bf3ba000 ec0a5bfc ec0a5bc8
[   10.353074] 5bc0: bf06cba8 bf19aa2c 00080001 6ab4ddaf 00000000 ee2a1800 00000000 ee2a1800
[   10.361271] 5be0: bf337440 ec05b800 bf387488 bf337440 ec0a5c24 ec0a5c00 bf1943e0 bf06ca7c
[   10.369468] 5c00: ee2a1878 ee2a1800 bf3ba0f0 00000000 bf3ba128 bf337440 ec0a5c4c ec0a5c28
[   10.377665] 5c20: c07b8c90 bf194320 c114e02c ee2a1878 c114e030 00000000 bf3ba128 0000000c
[   10.385862] 5c40: ec0a5c84 ec0a5c50 c08801c8 c07b8be8 00000000 c1005dc8 ec0a5c84 ee2a1878
[   10.394059] 5c60: bf3ba128 bf3ba128 c1005dc8 ec3fa2a4 c1005dc8 ec0a5f38 ec0a5cbc ec0a5c88
[   10.402255] 5c80: c0880628 c087ff04 c0bf0bd8 c01cda40 ee2a18ac ee2a18ac ee2a1878 ee2a18ac
[   10.410452] 5ca0: bf3ba128 c1005dc8 ec3fa2a4 c1005dc8 ec0a5cdc ec0a5cc0 c088075c c0880488
[   10.418648] 5cc0: 00000000 bf3ba128 c0880650 c1005dc8 ec0a5d0c ec0a5ce0 c087db50 c088065c
[   10.426845] 5ce0: ee1c916c ee1c9158 ed1c5d34 6ab4ddaf bf3ba128 c109d050 ec009a00 00000000
[   10.435042] 5d00: ec0a5d1c ec0a5d10 c087f93c c087dad8 ec0a5d44 ec0a5d20 c087f1f4 c087f91c
[   10.443238] 5d20: bf3874f0 ec0a5d30 bf3ba128 bf3874f0 ec3fa280 00000000 ec0a5d5c ec0a5d48
[   10.451435] 5d40: c08814c4 c087f098 00000000 bf3874f0 ec0a5d74 ec0a5d60 c07b6d54 c0881444
[   10.459631] 5d60: bf3bf6c0 bf404000 ec0a5d8c ec0a5d78 bf40407c c07b6d08 c1005dc8 bf404000
[   10.467828] 5d80: ec0a5e04 ec0a5d90 c01033ac bf40400c c02cd258 6ab4ddaf 00000001 c0bf0bd8
[   10.476025] 5da0: 00000000 006000c0 ec0a5dcc ec0a5db8 c0bf0bd8 c01cda40 006000c0 c030d3f0
[   10.484220] 5dc0: ec0a5e04 ec0a5dd0 c030d3f0 c02d88c0 00000001 0000032b ed783440 6ab4ddaf
[   10.492417] 5de0: 00000001 bf3bf4c0 00000001 ec3fa280 ec3f8440 ec3fa2a4 ec0a5e2c ec0a5e08
[   10.500614] 5e00: c01fa6e4 c0103368 ec0a5e2c ec0a5e18 00000001 00000001 ec3fa280 c01f5aa0
[   10.508811] 5e20: ec0a5f14 ec0a5e30 c01f96b4 c01fa67c bf3bf4cc 00007fff bf3bf4c0 c01f6800
[   10.517008] 5e40: c1005dc8 c0d90194 c0d901a8 c0d90188 c0d901d0 c0e5abd0 bf3bf5f0 bf3bf5d4
[   10.525205] 5e60: bf3bf4c4 bf3bf6a0 c0c070a4 c01f5b68 bf3bf508 bf3bf4c0 00000000 c0e8a0cc
[   10.533403] 5e80: ec0a5f30 0032aab0 ec0a5ee4 ec0a5e98 00000000 00000000 00000000 00000000
[   10.541599] 5ea0: 00000000 00000000 6e72656b 00006c65 00000000 00000000 00000000 00000000
[   10.549796] 5ec0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   10.557992] 5ee0: 00000000 6ab4ddaf 7fffffff c1005dc8 00000000 00000017 b6db61bc c0101204
[   10.566189] 5f00: ec0a4000 0000017b ec0a5fa4 ec0a5f18 c01f9eec c01f736c 7fffffff 00000000
[   10.574386] 5f20: 00000003 ec0a5f24 ec0a5f24 f0eb0000 0032aab0 00000000 f10a8a35 f10e8a40
[   10.582583] 5f40: f0eb0000 0032aab0 f11da218 f11da018 f112ab88 00233000 0024df60 bf3bba70
[   10.590778] 5f60: 00000191 00000000 0006e5d0 00000034 00000035 0000002b 00000019 0000000c
[   10.598975] 5f80: 00000000 6ab4ddaf 0066fb68 becbb9a4 99e26e00 0000017b 00000000 ec0a5fa8
[   10.607172] 5fa0: c01011e4 c01f9e38 0066fb68 becbb9a4 00000017 b6db61bc 00000000 006715c0
[   10.615369] 5fc0: 0066fb68 becbb9a4 99e26e00 0000017b 00685340 becbb99c 00000000 00680450
[   10.623566] 5fe0: becbb898 becbb888 b6db0951 b6e5ef42 400f0030 00000017 00000000 00000000
[   10.631760] Backtrace: 
[   10.634669] [<c07bb498>] (pci_map_rom) from [<bf1b5d8c>] (amdgpu_read_bios+0x40/0xe0 [amdgpu])
[   10.643303]  r9:bf3bf6dc r8:00000009 r7:00000100 r6:c1005dc8 r5:ec550000 r4:ec550000
[   10.651710] [<bf1b5d4c>] (amdgpu_read_bios [amdgpu]) from [<bf1b5e9c>] (amdgpu_get_bios+0x70/0x228 [amdgpu])
[   10.661561]  r7:00000100 r6:ec552000 r5:ec550000 r4:c1005dc8
[   10.667827] [<bf1b5e2c>] (amdgpu_get_bios [amdgpu]) from [<bf196c6c>] (amdgpu_device_init+0xa94/0x1724 [amdgpu])
[   10.678025]  r6:ec552000 r5:ec558000 r4:ec550000
[   10.683241] [<bf1961d8>] (amdgpu_device_init [amdgpu]) from [<bf19aab0>] (amdgpu_driver_load_kms+0x90/0x254 [amdgpu])
[   10.693876]  r10:00000000 r9:ec33f640 r8:00000000 r7:bf3ba000 r6:00000010 r5:ec550000
[   10.701721]  r4:ec05b800
[   10.704589] [<bf19aa20>] (amdgpu_driver_load_kms [amdgpu]) from [<bf06cba8>] (drm_dev_register+0x138/0x1d8 [drm])
[   10.714874]  r7:bf3ba000 r6:00000010 r5:00000000 r4:ec05b800
[   10.720872] [<bf06ca70>] (drm_dev_register [drm]) from [<bf1943e0>] (amdgpu_pci_probe+0xcc/0x148 [amdgpu])
[   10.730549]  r9:bf337440 r8:bf387488 r7:ec05b800 r6:bf337440 r5:ee2a1800 r4:00000000
[   10.738610] [<bf194314>] (amdgpu_pci_probe [amdgpu]) from [<c07b8c90>] (pci_device_probe+0xb4/0x148)
[   10.747765]  r9:bf337440 r8:bf3ba128 r7:00000000 r6:bf3ba0f0 r5:ee2a1800 r4:ee2a1878
[   10.755530] [<c07b8bdc>] (pci_device_probe) from [<c08801c8>] (really_probe+0x2d0/0x3f0)
[   10.763639]  r9:0000000c r8:bf3ba128 r7:00000000 r6:c114e030 r5:ee2a1878 r4:c114e02c
[   10.771402] [<c087fef8>] (really_probe) from [<c0880628>] (driver_probe_device+0x1ac/0x1d4)
[   10.779772]  r10:ec0a5f38 r9:c1005dc8 r8:ec3fa2a4 r7:c1005dc8 r6:bf3ba128 r5:bf3ba128
[   10.787618]  r4:ee2a1878
[   10.790157] [<c088047c>] (driver_probe_device) from [<c088075c>] (__driver_attach+0x10c/0x134)
[   10.798789]  r9:c1005dc8 r8:ec3fa2a4 r7:c1005dc8 r6:bf3ba128 r5:ee2a18ac r4:ee2a1878
[   10.806551] [<c0880650>] (__driver_attach) from [<c087db50>] (bus_for_each_dev+0x84/0xc4)
[   10.814747]  r7:c1005dc8 r6:c0880650 r5:bf3ba128 r4:00000000
[   10.820420] [<c087dacc>] (bus_for_each_dev) from [<c087f93c>] (driver_attach+0x2c/0x30)
[   10.828441]  r7:00000000 r6:ec009a00 r5:c109d050 r4:bf3ba128
[   10.834115] [<c087f910>] (driver_attach) from [<c087f1f4>] (bus_add_driver+0x168/0x268)
[   10.842138] [<c087f08c>] (bus_add_driver) from [<c08814c4>] (driver_register+0x8c/0x124)
[   10.850246]  r7:00000000 r6:ec3fa280 r5:bf3874f0 r4:bf3ba128
[   10.855918] [<c0881438>] (driver_register) from [<c07b6d54>] (__pci_register_driver+0x58/0x5c)
[   10.864547]  r5:bf3874f0 r4:00000000
[   10.868439] [<c07b6cfc>] (__pci_register_driver) from [<bf40407c>] (amdgpu_init+0x7c/0x90 [amdgpu])
[   10.877505]  r5:bf404000 r4:bf3bf6c0
[   10.881394] [<bf404000>] (amdgpu_init [amdgpu]) from [<c01033ac>] (do_one_initcall+0x50/0x210)
[   10.890024]  r5:bf404000 r4:c1005dc8
[   10.893610] [<c010335c>] (do_one_initcall) from [<c01fa6e4>] (do_init_module+0x74/0x224)
[   10.901719]  r8:ec3fa2a4 r7:ec3f8440 r6:ec3fa280 r5:00000001 r4:bf3bf4c0
[   10.908437] [<c01fa670>] (do_init_module) from [<c01f96b4>] (load_module+0x2354/0x28dc)
[   10.916458]  r7:c01f5aa0 r6:ec3fa280 r5:00000001 r4:00000001
[   10.922131] [<c01f7360>] (load_module) from [<c01f9eec>] (sys_finit_module+0xc0/0x110)
[   10.930067]  r10:0000017b r9:ec0a4000 r8:c0101204 r7:b6db61bc r6:00000017 r5:00000000
[   10.937912]  r4:c1005dc8
[   10.940451] [<c01f9e2c>] (sys_finit_module) from [<c01011e4>] (__sys_trace_return+0x0/0x1c)
[   10.948819] Exception stack(0xec0a5fa8 to 0xec0a5ff0)
[   10.953882] 5fa0:                   0066fb68 becbb9a4 00000017 b6db61bc 00000000 006715c0
[   10.962079] 5fc0: 0066fb68 becbb9a4 99e26e00 0000017b 00685340 becbb99c 00000000 00680450
[   10.970275] 5fe0: becbb898 becbb888 b6db0951 b6e5ef42
[   10.975336]  r7:0000017b r6:99e26e00 r5:becbb9a4 r4:0066fb68
[   10.981010] Code: e3451249 e1a04005 e30a2a55 e0850008 (e1d430b0) 
[   10.987118] ---[ end trace 79bebd9e706704aa ]---


[Index of Archives]     [DMA Engine]     [Linux Coverity]     [Linux USB]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Greybus]

  Powered by Linux