]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/loongarch: Fix CSR STLBPS register write emulation
authorBibo Mao <maobibo@loongson.cn>
Wed, 18 Jun 2025 02:51:34 +0000 (10:51 +0800)
committerBibo Mao <maobibo@loongson.cn>
Fri, 11 Jul 2025 06:47:15 +0000 (14:47 +0800)
commit5a2e76fc8786760a8fbb42af5cd8a61ecb6aba87
tree5a97db42432b13f00f4e84bd82a5aeef87db6e43
parente5de64ae0233a13f5a623a62aec0b95d66ab7ce6
target/loongarch: Fix CSR STLBPS register write emulation

Function helper_csrwr_stlbps() is emulation with CSR STLBPS register
write operation. However there is only parameter checking action, and
no register updating action. Here update value of CSR_STLBPS when
parameter passes to check.

Signed-off-by: Bibo Mao <maobibo@loongson.cn>
Reviewed-by: Song Gao <gaosong@loongson.cn>
target/loongarch/tcg/csr_helper.c