Bug 212013 - AMD GPU "can't claim BAR 0" on HP EliteDesk 805, graphics doesn't work
Summary: AMD GPU "can't claim BAR 0" on HP EliteDesk 805, graphics doesn't work
Status: NEW
Alias: None
Product: Drivers
Classification: Unclassified
Component: PCI (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: drivers_pci@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-02 06:23 UTC by Kai-Heng Feng
Modified: 2021-03-02 06:27 UTC (History)
0 users

See Also:
Kernel Version: mainline, linux-next
Tree: Mainline
Regression: No


Attachments
dmesg (77.58 KB, text/plain)
2021-03-02 06:23 UTC, Kai-Heng Feng
Details
lspci (69.83 KB, text/plain)
2021-03-02 06:24 UTC, Kai-Heng Feng
Details
dmesg with the series applied (79.49 KB, text/plain)
2021-03-02 06:26 UTC, Kai-Heng Feng
Details
lspci with the series applied (69.84 KB, text/plain)
2021-03-02 06:27 UTC, Kai-Heng Feng
Details

Description Kai-Heng Feng 2021-03-02 06:23:19 UTC
$ cat dmesg | grep BAR       
[    0.962086] pci 0000:00:08.1: can't claim BAR 15 [mem 0x10030000000-0x100401fffff 64bit pref]: no compatible bridge window
[    0.962086] pci 0000:07:00.0: can't claim BAR 0 [mem 0x10030000000-0x1003fffffff 64bit pref]: no compatible bridge window
[    0.962086] pci 0000:07:00.0: can't claim BAR 2 [mem 0x10040000000-0x100401fffff 64bit pref]: no compatible bridge window
[    1.286550] pci 0000:07:00.0: BAR 0: no space for [mem size 0x10000000 64bit pref]
[    1.286552] pci 0000:07:00.0: BAR 0: trying firmware assignment [mem 0x10030000000-0x1003fffffff 64bit pref]
[    1.286556] pci 0000:07:00.0: BAR 0: [mem 0x10030000000-0x1003fffffff 64bit pref] conflicts with PCI Bus 0000:00 [mem 0x10020200000-0x100303fffff window]
[    1.286558] pci 0000:07:00.0: BAR 0: failed to assign [mem size 0x10000000 64bit pref]
[    1.286560] pci 0000:07:00.0: BAR 2: assigned [mem 0x10030000000-0x100301fffff 64bit pref]
Comment 1 Kai-Heng Feng 2021-03-02 06:23:45 UTC
Created attachment 295561 [details]
dmesg
Comment 2 Kai-Heng Feng 2021-03-02 06:24:10 UTC
Created attachment 295563 [details]
lspci
Comment 3 Kai-Heng Feng 2021-03-02 06:26:15 UTC
Series "[PATCH v9 00/26] PCI: Allow BAR movement during boot and hotplug" [1] can partially solve the issue.

[1] https://lore.kernel.org/linux-pci/20201218174011.340514-1-s.miroshnichenko@yadro.com/
Comment 4 Kai-Heng Feng 2021-03-02 06:26:43 UTC
Created attachment 295565 [details]
dmesg with the series applied
Comment 5 Kai-Heng Feng 2021-03-02 06:27:06 UTC
Created attachment 295567 [details]
lspci with the series applied

Note You need to log in before you can comment on or make changes to this bug.