Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751383AbdGQM51 (ORCPT ); Mon, 17 Jul 2017 08:57:27 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:49442 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751344AbdGQM50 (ORCPT ); Mon, 17 Jul 2017 08:57:26 -0400 Date: Mon, 17 Jul 2017 14:57:21 +0200 From: Greg Kroah-Hartman To: Andy Gross Cc: Stephen Boyd , linux-kernel@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Abhijeet Dharmapurikar , Kiran Gunda Subject: Re: [PATCH] spmi: pmic-arb: Always allocate ppid_to_apid table Message-ID: <20170717125721.GA29753@kroah.com> References: <20170627021746.22445-1-sboyd@codeaurora.org> <20170714165453.GA25773@hector.attlocal.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170714165453.GA25773@hector.attlocal.net> User-Agent: Mutt/1.8.3 (2017-05-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 762 Lines: 20 On Fri, Jul 14, 2017 at 11:54:53AM -0500, Andy Gross wrote: > 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. Will get it now, thanks. greg k-h