Skip to content
Snippets Groups Projects
Commit 2d43e873 authored by Kumar Gala's avatar Kumar Gala Committed by Wolfgang Denk
Browse files

pci: give preference to non-PCI_REGION_SYS_MEMORY regions when matching


When we search for an address match in pci_hose_{phys_to_bus,bus_to_phys}
we should give preference to memory regions that aren't system memory.

Its possible that we have over mapped system memory in the regions and
we want to avoid depending on the order of the regions.

Signed-off-by: default avatarKumar Gala <galak@kernel.crashing.org>
parent ff4e66e9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment