linux-next/drivers/of/unittest-data
Andrea della Porta 1a75e81baf of/unittest: Add empty dma-ranges address translation tests
Intermediate DT PCI nodes dynamically generated by enabling
CONFIG_PCI_DYNAMIC_OF_NODES have empty dma-ranges property. PCI address
specifiers have 3 cells and when dma-ranges is missing or empty,
of_translate_one() is currently dropping the flag portion of PCI addresses
which are subnodes of the aforementioned ones, failing the translation.
Add new tests covering this case.

With this test, we get 1 new failure which is fixed in subsequent
commit:

FAIL of_unittest_pci_empty_dma_ranges():1245 for_each_of_pci_range wrong CPU addr (ffffffffffffffff) on node /testcase-data/address-tests2/pcie@d1070000/pci@0,0/dev@0,0/local-bus@0

Signed-off-by: Andrea della Porta <andrea.porta@suse.com>
Link: https://lore.kernel.org/r/08f8fee4fdc0379240fda2f4a0e6f11ebf9647a8.1732441813.git.andrea.porta@suse.com
Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
2024-11-27 09:18:04 -06:00
..
Makefile of: overlay: unittest: Add test for unresolved symbol 2023-08-23 20:04:17 -05:00
overlay_0.dtso of: unittest-data: Convert remaining overlay DTS files to sugar syntax 2023-08-23 20:04:17 -05:00
overlay_1.dtso of: unittest-data: Convert remaining overlay DTS files to sugar syntax 2023-08-23 20:04:17 -05:00
overlay_2.dtso of: overlay: rename overlay source files from .dts to .dtso 2022-10-26 09:02:28 -05:00
overlay_3.dtso of: overlay: rename overlay source files from .dts to .dtso 2022-10-26 09:02:28 -05:00
overlay_4.dtso of: unittest-data: Fix whitespace - blank lines 2023-08-23 20:04:17 -05:00
overlay_5.dtso of: overlay: rename overlay source files from .dts to .dtso 2022-10-26 09:02:28 -05:00
overlay_6.dtso of: overlay: rename overlay source files from .dts to .dtso 2022-10-26 09:02:28 -05:00
overlay_7.dtso of: overlay: rename overlay source files from .dts to .dtso 2022-10-26 09:02:28 -05:00
overlay_8.dtso of: overlay: rename overlay source files from .dts to .dtso 2022-10-26 09:02:28 -05:00
overlay_9.dtso of: overlay: rename overlay source files from .dts to .dtso 2022-10-26 09:02:28 -05:00
overlay_10.dtso of: overlay: rename overlay source files from .dts to .dtso 2022-10-26 09:02:28 -05:00
overlay_11.dtso of: unittest-data: Fix whitespace - blank lines 2023-08-23 20:04:17 -05:00
overlay_12.dtso of: unittest-data: Convert remaining overlay DTS files to sugar syntax 2023-08-23 20:04:17 -05:00
overlay_13.dtso of: unittest-data: Convert remaining overlay DTS files to sugar syntax 2023-08-23 20:04:17 -05:00
overlay_15.dtso of: unittest-data: Fix whitespace - blank lines 2023-08-23 20:04:17 -05:00
overlay_16.dtso of: overlay: rename overlay source files from .dts to .dtso 2022-10-26 09:02:28 -05:00
overlay_17.dtso of: overlay: rename overlay source files from .dts to .dtso 2022-10-26 09:02:28 -05:00
overlay_18.dtso of: overlay: rename overlay source files from .dts to .dtso 2022-10-26 09:02:28 -05:00
overlay_19.dtso of: overlay: rename overlay source files from .dts to .dtso 2022-10-26 09:02:28 -05:00
overlay_20.dtso of: overlay: rename overlay source files from .dts to .dtso 2022-10-26 09:02:28 -05:00
overlay_bad_add_dup_node.dtso of: unittest-data: Fix whitespace - angular brackets 2023-08-23 20:04:17 -05:00
overlay_bad_add_dup_prop.dtso of: unittest-data: Fix whitespace - angular brackets 2023-08-23 20:04:17 -05:00
overlay_bad_phandle.dtso of: unittest-data: Fix whitespace - angular brackets 2023-08-23 20:04:17 -05:00
overlay_bad_symbol.dtso of: unittest-data: Fix whitespace - angular brackets 2023-08-23 20:04:17 -05:00
overlay_bad_unresolved.dtso of: overlay: unittest: overlay_bad_unresolved: Spelling s/ok/okay/ 2023-10-27 16:37:42 -05:00
overlay_base.dtso of: overlay: rename overlay source files from .dts to .dtso 2022-10-26 09:02:28 -05:00
overlay_common.dtsi of: unittest-data: Fix whitespace - angular brackets 2023-08-23 20:04:17 -05:00
overlay_gpio_01.dtso of: unittest-data: Fix whitespace - blank lines 2023-08-23 20:04:17 -05:00
overlay_gpio_02a.dtso of: unittest-data: Fix whitespace - blank lines 2023-08-23 20:04:17 -05:00
overlay_gpio_02b.dtso of: unittest-data: Fix whitespace - blank lines 2023-08-23 20:04:17 -05:00
overlay_gpio_03.dtso of: unittest-data: Fix whitespace - blank lines 2023-08-23 20:04:17 -05:00
overlay_gpio_04a.dtso of: unittest-data: Fix whitespace - blank lines 2023-08-23 20:04:17 -05:00
overlay_gpio_04b.dtso of: unittest-data: Fix whitespace - blank lines 2023-08-23 20:04:17 -05:00
overlay_pci_node.dtso of: unittest: Add pci_dt_testdrv pci driver 2023-08-22 14:56:10 -05:00
overlay.dtso of: unittest-data: Fix whitespace - angular brackets 2023-08-23 20:04:17 -05:00
static_base_1.dts of: unittest: Statically apply overlays using fdtoverlay 2021-03-23 15:27:51 -06:00
static_base_2.dts of: unittest: Statically apply overlays using fdtoverlay 2021-03-23 15:27:51 -06:00
testcases_common.dtsi of: unittest-data: Fix whitespace - blank lines 2023-08-23 20:04:17 -05:00
testcases.dtso of: overlay: rename overlay source files from .dts to .dtso 2022-10-26 09:02:28 -05:00
tests-address.dtsi of/unittest: Add empty dma-ranges address translation tests 2024-11-27 09:18:04 -06:00
tests-interrupts.dtsi of: unittest-data: Fix whitespace - blank lines 2023-08-23 20:04:17 -05:00
tests-lifecycle.dtsi of: unittest: add node lifecycle tests 2023-02-20 15:36:51 -06:00
tests-match.dtsi License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
tests-overlay.dtsi of: unittest-data: Fix whitespace - blank lines 2023-08-23 20:04:17 -05:00
tests-phandle.dtsi of: Fix double free in of_parse_phandle_with_args_map 2024-01-09 12:54:02 -06:00
tests-platform.dtsi License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00