Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp975556pxb; Tue, 9 Feb 2021 18:34:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJwVfhI8b7vlVN98HOxxJrR0kY86/CK0KEpZaI7+75BiJ63AnZxiJQt8DRhuJ5nA9B2tCvm+ X-Received: by 2002:a05:6402:3198:: with SMTP id di24mr1077783edb.340.1612924497605; Tue, 09 Feb 2021 18:34:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1612924497; cv=none; d=google.com; s=arc-20160816; b=BxnoncBKxHRb4tJR2ESYDjaD2exGYgbSfZkP2Y7Lxy0op4p/iJpPJeMq9akuRziDGc II2IOpaIR8JoBAcbRkELIGfM2Y/QGP0hYGmEYqmcESUV4qU7YxC5wyIeZ3FwdfIdGSjM MVOmzaIMa7tpiImvcHQyp5UpjfT5IoubuV9xgcZ9vVrdQw6mIyWtXxdxXpoMef0CEb2O +j1SI6waQFA5E465kDk0jq8qoIkb5ldZboFwzNhoS+V+xm0NzS193qzCgj8FZR6oVgV/ gLuwv+5TAzfTt+AYqU4CFiM858IWShmUunev3/9MnAkYk2x7klt3dX6rATn6rzgEJRf8 YbYg== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=sUTyIAhBb5z8GdmTZzSW/TonPngfISl2urwIa80N8m0=; b=Nb8o5w6DFmApXbHVmP2znh3X3P3wkWaAmD92jP0mek6uTulVEJRiW8cpHwRKKiaUXU cskBUO1SX46h3sAry7ho4WPtwXeoFctRvvzRmOxv/RNNU4kf9SIad1pSE+HOZfljGOLr nVO1QAFdRRtCmRg7d9v31Wd0c7deENZ3xGLuMRwwXNpGsDTMDXEvC2BzIuxNdIIwBGoI TSClS9JAaEufcWa9oYnQ4OHwPkdAko2xCVe/hHCXy5pM6nAiF4Mi0RIPOtCYhW4Bhn5e ZdWYR8+a5kN3Cl/i35w5Dm2vmPCpyPWizCKWk8SPH7zQ8MY4XMJXxzCJDjUDX8KEEdGC LM3g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jJjPiTN4; 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 gb23si315973ejc.382.2021.02.09.18.34.34; Tue, 09 Feb 2021 18:34:57 -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=jJjPiTN4; 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 S234813AbhBJCdx (ORCPT + 99 others); Tue, 9 Feb 2021 21:33:53 -0500 Received: from mail.kernel.org ([198.145.29.99]:58676 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234717AbhBJCNX (ORCPT ); Tue, 9 Feb 2021 21:13:23 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 5623C64DEE; Wed, 10 Feb 2021 02:12:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1612923163; bh=mU7P5kYB5pwu1ZcXRO4M9stXvCcsOmmLi6LZWpdu/rk=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=jJjPiTN4clZy1RoxjIXLcTPtMACvUyz2pKa66BB8DUV9c29dLzkKNU20ljp6lLers SdUwvxM7kdDWHEPKzWRHcCrAixxRdUmtAejTJBtfqrKGk1ELeyr+8B7Dz25f/pWxbO eJjzENJW7eS1lpRmI4VTBU8uRgNVoZu83UMGR7bLqUg4q6YxXYhFKPDZqqQIZohAWc BKtiCaaFUWMpH6Kk/RE/b3SmCGt9Iy1Bc6gbuu64K/3r/Vzd3oY06R4FauxPIKz0Ty wgjKWCA+I//6yvo1WOwYsRyTva8zeEyNqbAENKQ5wbdqrxf7VaB8SSpSTbNMA5KSGA 15Q0ECxpd1rNw== Date: Wed, 10 Feb 2021 03:12:37 +0100 From: Marek =?UTF-8?B?QmVow7pu?= To: nnet Cc: Pali =?UTF-8?B?Um9ow6Fy?= , a.heider@gmail.com, andrew@lunn.ch, gerald@gk2.net, gregory.clement@bootlin.com, kostap@marvell.com, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org, luka.perkov@sartura.hr, miquel.raynal@bootlin.com, mturquette@baylibre.com, rmk+kernel@armlinux.org.uk, sboyd@kernel.org, tmn505@gmail.com, vladimir.vid@sartura.hr Subject: Re: [PATCH mvebu v2 00/10] Armada 37xx: Fix cpufreq changing base CPU speed to 800 MHz from 1000 MHz Message-ID: <20210210031237.6229b7ef@kernel.org> In-Reply-To: <1cd0c2ee-aa3a-4da2-9c0c-57cc5a1dad49@www.fastmail.com> References: <20210209213330.hnc7op72zoj24mgz@pali> <7b0988cc-eeb8-4ea7-92f6-e8234ca910d3@www.fastmail.com> <20210209224223.p22yhjdy7ibzepss@pali> <93745280-dbe9-491c-a79d-c9c364b83880@www.fastmail.com> <20210209225630.mdwnzkvnaz3r4blt@pali> <20210210002619.43104a9b@kernel.org> <1cd0c2ee-aa3a-4da2-9c0c-57cc5a1dad49@www.fastmail.com> X-Mailer: Claws Mail 3.17.7 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 09 Feb 2021 17:51:53 -0800 nnet wrote: > On Tue, Feb 9, 2021, at 5:31 PM, nnet wrote: > > On Tue, Feb 9, 2021, at 3:26 PM, Marek Beh=C3=BAn wrote: =20 > > > On Tue, 09 Feb 2021 15:16:45 -0800 > > > nnet wrote: > > > =20 > > > > I've two of these and I've just swapped them (and re-pasted the hea= t sinks). > > > >=20 > > > > The second one ran under load for awhile and now has frozen as well. > > > >=20 > > > > Under a moderate load `wget -O /dev/null ` @X00Mbits the= y are fine. > > > >=20 > > > > Under a 1 min speed test of load ~200Mbits routed WireGuard they fr= eeze. > > > >=20 > > > > They fine with both those workloads @1000_800. > > > >=20 > > > > Perhaps it's heat? Unfortunately I don't have any numbers on that A= TM. =20 > > >=20 > > > Try disabling cpufreq in kernel completely, compile boot image at > > > 1200 MHz. If it continues freezing, then I fear we can't help you with > > > 1200 MHz :( =20 > >=20 > > cat /sys/devices/system/cpu/cpufreq/policy0/scaling_available_frequenci= es=20 > > 200000 300000 600000 1200000=20 > >=20 > > I'm not getting any freezes with 1.2GHz fixed after 20 minutes of load: > >=20 > > echo 1200000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq > >=20 > > Setting it back to min 200MHz I get a freeze within a minute: > >=20 > > echo 200000 > /sys/devices/system/cpu/cpufreq/policy0/scaling_min_freq > > =20 > > > Marek > > > =20 >=20 > > +#define MIN_VOLT_MV_FOR_L0_L1_1GHZ 1108 =20 >=20 > Based on the below at boot time might an equivalent of the above need to = be 1225 for 1.2GHz? >=20 > 1200_750 > SVC REV: 5, CPU VDD voltage: 1.225V >=20 > 1000_800 > SVC REV: 5, CPU VDD voltage: 1.108V It may be... But it is possible that the value 1.225 is computed by the code by default. Marek