From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.codeaurora.org ([198.145.29.96]:46613 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932820AbbHZSgd (ORCPT ); Wed, 26 Aug 2015 14:36:33 -0400 Date: Wed, 26 Aug 2015 11:36:31 -0700 From: Stephen Boyd To: Govindraj Raja Cc: linux-mips@linux-mips.org, linux-clk@vger.kernel.org, Michael Turquette , Zdenko Pulitika , Kevin Cernekee , Ralf Baechle , Andrew Bresticker , James Hartley , Damien Horsley , James Hogan , Ezequiel Garcia , Sergei Shtylyov , stable@vger.kernel.org Subject: Re: [PATCH v6 1/4] clk: pistachio: Fix 32bit integer overflows Message-ID: <20150826183631.GO19120@codeaurora.org> References: <1440605500-13274-1-git-send-email-Govindraj.Raja@imgtec.com> <1440605500-13274-2-git-send-email-Govindraj.Raja@imgtec.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1440605500-13274-2-git-send-email-Govindraj.Raja@imgtec.com> Sender: stable-owner@vger.kernel.org List-ID: On 08/26, Govindraj Raja wrote: > From: Zdenko Pulitika > > This commit fixes 32bit integer overflows throughout the pll driver > (i.e. wherever the result of integer multiplication may exceed the > range of u32). > > One of the functions affected by this problem is .recalc_rate. It > returns incorrect rate for some pll settings (not for all though) > which in turn results in the incorrect rate setup of pll's child > clocks. > > Fixes: 43049b0c83f17("CLK: Pistachio: Add PLL driver") > Cc: # 4.1 > Reviewed-by: Andrew Bresticker > Signed-off-by: Zdenko Pulitika > Signed-off-by: Govindraj Raja > --- Applied to clk-next -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project