Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp691762lqj; Sun, 2 Jun 2024 18:30:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVHtToysnSIzZjJZGScSJNtUCMFwvrMw+ViNPIitPn76o2pMPn6hxikyMLWjglkKwzuqm4MCrc69vk8JGxDF+QAS8qCZnZ5jwSktgf5Yg== X-Google-Smtp-Source: AGHT+IFNQs1AkxichJzY0Ykuj5C+Gq1zuplYffqlMaTXRgZWU4pDgDoHwWbPBLwdO9i9Nf+65nuT X-Received: by 2002:a17:907:7f17:b0:a68:f4fe:48df with SMTP id a640c23a62f3a-a68f4fe495amr221462466b.22.1717378234911; Sun, 02 Jun 2024 18:30:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717378234; cv=pass; d=google.com; s=arc-20160816; b=1KIVQB9O54GDhDXhxn540X0jrHSrZ1j7tWDAzpw98EcLqYtw3vg+wX1aTuNzSY2avA edCWqjr/gJKG7LgYV0LgPvh9+kuPT4BAMVF8wHU2KBOFEIkFyg4jR2vAqLtO4A2oQwoh AZtKnWd94cASXVmpJJ7LAf61CcNrahkCUmNzKYJuc+AZb3s4sdbSVgSkV+jwcJhBY6K5 Tt9zq1cT7jiuTMUdnyH55vKtU0/Jow+5wyNKhGMJKm9JqOCm3Vf0sBBBcquLwb/kAcg0 gP39K3IX3GdSk8H6LS4lVEWipMj5TNbeCOLXw6zUiBkk+RfUUhw03UhM9eo/YvL4Tgx7 veyw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=tS15qjGSe6PTQR2eoAM4lHF1ea4VHbs/P9F17xo4vAA=; fh=vVsPQSvkRbC875rRtmXyd99UttVLRuRCnKijh5ed02M=; b=aUp4bxHtrRk4iTDePrQX9YWKAacYtTlEklbc6sngZ/hyVtLWhR6jOygIDHYK4FQLVX gt1DqzYRImSkS4J2D8ilaqH0aPch2NQ9TeSVwnDW/Q81UhfTTt4BzzrENFECQ+DnZYmk FKjusDmD8QGwEBPA1rhsq1hgEMw4+y19TV93uw0kjUeKqXbYXDcQpnoYXuhJwJLBi/Uv WXWpkE901T7W1OnXKyA3gob1MBTQQihD9G4lU6eJuwNUHOVPeqSTNJIHBvD+QQG0x/ki YhLjy2BZMK0qte67uGYiJ3IXIqZMCUgZzPIsYetT8cBVmC/cNKOsrx/miPmzY1ohHUA9 zM/w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=mhTsLqFg; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-198528-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198528-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a68e4db4fc5si140540966b.88.2024.06.02.18.30.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 18:30:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198528-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=@gmail.com header.s=20230601 header.b=mhTsLqFg; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-198528-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198528-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 9DA281F219F6 for ; Mon, 3 Jun 2024 01:30:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A3C73C39; Mon, 3 Jun 2024 01:30:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="mhTsLqFg" Received: from mail-pf1-f174.google.com (mail-pf1-f174.google.com [209.85.210.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8E7B91C14 for ; Mon, 3 Jun 2024 01:30:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717378227; cv=none; b=sBuMyAwDTQrP2c3gLfCPDoQ8qkPdyLWPkliM9kRIUhM2OS1TgGFGgoHrGCukBQDZqjWb62M54bth/5IpGYdEHVrOxNr5VdTxJb+bAip3tNjzdGl8vWjHJVdGCyE+Dh/jjkZYTRTJIVSi0iozxHfKAVFkhR+RQ9WU7Tih1xip7o0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717378227; c=relaxed/simple; bh=hQRSuF4fcKuvZy+7FPG3ztWNu6T8tJFxZYTu///cOCc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=TSD5VEuupWIWQZzcNCmkSfAEl65RMlenidE0rsw1BGhGt5y6A1B2H9XNGoB/cDlC4MIHLnYoEcQjCqjKDnbYHNkS/R/N/BcfFXZLPG+/9ys9uUAbjJHPWDRxjT44GrmwHhGnlVf5fkPZgJd7fuetZJYT5J+T1geVjhSyJiMY6X0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=mhTsLqFg; arc=none smtp.client-ip=209.85.210.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pf1-f174.google.com with SMTP id d2e1a72fcca58-7023b6d810bso2621873b3a.3 for ; Sun, 02 Jun 2024 18:30:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717378226; x=1717983026; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tS15qjGSe6PTQR2eoAM4lHF1ea4VHbs/P9F17xo4vAA=; b=mhTsLqFgJo37dMveSyKP7bmr7pTeNpRmkBrqdSOcYfqcBfJA94XbLiTDFFd1C6dUfE FSmr9iyYlbEgk3Y+4Hqbtqn4jz8Q21Z4ALMSQRvjNeBjrBAutY5kP7mW80XSIRQxB/KK 0EuvHiET+1Dzd4o8NTJjWgTUsDuEjKc/0xfFE2D3klUzioK6PESbMQ7L4qkYQmeQIB/v whhx35Qr7kiOfa8EBf7Eu0fmSBe/I1pBRSZRNok7t/vKy7ZAQBlZmOtel/i1riEZNMWo FWLGgCgKKrHPNRtvHBLscjTV9VvUxXtSjTCfjQiSSLzWHpReBuSdIDqdqSvPzFi5tnBe 8uIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717378226; x=1717983026; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tS15qjGSe6PTQR2eoAM4lHF1ea4VHbs/P9F17xo4vAA=; b=wIyStGEV4lhk4rEDfTpuboLyd5EH3v2KxpSjB7ODauj3W0JIO92AEkvToCytxgy0aa 43LaVvYUpMWrdC4aATzzLEHbst/eYDLdX8w0nOItOJ9JXrz+4cx06g8aIAPGv/01EiX8 AP5GPLZ6VXpx+G+HRwyQQEZ2b18n3zCOFKBXGXmDNjfotciW4QOmAS3IN8jZoB2QXo62 9rmW4nT6uWJlAUDNh4roLJqROZQMsgPb6pBST8zKurQ/EuDHp19Atb24/3TtuRFO5F5R EKa2xR7vf2tB9m7zBsEc2txZdziOFHuHq0PwqW1FqVrxY66K4yMZHWwMwXUCFAEetxK0 TrBg== X-Forwarded-Encrypted: i=1; AJvYcCV/h+ztl2/NLtF9IQh03zITI+lYXW3lwOwy3yw4rAcUX3MyF5I4/eZoh+49iV/vRu1D8GmMwuUuoHHndChHyxrzmvG40GSM7QXKRFv7 X-Gm-Message-State: AOJu0YyNj0Db1JCtdmt475juBM3yQIGyGFzpJUlid93Lpy/e9KRq9pWW xxngLEKLsL1vOOffroUYcCviD3W6zrvdbRFkKY03FHlcX/fhD9kn7HAHjFXEZXw= X-Received: by 2002:a05:6a21:788a:b0:1af:d1f3:2cb5 with SMTP id adf61e73a8af0-1b26f0e64a4mr9621243637.8.1717378225636; Sun, 02 Jun 2024 18:30:25 -0700 (PDT) Received: from desky.home.arpa ([2605:59c8:790:a500:5d50:7307:99f3:76c8]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c1a77bb855sm6725047a91.52.2024.06.02.18.30.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jun 2024 18:30:25 -0700 (PDT) From: Benjamin Schneider X-Google-Original-From: Benjamin Schneider To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Benjamin Schneider Subject: [PATCH] cpufreq: enable 1200Mhz clock speed for armada-37xx Date: Sun, 2 Jun 2024 18:26:38 -0700 Message-ID: <20240603012804.122215-2-ben@bens.haus> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240603012804.122215-1-ben@bens.haus> References: <20240603012804.122215-1-ben@bens.haus> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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. Signed-off-by: Benjamin Schneider --- drivers/cpufreq/armada-37xx-cpufreq.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/cpufreq/armada-37xx-cpufreq.c b/drivers/cpufreq/armada-37xx-cpufreq.c index bea41ccab..f28a4435f 100644 --- a/drivers/cpufreq/armada-37xx-cpufreq.c +++ b/drivers/cpufreq/armada-37xx-cpufreq.c @@ -102,11 +102,7 @@ struct armada_37xx_dvfs { }; static struct armada_37xx_dvfs armada_37xx_dvfs[] = { - /* - * The cpufreq scaling for 1.2 GHz variant of the SOC is currently - * unstable because we do not know how to configure it properly. - */ - /* {.cpu_freq_max = 1200*1000*1000, .divider = {1, 2, 4, 6} }, */ + {.cpu_freq_max = 1200*1000*1000, .divider = {1, 2, 4, 6} }, {.cpu_freq_max = 1000*1000*1000, .divider = {1, 2, 4, 5} }, {.cpu_freq_max = 800*1000*1000, .divider = {1, 2, 3, 4} }, {.cpu_freq_max = 600*1000*1000, .divider = {2, 4, 5, 6} }, -- 2.45.1