linux_dsm_epyc7002/drivers/thunderbolt
Mika Westerberg 54509f5005 thunderbolt: Add KUnit tests for path walking
This adds KUnit tests for path walking which is only dependent on
software structures, so no hardware is needed to run these.

We make these available only when both KUnit and the driver itself are
built into the kernel image. The reason for this is that KUnit adds its
own module_init() call in kunit_test_suite() which generates linker
error because the driver does the same in nhi.c. This should be fine for
now because these tests are only meant to run by developers anyway.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
2020-06-22 19:58:20 +03:00
..
cap.c
ctl.c
ctl.h
dma_port.c
dma_port.h
domain.c
eeprom.c
icm.c
Kconfig thunderbolt: Add KUnit tests for path walking 2020-06-22 19:58:20 +03:00
lc.c
Makefile thunderbolt: Add KUnit tests for path walking 2020-06-22 19:58:20 +03:00
nhi_ops.c
nhi_regs.h
nhi.c thunderbolt: Get rid of E2E workaround 2020-06-22 19:58:06 +03:00
nhi.h
path.c thunderbolt: Check that both ports are reachable when allocating path 2020-06-22 19:58:19 +03:00
property.c
switch.c thunderbolt: Make tb_next_port_on_path() work with tree topologies 2020-06-22 19:58:19 +03:00
tb_msgs.h
tb_regs.h
tb.c
tb.h thunderbolt: Increase path length in discovery 2020-06-22 19:58:20 +03:00
test.c thunderbolt: Add KUnit tests for path walking 2020-06-22 19:58:20 +03:00
tmu.c
tunnel.c thunderbolt: Handle incomplete PCIe/USB3 paths correctly in discovery 2020-06-22 19:58:20 +03:00
tunnel.h
usb4.c
xdomain.c thunderbolt: Build initial XDomain property block upon first connect 2020-06-22 19:58:05 +03:00