Re: [PATCH v2 04/21] hw/timer/arm_timer.c: Switch to transaction-based ptimer API

2019-10-08 Thread Richard Henderson
On 10/8/19 1:17 PM, Peter Maydell wrote: > Switch the arm_timer.c code away from bottom-half based ptimers > to the new transaction-based ptimer API. This just requires > adding begin/commit calls around the various arms of > arm_timer_write() that modify the ptimer state, and using the > new ptime

[PATCH v2 04/21] hw/timer/arm_timer.c: Switch to transaction-based ptimer API

2019-10-08 Thread Peter Maydell
Switch the arm_timer.c code away from bottom-half based ptimers to the new transaction-based ptimer API. This just requires adding begin/commit calls around the various arms of arm_timer_write() that modify the ptimer state, and using the new ptimer_init() function to create the timer. Fixes: http