Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1567829

Re: [PATCH v2] clk: hisilicon: fix lock assignment

From Stephen Boyd <sboyd@codeaurora.org>
Newsgroups linux.kernel
Subject Re: [PATCH v2] clk: hisilicon: fix lock assignment
Date 2017-01-27 01:20 +0100
Message-ID <t42qJ-5Ez-1@gated-at.bofh.it> (permalink)
References <t1TBf-6PH-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 01/21, Leo Yan wrote:
> In clock driver initialize phase the spinlock is missed to assignment
> to struct clkgate_separated, finally there have no locking to protect
> exclusive accessing for clock registers.
> 
> This bug introduces the console has no output after enable coresight
> driver on 96boards Hikey; this is because console using UART3, which
> has shared the same register with coresight clock enabling bit. After
> applied this patch it can assign lock properly to protect exclusive
> accessing, and console can work well after enabled coresight modules.
> 
> Fixes: 0aa0c95f743a ("clk: hisilicon: add common clock support")
> Signed-off-by: Leo Yan <leo.yan@linaro.org>
> ---

Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v2] clk: hisilicon: fix lock assignment Leo Yan <leo.yan@linaro.org> - 2017-01-21 03:30 +0100
  Re: [PATCH v2] clk: hisilicon: fix lock assignment Stephen Boyd <sboyd@codeaurora.org> - 2017-01-27 01:20 +0100

csiph-web