Thread (18 messages) 18 messages, 4 authors, 2021-07-02

Re: [PATCH v3 2/3] clk: divider: Switch from .round_rate to .determine_rate by default

From: Stephen Boyd <sboyd@kernel.org>
Date: 2021-06-30 18:39:20
Also in: linux-amlogic, linux-arm-kernel, lkml

Quoting Martin Blumenstingl (2021-06-27 15:39:58)
.determine_rate is meant to replace .round_rate. The former comes with a
benefit which is especially relevant on 32-bit systems: since
.determine_rate uses an "unsigned long" (compared to a "signed long"
which is used by .round_rate) the maximum value on 32-bit systems
increases from 2^31 (or approx. 2.14GHz) to 2^32 (or approx. 4.29GHz).
Switch to a .determine_rate implementation by default so 32-bit systems
can benefit from the increased maximum value as well as so we have one
fewer user of .round_rate.

Reviewed-by: Jerome Brunet <jbrunet@baylibre.com>
Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
---
Applied to clk-next
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help