[PATCH v2] target/arm: Add overflow check for gt_recalc_timer

2023-11-09 Thread Leonid Komarianskyi
, which in turn sets the timer into the past again and as a result, QEMU hangs. This patch adds check for overflowing of the nexttick variable. Suggested-by: Volodymyr Babchuk Co-Authored-By: Dmytro Firsov Signed-off-by: Leonid Komarianskyi --- target/arm/helper.c | 10 ++ 1 file changed

Re: [PATCH v2] target/arm: Add overflow check for gt_recalc_timer

2023-11-09 Thread Leonid Komarianskyi
4 QEMU, e.g. Zephyr (https://github.com/zephyrproject-rtos/zephyr/blob/main//boards/arm64/xenvm/doc/index.rst) maybe is it worth merging at least this change? Best regards, Leonid Komarianskyi. On 09.11.23 15:55, Leonid Komarianskyi wrote: > If gt_timer is enabled before cval initialization on

[PATCH] target/arm: Add overflow check for gt_recalc_timer

2023-04-06 Thread Leonid Komarianskyi
, which in turn sets the timer into the past again and as a result, QEMU hangs. This patch adds check for overflowing of the nexttick variable. Suggested-by: Volodymyr Babchuk Co-Authored-By: Dmytro Firsov Signed-off-by: Leonid Komarianskyi --- target/arm/helper.c | 14 +- 1 file