mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-29 13:23:23 +01:00
Add a kunit test suite for fw_devlink support for software nodes. Most cases call add_links() directly and inspect the resulting fwnode supplier/consumer lists: a single reference, multiple references, a reference to an unregistered node, a "remote-endpoint" reference and a reference array. The last case is end-to-end - it registers real consumer and supplier platform devices together with their drivers, adds the consumer first and checks that fw_devlink defers its probe until the supplier has been bound. Acked-by: Andy Shevchenko <[email protected]> Tested-by: David Gow <[email protected]> Signed-off-by: Bartosz Golaszewski <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Danilo Krummrich <[email protected]>
11 lines
394 B
Makefile
11 lines
394 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
obj-$(CONFIG_TEST_ASYNC_DRIVER_PROBE) += test_async_driver_probe.o
|
|
|
|
obj-$(CONFIG_DM_KUNIT_TEST) += root-device-test.o
|
|
obj-$(CONFIG_DM_KUNIT_TEST) += platform-device-test.o
|
|
|
|
obj-$(CONFIG_DRIVER_PE_KUNIT_TEST) += property-entry-test.o
|
|
CFLAGS_property-entry-test.o += $(DISABLE_STRUCTLEAK_PLUGIN)
|
|
|
|
obj-$(CONFIG_DRIVER_SWNODE_KUNIT_TEST) += swnode-devlink-test.o
|