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-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171106221543.5sejgabzvgcxy6sx@rob-hp-laptop>
Date:   Mon, 6 Nov 2017 16:15:43 -0600
From:   Rob Herring <robh@...nel.org>
To:     Kaihua Zhong <zhongkaihua@...wei.com>
Cc:     mturquette@...libre.com, sboyd@...eaurora.org,
        mark.rutland@....com, xuwei5@...ilicon.com,
        catalin.marinas@....com, will.deacon@....com,
        xuejiancheng@...ilicon.com, wenpan@...ilicon.com,
        leo.yan@...aro.org, zhangfei.gao@...aro.org, guodong.xu@...aro.org,
        chenjun14@...wei.com, linux-clk@...r.kernel.org,
        devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
        linux-arm-kernel@...ts.infradead.org, suzhuangluan@...ilicon.com,
        xuezhiliang@...ilicon.com, kevin.wangtao@...ilicon.com
Subject: Re: [PATCH 2/3] clk: hisilicon: Add support for Hi3660 stub clocks

On Fri, Nov 03, 2017 at 03:25:06PM +0800, Kaihua Zhong wrote:
> Hi3660 has four stub clocks, which are big and LITTLE cluster clocks,
> GPU clock and DDR clock.  These clocks ask MCU for frequency scaling
> by sending message through mailbox.
> 
> This commit adds support for stub clocks, it requests the dedicated
> mailbox channel at initialization; then later uses this channel to send
> message to MCU to execute frequency scaling. The four stub clocks share
> the same mailbox channel, but every stub clock has its own command id so
> MCU can distinguish the requirement coming for which clock.
> 
> A shared memory is used to present effective frequency value, so the
> clock driver uses I/O mapping for the memory and reads back rate value.
> 
> Reviewed-by: Leo Yan <leo.yan@...aro.org>
> Signed-off-by: Kai Zhao <zhaokai1@...ilicon.com>
> Signed-off-by: Kevin Wang <kevin.wangtao@...ilicon.com>
> Signed-off-by: Ruyi Wang <wangruyi@...wei.com>
> Signed-off-by: Kaihua Zhong <zhongkaihua@...wei.com>
> ---
>  drivers/clk/hisilicon/Kconfig            |   6 +
>  drivers/clk/hisilicon/Makefile           |   1 +
>  drivers/clk/hisilicon/clk-hi3660-stub.c  | 195 +++++++++++++++++++++++++++++++

>  include/dt-bindings/clock/hi3660-clock.h |   7 ++

This belongs in the binding doc patch. But no need to respin just for 
that. 

>  4 files changed, 209 insertions(+)
>  create mode 100644 drivers/clk/hisilicon/clk-hi3660-stub.c

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ