Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2626454imm; Wed, 16 May 2018 16:34:40 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrI4YACRROsa/C6eYg2MA3BcBPsptycCbKrcGVO6UhI72ceS/Y8teu9j3rowNLmTnhfACXf X-Received: by 2002:a17:902:ab93:: with SMTP id f19-v6mr2955265plr.392.1526513680403; Wed, 16 May 2018 16:34:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526513680; cv=none; d=google.com; s=arc-20160816; b=U2cae1JrESVrTjuE4TsEoCy0WkrXve9NkoQlTqYUTXKJNXJWUoFmobifi7S/YCQJzY oA1kbqrGS13AI7YVv9WFPpzYsMeoP2qLVam9E44474ns1HwhWCPI8WFc8IbHOJ02GJqF MySsVDpSvpk6EBsUXkiX5ujuuXLstXDLRgbppXSbB7y8fwf7V4TtM4R4sqM5LLLi15r1 /5EE0OpyCa21K0ofJTuY4xSfUpeP3ZKgixh8bHmfNjJREspxA+rY87HhB8PfhDjeupGG jAotnNOU4vel2KxxLokNSZBxnZSMAjny/hTmnUadiW/FK/V2eUFWEua0DBSlJqUEfAAt hEeA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :organization:references:in-reply-to:date:cc:to:from:subject :message-id:arc-authentication-results; bh=xCWbS07vN9OgwzniaO/qMf0mjM6bf4nkYuMhuimZYfE=; b=ZS0IA7A8szJFPk1xmJmcD1xja/L2nxCNHmxAHc9SMoK2/5iNfYvmBIDmcnCnvwv8r5 6gtpXq6s1i1JJV36Lb/SifYrrk6zm0hFhHWO4LOd+17p/ySBh/15IK5l+9xic+DoLmMV ydVOiWnPj2W0Y4klTvYHmoAQK21it8VQhFhsyld1xh+pM9xE0/EQ9jAZDhi9RLPuJ9DJ oFKrQHkSFX0fXrAmtJLnLS6BXDUM/Rzoa6FX2B0hFJzSYvLgPi8Yns16erRSI2k5NWud KXABaUCwm3E1iX6k2lYZB/bzP3GIMrKlEtM3Q1tVSLYjN+x2bAOIQbwBgAJ/bEm+dF/k kzqQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z187-v6si3020388pgd.646.2018.05.16.16.34.26; Wed, 16 May 2018 16:34:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=codethink.co.uk Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751695AbeEPXct (ORCPT + 99 others); Wed, 16 May 2018 19:32:49 -0400 Received: from imap1.codethink.co.uk ([176.9.8.82]:52728 "EHLO imap1.codethink.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751150AbeEPXcs (ORCPT ); Wed, 16 May 2018 19:32:48 -0400 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126] helo=xylophone) by imap1.codethink.co.uk with esmtpsa (Exim 4.84_2 #1 (Debian)) id 1fJ5uX-0000FT-U9; Thu, 17 May 2018 00:32:46 +0100 Message-ID: <1526513565.9159.153.camel@codethink.co.uk> Subject: Re: [PATCH 4.4 60/97] clk: mvebu: armada-38x: add support for 1866MHz variants From: Ben Hutchings To: Ralph Sennhauser , Gregory CLEMENT , Stephen Boyd Cc: stable@vger.kernel.org, Greg Kroah-Hartman , LKML Date: Thu, 17 May 2018 00:32:45 +0100 In-Reply-To: <20180422135308.591594256@linuxfoundation.org> References: <20180422135304.577223025@linuxfoundation.org> <20180422135308.591594256@linuxfoundation.org> Organization: Codethink Ltd. Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.22.6-1+deb9u1 Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 2018-04-22 at 15:53 +0200, Greg Kroah-Hartman wrote: > 4.4-stable review patch.  If anyone has any objections, please let me know. > > ------------------ > > From: Ralph Sennhauser > > commit 9593f4f56cf5d1c443f66660a0c7f01de38f979d upstream. > > The Linksys WRT3200ACM CPU is clocked at 1866MHz. Add 1866MHz to the > list of supported CPU frequencies. Also update multiplier and divisor > for the l2clk and ddrclk. > > Noticed by the following warning: > [    0.000000] Selected CPU frequency (16) unsupported So the frequency selection field is read as 16... [...] > --- a/drivers/clk/mvebu/armada-38x.c > +++ b/drivers/clk/mvebu/armada-38x.c > @@ -49,7 +49,8 @@ static const u32 armada_38x_cpu_frequenc >   0, 0, 0, 0, >   1066 * 1000 * 1000, 0, 0, 0, >   1332 * 1000 * 1000, 0, 0, 0, > - 1600 * 1000 * 1000, > + 1600 * 1000 * 1000, 0, 0, 0, > + 1866 * 1000 * 1000, >  }; [...] ...but this only adds entries to the lookup table at indexes 9-12 inclusive. It looks like this fixes the clock settings, but not the warning. Ben. -- Ben Hutchings Software Developer, Codethink Ltd.