[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RFC 4/4] hw/timer/arm_timer.c: Switch to transaction-based ptimer A
From: |
Richard Henderson |
Subject: |
Re: [RFC 4/4] hw/timer/arm_timer.c: Switch to transaction-based ptimer API |
Date: |
Mon, 7 Oct 2019 09:32:58 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
On 10/4/19 4:48 AM, 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 ptimer_init() function to create the timer.
>
> Fixes: https://bugs.launchpad.net/qemu/+bug/1777777
> Signed-off-by: Peter Maydell <address@hidden>
> ---
> hw/timer/arm_timer.c | 16 +++++++++++-----
> 1 file changed, 11 insertions(+), 5 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~
- [RFC 0/4] transaction-based ptimer API, Peter Maydell, 2019/10/04
- [RFC 1/4] hw/timer/arm_timer: Add trace events, Peter Maydell, 2019/10/04
- [RFC 2/4] ptimer: Rename ptimer_init() to ptimer_init_with_bh(), Peter Maydell, 2019/10/04
- [RFC 4/4] hw/timer/arm_timer.c: Switch to transaction-based ptimer API, Peter Maydell, 2019/10/04
- Re: [RFC 4/4] hw/timer/arm_timer.c: Switch to transaction-based ptimer API,
Richard Henderson <=
- [RFC 3/4] ptimer: Provide new transaction-based API, Peter Maydell, 2019/10/04
- Re: [RFC 0/4] transaction-based ptimer API, Paolo Bonzini, 2019/10/04