[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/8] hw/timer/lm32_timer: Switch to transaction-based ptimer
From: |
Richard Henderson |
Subject: |
Re: [PATCH 3/8] hw/timer/lm32_timer: Switch to transaction-based ptimer API |
Date: |
Thu, 17 Oct 2019 07:51:00 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 |
On 10/17/19 6:29 AM, Peter Maydell wrote:
> Switch the lm32_timer code away from bottom-half based ptimers to the
> new transaction-based ptimer API. This just requires adding
> begin/commit calls around the various places that modify the ptimer
> state, and using the new ptimer_init() function to create the ytimer.
>
> Signed-off-by: Peter Maydell <address@hidden>
> ---
> hw/timer/lm32_timer.c | 13 +++++++++----
> 1 file changed, 9 insertions(+), 4 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~
- [PATCH 0/8] Convert misc-arch devices to new ptimer API, Peter Maydell, 2019/10/17
- [PATCH 2/8] hw/timer/sh_timer: Switch to transaction-based ptimer API, Peter Maydell, 2019/10/17
- [PATCH 3/8] hw/timer/lm32_timer: Switch to transaction-based ptimer API, Peter Maydell, 2019/10/17
- [PATCH 1/8] hw/timer/puv3_ost.c: Switch to transaction-based ptimer API, Peter Maydell, 2019/10/17
- [PATCH 4/8] hw/watchdog/milkymist-sysctl.c: Switch to transaction-based ptimer API, Peter Maydell, 2019/10/17
- [PATCH 5/8] hw/timer/altera_timer.c: Switch to transaction-based ptimer API, Peter Maydell, 2019/10/17