From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Gross Subject: Re: [PATCH] spmi: pmic-arb: Always allocate ppid_to_apid table Date: Fri, 14 Jul 2017 11:54:53 -0500 Message-ID: <20170714165453.GA25773@hector.attlocal.net> References: <20170627021746.22445-1-sboyd@codeaurora.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20170627021746.22445-1-sboyd@codeaurora.org> Sender: linux-kernel-owner@vger.kernel.org To: Stephen Boyd Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Abhijeet Dharmapurikar , Kiran Gunda List-Id: linux-arm-msm@vger.kernel.org On Mon, Jun 26, 2017 at 07:17:46PM -0700, Stephen Boyd wrote: > After commit 7f1d4e58dabb ("spmi: pmic-arb: optimize table > lookups") we always need the ppid_to_apid table regardless of the > version of pmic arbiter we have. Otherwise, we will try to deref > the array when we don't allocate it on v2 hardware like the > msm8974 SoCs. > > Cc: Abhijeet Dharmapurikar > Cc: Kiran Gunda > Fixes: 7f1d4e58dabb ("spmi: pmic-arb: optimize table lookups") > Signed-off-by: Stephen Boyd Greg, Can you pick this up? This is an urgent fix for Qualcomm 8x74 platforms. Thanks! Andy