From: Wolfgang Denk Date: Sat, 07 Feb 2009 23:50:45 +0100 Subject: [U-Boot] [PATCH 2/2] pci: give preference to non-PCI_REGION_SYS_MEMORY regions when matching In-Reply-To: <1233935372-28001-2-git-send-email-galak@kernel.crashing.org> References: <1233935372-28001-1-git-send-email-galak@kernel.crashing.org> <1233935372-28001-2-git-send-email-galak@kernel.crashing.org> Message-ID: <20090207225045.BAC7C8322908@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Kumar Gala, In message <1233935372-28001-2-git-send-email-galak@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 > --- > 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_