Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp937797lqj; Mon, 3 Jun 2024 05:46:58 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVLNcM//1IG+KbJxWcDA5Gm/G8Bwm5D28Q7Wrle3i2ZuNQeXGTGK/vf59FVf2m5F3lq3zddgmzGgG+D1n3Gxu6jDSPKX9ig7iKkfiQHFg== X-Google-Smtp-Source: AGHT+IGXtHh29kLcgDn4Edfd3+v5uMf/cvBqR/j5rDo2vau8+gbRT33JEJV0UJo7lDXN/H9LIfzX X-Received: by 2002:a50:8e13:0:b0:57a:2158:bbf9 with SMTP id 4fb4d7f45d1cf-57a3647410bmr6222044a12.33.1717418817902; Mon, 03 Jun 2024 05:46:57 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717418817; cv=pass; d=google.com; s=arc-20160816; b=sWcX9fCkdK+EEBIgZ5i8yHSM/Tztvcy3wHMrIyG131jpabfpy4eu9KZmXZUddDhEip xpqvh5ieP26uKHgX4p+MURuPUZcc4tf7cZR0YIqS6aNKOpWl+mta/wG0QcTiqLZplnsW Oel1lcZf724KVQp1TBaGVbZDKTkvZC0RXwC9Cg/C6rBWWbWsqzga28evP2/Co/xzXxOf ZCF3Mr44H17gBfk9FN+2JHRbXw31GsarVm7YR5K6beCSbD5Zr/wdp+gS48XTNAprhMah Dr56BKXaP9B4mdrIk01FgBtYYJUFAIJihS95tEiSSovLoiTF7xg7jzXcpF6AEHowUdHj 2eVA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=bmfnZKfCgRwsGkioRJvWkyb/LftuLHVcEkZkw3PqV9I=; fh=Iv+qHfx8xfHIVNKVoYMBChoYVjOXpzTRet7sKVRrAPA=; b=u1NcLGJC7krXbJtBJZBbLhmR9nrjGX0n0/5Cz9Ruf2l362USlFbpamD9Fxdc8zhkUv NEvU9rZVyK/EcCW1vpvk89vPCu6gVyq9XjdJ3p7iERgX06H5pTT+qVgs3UyK1zgbwO8X qJkcnQlMLouRcrueiosEsqIsJ6x2GFOuT+IpckAsgwNFpz32t8uHLR6RgqPr+zlR/dHB jOWlPhC9ixwQjsfsKKG1sLyaZRI1RL1B0IXFLqz8dmtAHwu8D+v63r/YUOxexrvLLASc kNv+QlLCAF3xp5kiEME9Q373e8Ac+lGBr+3ipTJ9xgsfZ80zb08LVEXNyf3YjoUtfwHL PzQw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=LohHcb5c; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-199127-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199127-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-57a31b80e87si4056234a12.36.2024.06.03.05.46.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 05:46:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199127-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=LohHcb5c; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-199127-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199127-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 92EA01F258DA for ; Mon, 3 Jun 2024 12:46:57 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1A4E312C80F; Mon, 3 Jun 2024 12:46:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="LohHcb5c" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6529F12C7E3 for ; Mon, 3 Jun 2024 12:46:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717418798; cv=none; b=NcRcfwqDR96M4xFU31X4R4tOdyqU7llYKHETOG1b0L5tTCzhIa/rbdL4hiyk6UchDplpjYhOgvXxh2/0rodSw9efuzxv/nEV987NQxWItcqrAvyyjoRUQLW3/V9f/ynCyoUvTADdmNBo6Lr+r7sLgUpiVZWxHdEmZhEncZQatUk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717418798; c=relaxed/simple; bh=lQ61YxZVUBj/F8hh+Ierb08BzryUCSUJ1lFXGMMdj74=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dDxG6xVpJ01Km0rDH5jYIukgTzTiQ5TJmVcUnCTCaOIY15OXZSaaETcrVNlYbBZOS99jc/wS65EuJBBGHJbh4r56XLaqQZhEj33y/MfbL7FapT0YwuwMTxKyTqkVfzY6etzjRtG2SmKKrIFKqOl1huzzQzzs68Jr6gIztLx6HKs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=LohHcb5c; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=bmfnZKfCgRwsGkioRJvWkyb/LftuLHVcEkZkw3PqV9I=; b=LohHcb5cctuvUz3a5kcQbgijDG sFnYZEmcYHNULmLvAVCSC1rVsUXgSxB4j6rfy3UqXiNE5AAdlhBYGrMDT7OXy6+0/CyAGZnzGKTCV RJgmabMYOetaESMkQmkC8aoa4Whxi7Xlh/26/REZGwAGhjICXdKwgvsjXe4+R4QT3BZ8=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1sE754-00Ghw0-Fx; Mon, 03 Jun 2024 14:46:30 +0200 Date: Mon, 3 Jun 2024 14:46:30 +0200 From: Andrew Lunn To: Benjamin Schneider Cc: Gregory Clement , Sebastian Hesselbarth , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Benjamin Schneider Subject: Re: [PATCH] cpufreq: enable 1200Mhz clock speed for armada-37xx Message-ID: References: <20240603012804.122215-1-ben@bens.haus> <20240603012804.122215-2-ben@bens.haus> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240603012804.122215-2-ben@bens.haus> On Sun, Jun 02, 2024 at 06:26:38PM -0700, Benjamin Schneider wrote: > This frequency was disabled because of unresolved stability problems. > However, based on several months of testing, the source of the > stability problems seems to be the bootloader, not the kernel. > Marvell has recently merged changes to their bootloader source that > addresses the stability issues when frequency scaling is enabled at > all frequencies including 1.2Ghz. The problem is, most systems don't have the new bootloader. And so if you enable 1.2GHz, they are going to be unstable. Rather than making this unconditional, i think it needs to be conditional on knowing the bootloader has been upgraded. Could you add code which looks in the DDRPHY and see if 0xC0001004 has the correct value. Only then enable the additional clock speed. Andrew