Hello, On Tue, 18 Dec 2018 12:31:51 +0000, Luís Mendes wrote: > 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 > <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=v4.20-rc7&id=1f08673eef1236f7d02d93fcf596bb8531ef0d12> > then > amdgpu successfully initializes. > > The kernel oops follows in attachment. Thanks for the bug report! I have an idea of what could be causing this, I've cooked a patch, I'm doing a build test. I of course won't be able to test it as I don't have amdgpu hardware, but I'll share the patch with you for testing. Note: I'm not sure where you found <linux-pci@xxxxxxxxxxxxxxxxxxxxxxxx> to be the address of the linux-pci mailing list, it's really linux-pci@xxxxxxxxxxxxxxx. Best regards, Thomas -- Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com