Re: [PATCH v7 03/60] sparc/PCI: Unify pci_register_region()

From: David Miller
Date: Wed Oct 21 2015 - 21:10:54 EST


From: Yinghai Lu <yinghai@xxxxxxxxxx>
Date: Wed, 21 Oct 2015 11:16:53 -0700

> otherwise we need to compare res with pbm->mem_space or pbm->mem64_space
> to get direct parent for request_resource_conflict() calling in
> pci_register_legacy_regions().

Right, this is the issue.

On sparc64, the cpu physical base address used for accessing 64-bit
and non-64-bit memory spaces is different.

And that's why the resource values will be different.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/