Re: [PATCH v2 1/1] pci: definition of pci_addr_t and pci_size_t

2020-02-13 Thread Tom Rini
On Wed, Feb 05, 2020 at 09:59:12PM +0100, Heinrich Schuchardt wrote: > Currently the size of pci_addr_t and pci_size_t depends on > CONFIG_SYS_PCI_64BIT. For qemu_arm64_defconfig with 4 GiB RAM this leads > to an error > > pci_hose_phys_to_bus: invalid physical address > > which is due to

Re: [PATCH v2 1/1] pci: definition of pci_addr_t and pci_size_t

2020-02-05 Thread Simon Glass
On Wed, 5 Feb 2020 at 13:59, Heinrich Schuchardt wrote: > > Currently the size of pci_addr_t and pci_size_t depends on > CONFIG_SYS_PCI_64BIT. For qemu_arm64_defconfig with 4 GiB RAM this leads > to an error > > pci_hose_phys_to_bus: invalid physical address > > which is due to the truncation

[PATCH v2 1/1] pci: definition of pci_addr_t and pci_size_t

2020-02-05 Thread Heinrich Schuchardt
Currently the size of pci_addr_t and pci_size_t depends on CONFIG_SYS_PCI_64BIT. For qemu_arm64_defconfig with 4 GiB RAM this leads to an error pci_hose_phys_to_bus: invalid physical address which is due to the truncation of the bus address in _dm_pci_phys_to_bus. Defining