linux/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.dtso of: unittest-data: Fix whitespace - angular brackets 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
overlay_3.dtso
overlay_4.dtso of: unittest-data: Fix whitespace - blank lines 2023-08-23 20:04:17 -05:00
overlay_5.dtso
overlay_6.dtso
overlay_7.dtso
overlay_8.dtso
overlay_9.dtso
overlay_10.dtso
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
overlay_17.dtso
overlay_18.dtso
overlay_19.dtso
overlay_20.dtso
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
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
static_base_1.dts
static_base_2.dts
testcases.dtso
testcases_common.dtsi of: unittest-data: Fix whitespace - blank lines 2023-08-23 20:04:17 -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
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