[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [RFC v1 0/2] ARM MPTimer fixes and refactoring
From: |
Peter Crosthwaite |
Subject: |
Re: [Qemu-devel] [RFC v1 0/2] ARM MPTimer fixes and refactoring |
Date: |
Sun, 5 Jul 2015 13:58:56 -0700 |
On Sun, Jul 5, 2015 at 1:47 PM, Dmitry Osipenko <address@hidden> wrote:
> 05.07.2015 23:26, Peter Crosthwaite пишет:
>
>> Hi Dmitry,
>>
>> Based on my comment earlier, this is what I came up with RE consolidation
>> of
>> those arm_mptimer code paths that were giving you problems. I have not
>> done the
>> interrupt mask fix, as that one from your series is reasonably
>> independent.
>>
>> Regards,
>> Peter
>>
>> Peter Crosthwaite (2):
>> timer: arm_mp: Factor out timer value calculation
>> timer: arm_mp: consolidate control and counter write logic
>>
>> hw/timer/arm_mptimer.c | 73
>> +++++++++++++++++++++++++++++---------------------
>> 1 file changed, 42 insertions(+), 31 deletions(-)
>>
>
> Hi Peter, thanks a lot! Generally, I don't have any trouble with currently
> missed functionality, just noticed it while was hacking my NVIDIA Tegra2
> emulation pet-project and decided to contribute =).
>
> It looks like you are trying to duplicate what generic ptimer is already
> doing, isn't it?
>
Yes, ptimer was probably the correct way to do this in the first
place. Some of the new code structures introduced in this patch series
are directly applicable though for that conversion effort.
Regards,
Peter
> --
> Dmitry
>