Re: [PATCH v2 12/18] test: pci: Test PCI address conversion functions

2022-04-13 Thread Andrew Scull
On Wed, 13 Apr 2022 at 15:03, Bin Meng wrote: > > On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote: > > > > Add tests for the functions dm_pci_bus_to_phys() and > > dm_pci_phys_to_bus() which convert between PCI bus addresses and > > physical addresses based on the ranges declared for the PCI

Re: [PATCH v2 12/18] test: pci: Test PCI address conversion functions

2022-04-13 Thread Bin Meng
On Wed, Mar 30, 2022 at 12:59 AM Andrew Scull wrote: > > Add tests for the functions dm_pci_bus_to_phys() and > dm_pci_phys_to_bus() which convert between PCI bus addresses and > physical addresses based on the ranges declared for the PCI controller. > > The ranges of bus#1 are used for the tests,

[PATCH v2 12/18] test: pci: Test PCI address conversion functions

2022-03-29 Thread Andrew Scull
Add tests for the functions dm_pci_bus_to_phys() and dm_pci_phys_to_bus() which convert between PCI bus addresses and physical addresses based on the ranges declared for the PCI controller. The ranges of bus#1 are used for the tests, adding a translation to one of the ranges to cover more cases.