[PATCH] spmi: pmic-arb: Always allocate ppid_to_apid table

Greg Kroah-Hartman gregkh at linuxfoundation.org
Mon Jul 17 05:57:21 PDT 2017


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 <adharmap at codeaurora.org>
> > Cc: Kiran Gunda <kgunda at codeaurora.org>
> > Fixes: 7f1d4e58dabb ("spmi: pmic-arb: optimize table lookups")
> > Signed-off-by: Stephen Boyd <sboyd at codeaurora.org>
> 
> Greg,
> 
> Can you pick this up?  This is an urgent fix for Qualcomm 8x74 platforms.

Will get it now, thanks.

greg k-h



More information about the linux-arm-kernel mailing list