Re: [PATCH 1/1] target/arm: Fix arithmetic underflow in SETM instruction

2024-10-28 Thread Peter Maydell
On Fri, 25 Oct 2024 at 16:50, Michael Tokarev wrote: > > 25.10.2024 05:48, Ido Plat wrote: > > 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

Re: [PATCH 1/1] target/arm: Fix arithmetic underflow in SETM instruction

2024-10-25 Thread Michael Tokarev
25.10.2024 05:48, Ido Plat wrote: 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. Fixes: 0e92818887dee ("target/arm: Implement the SET* ins

Re: [PATCH 1/1] target/arm: Fix arithmetic underflow in SETM instruction

2024-10-25 Thread Richard Henderson
On 10/25/24 03:48, Ido Plat wrote: 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. Fixes: 0e92818887dee ("target/arm: Implement the SET* in

[PATCH 1/1] target/arm: Fix arithmetic underflow in SETM instruction

2024-10-24 Thread Ido Plat
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. Fixes: 0e92818887dee ("target/arm: Implement the SET* instructions") Signed-off-by: Ido Plat