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=-4.0 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no 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 EAEFBC432C0 for ; Mon, 25 Nov 2019 01:26:00 +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 B438B2071A for ; Mon, 25 Nov 2019 01:26:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="DrLwKqi5"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="oTVUM/Sj" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B438B2071A 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:Message-Id:Date:To:From:Subject: References:In-Reply-To:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Ck0VdaeAWwpj+Ifa7MbvdWcTq4nl8NxMw5YrZBdoar0=; b=DrLwKqi5RfnTOT cV+GZLwpIKNLTiQ5mY63WUYZWOB0C1RW40+RP5Bd53SK2vH/2QdhXaD2KZV7FtzOAWif+v4N5Osgz 7mt3Ad92aN3/NMZFNSN8pdgLeS9Kz0cYekXe2nKnpD+S+pYes6FMiPdGszD4K1nM3hbVynaXp7Wx9 kjoZyV53DWyimNQHSQRyNa+ZRERyMmbGS0qACuS+aBrxpj3UecXY56q6O/bRxNNshM0kTl8ERBvMI nLm6ELFs83sUBA4A1iv0Pi3yZAgTaTISH+MGa2ScMWa84Ehyo7IAjbbrQJDdmwS0tfu+IFWZaxXwQ 9gqB2PIqd2LV989Gdb9A==; 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 1iZ38Y-0007VD-MW; Mon, 25 Nov 2019 01:25:58 +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 1iZ38U-0007UR-UW for linux-arm-kernel@lists.infradead.org; Mon, 25 Nov 2019 01:25:56 +0000 Received: from kernel.org (unknown [104.132.0.74]) (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 F205E2071A; Mon, 25 Nov 2019 01:25:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1574645152; bh=IhjN9rh8pV9VLB2CL1pVUO9g/fZd+WAsAxIuOs7fzjs=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=oTVUM/SjlWs/M/RK5sbtcRCN0o2dMWS2iIOwLg3rpEOvjReonJyCkNKlM1a/vNmfE YoVCu+tOqzm+0WPDopMfLKbJ5rtg6Ow/LSTuTWq1pfwuWR8OTohoU2ncby5DRQvLgA vRZxo8b37LN38FFhgQlcF7OTPXuCuws79TDM8bmM= MIME-Version: 1.0 In-Reply-To: References: Subject: Re: [PATCH v7 1/5] clk: imx8m: Set CLK_GET_RATE_NOCACHE on dram clocks From: Stephen Boyd To: Chanwoo Choi , Leonard Crestez , Rob Herring User-Agent: alot/0.8.1 Date: Sun, 24 Nov 2019 17:25:51 -0800 Message-Id: <20191125012551.F205E2071A@mail.kernel.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191124_172555_008819_BD9016B1 X-CRM114-Status: UNSURE ( 8.71 ) 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: Mark Rutland , Artur Świgoń , Jacky Bai , Viresh Kumar , Michael Turquette , Angus Ainslie , Alexandre Bailon , Matthias Kaehlcke , Abel Vesa , Saravana Kannan , Krzysztof Kozlowski , linux-clk@vger.kernel.org, MyungJoo Ham , linux-imx@nxp.com, devicetree@vger.kernel.org, linux-pm@vger.kernel.org, Martin Kepplinger , Silvano di Ninno , linux-arm-kernel@lists.infradead.org, Dong Aisheng , Anson Huang , "Rafael J. Wysocki" , Kyungmin Park , kernel@pengutronix.de, Fabio Estevam , Shawn Guo , Georgi Djakov 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 Quoting Leonard Crestez (2019-11-22 13:45:00) > These clocks are only modified as part of DRAM frequency switches during > which DRAM itself is briefly inaccessible. The switch is performed with > a SMC call to by TF-A which runs from a SRAM area; upon returning to > linux several clocks bits are modified and we need to update them. > > For rate bits an easy solution is to just mark with > CLK_GET_RATE_NOCACHE so that new rates are always read back from > registers. > > Signed-off-by: Leonard Crestez > Reviewed-by: Abel Vesa > --- Acked-by: Stephen Boyd _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel