diff options
author | Ido Plat <ido.plat1@ibm.com> | 2024-10-29 12:54:45 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2024-10-29 15:04:47 +0000 |
commit | bab209af35037b33f7eb1b8a3737085935bec3a3 (patch) | |
tree | 7503189fa10a02e08dab0b6579b60b9fba4f09b6 /event-loop-base.c | |
parent | a892728021e581019cbc9d6d19c4f20cdcd1afa0 (diff) |
target/arm: Fix arithmetic underflow in SETM instruction
Pass the stage size to step function callback, otherwise do_setm
would hang when size is larger then page size because stage size
would underflow. This fix changes do_setm to be more inline with
do_setp.
Cc: qemu-stable@nongnu.org
Fixes: 0e92818887dee ("target/arm: Implement the SET* instructions")
Signed-off-by: Ido Plat <ido.plat1@ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20241025024909.799989-1-ido.plat1@ibm.com
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'event-loop-base.c')
0 files changed, 0 insertions, 0 deletions