Re: [PATCH v1 0/2] PCI: Sparc 64-bit resource fixups

From: David Miller
Date: Sun Mar 18 2018 - 12:07:43 EST


From: Bjorn Helgaas <helgaas@xxxxxxxxxx>
Date: Tue, 20 Feb 2018 17:39:35 -0600

> Both these patches are on my pci/sparc branch and appeared in the
> Feb 19 linux-next tree.
>
> Any testing and feedback (especially on the second patch, which should
> change /proc/iomem) would be great.
>
> They're headed for v4.17 unless I hear about issues.
>
> It would be useful to hear about what's still broken so I can try to
> pull in the other patches.

I don't understand why you put the SYSTEM and Video ROM at addresses
relative to absolute zero. The result of this is that it might
overlap real physical memory.

If a VGA card is present, it's ROM will respond to those addresses
relative to the PCI controller's MEM space area.

Their legacy resources are "hardwired", but those hardwired addresses
need to be relative to the PCI host controller's MEM areas in order
for them to be accessible.

I could understand removing the System ROM resource altogether, that
makes a lot of sense to me.

Thanks.