[U-Boot] [PATCH 2/2] pci: give preference to non-PCI_REGION_SYS_MEMORY regions when matching

Wolfgang Denk wd at denx.de
Sat Feb 7 23:50:45 CET 2009


Dear Kumar Gala,

In message <1233935372-28001-2-git-send-email-galak at kernel.crashing.org> you wrote:
> 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: Kumar Gala <galak at kernel.crashing.org>
> ---
>  drivers/pci/pci.c |  102 ++++++++++++++++++++++++++++++++++++++++------------
>  1 files changed, 78 insertions(+), 24 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It's all Klatchian to me.
        - Terry Pratchett & Stephen Briggs, _The Discworld Companion_


More information about the U-Boot mailing list