aboutsummaryrefslogtreecommitdiff
path: root/rust/qemu-api-macros/src
diff options
context:
space:
mode:
authorTan Siewert <tan@siewert.io>2025-06-19 10:53:27 +0200
committerCédric Le Goater <clg@redhat.com>2025-07-03 13:41:57 +0200
commit10d1b6231b7fdbeb9c601af35f73c6353cbfe6c8 (patch)
treefd61fa34c22a984953c2024f9637877ceba51804 /rust/qemu-api-macros/src
parent8e076a3f1b1ed0fc009ee25796e45c44b4cf74f9 (diff)
downloadqemu-10d1b6231b7fdbeb9c601af35f73c6353cbfe6c8.zip
qemu-10d1b6231b7fdbeb9c601af35f73c6353cbfe6c8.tar.gz
qemu-10d1b6231b7fdbeb9c601af35f73c6353cbfe6c8.tar.bz2
hw/misc/aspeed_scu: Handle AST2600 protection key registers correctly
The AST2600 SCU has two protection key registers (0x00 and 0x10) that both need to be unlocked. (Un-)locking 0x00 modifies both protection key registers, while modifying 0x10 only modifies itself. This commit updates the SCU write logic to reject writes unless both protection key registers are unlocked, matching the behaviour of real hardware. Signed-off-by: Tan Siewert <tan@siewert.io> Reviewed-by: Jamin Lin <jamin_lin@aspeedtech.com> Link: https://lore.kernel.org/qemu-devel/20250619085329.42125-1-tan@siewert.io 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