[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 11/21] hw/timer/exynos4210_mct.c: Switch GFRC to transacti
From: |
Peter Maydell |
Subject: |
Re: [PATCH v2 11/21] hw/timer/exynos4210_mct.c: Switch GFRC to transaction-based ptimer API |
Date: |
Wed, 9 Oct 2019 14:49:35 +0100 |
On Wed, 9 Oct 2019 at 02:58, Richard Henderson
<address@hidden> wrote:
>
> On 10/8/19 9:56 PM, Richard Henderson wrote:
> > On 10/8/19 1:17 PM, Peter Maydell wrote:
> >> @@ -945,7 +977,7 @@ static void
> >> exynos4210_mct_update_freq(Exynos4210MCTState *s)
> >> DPRINTF("freq=%dHz\n", s->freq);
> >>
> >> /* global timer */
> >> - ptimer_set_freq(s->g_timer.ptimer_frc, s->freq);
> >> + tx_ptimer_set_freq(s->g_timer.ptimer_frc, s->freq);
> >>
> >> /* local timer */
> >> ptimer_set_freq(s->l_timer[0].tick_timer.ptimer_tick, s->freq);
> >
> > Failed to update them all, it would appear.
>
> Ho hum. Done in a subsequent patch.
> I didn't realize that you weren't converting the entire file at once.
Yeah, the MCT device is pretty complicated and (per the commit
message) I felt it was easier to write and debug by switching
each ptimer one at a time rather than trying to do the whole
lot at the same time.
thanks
-- PMM
- [PATCH v2 14/21] hw/timer/exynos4210_pwm.c: Switch to transaction-based ptimer API, (continued)
- [PATCH v2 12/21] hw/timer/exynos4210_mct.c: Switch LFRC to transaction-based ptimer API, Peter Maydell, 2019/10/08
- [PATCH v2 16/21] hw/timer/exynos4210_rtc.c: Switch main ptimer to transaction-based API, Peter Maydell, 2019/10/08
- [PATCH v2 15/21] hw/timer/exynos4210_rtc.c: Switch 1Hz ptimer to transaction-based API, Peter Maydell, 2019/10/08
- [PATCH v2 17/21] hw/timer/imx_epit.c: Switch to transaction-based ptimer API, Peter Maydell, 2019/10/08
- [PATCH v2 19/21] hw/timer/mss-timerc: Switch to transaction-based ptimer API, Peter Maydell, 2019/10/08