Lines Matching full:overlay

1557 	 *    the respective unittest overlay contains a label that has the  in update_node_properties()
1562 * overlay dts files with an odd prefix that is unlikely to be in update_node_properties()
1904 "Adding overlay 'overlay_gpio_01' failed\n"); in of_unittest_overlay_gpio()
1907 "Adding overlay 'overlay_gpio_02a' failed\n"); in of_unittest_overlay_gpio()
1910 "Adding overlay 'overlay_gpio_02b' failed\n"); in of_unittest_overlay_gpio()
1933 * apply overlay will result in in of_unittest_overlay_gpio()
1943 "Adding overlay 'overlay_gpio_03' failed\n"); in of_unittest_overlay_gpio()
1957 * apply the overlay will result in in of_unittest_overlay_gpio()
1967 "Adding overlay 'overlay_gpio_04a' failed\n"); in of_unittest_overlay_gpio()
1977 * apply the overlay will result in in of_unittest_overlay_gpio()
1984 "Adding overlay 'overlay_gpio_04b' failed\n"); in of_unittest_overlay_gpio()
2059 base = "/testcase-data/overlay-node/test-bus"; in unittest_path()
2062 base = "/testcase-data/overlay-node/test-bus/i2c-test-bus"; in unittest_path()
2099 static const char *bus_path = "/testcase-data/overlay-node/test-bus";
2141 pr_warn("%s: of_overlay_remove() for overlay \"%s\" failed, ret = %d\n", in of_unittest_remove_tracked_overlays()
2152 * The overlay will be tracked, thus it will be removed in of_unittest_apply_overlay()
2161 unittest(0, "could not apply overlay \"%s\"\n", overlay_name); in of_unittest_apply_overlay()
2184 /* apply the overlay */ in __of_unittest_apply_overlay_check()
2204 /* apply an overlay while checking before and after states */
2217 /* apply an overlay and then revert it while checking before, after states */
2229 /* remove the overlay */ in of_unittest_apply_revert_overlay_check()
2258 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_0()
2264 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_0()
2269 unittest(1, "overlay test %d passed\n", 0); in of_unittest_overlay_0()
2278 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_1()
2284 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_1()
2289 unittest(1, "overlay test %d passed\n", 1); in of_unittest_overlay_1()
2299 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_2()
2305 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_2()
2309 unittest(1, "overlay test %d passed\n", 2); in of_unittest_overlay_2()
2318 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_3()
2324 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_3()
2329 unittest(1, "overlay test %d passed\n", 3); in of_unittest_overlay_3()
2339 unittest(1, "overlay test %d passed\n", 4); in of_unittest_overlay_4()
2342 /* test overlay apply/revert sequence */
2348 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_5()
2354 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_5()
2359 unittest(1, "overlay test %d passed\n", 5); in of_unittest_overlay_5()
2362 /* test overlay application in sequence */
2388 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_6()
2395 unittest(0, "could not apply overlay \"%s\"\n", overlay_name); in of_unittest_overlay_6()
2402 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_6()
2405 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_6()
2412 unittest(0, "could not apply overlay \"%s\"\n", overlay_name); in of_unittest_overlay_6()
2419 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_6()
2426 unittest(0, "overlay @\"%s\" failed @\"%s\" %s\n", in of_unittest_overlay_6()
2460 unittest(1, "overlay test %d passed\n", 6); in of_unittest_overlay_6()
2464 /* test overlay application in sequence */
2475 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_8()
2481 unittest(0, "could not apply overlay \"%s\"\n", overlay_name); in of_unittest_overlay_8()
2484 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_8()
2495 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_8()
2501 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_8()
2504 unittest(0, "could not apply overlay \"%s\"\n", overlay_name); in of_unittest_overlay_8()
2511 /* now try to remove first overlay (it should fail) */ in of_unittest_overlay_8()
2515 …"OF: overlay: node_overlaps_later_cs: #6 overlaps with #7 @/testcase-data/overlay-node/test-bus/te… in of_unittest_overlay_8()
2518 "OF: overlay: overlay #6 is not topmost"); in of_unittest_overlay_8()
2523 "OF: overlay: overlay #6 is not topmost"); in of_unittest_overlay_8()
2526 …"OF: overlay: node_overlaps_later_cs: #6 overlaps with #7 @/testcase-data/overlay-node/test-bus/te… in of_unittest_overlay_8()
2531 * subsequent tracking and overlay removal related errors. in of_unittest_overlay_8()
2553 unittest(1, "overlay test %d passed\n", 8); in of_unittest_overlay_8()
2566 "overlay test %d failed; overlay application\n", 10)) in of_unittest_overlay_10()
2571 if (unittest(child_path, "overlay test %d failed; kasprintf\n", 10)) in of_unittest_overlay_10()
2577 unittest(ret, "overlay test %d failed; no child device\n", 10); in of_unittest_overlay_10()
2589 unittest(ret == 0, "overlay test %d failed; overlay apply\n", 11); in of_unittest_overlay_11()
2851 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_i2c_12()
2856 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_i2c_12()
2861 unittest(1, "overlay test %d passed\n", 12); in of_unittest_overlay_i2c_12()
2870 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_i2c_13()
2876 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay in of_unittest_overlay_i2c_13()
2881 unittest(1, "overlay test %d passed\n", 13); in of_unittest_overlay_i2c_13()
2905 unittest(1, "overlay test %d passed\n", 15); in of_unittest_overlay_i2c_15()
2935 of_node_get(nd->overlay); in of_notify()
2940 found = of_find_node_by_name(nd->overlay, "test-unittest16"); in of_notify()
2948 found = of_find_node_by_name(nd->overlay, "test-unittest17"); in of_notify()
2956 found = of_find_node_by_name(nd->overlay, "test-unittest18"); in of_notify()
2964 found = of_find_node_by_name(nd->overlay, "test-unittest19"); in of_notify()
2972 of_node_put(nd->overlay); in of_notify()
3007 * Applying overlay 20 will not trigger any error in of_notify(). in of_unittest_overlay_notify()
3010 /* --- overlay 16 --- */ in of_unittest_overlay_notify()
3012 …EXPECT_BEGIN(KERN_INFO, "OF: overlay: overlay changeset pre-apply notifier error -16, target: /tes… in of_unittest_overlay_notify()
3017 …EXPECT_END(KERN_INFO, "OF: overlay: overlay changeset pre-apply notifier error -16, target: /testc… in of_unittest_overlay_notify()
3021 /* --- overlay 17 --- */ in of_unittest_overlay_notify()
3023 …EXPECT_BEGIN(KERN_INFO, "OF: overlay: overlay changeset post-apply notifier error -17, target: /te… in of_unittest_overlay_notify()
3028 …EXPECT_END(KERN_INFO, "OF: overlay: overlay changeset post-apply notifier error -17, target: /test… in of_unittest_overlay_notify()
3032 /* --- overlay 18 --- */ in of_unittest_overlay_notify()
3040 …EXPECT_BEGIN(KERN_INFO, "OF: overlay: overlay changeset pre-remove notifier error -18, target: /te… in of_unittest_overlay_notify()
3043 …EXPECT_END(KERN_INFO, "OF: overlay: overlay changeset pre-remove notifier error -18, target: /test… in of_unittest_overlay_notify()
3058 /* --- overlay 19 --- */ in of_unittest_overlay_notify()
3066 …EXPECT_BEGIN(KERN_INFO, "OF: overlay: overlay changeset post-remove notifier error -19, target: /t… in of_unittest_overlay_notify()
3068 …EXPECT_END(KERN_INFO, "OF: overlay: overlay changeset post-remove notifier error -19, target: /tes… in of_unittest_overlay_notify()
3080 /* --- overlay 20 --- */ in of_unittest_overlay_notify()
3083 "overlay notify no injected error\n"); in of_unittest_overlay_notify()
3339 OVERLAY_INFO_EXTERN(overlay);
3376 OVERLAY_INFO(overlay, 0, 0),
3427 * Create base device tree for the overlay unittest.
3432 * and other early boot steps for the normal FDT so that the overlay base
3456 pr_err("no overlay data for %s\n", overlay_name); in unittest_unflatten_overlay_base()
3493 * overlay in the normal fashion. This is a test of the whole
3498 * the overlay. That must be verified separately in user space.
3517 pr_err("no overlay data for %s\n", overlay_name); in overlay_data_apply()
3523 pr_err("no overlay data for %s\n", overlay_name); in overlay_data_apply()
3556 * The purpose of of_unittest_overlay_high_level is to add an overlay
3560 * The first part of the function is _not_ normal overlay usage; it is
3561 * finishing splicing the base overlay device tree into the live tree.
3634 * overlay 'overlay_base' is not allowed to have root in of_unittest_overlay_high_level()
3689 /* now do the normal overlay usage test */ in of_unittest_overlay_high_level()
3691 /* --- overlay --- */ in of_unittest_overlay_high_level()
3694 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/subst… in of_unittest_overlay_high_level()
3696 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairw… in of_unittest_overlay_high_level()
3698 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairw… in of_unittest_overlay_high_level()
3700 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairw… in of_unittest_overlay_high_level()
3702 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/light… in of_unittest_overlay_high_level()
3704 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/light… in of_unittest_overlay_high_level()
3706 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/light… in of_unittest_overlay_high_level()
3708 … "OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/hvac_2"); in of_unittest_overlay_high_level()
3710 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200"… in of_unittest_overlay_high_level()
3712 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200_… in of_unittest_overlay_high_level()
3714 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200_… in of_unittest_overlay_high_level()
3716 ret = overlay_data_apply("overlay", NULL); in of_unittest_overlay_high_level()
3719 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200_… in of_unittest_overlay_high_level()
3721 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200_… in of_unittest_overlay_high_level()
3723 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200"… in of_unittest_overlay_high_level()
3725 … "OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/hvac_2"); in of_unittest_overlay_high_level()
3727 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/light… in of_unittest_overlay_high_level()
3729 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/light… in of_unittest_overlay_high_level()
3731 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/light… in of_unittest_overlay_high_level()
3733 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairw… in of_unittest_overlay_high_level()
3735 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairw… in of_unittest_overlay_high_level()
3737 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairw… in of_unittest_overlay_high_level()
3739 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/subst… in of_unittest_overlay_high_level()
3741 unittest(ret, "Adding overlay 'overlay' failed\n"); in of_unittest_overlay_high_level()
3746 …"OF: overlay: ERROR: multiple fragments add and/or delete node /testcase-data-2/substation@100/mot… in of_unittest_overlay_high_level()
3748 …"OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/subst… in of_unittest_overlay_high_level()
3755 "Adding overlay 'overlay_bad_add_dup_node' failed\n"); in of_unittest_overlay_high_level()
3762 …"OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/subst… in of_unittest_overlay_high_level()
3764 …"OF: overlay: ERROR: multiple fragments add and/or delete node /testcase-data-2/substation@100/mot… in of_unittest_overlay_high_level()
3769 …"OF: overlay: ERROR: multiple fragments add and/or delete node /testcase-data-2/substation@100/mot… in of_unittest_overlay_high_level()
3771 …"OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/subst… in of_unittest_overlay_high_level()
3773 …"OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/subst… in of_unittest_overlay_high_level()
3780 "Adding overlay 'overlay_bad_add_dup_prop' failed\n"); in of_unittest_overlay_high_level()
3787 …"OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/subst… in of_unittest_overlay_high_level()
3789 …"OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/subst… in of_unittest_overlay_high_level()
3791 …"OF: overlay: ERROR: multiple fragments add and/or delete node /testcase-data-2/substation@100/mot… in of_unittest_overlay_high_level()
3796 "Adding overlay 'overlay_bad_phandle' failed\n"); in of_unittest_overlay_high_level()
3806 "Adding overlay 'overlay_bad_symbol' failed\n"); in of_unittest_overlay_high_level()
3818 "OF: resolver: overlay phandle fixup failed: -22"); in of_unittest_overlay_high_level()
3821 "Adding overlay 'overlay_bad_unresolved' failed\n"); in of_unittest_overlay_high_level()
3824 "OF: resolver: overlay phandle fixup failed: -22"); in of_unittest_overlay_high_level()
3863 dev_err(&pdev->dev, "no overlay data for overlay_pci_node"); in testdrv_probe()