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
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Sun, 30 Jul 2017 18:41:46 +0200
From:   Jernej Skrabec <jernej.skrabec@...l.net>
To:     maxime.ripard@...e-electrons.com
Cc:     wens@...e.org, mturquette@...libre.com, sboyd@...eaurora.org,
        linux-arm-kernel@...ts.infradead.org, linux-clk@...r.kernel.org,
        linux-kernel@...r.kernel.org, linux-sunxi@...glegroups.com
Subject: [PATCH 0/4] clk: sunxi-ng: Fix issues with fractional mode

During development of H3 HDMI driver, I found some issues with
setting video clock rate. It turned out that clock driver decided
to use fractional mode and selected right frequency, but it didn't
enable it. Additionally, fractional helpers don't wait on lock.

Patch 1 adds a call to N-M clock driver which enables fractional mode.
It also clears M factor before that as required by most SoCs.

Patch 2 adds a call to N clock driver which enables fractional mode.

Patch 3 makes fractional helpers less chatty.

Patch 4 adds a wait for lock to fractional helpers.

Jernej Skrabec (4):
  clk: sunxi-ng: Fix fractional mode for N-M clocks
  clk: sunxi-ng: multiplier: Fix fractional mode
  clk: sunxi-ng: Make fractional helper less chatty
  clk: sunxi-ng: Wait for lock when using fractional mode

 drivers/clk/sunxi-ng/ccu_frac.c | 14 ++++++++------
 drivers/clk/sunxi-ng/ccu_frac.h |  2 +-
 drivers/clk/sunxi-ng/ccu_mult.c | 10 +++++++---
 drivers/clk/sunxi-ng/ccu_nm.c   | 19 ++++++++++++++++---
 4 files changed, 32 insertions(+), 13 deletions(-)

-- 
2.13.3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ