Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp657530pxv; Thu, 15 Jul 2021 12:40:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJynqvYOtOv8SnmcUFGBBlbbbvcha2ZUZ4ApYABnPOUK9mQKI1nI68p6UkZ0ozicDp9GindN X-Received: by 2002:a05:6638:c9:: with SMTP id w9mr4619358jao.133.1626378034565; Thu, 15 Jul 2021 12:40:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626378034; cv=none; d=google.com; s=arc-20160816; b=XRwb4g1WUrM1Dff9yBKKEyHXen4wnRAa6qCj4pn0kbQayaxP1tcN5rUryfxBVohTFX hh6wF4f1bXeUXcjzSvtoIMs758pH1dHzBChBfMGGg40kvuqQL+CTLoj+4eCUnXFGBH6M 9M9jp9pF+GmKOaUdgNqDIYb0xBm031pmuyNU7fXMSEHQCqZsg4DTyhYJd7lTJTJ/bjKJ 8zLHSvkQs4SBk5hWYZ57ZHID+60vC4+EGDau9N995mirjCLAh3RhxPw+4yvkXCZVZ5YK 1KqWPBex89BTNup6JhGBx3X+JW8rYE1iZF8goHzW6Loy5vrKpmTWgECvp9ZBuZBqTJhB l9rQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=2jjbCbuGbQVXB/0wgTsQmgQgnnzUpIv8w2amxeLA8Wg=; b=I5PDOPsBCkZiDPiRQaX7sJ7r6pyVHvdlr+KGYjw5KtrmqYsji0eKnjNoEz3NmspUIJ zxBp7c+OUaF1qCffGp7xUP4iUAx29tqW0F3oXuzDVTlg48994X/t2a0hLGydu2gp9cjw MuFPaea09z4VeuNoNHPe9fp9/UEm4GYAhFQV8MlLsSzW9xqibLKHQciB6ftiHjZvpLm0 OYadKC6+Rfr63Riv/cuMpmUr3TKTL381HzOf6bQYi+HxxUiA+PZAhm+gHqN02dlvBCqk +2J2VS4BJnjaq+Wnv9RbeieoHZQKiTrkYpvPxuAAsxqbnH+Y+rPicBag+4ct9qCju7eh ELfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=NRNml4Ef; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n24si6970294ioz.5.2021.07.15.12.40.22; Thu, 15 Jul 2021 12:40:34 -0700 (PDT) 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=@linuxfoundation.org header.s=korg header.b=NRNml4Ef; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344913AbhGOTkh (ORCPT + 99 others); Thu, 15 Jul 2021 15:40:37 -0400 Received: from mail.kernel.org ([198.145.29.99]:51284 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244292AbhGOTOl (ORCPT ); Thu, 15 Jul 2021 15:14:41 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C49EC613E7; Thu, 15 Jul 2021 19:10:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626376213; bh=6JATwP12G/64FbgrNsJhSq7lJ8aC9o29Lv6SkZrlzBc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NRNml4EfeuuMepcf8Ddg+iSQfsisogeavWlogEFjsnsBHRnvMXm4I9YVN7gmyUK/1 +MFMN+b5FbQacwZ07wx9rA07XG3h8w4MHnwl3d1dwESW696WB67dA9sE4u3j078QVg ELGhDwldinnton07iBt4if6qr1HFtliKP5l05ae8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Nikolaus Schaller , =?UTF-8?q?=E5=91=A8=E7=90=B0=E6=9D=B0=20 ?= , Paul Cercueil , Thomas Bogendoerfer , Sasha Levin Subject: [PATCH 5.13 176/266] MIPS: CI20: Reduce clocksource to 750 kHz. Date: Thu, 15 Jul 2021 20:38:51 +0200 Message-Id: <20210715182643.011387382@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182613.933608881@linuxfoundation.org> References: <20210715182613.933608881@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: 周琰杰 (Zhou Yanjie) [ Upstream commit 23c64447b3538a6f34cb38aae3bc19dc1ec53436 ] The original clock (3 MHz) is too fast for the clocksource, there will be a chance that the system may get stuck. Reported-by: Nikolaus Schaller Tested-by: Nikolaus Schaller # on CI20 Signed-off-by: 周琰杰 (Zhou Yanjie) Acked-by: Paul Cercueil Signed-off-by: Thomas Bogendoerfer Signed-off-by: Sasha Levin --- arch/mips/boot/dts/ingenic/ci20.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/mips/boot/dts/ingenic/ci20.dts b/arch/mips/boot/dts/ingenic/ci20.dts index 8877c62609de..3a4eaf1f3f48 100644 --- a/arch/mips/boot/dts/ingenic/ci20.dts +++ b/arch/mips/boot/dts/ingenic/ci20.dts @@ -525,10 +525,10 @@ &tcu { /* - * 750 kHz for the system timer and 3 MHz for the clocksource, + * 750 kHz for the system timer and clocksource, * use channel #0 for the system timer, #1 for the clocksource. */ assigned-clocks = <&tcu TCU_CLK_TIMER0>, <&tcu TCU_CLK_TIMER1>, <&tcu TCU_CLK_OST>; - assigned-clock-rates = <750000>, <3000000>, <3000000>; + assigned-clock-rates = <750000>, <750000>, <3000000>; }; -- 2.30.2