Re: [PATCH] test: dm: restore /firmware nodes after testing

2023-06-21 Thread Tom Rini
On Thu, Jun 08, 2023 at 09:55:59AM +0900, AKASHI Takahiro wrote: > dm_test_restore() is called after dm unit test is run. > But this function does not scan any nodes under /firmware since > it calls dm_scan_fdt(). > > This causes an issue. For instance, scmi_sandbox_agent device > will disappear

Re: [PATCH] test: dm: restore /firmware nodes after testing

2023-06-12 Thread Simon Glass
On Thu, 8 Jun 2023 at 01:56, AKASHI Takahiro wrote: > > dm_test_restore() is called after dm unit test is run. > But this function does not scan any nodes under /firmware since > it calls dm_scan_fdt(). > > This causes an issue. For instance, scmi_sandbox_agent device > will disappear after runnin

[PATCH] test: dm: restore /firmware nodes after testing

2023-06-07 Thread AKASHI Takahiro
dm_test_restore() is called after dm unit test is run. But this function does not scan any nodes under /firmware since it calls dm_scan_fdt(). This causes an issue. For instance, scmi_sandbox_agent device will disappear after running 'ut dm scmi_sandbox_agent'. So call dm_extended_scan() instead.