From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752577AbdATW6h (ORCPT ); Fri, 20 Jan 2017 17:58:37 -0500 Received: from smtp.codeaurora.org ([198.145.29.96]:38724 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752416AbdATW6e (ORCPT ); Fri, 20 Jan 2017 17:58:34 -0500 DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org 52D326095E Authentication-Results: pdx-caf-mail.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: pdx-caf-mail.web.codeaurora.org; spf=none smtp.mailfrom=sboyd@codeaurora.org Date: Fri, 20 Jan 2017 14:58:27 -0800 From: Stephen Boyd To: Leo Yan Cc: Michael Turquette , linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, Haojian Zhuang , Guodong Xu , John Stultz Subject: Re: [PATCH] clk: hisilicon: fix lock assignment Message-ID: <20170120225827.GB8009@codeaurora.org> References: <1484727218-3499-1-git-send-email-leo.yan@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1484727218-3499-1-git-send-email-leo.yan@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 01/18, 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 96borads Hikey; this is because console using UART3, which s/borads/boards/ > 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. > > Signed-off-by: Leo Yan Is there a Fixes: tag needed? Is coresight support merged into Linus' tree? I want to know if this needs to be applied for v4.10 or can wait until v4.11. -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project