Re: [RFC PATCH] target/mips/cp0_timer: Use new clock_ns_to_ticks()

2021-02-21 Thread Philippe Mathieu-Daudé
On 2/21/21 9:12 PM, Peter Maydell wrote: > On Sun, 21 Feb 2021 at 20:07, Philippe Mathieu-Daudé wrote: >> >> On 2/11/21 12:43 AM, Philippe Mathieu-Daudé wrote: >>> Use the new clock_ns_to_ticks() function in cp0_timer where >>> appropriate. This allows us to remove CPUMIPSState::cp0_count_ns >>> a

Re: [RFC PATCH] target/mips/cp0_timer: Use new clock_ns_to_ticks()

2021-02-21 Thread Peter Maydell
On Sun, 21 Feb 2021 at 20:07, Philippe Mathieu-Daudé wrote: > > On 2/11/21 12:43 AM, Philippe Mathieu-Daudé wrote: > > Use the new clock_ns_to_ticks() function in cp0_timer where > > appropriate. This allows us to remove CPUMIPSState::cp0_count_ns > > and mips_cp0_period_set(). > > > > Signed-off-

Re: [RFC PATCH] target/mips/cp0_timer: Use new clock_ns_to_ticks()

2021-02-21 Thread Philippe Mathieu-Daudé
On 2/11/21 12:43 AM, Philippe Mathieu-Daudé wrote: > Use the new clock_ns_to_ticks() function in cp0_timer where > appropriate. This allows us to remove CPUMIPSState::cp0_count_ns > and mips_cp0_period_set(). > > Signed-off-by: Philippe Mathieu-Daudé > --- > Based-on: <20210209132040.5091-1-peter

Re: [RFC PATCH] target/mips/cp0_timer: Use new clock_ns_to_ticks()

2021-02-11 Thread Philippe Mathieu-Daudé
; > Type: series > Message-id: 20210210234334.3750022-1-f4...@amsat.org > Subject: [RFC PATCH] target/mips/cp0_timer: Use new clock_ns_to_ticks() > > Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384 > Switched to a new branch 'test' > 86c0e95 target/mips/cp0_timer: Use new clock_ns_t

Re: [RFC PATCH] target/mips/cp0_timer: Use new clock_ns_to_ticks()

2021-02-11 Thread no-reply
Patchew URL: https://patchew.org/QEMU/20210210234334.3750022-1-f4...@amsat.org/ Hi, This series seems to have some coding style problems. See output below for more information: Type: series Message-id: 20210210234334.3750022-1-f4...@amsat.org Subject: [RFC PATCH] target/mips/cp0_timer: Use

[RFC PATCH] target/mips/cp0_timer: Use new clock_ns_to_ticks()

2021-02-10 Thread Philippe Mathieu-Daudé
Use the new clock_ns_to_ticks() function in cp0_timer where appropriate. This allows us to remove CPUMIPSState::cp0_count_ns and mips_cp0_period_set(). Signed-off-by: Philippe Mathieu-Daudé --- Based-on: <20210209132040.5091-1-peter.mayd...@linaro.org> RFC because this is just a starter patch to