bda2127827
Getting address and size cells for dma-ranges/ranges parsing is tricky and shouldn't rely on the node's count_cells() method. The function starts looking for cells on the parent node, as its supposed to work with device nodes, which doesn't work when input with bus nodes, as generally done when parsing ranges. Add test to catch regressions on that specific quirk as developers will be tempted to edit it out in favor of the default method. Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Link: https://lore.kernel.org/r/9200970a917a9cabdc5b17483b5a8725111eb9d0.camel@suse.de Signed-off-by: Rob Herring <robh@kernel.org> |
||
---|---|---|
.. | ||
Makefile | ||
overlay.dts | ||
overlay_0.dts | ||
overlay_1.dts | ||
overlay_2.dts | ||
overlay_3.dts | ||
overlay_4.dts | ||
overlay_5.dts | ||
overlay_6.dts | ||
overlay_7.dts | ||
overlay_8.dts | ||
overlay_9.dts | ||
overlay_10.dts | ||
overlay_11.dts | ||
overlay_12.dts | ||
overlay_13.dts | ||
overlay_15.dts | ||
overlay_bad_add_dup_node.dts | ||
overlay_bad_add_dup_prop.dts | ||
overlay_bad_phandle.dts | ||
overlay_bad_symbol.dts | ||
overlay_base.dts | ||
overlay_gpio_01.dts | ||
overlay_gpio_02a.dts | ||
overlay_gpio_02b.dts | ||
overlay_gpio_03.dts | ||
overlay_gpio_04a.dts | ||
overlay_gpio_04b.dts | ||
testcases.dts | ||
tests-address.dtsi | ||
tests-interrupts.dtsi | ||
tests-match.dtsi | ||
tests-overlay.dtsi | ||
tests-phandle.dtsi | ||
tests-platform.dtsi |