From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,T_DKIMWL_WL_HIGH,USER_AGENT_MUTT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7789AC468C1 for ; Mon, 10 Jun 2019 05:54:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 432B420820 for ; Mon, 10 Jun 2019 05:54:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560146060; bh=SdTHp/TyZpsY2HHoAFBFOvkMbdzwPg4g3t/s7P1llZM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=T4bNFXF/VQ383CdnVEaoL7pbgLc4NwpkgFXA01M6nGLTs1sMmrRPVA51cyLDSmPzN 5diQI1tSKSJEfXuVEGedViMdxGSoBNc/HknPcGke0rjn5OB8M8joym7dNbbdHhYFOV xHMLXfyEZHnyWDrjO97kxvjk1k4zMoOo7z60/yI8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387720AbfFJFyT (ORCPT ); Mon, 10 Jun 2019 01:54:19 -0400 Received: from mail.kernel.org ([198.145.29.99]:34362 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387553AbfFJFyS (ORCPT ); Mon, 10 Jun 2019 01:54:18 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CCDB5207E0; Mon, 10 Jun 2019 05:54:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560146058; bh=SdTHp/TyZpsY2HHoAFBFOvkMbdzwPg4g3t/s7P1llZM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IMlgVFjyjnXtceUTFfBCKuHy/svWO6lT6BbHXv7JMkg43JBZkqeA/rE0LPbldV1lX JGzDs64HZz09AaDFyKmHtObcluRExtZsIWY7gfWxobq84KQiYsM8cgF3yU8usg6hYD 0o9avCKQZfMZyAGqos8pewoPXYsXKsF0lalC28Xw= Date: Mon, 10 Jun 2019 07:54:15 +0200 From: Greg KH To: Weiyi Lu Cc: Matthias Brugger , Stephen Boyd , James Liao , Fan Chen , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-clk@vger.kernel.org, srv_heupstream@mediatek.com, stable@vger.kernel.org, Biao Huang Subject: Re: [RFC v1] clk: core: support clocks that need to be enabled during re-parent Message-ID: <20190610055415.GC13825@kroah.com> References: <1560138293-4163-1-git-send-email-weiyi.lu@mediatek.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1560138293-4163-1-git-send-email-weiyi.lu@mediatek.com> User-Agent: Mutt/1.12.0 (2019-05-25) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 10, 2019 at 11:44:53AM +0800, Weiyi Lu wrote: > When using property assigned-clock-parents to assign parent clocks, > core clocks might still be disabled during re-parent. > Add flag 'CLK_OPS_CORE_ENABLE' for those clocks must be enabled > during re-parent. > > Signed-off-by: Weiyi Lu > --- > drivers/clk/clk.c | 9 +++++++++ > include/linux/clk-provider.h | 1 + > 2 files changed, 10 insertions(+) This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.3 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE, SPF_PASS,T_DKIMWL_WL_HIGH,USER_AGENT_MUTT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id C5A03C468C1 for ; Mon, 10 Jun 2019 05:54:26 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9AA22207E0 for ; Mon, 10 Jun 2019 05:54:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="th0qdNot"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="IMlgVFjy" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9AA22207E0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=stKIbzeVjompj2FnNuc6B+6xdeFtOwl3hYAKWn1jsZE=; b=th0qdNot4PyYue wyPTnH0FuWPvEHMY6AtKyXN4+ELoiM68OqO0RsoLuQBoabqL05VoNUvKT7GctbkfTo/gK+SsnQTUf u5XLqF2TjqUE/RwgjmutK6rLXG9+b1nvn80J1KU+chbfdzj8nONcpTX8KdceZVr4GmSYldny0QB2V gLJRoVW/IjhT7AG0zwB/1n4iYv8Yx4aW0FwxG1EqO+BTTCbT0Uig0MMgWAE3XR7SM1+Wya9F87B5m XUJMCajC3VSAP2MozV8WN2d/mucEp3wo7bthjWKfjXmNR8FGK1/bIcswLIcnm8z/nFFtJhYvj1tTu 1Q8x8lhTmZBix8j4dP5A==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1haDGA-0002VZ-Mv; Mon, 10 Jun 2019 05:54:22 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1haDG7-0002Ur-6G; Mon, 10 Jun 2019 05:54:20 +0000 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CCDB5207E0; Mon, 10 Jun 2019 05:54:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1560146058; bh=SdTHp/TyZpsY2HHoAFBFOvkMbdzwPg4g3t/s7P1llZM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=IMlgVFjyjnXtceUTFfBCKuHy/svWO6lT6BbHXv7JMkg43JBZkqeA/rE0LPbldV1lX JGzDs64HZz09AaDFyKmHtObcluRExtZsIWY7gfWxobq84KQiYsM8cgF3yU8usg6hYD 0o9avCKQZfMZyAGqos8pewoPXYsXKsF0lalC28Xw= Date: Mon, 10 Jun 2019 07:54:15 +0200 From: Greg KH To: Weiyi Lu Subject: Re: [RFC v1] clk: core: support clocks that need to be enabled during re-parent Message-ID: <20190610055415.GC13825@kroah.com> References: <1560138293-4163-1-git-send-email-weiyi.lu@mediatek.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1560138293-4163-1-git-send-email-weiyi.lu@mediatek.com> User-Agent: Mutt/1.12.0 (2019-05-25) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190609_225419_243383_804018C5 X-CRM114-Status: UNSURE ( 9.59 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: James Liao , srv_heupstream@mediatek.com, Stephen Boyd , linux-kernel@vger.kernel.org, stable@vger.kernel.org, Fan Chen , linux-mediatek@lists.infradead.org, Matthias Brugger , Biao Huang , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jun 10, 2019 at 11:44:53AM +0800, Weiyi Lu wrote: > When using property assigned-clock-parents to assign parent clocks, > core clocks might still be disabled during re-parent. > Add flag 'CLK_OPS_CORE_ENABLE' for those clocks must be enabled > during re-parent. > > Signed-off-by: Weiyi Lu > --- > drivers/clk/clk.c | 9 +++++++++ > include/linux/clk-provider.h | 1 + > 2 files changed, 10 insertions(+) This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel