[U-Boot] [PATCH] pci: Treat all PCI bus addresses as 64-bit

Jerry Van Baren gerald.vanbaren at ge.com
Tue Oct 21 16:55:25 CEST 2008


Wolfgang Denk wrote:
> Dear Kumar Gala,
> 
> In message <1224598531-2698-1-git-send-email-galak at kernel.crashing.org> you wrote:
>> PCI bus is inherently 64-bit.  We should treat all PCI related bus
>> addresses as 64-bit quanities.  This allows us to have the ability
>> to support devices or memory on the PCI bus above the 32-bit boundary.
> 
> I don't think this is a good idea. There are pure 32 bit systems  out
> there which will never use more than 32 bit for the PCI resources, so
> why load them with the additional memory size and execution time?
> 
> Should we not enable this only for such systems that actually need it?
> 
> Best regards,
> 
> Wolfgang Denk

Why would we not use phys_addr_t and phys_size_t for the PCI addresses?

Best regards,
gvb


More information about the U-Boot mailing list