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.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 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 AC2BECA9EA0 for ; Mon, 28 Oct 2019 08:36:08 +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 8079421783 for ; Mon, 28 Oct 2019 08:36:08 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="r/YA6fHE"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="VfjtwdY4" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 8079421783 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.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=1Kcm3+i+eBlr8DEJFQrlP1UhyR/Q0STOTftXYp46vbs=; b=r/YA6fHE2Xy183 iEnNNHMTIMbEE8LkXDGrb0DwQNSrO7wVCz6aPlAOuQg9m0jTQYcScJpheAceLjNoMZmbFkpNdPCdV RcaZZUM5QsMqUd1GLP1G0ta/derOn8rpp77wRGtiZrDmPuOdcra94ff97lGXuL3+3sKNk0/pL8Ott Qk1d7LVhqAUfn+O96T666i6gAUAjWM0bdBdNpC0Vht50xegsBVaNC01iWHckR0LbCTQWMVtCOoI2Y ktSkfmsCcL8D3j+vSK84vw27HKvbvxA36Cz9KlukqG3zYGVMBYdwqws64lBniqritbZ6bndWyH9fN BBQHTBoQOhebgbit8h3Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1iP0VU-0003VE-0f; Mon, 28 Oct 2019 08:36:08 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1iP0VR-0003Us-Fc for linux-arm-kernel@lists.infradead.org; Mon, 28 Oct 2019 08:36:06 +0000 Received: from dragon (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 913C220650; Mon, 28 Oct 2019 08:35:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1572251765; bh=YSz7TfslhiFwmoaN1bPaiGLyGWgIdmnawIFyeNvBbtU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=VfjtwdY4B4l+k3YieRfLebQ0T/q+/R30MRXAiyVe1v/8sglkt3uLbuGJ3YPOeyopS xdSTCV2Q2HDdWnpA8UBTp7WNAoTfQZ50T7ThHZFTsb3z2rIUwmPT3lPNivgD58PKlk yhm87rSAYBKqgAVQ+DE/PUgkfNEhwzzwRp3Y5gQA= Date: Mon, 28 Oct 2019 16:35:40 +0800 From: Shawn Guo To: Leonard Crestez , Stephen Boyd Subject: Re: [PATCH] clk: imx8m: Use SYS_PLL1_800M as intermediate parent of CLK_ARM Message-ID: <20191028083539.GT16985@dragon> References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191028_013605_549175_6165CEAB X-CRM114-Status: GOOD ( 10.80 ) 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: Dong Aisheng , Jacky Bai , Anson Huang , Michael Turquette , linux-imx@nxp.com, kernel@pengutronix.de, Fabio Estevam , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Abel Vesa 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 Tue, Oct 22, 2019 at 10:21:28PM +0300, Leonard Crestez wrote: > During cpu frequency switching the main "CLK_ARM" is reparented to an > intermediate "step" clock. On imx8mm and imx8mn the 24M oscillator is > used for this purpose but it is extremely slow, increasing wakeup > latencies to the point that i2c transactions can timeout and system > becomes unresponsive. > > Fix by switching the "step" clk to SYS_PLL1_800M, matching the behavior > of imx8m cpufreq drivers in imx vendor tree. > > This bug was not immediately apparent because upstream arm64 defconfig > uses the "performance" governor by default so no cpufreq transitions > happen. > > Fixes: ba5625c3e272 ("clk: imx: Add clock driver support for imx8mm") > Fixes: 96d6392b54db ("clk: imx: Add support for i.MX8MN clock driver") > > Cc: stable@vger.kernel.org > Signed-off-by: Leonard Crestez Acked-by: Shawn Guo Stephen, I assume that you will pick up this one as a fix. Shawn _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel