Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp643753pxv; Thu, 15 Jul 2021 12:18:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzPhwXG8LAdph0orEskoZ/oCTsTGypovbm0wkUj3vgH47YBIlfjTOG12ZBRw7wAFusBO29p X-Received: by 2002:a5d:8602:: with SMTP id f2mr4357572iol.61.1626376679824; Thu, 15 Jul 2021 12:17:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626376679; cv=none; d=google.com; s=arc-20160816; b=hwCx2yy0ZOh5QuJhX0DqhmxCkwc/9cboB1ANStn3Xm8/2cN4VMZEQrLxNrhQRDUOsk yBHSFLhzeJh8T3ch6sTPP5RLVtVkefI0rWNWpBEWeb45E7PsqNUIOsTtk+YvybAXcOIU Vd/CMEdcSRhXkLYlzvmh8hl4RZtEsEJAGJh8BQ5Bp2eLOHV3KWEfvflfFhX8OzWFO3hX fiFXB/kAK0C/HjB4zIVfh55OSNA7MGWmxLqq7h1/5Vpk5q+NmN3zLztT3TaFaTwrdKJ4 dxACFfPLgKZue5gHDXbAbwjhDapRu1dthRdZGsOIa2me/inOHdgk51vIzLCp9Zhz/Dcz JF8Q== 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=AU6Foqd7ihCj5UnG+Y1aXSppF89923n+q8UbnBNnuTbfpMqvG3QtGNyP+DG2w5B+CQ 6GSeh4tlgTZm/Zkvouq5jXP1snCdMYd641GzRq29gNgBDu/mS5BgirOJ1mRwHoZqLrbf wonxccw8ruoqSh09TEh48OmNhT8M6vogv5a0zMyD2TS4l/terETfqHjD+/CGmev2L34E YjpDTtDLwjI0d2PQFOqhx8b28BtvljUvpbxHRkFeR+Jw8vsIOIO6W826xNz4UkoSzlv5 K3KvACLEMGXpr/3V0NVQ8PPBkYa5aTkF9z2jvgZyLvMAvmzJtfdOuhMycMKNFhtcicCG bNOw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=MguIofEP; 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 c6si7708084iob.3.2021.07.15.12.17.44; Thu, 15 Jul 2021 12:17:59 -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=MguIofEP; 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 S244469AbhGOTSy (ORCPT + 99 others); Thu, 15 Jul 2021 15:18:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:39762 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243372AbhGOTEU (ORCPT ); Thu, 15 Jul 2021 15:04:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id CDA4D613F9; Thu, 15 Jul 2021 18:59:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1626375598; bh=6JATwP12G/64FbgrNsJhSq7lJ8aC9o29Lv6SkZrlzBc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=MguIofEP+Imbew8odYHMip7NBqbooqoN7bQPx3PKWFrgD5I04k4eSVUtR17o5wZ3y wxzsZu99KHpKb6O8GW80gNzxl6WH1CG+MkC2BjUEY0tPKFuSA3kR+VT1AWC5en1IsL f2XfsEaElJYqpKDunH521YAslqqabZs+KfO4Bb2E= 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.12 153/242] MIPS: CI20: Reduce clocksource to 750 kHz. Date: Thu, 15 Jul 2021 20:38:35 +0200 Message-Id: <20210715182620.181549345@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210715182551.731989182@linuxfoundation.org> References: <20210715182551.731989182@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