diff options
| author | Scott Wood <[email protected]> | 2016-10-17 18:42:23 +0000 |
|---|---|---|
| committer | Stephen Boyd <[email protected]> | 2016-11-02 00:26:15 +0000 |
| commit | 7c1c5413a7bdf1c9adc8d979521f1b8286366aef (patch) | |
| tree | 91e4786a854b7b2b1372d7e427436f2006e008b0 /drivers/fpga/altera-fpga2sdram.c | |
| parent | Merge tag 'v4.9-rockchip-clkfixes1' of git://git.kernel.org/pub/scm/linux/ker... (diff) | |
| download | kernel-7c1c5413a7bdf1c9adc8d979521f1b8286366aef.tar.gz kernel-7c1c5413a7bdf1c9adc8d979521f1b8286366aef.zip | |
clk: qoriq: Don't allow CPU clocks higher than starting value
The boot-time frequency of a CPU is considered its rated maximum, as we
have no other source of such information. However, this was previously
only used for chips with 80% restrictions on secondary PLLs. This
usually wasn't a problem because most chips/configs boot with a divider
of /1, with other dividers being used only for dynamic frequency
reduction. However, at least one config (LS1021A at less than 1 GHz)
uses a different divider for top speed. This was causing cpufreq to set
a frequency beyond the chip's rated speed.
This is fixed by applying a 100%-of-initial-speed limit to all CPU PLLs,
similar to the existing 80% limit that only applied to some.
Signed-off-by: Scott Wood <[email protected]>
Cc: [email protected]
Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'drivers/fpga/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions
