lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-ID: <dad185b0-2cfc-0a2f-61cd-78bccfdc680b@baylibre.com> Date: Mon, 25 Mar 2019 13:18:28 +0100 From: Neil Armstrong <narmstrong@...libre.com> To: Jerome Brunet <jbrunet@...libre.com>, Martin Blumenstingl <martin.blumenstingl@...glemail.com>, linux-amlogic@...ts.infradead.org, linux-clk@...r.kernel.org Cc: mturquette@...libre.com, sboyd@...nel.org, linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH 1/1] clk: meson: pll: fix rounding and setting a rate that matches precisely On 25/03/2019 10:48, Jerome Brunet wrote: > On Sun, 2019-03-24 at 17:43 +0100, Martin Blumenstingl wrote: >> Make meson_clk_pll_is_better() consider a rate that precisely matches >> the requested rate to be better than any previous rate (which was >> smaller than the current). >> >> Prior to commit 8eed1db1adec6a ("clk: meson: pll: update driver for the >> g12a") meson_clk_get_pll_settings() returned early (before calling >> meson_clk_pll_is_better()) if the rate from the current iteration >> matches the requested rate precisely. After this commit >> meson_clk_pll_is_better() is called unconditionally. This requires >> meson_clk_pll_is_better() to work with the case where "now == rate". >> >> This fixes a hang during boot on Meson8b / Odroid-C1 for me. >> >> Fixes: 8eed1db1adec6a ("clk: meson: pll: update driver for the g12a") >> Signed-off-by: Martin Blumenstingl <martin.blumenstingl@...glemail.com> > > Good catch ! > > Reviewed-by: Jerome Brunet <jbrunet@...libre.com> > > > Applied to fixes/drivers !
Powered by blists - more mailing lists