diff options
author | Tan Siewert <tan@siewert.io> | 2025-06-30 13:26:46 +0200 |
---|---|---|
committer | Cédric Le Goater <clg@redhat.com> | 2025-07-03 13:41:57 +0200 |
commit | 116bf243d9137a9101aa1a403b402b78313615bc (patch) | |
tree | 342194c631cabc47005b0c9251d3aa00dd4d7c1a /rust/qemu-api-macros/src | |
parent | 10d1b6231b7fdbeb9c601af35f73c6353cbfe6c8 (diff) | |
download | qemu-116bf243d9137a9101aa1a403b402b78313615bc.zip qemu-116bf243d9137a9101aa1a403b402b78313615bc.tar.gz qemu-116bf243d9137a9101aa1a403b402b78313615bc.tar.bz2 |
tests/qtest: Add test for ASPEED SCU
This adds basic tests for the ASPEED System Control Unit (SCU) and its
protection mechanism on the AST2500 and AST2600 platforms.
The tests verify:
- That SCU protection registers can be unlocked and locked again
- That modifying the primary protection register on AST2600 also
affects the secondary one
- That writes to protected SCU registers are blocked unless
protection registers are unlocked explicitly
These tests ensure proper emulation of hardware locking behaviour
and help catch regressions in SCU access logic.
Signed-off-by: Tan Siewert <tan@siewert.io>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250630112646.74944-1-tan@siewert.io
[ clg: Reordered file list in meson.build ]
Signed-off-by: Cédric Le Goater <clg@redhat.com>
Diffstat (limited to 'rust/qemu-api-macros/src')
0 files changed, 0 insertions, 0 deletions