From: FengHua Date: Fri, 14 Feb 2014 10:36:20 +0800 (GMT+08:00) Subject: [U-Boot] [PATCH][RFC v2] add pci 64 bit prefechable mem support In-Reply-To: <20140213163024.BB8BF3805FF@gemini.denx.de> References: <1392282108-56485-1-git-send-email-fenghua@phytium.com.cn> <20140213163024.BB8BF3805FF@gemini.denx.de> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de > -----Original Messages----- > From: "Wolfgang Denk" > Sent Time: 2014-02-14 00:30:24 (Friday) > To: fenghua at phytium.com.cn > Cc: u-boot at lists.denx.de, trini at ti.com, albert.u.boot at aribaud.net > Subject: Re: [PATCH][RFC v2] add pci 64 bit prefechable mem support > > Dear fenghua at phytium.com.cn, > > In message <1392282108-56485-1-git-send-email-fenghua@phytium.com.cn> you wrote: > > From: David Feng > > > > u-boot did not program the upper 32 bits of prefetchable base and limit > > in pci bridge config space. I think it's needed when 64 bit address space > > is used. > > You write "I think it's needed" - is it or not? > > Do you have a specific test case that fails without your patch, and > works with it? > > Best regards, > > Wolfgang Denk. There's no test case now (maybe a few days later I could make a test). "PCI-to-PCI Bridge Architecture Specification" require that the upper 32 bit of prefetchable space must be initialized by configuration software. But usually the default value is zero already. A board using 64 bit pci prefetchable memory space and a pci device with 64 bit prefetchable space are needed. I think u-boot did not encounter this situation before. Best Regards, David