Lines Matching full:overlay
1543 * the respective unittest overlay contains a label that has the in update_node_properties()
1548 * overlay dts files with an odd prefix that is unlikely to be in update_node_properties()
1890 "Adding overlay 'overlay_gpio_01' failed\n"); in of_unittest_overlay_gpio()
1893 "Adding overlay 'overlay_gpio_02a' failed\n"); in of_unittest_overlay_gpio()
1896 "Adding overlay 'overlay_gpio_02b' failed\n"); in of_unittest_overlay_gpio()
1919 * apply overlay will result in in of_unittest_overlay_gpio()
1929 "Adding overlay 'overlay_gpio_03' failed\n"); in of_unittest_overlay_gpio()
1943 * apply the overlay will result in in of_unittest_overlay_gpio()
1953 "Adding overlay 'overlay_gpio_04a' failed\n"); in of_unittest_overlay_gpio()
1963 * apply the overlay will result in in of_unittest_overlay_gpio()
1970 "Adding overlay 'overlay_gpio_04b' failed\n"); in of_unittest_overlay_gpio()
2045 base = "/testcase-data/overlay-node/test-bus"; in unittest_path()
2048 base = "/testcase-data/overlay-node/test-bus/i2c-test-bus"; in unittest_path()
2085 static const char *bus_path = "/testcase-data/overlay-node/test-bus";
2127 pr_warn("%s: of_overlay_remove() for overlay \"%s\" failed, ret = %d\n", in of_unittest_remove_tracked_overlays()
2138 * The overlay will be tracked, thus it will be removed in of_unittest_apply_overlay()
2147 unittest(0, "could not apply overlay \"%s\"\n", overlay_name); in of_unittest_apply_overlay()
2170 /* apply the overlay */ in __of_unittest_apply_overlay_check()
2190 /* apply an overlay while checking before and after states */
2203 /* apply an overlay and then revert it while checking before, after states */
2215 /* remove the overlay */ in of_unittest_apply_revert_overlay_check()
2244 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_0()
2250 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_0()
2255 unittest(1, "overlay test %d passed\n", 0); in of_unittest_overlay_0()
2264 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_1()
2270 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_1()
2275 unittest(1, "overlay test %d passed\n", 1); in of_unittest_overlay_1()
2285 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_2()
2291 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_2()
2295 unittest(1, "overlay test %d passed\n", 2); in of_unittest_overlay_2()
2304 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_3()
2310 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_3()
2315 unittest(1, "overlay test %d passed\n", 3); in of_unittest_overlay_3()
2325 unittest(1, "overlay test %d passed\n", 4); in of_unittest_overlay_4()
2328 /* test overlay apply/revert sequence */
2334 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_5()
2340 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_5()
2345 unittest(1, "overlay test %d passed\n", 5); in of_unittest_overlay_5()
2348 /* test overlay application in sequence */
2374 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_6()
2381 unittest(0, "could not apply overlay \"%s\"\n", overlay_name); in of_unittest_overlay_6()
2388 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_6()
2391 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_6()
2398 unittest(0, "could not apply overlay \"%s\"\n", overlay_name); 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, "overlay @\"%s\" failed @\"%s\" %s\n", in of_unittest_overlay_6()
2446 unittest(1, "overlay test %d passed\n", 6); in of_unittest_overlay_6()
2450 /* test overlay application in sequence */
2461 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_8()
2467 unittest(0, "could not apply overlay \"%s\"\n", overlay_name); in of_unittest_overlay_8()
2470 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_8()
2481 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_8()
2487 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_8()
2490 unittest(0, "could not apply overlay \"%s\"\n", overlay_name); in of_unittest_overlay_8()
2497 /* now try to remove first overlay (it should fail) */ in of_unittest_overlay_8()
2501 …"OF: overlay: node_overlaps_later_cs: #6 overlaps with #7 @/testcase-data/overlay-node/test-bus/te… in of_unittest_overlay_8()
2504 "OF: overlay: overlay #6 is not topmost"); in of_unittest_overlay_8()
2509 "OF: overlay: overlay #6 is not topmost"); in of_unittest_overlay_8()
2512 …"OF: overlay: node_overlaps_later_cs: #6 overlaps with #7 @/testcase-data/overlay-node/test-bus/te… in of_unittest_overlay_8()
2517 * subsequent tracking and overlay removal related errors. in of_unittest_overlay_8()
2539 unittest(1, "overlay test %d passed\n", 8); in of_unittest_overlay_8()
2552 "overlay test %d failed; overlay application\n", 10)) in of_unittest_overlay_10()
2557 if (unittest(child_path, "overlay test %d failed; kasprintf\n", 10)) in of_unittest_overlay_10()
2563 unittest(ret, "overlay test %d failed; no child device\n", 10); in of_unittest_overlay_10()
2575 unittest(ret == 0, "overlay test %d failed; overlay apply\n", 11); in of_unittest_overlay_11()
2837 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_i2c_12()
2842 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_i2c_12()
2847 unittest(1, "overlay test %d passed\n", 12); 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_13()
2862 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data/overlay… in of_unittest_overlay_i2c_13()
2867 unittest(1, "overlay test %d passed\n", 13); in of_unittest_overlay_i2c_13()
2891 unittest(1, "overlay test %d passed\n", 15); in of_unittest_overlay_i2c_15()
2921 of_node_get(nd->overlay); in of_notify()
2926 found = of_find_node_by_name(nd->overlay, "test-unittest16"); in of_notify()
2934 found = of_find_node_by_name(nd->overlay, "test-unittest17"); in of_notify()
2942 found = of_find_node_by_name(nd->overlay, "test-unittest18"); in of_notify()
2950 found = of_find_node_by_name(nd->overlay, "test-unittest19"); in of_notify()
2958 of_node_put(nd->overlay); in of_notify()
2993 * Applying overlay 20 will not trigger any error in of_notify(). in of_unittest_overlay_notify()
2996 /* --- overlay 16 --- */ in of_unittest_overlay_notify()
2998 …EXPECT_BEGIN(KERN_INFO, "OF: overlay: overlay changeset pre-apply notifier error -16, target: /tes… in of_unittest_overlay_notify()
3003 …EXPECT_END(KERN_INFO, "OF: overlay: overlay changeset pre-apply notifier error -16, target: /testc… in of_unittest_overlay_notify()
3007 /* --- overlay 17 --- */ in of_unittest_overlay_notify()
3009 …EXPECT_BEGIN(KERN_INFO, "OF: overlay: overlay changeset post-apply notifier error -17, target: /te… in of_unittest_overlay_notify()
3014 …EXPECT_END(KERN_INFO, "OF: overlay: overlay changeset post-apply notifier error -17, target: /test… in of_unittest_overlay_notify()
3018 /* --- overlay 18 --- */ in of_unittest_overlay_notify()
3026 …EXPECT_BEGIN(KERN_INFO, "OF: overlay: overlay changeset pre-remove notifier error -18, target: /te… in of_unittest_overlay_notify()
3029 …EXPECT_END(KERN_INFO, "OF: overlay: overlay changeset pre-remove notifier error -18, target: /test… in of_unittest_overlay_notify()
3044 /* --- overlay 19 --- */ in of_unittest_overlay_notify()
3052 …EXPECT_BEGIN(KERN_INFO, "OF: overlay: overlay changeset post-remove notifier error -19, target: /t… in of_unittest_overlay_notify()
3054 …EXPECT_END(KERN_INFO, "OF: overlay: overlay changeset post-remove notifier error -19, target: /tes… in of_unittest_overlay_notify()
3066 /* --- overlay 20 --- */ in of_unittest_overlay_notify()
3069 "overlay notify no injected error\n"); in of_unittest_overlay_notify()
3325 OVERLAY_INFO_EXTERN(overlay);
3362 OVERLAY_INFO(overlay, 0, 0),
3413 * Create base device tree for the overlay unittest.
3418 * and other early boot steps for the normal FDT so that the overlay base
3442 pr_err("no overlay data for %s\n", overlay_name); in unittest_unflatten_overlay_base()
3479 * overlay in the normal fashion. This is a test of the whole
3484 * the overlay. That must be verified separately in user space.
3503 pr_err("no overlay data for %s\n", overlay_name); in overlay_data_apply()
3509 pr_err("no overlay data for %s\n", overlay_name); in overlay_data_apply()
3542 * The purpose of of_unittest_overlay_high_level is to add an overlay
3546 * The first part of the function is _not_ normal overlay usage; it is
3547 * finishing splicing the base overlay device tree into the live tree.
3620 * overlay 'overlay_base' is not allowed to have root in of_unittest_overlay_high_level()
3675 /* now do the normal overlay usage test */ in of_unittest_overlay_high_level()
3677 /* --- overlay --- */ in of_unittest_overlay_high_level()
3680 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/subst… in of_unittest_overlay_high_level()
3682 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairw… in of_unittest_overlay_high_level()
3684 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairw… in of_unittest_overlay_high_level()
3686 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairw… in of_unittest_overlay_high_level()
3688 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/light… in of_unittest_overlay_high_level()
3690 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/light… in of_unittest_overlay_high_level()
3692 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/light… in of_unittest_overlay_high_level()
3694 … "OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/hvac_2"); in of_unittest_overlay_high_level()
3696 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200"… in of_unittest_overlay_high_level()
3698 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200_… in of_unittest_overlay_high_level()
3700 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200_… in of_unittest_overlay_high_level()
3702 ret = overlay_data_apply("overlay", NULL); in of_unittest_overlay_high_level()
3705 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200_… in of_unittest_overlay_high_level()
3707 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200_… in of_unittest_overlay_high_level()
3709 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/ride_200"… in of_unittest_overlay_high_level()
3711 … "OF: overlay: WARNING: memory leak will occur if overlay removed, property: /__symbols__/hvac_2"); in of_unittest_overlay_high_level()
3713 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/light… in of_unittest_overlay_high_level()
3715 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/light… in of_unittest_overlay_high_level()
3717 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/light… in of_unittest_overlay_high_level()
3719 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairw… in of_unittest_overlay_high_level()
3721 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairw… in of_unittest_overlay_high_level()
3723 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/fairw… in of_unittest_overlay_high_level()
3725 …"OF: overlay: WARNING: memory leak will occur if overlay removed, property: /testcase-data-2/subst… in of_unittest_overlay_high_level()
3727 unittest(ret, "Adding overlay 'overlay' failed\n"); in of_unittest_overlay_high_level()
3732 …"OF: overlay: ERROR: multiple fragments add and/or delete node /testcase-data-2/substation@100/mot… in of_unittest_overlay_high_level()
3734 …"OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/subst… in of_unittest_overlay_high_level()
3741 "Adding overlay 'overlay_bad_add_dup_node' failed\n"); 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()
3750 …"OF: overlay: ERROR: multiple fragments add and/or delete node /testcase-data-2/substation@100/mot… in of_unittest_overlay_high_level()
3755 …"OF: overlay: ERROR: multiple fragments add and/or delete node /testcase-data-2/substation@100/mot… in of_unittest_overlay_high_level()
3757 …"OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/subst… in of_unittest_overlay_high_level()
3759 …"OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/subst… in of_unittest_overlay_high_level()
3766 "Adding overlay 'overlay_bad_add_dup_prop' failed\n"); 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()
3775 …"OF: overlay: ERROR: multiple fragments add, update, and/or delete property /testcase-data-2/subst… in of_unittest_overlay_high_level()
3777 …"OF: overlay: ERROR: multiple fragments add and/or delete node /testcase-data-2/substation@100/mot… in of_unittest_overlay_high_level()
3782 "Adding overlay 'overlay_bad_phandle' failed\n"); in of_unittest_overlay_high_level()
3792 "Adding overlay 'overlay_bad_symbol' failed\n"); in of_unittest_overlay_high_level()
3804 "OF: resolver: overlay phandle fixup failed: -22"); in of_unittest_overlay_high_level()
3807 "Adding overlay 'overlay_bad_unresolved' failed\n"); in of_unittest_overlay_high_level()
3810 "OF: resolver: overlay phandle fixup failed: -22"); in of_unittest_overlay_high_level()
3849 dev_err(&pdev->dev, "no overlay data for overlay_pci_node"); in testdrv_probe()