linux-mips
[Top] [All Lists]

Re: [PATCH stable] MIPS: ath79: Fix CPU/DDR frequency calculation for SR

To: Gabor Juhos <juhosg@openwrt.org>
Subject: Re: [PATCH stable] MIPS: ath79: Fix CPU/DDR frequency calculation for SRIF PLLs
From: Greg KH <gregkh@linuxfoundation.org>
Date: Mon, 15 Oct 2012 13:17:19 -0700
Cc: stable@vger.kernel.org, linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>
In-reply-to: <1350231436-27436-1-git-send-email-juhosg@openwrt.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
References: <1350231436-27436-1-git-send-email-juhosg@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.21 (2010-09-15)
On Sun, Oct 14, 2012 at 06:17:16PM +0200, Gabor Juhos wrote:
> commit 97541ccfb9db2bb9cd1dde6344d5834438d14bda upstream.
> 
> Besides the CPU and DDR PLLs, the CPU and DDR frequencies
> can be derived from other PLLs in the SRIF block on the
> AR934x SoCs. The current code does not checks if the SRIF
> PLLs are used and this can lead to incorrectly calculated
> CPU/DDR frequencies.
> 
> Fix it by calculating the frequencies from SRIF PLLs if
> those are used on a given board.
> 
> Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
> Cc: linux-mips@linux-mips.org
> Patchwork: https://patchwork.linux-mips.org/patch/4324/
> Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
> ---
> The original change was a candidate for stable (3.5+) however it was
> rejected during the stable-review process due to conflicts in
> 'arch/mips/include/asm/mach-ath79/ar71xx_regs.h'
> 
> This is a backport of the aforementioned commit, and it is applicable 
> to 3.5.7 and 3.6.2.

3.5 is now end-of-life, but 3.6 is still alive, so I've applied this
there.

greg k-h

<Prev in Thread] Current Thread [Next in Thread>
  • Re: [PATCH stable] MIPS: ath79: Fix CPU/DDR frequency calculation for SRIF PLLs, Greg KH <=