Lines Matching full:overlay
1836 * the respective unittest overlay contains a label that has the in update_node_properties()
1841 * overlay dts files with an odd prefix that is unlikely to be in update_node_properties()
2179 "Adding overlay 'overlay_gpio_01' failed\n"); in of_unittest_overlay_gpio()
2182 "Adding overlay 'overlay_gpio_02a' failed\n"); in of_unittest_overlay_gpio()
2185 "Adding overlay 'overlay_gpio_02b' failed\n"); in of_unittest_overlay_gpio()
2208 * apply overlay will result in in of_unittest_overlay_gpio()
2218 "Adding overlay 'overlay_gpio_03' failed\n"); in of_unittest_overlay_gpio()
2232 * apply the overlay will result in in of_unittest_overlay_gpio()
2242 "Adding overlay 'overlay_gpio_04a' failed\n"); in of_unittest_overlay_gpio()
2252 * apply the overlay will result in in of_unittest_overlay_gpio()
2259 "Adding overlay 'overlay_gpio_04b' failed\n"); in of_unittest_overlay_gpio()
2334 base = "/testcase-data/overlay-node/test-bus"; in unittest_path()
2337 base = "/testcase-data/overlay-node/test-bus/i2c-test-bus"; in unittest_path()
2374 static const char *bus_path = "/testcase-data/overlay-node/test-bus";
2416 pr_warn("%s: of_overlay_remove() for overlay \"%s\" failed, ret = %d\n", in of_unittest_remove_tracked_overlays()
2427 * The overlay will be tracked, thus it will be removed in of_unittest_apply_overlay()
2436 unittest(0, "could not apply overlay \"%s\"\n", overlay_name); in of_unittest_apply_overlay()
2459 /* apply the overlay */ in __of_unittest_apply_overlay_check()
2479 /* apply an overlay while checking before and after states */
2492 /* apply an overlay and then revert it while checking before, after states */
2504 /* remove the overlay */ in of_unittest_apply_revert_overlay_check()
2533 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_0()
2539 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_0()
2544 unittest(1, "overlay test %d passed\n", 0); in of_unittest_overlay_0()
2553 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_1()
2559 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_1()
2564 unittest(1, "overlay test %d passed\n", 1); in of_unittest_overlay_1()
2574 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_2()
2580 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_2()
2584 unittest(1, "overlay test %d passed\n", 2); in of_unittest_overlay_2()
2593 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_3()
2599 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_3()
2604 unittest(1, "overlay test %d passed\n", 3); in of_unittest_overlay_3()
2614 unittest(1, "overlay test %d passed\n", 4); in of_unittest_overlay_4()
2617 /* test overlay apply/revert sequence */
2623 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_5()
2629 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_5()
2634 unittest(1, "overlay test %d passed\n", 5); in of_unittest_overlay_5()
2637 /* test overlay application in sequence */
2663 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_6()
2670 unittest(0, "could not apply overlay \"%s\"\n", overlay_name); in of_unittest_overlay_6()
2677 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_6()
2680 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_6()
2687 unittest(0, "could not apply overlay \"%s\"\n", overlay_name); in of_unittest_overlay_6()
2694 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_6()
2701 unittest(0, "overlay @\"%s\" failed @\"%s\" %s\n", in of_unittest_overlay_6()
2735 unittest(1, "overlay test %d passed\n", 6); in of_unittest_overlay_6()
2739 /* test overlay application in sequence */
2750 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_8()
2756 unittest(0, "could not apply overlay \"%s\"\n", overlay_name); in of_unittest_overlay_8()
2759 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_8()
2770 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_8()
2776 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_8()
2779 unittest(0, "could not apply overlay \"%s\"\n", overlay_name); in of_unittest_overlay_8()
2786 /* now try to remove first overlay (it should fail) */ in of_unittest_overlay_8()
2790 …"OF: overlay: node_overlaps_later_cs: #6 overlaps with #7 @/testcase-data/overlay-node/test-bus/te… in of_unittest_overlay_8()
2793 "OF: overlay: overlay #6 is not topmost"); in of_unittest_overlay_8()
2798 "OF: overlay: overlay #6 is not topmost"); in of_unittest_overlay_8()
2801 …"OF: overlay: node_overlaps_later_cs: #6 overlaps with #7 @/testcase-data/overlay-node/test-bus/te… in of_unittest_overlay_8()
2806 * subsequent tracking and overlay removal related errors. in of_unittest_overlay_8()
2828 unittest(1, "overlay test %d passed\n", 8); in of_unittest_overlay_8()
2841 "overlay test %d failed; overlay application\n", 10)) in of_unittest_overlay_10()
2846 if (unittest(child_path, "overlay test %d failed; kasprintf\n", 10)) in of_unittest_overlay_10()
2852 unittest(ret, "overlay test %d failed; no child device\n", 10); in of_unittest_overlay_10()
2864 unittest(ret == 0, "overlay test %d failed; overlay apply\n", 11); in of_unittest_overlay_11()
3126 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_i2c_12()
3131 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_i2c_12()
3136 unittest(1, "overlay test %d passed\n", 12); in of_unittest_overlay_i2c_12()
3145 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_i2c_13()
3151 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_i2c_13()
3156 unittest(1, "overlay test %d passed\n", 13); in of_unittest_overlay_i2c_13()
3180 unittest(1, "overlay test %d passed\n", 15); in of_unittest_overlay_i2c_15()
3210 of_node_get(nd->overlay); in of_notify()
3215 found = of_find_node_by_name(nd->overlay, "test-unittest16"); in of_notify()
3223 found = of_find_node_by_name(nd->overlay, "test-unittest17"); in of_notify()
3231 found = of_find_node_by_name(nd->overlay, "test-unittest18"); in of_notify()
3239 found = of_find_node_by_name(nd->overlay, "test-unittest19"); in of_notify()
3247 of_node_put(nd->overlay); in of_notify()
3282 * Applying overlay 20 will not trigger any error in of_notify(). in of_unittest_overlay_notify()
3285 /* --- overlay 16 --- */ in of_unittest_overlay_notify()
3287 …EXPECT_BEGIN(KERN_INFO, "OF: overlay: overlay changeset pre-apply notifier error -16, target: /tes… in of_unittest_overlay_notify()
3292 …EXPECT_END(KERN_INFO, "OF: overlay: overlay changeset pre-apply notifier error -16, target: /testc… in of_unittest_overlay_notify()
3296 /* --- overlay 17 --- */ in of_unittest_overlay_notify()
3298 …EXPECT_BEGIN(KERN_INFO, "OF: overlay: overlay changeset post-apply notifier error -17, target: /te… in of_unittest_overlay_notify()
3303 …EXPECT_END(KERN_INFO, "OF: overlay: overlay changeset post-apply notifier error -17, target: /test… in of_unittest_overlay_notify()
3307 /* --- overlay 18 --- */ in of_unittest_overlay_notify()
3315 …EXPECT_BEGIN(KERN_INFO, "OF: overlay: overlay changeset pre-remove notifier error -18, target: /te… in of_unittest_overlay_notify()
3318 …EXPECT_END(KERN_INFO, "OF: overlay: overlay changeset pre-remove notifier error -18, target: /test… in of_unittest_overlay_notify()
3333 /* --- overlay 19 --- */ in of_unittest_overlay_notify()
3341 …EXPECT_BEGIN(KERN_INFO, "OF: overlay: overlay changeset post-remove notifier error -19, target: /t… in of_unittest_overlay_notify()
3343 …EXPECT_END(KERN_INFO, "OF: overlay: overlay changeset post-remove notifier error -19, target: /tes… in of_unittest_overlay_notify()
3355 /* --- overlay 20 --- */ in of_unittest_overlay_notify()
3358 "overlay notify no injected error\n"); in of_unittest_overlay_notify()
3614 OVERLAY_INFO_EXTERN(overlay);
3651 OVERLAY_INFO(overlay, 0, 0),
3696 * Create base device tree for the overlay unittest.
3701 * and other early boot steps for the normal FDT so that the overlay base
3725 pr_err("no overlay data for %s\n", overlay_name); in unittest_unflatten_overlay_base()
3762 * overlay in the normal fashion. This is a test of the whole
3767 * the overlay. That must be verified separately in user space.
3786 pr_err("no overlay data for %s\n", overlay_name); in overlay_data_apply()
3792 pr_err("no overlay data for %s\n", overlay_name); in overlay_data_apply()
3825 * The purpose of of_unittest_overlay_high_level is to add an overlay
3829 * The first part of the function is _not_ normal overlay usage; it is
3830 * finishing splicing the base overlay device tree into the live tree.
3903 * overlay 'overlay_base' is not allowed to have root in of_unittest_overlay_high_level()
3956 /* now do the normal overlay usage test */ in of_unittest_overlay_high_level()
3958 /* --- overlay --- */ in of_unittest_overlay_high_level()
3961 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/subst… in of_unittest_overlay_high_level()
3963 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairw… in of_unittest_overlay_high_level()
3965 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairw… in of_unittest_overlay_high_level()
3967 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairw… in of_unittest_overlay_high_level()
3969 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/light… in of_unittest_overlay_high_level()
3971 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/light… in of_unittest_overlay_high_level()
3973 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/light… in of_unittest_overlay_high_level()
3975 … "OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/hvac_2"); in of_unittest_overlay_high_level()
3977 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200"… in of_unittest_overlay_high_level()
3979 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200_… in of_unittest_overlay_high_level()
3981 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200_… in of_unittest_overlay_high_level()
3983 ret = overlay_data_apply("overlay", NULL); in of_unittest_overlay_high_level()
3986 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200_… in of_unittest_overlay_high_level()
3988 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200_… in of_unittest_overlay_high_level()
3990 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200"… in of_unittest_overlay_high_level()
3992 … "OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/hvac_2"); in of_unittest_overlay_high_level()
3994 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/light… in of_unittest_overlay_high_level()
3996 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/light… in of_unittest_overlay_high_level()
3998 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/light… in of_unittest_overlay_high_level()
4000 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairw… in of_unittest_overlay_high_level()
4002 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairw… in of_unittest_overlay_high_level()
4004 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairw… in of_unittest_overlay_high_level()
4006 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/subst… in of_unittest_overlay_high_level()
4008 unittest(ret, "Adding overlay 'overlay' failed\n"); in of_unittest_overlay_high_level()
4013 …"OF: overlay: ERROR: multiple fragments add and/or delete node /testcase-data-2/substation@100/mot… in of_unittest_overlay_high_level()
4015 …"OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/subst… in of_unittest_overlay_high_level()
4022 "Adding overlay 'overlay_bad_add_dup_node' failed\n"); in of_unittest_overlay_high_level()
4029 …"OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/subst… in of_unittest_overlay_high_level()
4031 …"OF: overlay: ERROR: multiple fragments add and/or delete node /testcase-data-2/substation@100/mot… in of_unittest_overlay_high_level()
4036 …"OF: overlay: ERROR: multiple fragments add and/or delete node /testcase-data-2/substation@100/mot… in of_unittest_overlay_high_level()
4038 …"OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/subst… in of_unittest_overlay_high_level()
4040 …"OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/subst… in of_unittest_overlay_high_level()
4047 "Adding overlay 'overlay_bad_add_dup_prop' failed\n"); in of_unittest_overlay_high_level()
4054 …"OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/subst… in of_unittest_overlay_high_level()
4056 …"OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/subst… in of_unittest_overlay_high_level()
4058 …"OF: overlay: ERROR: multiple fragments add and/or delete node /testcase-data-2/substation@100/mot… in of_unittest_overlay_high_level()
4063 "Adding overlay 'overlay_bad_phandle' failed\n"); in of_unittest_overlay_high_level()
4073 "Adding overlay 'overlay_bad_symbol' failed\n"); in of_unittest_overlay_high_level()
4085 "OF: resolver: overlay phandle fixup failed: -22"); in of_unittest_overlay_high_level()
4088 "Adding overlay 'overlay_bad_unresolved' failed\n"); in of_unittest_overlay_high_level()
4091 "OF: resolver: overlay phandle fixup failed: -22"); in of_unittest_overlay_high_level()
4130 dev_err(&pdev->dev, "no overlay data for overlay_pci_node"); in testdrv_probe()