[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
- Re: [PATCH v2 05/21] hw/arm/musicpal.c: Switch to transaction-based ptimer API, (continued)
- [PATCH v2 03/21] tests/ptimer-test: Switch to transaction-based ptimer API, Peter Maydell, 2019/10/08
- [PATCH v2 02/21] ptimer: Provide new transaction-based API, Peter Maydell, 2019/10/08
- [PATCH v2 06/21] hw/timer/allwinner-a10-pit.c: Switch to transaction-based ptimer API, Peter Maydell, 2019/10/08
- [PATCH v2 11/21] hw/timer/exynos4210_mct.c: Switch GFRC to transaction-based ptimer API, Peter Maydell, 2019/10/08
- Re: [PATCH v2 11/21] hw/timer/exynos4210_mct.c: Switch GFRC to transaction-based ptimer API, Richard Henderson, 2019/10/09
- [PATCH v2 13/21] hw/timer/exynos4210_mct.c: Switch ltick to transaction-based ptimer API, Peter Maydell, 2019/10/08
- [PATCH v2 08/21] hw/timer/cmsdk-apb-dualtimer.c: Switch to transaction-based ptimer API, Peter Maydell, 2019/10/08
- [PATCH v2 01/21] ptimer: Rename ptimer_init() to ptimer_init_with_bh(), 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 09/21] hw/timer/cmsdk-apb-timer.c: Switch to transaction-based ptimer API, Peter Maydell, 2019/10/08