Re: [PATCH v3 06/12] dm: Introduce DMA constraints into the core device model

2020-12-18 Thread Simon Glass
Hi Nicolas, On Tue, 15 Dec 2020 at 10:23, Nicolas Saenz Julienne wrote: > > Calculating the DMA offset between a bus address space and CPU's every > time we call phys_to_bus() and bus_to_phys() isn't ideal performance > wise, as it implies traversing the device tree from the device's node up > to

[PATCH v3 06/12] dm: Introduce DMA constraints into the core device model

2020-12-15 Thread Nicolas Saenz Julienne
Calculating the DMA offset between a bus address space and CPU's every time we call phys_to_bus() and bus_to_phys() isn't ideal performance wise, as it implies traversing the device tree from the device's node up to the root. Since this information is static and available before the device's initia