Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp973885pxb; Tue, 9 Feb 2021 18:31:27 -0800 (PST) X-Google-Smtp-Source: ABdhPJyVfkSkAtA7Evw+alt3W3cKW2hwUAJ7dnSY1Iy3S++Rpm1wAKjEZTmbPQ3cKbxOzJ3eEygV X-Received: by 2002:a17:907:d86:: with SMTP id go6mr655580ejc.337.1612924286852; Tue, 09 Feb 2021 18:31:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612924286; cv=none; d=google.com; s=arc-20160816; b=Hwc0rT6nlL5b/Ip3iV72sY9yMFvu02lvEJ/seUbdley7pyleMdPueSFqaQc9pkiPGd kJFdumqETbUHkPnjh3pJ57fpm4taYOKmiSg4HaX+fk8cwRe1Uhk2AFhvqkwbv9RYy0/B eoE6uCytRXI6RNsvL0STh1RREX8mniyn2zbC+J8VNhCArlwsdkzdLrGcKgRB3JdgtQZ2 unl22CD8zt90rES2f7M+dEVyPxH2lgfAksXN0fyA4E0p7kgznmr6/eO7q5OBQ2nAFCA3 LOAi4PtRiNmr/ybB3A0rHE/eDbwCHE2xH4RaRWUViR+fGeXQQVA74Yv1kos9329Jew4I /HVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:date:to:cc:from:subject :references:in-reply-to:content-transfer-encoding:mime-version :dkim-signature; bh=HrXwsVL8bHLZqMYLe2+HNguxBdslpuPKO7GJDYyRIAg=; b=O2NH1SUQqdiDrOF70oZaRDMDXSxDSwz9NrjGksDRx8UroiK/KRd+/2vA/hSR5AYy8F k8S/VHI+FTAAyZXc7CehFD9AmSn5pxY8c9i0S62xdKUDPWxDMqE+1Np2kqEVb74S/Wrv p9tmupgflz0d5TA8KEYYpZyTfLayDe2vUal2My3c+DUjZ9cmVfHDDnFsDResKdEv54DQ rsyUa2O/HVnhwX7/+PxN2rp0y1NFV+9mdmMWDlZhBIjGubSVtKN+/dkIAZBB51m9m4nR 5D5xoxgcUo0tK7/N1G2r41tXjTbncCbieYJ5P4LzqJdezzHy/17vOZRbysrqhM51aUxV 6IJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B0rwmWEJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l13si532329edn.5.2021.02.09.18.31.03; Tue, 09 Feb 2021 18:31:26 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=B0rwmWEJ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234829AbhBJC3H (ORCPT + 99 others); Tue, 9 Feb 2021 21:29:07 -0500 Received: from mail.kernel.org ([198.145.29.99]:53680 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235261AbhBJB7G (ORCPT ); Tue, 9 Feb 2021 20:59:06 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id A7B7D64D87; Wed, 10 Feb 2021 01:58:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612922305; bh=HrXwsVL8bHLZqMYLe2+HNguxBdslpuPKO7GJDYyRIAg=; h=In-Reply-To:References:Subject:From:Cc:To:Date:From; b=B0rwmWEJPZs5D2LXwnB7pIbiLozVp3Hg2nYjV44+VQnSuXyNgeTfuiESuSitcmUz+ 6bmdlZC/pNPftqTPL8KY6FeQHUCVp93E4bWk2HYSdIKy0S4+zliGz5Dq9DwqwSlsLp 0Ey7gFNZQ3vSAN7euI2bdRF+urQaYiq+3z0vbweL+nOy1JPb9njdEahkQf9j8ZHmGx XulC/yEGFy8WNy7sD+9jRca+HuzDs2bmzo4UyHuJSODUy2+s286eMQa9SF1E07Ca9P CEP7Cvq66iwxp0Z8YGiUb92DmAo95MiPrbMcB7AXnJX0tu5aEpj0rmry32Fwzi3tvf dPlyYwt7Wdsmw== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <20210114124032.12765-6-pali@kernel.org> References: <20210114124032.12765-1-pali@kernel.org> <20210114124032.12765-6-pali@kernel.org> Subject: Re: [PATCH mvebu v2 05/10] clk: mvebu: armada-37xx-periph: Fix switching CPU freq from 250 Mhz to 1 GHz From: Stephen Boyd Cc: Marek =?utf-8?q?Beh=C3=BAn?= , Miquel Raynal , Tomasz Maciej Nowak , Luka Perkov , Andre Heider , Vladimir Vid , Russell King , =?utf-8?q?G=C3=A9rald?= Kerma , Konstantin Porotchkin To: Andrew Lunn , Gregory Clement , Michael Turquette , Pali =?utf-8?q?Roh=C3=A1r?= , linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 09 Feb 2021 17:58:24 -0800 Message-ID: <161292230417.418021.9609462768507058743@swboyd.mtv.corp.google.com> User-Agent: alot/0.9.1 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Pali Roh=C3=A1r (2021-01-14 04:40:27) > It was observed that the workaround introduced by commit 61c40f35f5cd > ("clk: mvebu: armada-37xx-periph: Fix switching CPU rate from 300Mhz to > 1.2GHz") when base CPU frequency is 1.2 GHz is also required when base > CPU frequency is 1 GHz. Otherwise switching CPU frequency directly from > L2 (250 MHz) to L0 (1 GHz) causes a crash. >=20 > When base CPU frequency is just 800 MHz no crashed were observed during > switch from L2 to L0. >=20 > Signed-off-by: Pali Roh=C3=A1r > Fixes: 2089dc33ea0e ("clk: mvebu: armada-37xx-periph: add DVFS support fo= r cpu clocks") > Cc: stable@vger.kernel.org # 61c40f35f5cd ("clk: mvebu: armada-37xx-perip= h: Fix switching CPU rate from 300Mhz to 1.2GHz") > --- Acked-by: Stephen Boyd