WSL2-Linux-Kernel/drivers/platform/surface
Maximilian Luz 02be44f6b5 platform/surface: aggregator: Add error injection capabilities
This commit adds error injection hooks to the Surface Serial Hub
communication protocol implementation, to:

 - simulate simple serial transmission errors,

 - drop packets, requests, and responses, simulating communication
   failures and potentially trigger retransmission timeouts, as well as

 - inject invalid data into submitted and received packets.

Together with the trace points introduced in the previous commit, these
facilities are intended to aid in testing, validation, and debugging of
the Surface Aggregator communication layer.

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Link: https://lore.kernel.org/r/20201221183959.1186143-6-luzmaximilian@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
2021-01-07 00:06:22 +01:00
..
aggregator platform/surface: aggregator: Add error injection capabilities 2021-01-07 00:06:22 +01:00
Kconfig platform/surface: Add Surface Aggregator subsystem 2021-01-06 23:45:33 +01:00
Makefile platform/surface: Add Surface Aggregator subsystem 2021-01-06 23:45:33 +01:00
surface3-wmi.c platform/surface: Move Surface 3 WMI driver to platform/surface 2020-10-27 12:51:16 +01:00
surface3_button.c platform/surface: Move Surface 3 Button driver to platform/surface 2020-10-27 12:51:24 +01:00
surface3_power.c platform/surface: Move Surface 3 Power OpRegion driver to platform/surface 2020-10-27 12:51:24 +01:00
surface_gpe.c platform/surface: surface_gpe: Fix non-PM_SLEEP build warnings 2021-01-04 15:54:27 +01:00
surfacepro3_button.c platform/surface: Move Surface Pro 3 Button driver to platform/surface 2020-10-27 12:51:24 +01:00