]> git.ipfire.org Git - thirdparty/linux.git/commit
selftests: drv-net: psp: add basic data transfer and key rotation tests
authorJakub Kicinski <kuba@kernel.org>
Sat, 27 Sep 2025 22:54:16 +0000 (15:54 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 30 Sep 2025 13:17:22 +0000 (15:17 +0200)
commit8f90dc6e417a64144d06405ee0404965139c825a
treee168fcf60a8b110a9abb4d9ebbc32936404926df
parent2aeb71b2f9e864d3e4ff76bc93ab8cb1b6d56ced
selftests: drv-net: psp: add basic data transfer and key rotation tests

Add basic tests for sending data over PSP and making sure that key
rotation toggles the MSB of the spi.

Deploy PSP responder on the remote end. We also need a healthy dose
of common helpers for setting up the connections, assertions and
interrogating socket state on the Python side.

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
Link: https://patch.msgid.link/20250927225420.1443468-5-kuba@kernel.org
Reviewed-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/drivers/net/psp.py