Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1687567 > unrolled thread

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

Started byAndy Gross <andy.gross@linaro.org>
First post2017-07-14 19:00 +0200
Last post2017-07-17 15:00 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] spmi: pmic-arb: Always allocate ppid_to_apid table Andy Gross <andy.gross@linaro.org> - 2017-07-14 19:00 +0200
    Re: [PATCH] spmi: pmic-arb: Always allocate ppid_to_apid table Greg Kroah-Hartman <gregkh@linuxfoundation.org> - 2017-07-17 15:00 +0200

#1687567 — Re: [PATCH] spmi: pmic-arb: Always allocate ppid_to_apid table

FromAndy Gross <andy.gross@linaro.org>
Date2017-07-14 19:00 +0200
SubjectRe: [PATCH] spmi: pmic-arb: Always allocate ppid_to_apid table
Message-ID<u3c6B-686-3@gated-at.bofh.it>
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@codeaurora.org>
> Cc: Kiran Gunda <kgunda@codeaurora.org>
> Fixes: 7f1d4e58dabb ("spmi: pmic-arb: optimize table lookups")
> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>

Greg,

Can you pick this up?  This is an urgent fix for Qualcomm 8x74 platforms.

Thanks!

Andy

[toc] | [next] | [standalone]


#1689010

FromGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Date2017-07-17 15:00 +0200
Message-ID<u4dN0-57W-27@gated-at.bofh.it>
In reply to#1687567
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@codeaurora.org>
> > Cc: Kiran Gunda <kgunda@codeaurora.org>
> > Fixes: 7f1d4e58dabb ("spmi: pmic-arb: optimize table lookups")
> > Signed-off-by: Stephen Boyd <sboyd@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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web