Skip to content

VSP-Tests: Add suspend resume tests and helpers

Kieran Bingham linux-renesas-soc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5scripts: Test suite runnerscripts/vsp-tests.sh+46 -02 replies
2/5scripts: Provide bin2png.sh helperscripts/Makefile scripts/bin2png.sh+35 -12 replies
3/5logger: Log to the FTrace buffer if tracing is enabledscripts/logger.sh+12 -13 replies
4/5tests: Test suspend/resume on idle pipelinestests/vsp-unit-test-0019.sh+77 -02 replies
5/5tests: Test suspend/resume on active pipelinestests/vsp-unit-test-0020.sh+86 -03 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] VSP-Tests: Add suspend resume tests and helpers

From: Kieran Bingham <[email protected]>

Provide two tests for suspend/resume cycles. One will verify the VSP1 is functional with a test before and after a suspend cycle. The other will maintain an active pipeline which must succeed despite a suspend resume cycle occuring in the middle of the test.

Along side these tests are a couple of helpers that I have locally and thought they might be useful to others, so I'm posting for review. A test suite runner simplifies executing all vsp-unit tests, and provides the ability to easily repeat the test suite (for example to run an overnight longevity test).

'bin2png.sh' is a wrapper around the existing tools that helps convert the test files generated by VSP-Tests into png files for easy viewing.

Finally, I have extended 'logger.sh' to also log to the FTrace buffer. As I have been making greater use of ftrace for register write capture, and driver flow - this addition helps separate multiple tests from the ftrace kernelshark view.

Kieran Bingham (5):
scripts: Test suite runner
scripts: Provide bin2png.sh helper
logger: Log to the FTrace buffer if tracing is enabled
tests: Test suspend/resume on idle pipelines
tests: Test suspend/resume on active pipelines

 scripts/Makefile            |  2 +-
 scripts/bin2png.sh          | 34 ++++++++++++++++
 scripts/logger.sh           | 13 ++++++-
 scripts/vsp-tests.sh        | 46 ++++++++++++++++++++++
 tests/vsp-unit-test-0019.sh | 84 ++++++++++++++++++++++++++++++++++++++++
 tests/vsp-unit-test-0020.sh | 94 +++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 271 insertions(+), 2 deletions(-)
 create mode 100755 scripts/bin2png.sh
 create mode 100755 scripts/vsp-tests.sh
 create mode 100755 tests/vsp-unit-test-0019.sh
 create mode 100755 tests/vsp-unit-test-0020.sh
Signature · 1 line
2.7.4