[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 0/4] clock: Get rid of clock_get_ns()
From: |
Philippe Mathieu-Daudé |
Subject: |
Re: [PATCH v2 0/4] clock: Get rid of clock_get_ns() |
Date: |
Wed, 16 Dec 2020 00:08:54 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.5.0 |
On 12/15/20 4:29 PM, Philippe Mathieu-Daudé wrote:
> On 12/15/20 4:09 PM, Peter Maydell wrote:
>> This patchseries makes some changes to the clock API:
>> * Remove clock_get_ns()
>> * Add clock_ticks_to_ns() to return number of nanoseconds
>> it will take the clock to tick N times
>> * clock_display_freq() to return prettily-formatted string
>> for showing humans the approximate clock frequency
>>
...
>
> Tested using loongson3-virt @2GHz
> https://lists.gnu.org/archive/html/qemu-devel/2020-12/msg04036.html
>
> Without your series:
> qemu-system-mips64el: target/mips/cpu.c:385: mips_cp0_period_set:
> Assertion `env->cp0_count_ns' failed.
> Aborted (core dumped)
>
> With: OK (cpu are not displayed in 'info qtree').
>
> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
I meant:
Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
But now I reviewed, so confirming:
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Thanks!
Phil.
- [PATCH v2 0/4] clock: Get rid of clock_get_ns(), Peter Maydell, 2020/12/15
- [PATCH v2 1/4] clock: Introduce clock_ticks_to_ns(), Peter Maydell, 2020/12/15
- [PATCH v2 2/4] target/mips: Don't use clock_get_ns() in clock period calculation, Peter Maydell, 2020/12/15
- [PATCH v2 3/4] clock: Remove clock_get_ns(), Peter Maydell, 2020/12/15
- [PATCH v2 4/4] clock: Define and use new clock_display_freq(), Peter Maydell, 2020/12/15
- Re: [PATCH v2 0/4] clock: Get rid of clock_get_ns(), Philippe Mathieu-Daudé, 2020/12/15
- Re: [PATCH v2 0/4] clock: Get rid of clock_get_ns(),
Philippe Mathieu-Daudé <=