All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Gavin Shan <gwshan@linux.vnet.ibm.com>, linuxppc-dev@ozlabs.org
Cc: Gavin Shan <gwshan@linux.vnet.ibm.com>
Subject: Re: powerpc/powernv: Fix corrupted PE allocation bitmap on releasing PE
Date: Thu,  8 Sep 2016 19:47:52 +1000 (AEST)	[thread overview]
Message-ID: <3sVFr82KMSz9s5w@ozlabs.org> (raw)
In-Reply-To: <1473135438-32761-1-git-send-email-gwshan@linux.vnet.ibm.com>

On Tue, 2016-06-09 at 04:17:18 UTC, Gavin Shan wrote:
> In pnv_ioda_free_pe(), the PE object (including the associated PE
> number) is cleared before resetting the corresponding bit in the
> PE allocation bitmap. It means PE#0 is always released to the bitmap
> wrongly.
> 
> This fixes above issue by caching the PE number before the PE object
> is cleared.
> 
> Fixes: 1e9167726c41 ("powerpc/powernv: Use PE instead of number during setup and release"
> Signed-off-by: Gavin Shan <gwshan@linux.vnet.ibm.com>

Applied to powerpc fixes, thanks.

https://git.kernel.org/powerpc/c/caa58f808834fca9a4443233fd

I added:
    Cc: stable@vger.kernel.org # v4.7+

cheers

      reply	other threads:[~2016-09-08  9:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-06  4:17 [PATCH] powerpc/powernv: Fix corrupted PE allocation bitmap on releasing PE Gavin Shan
2016-09-08  9:47 ` Michael Ellerman [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3sVFr82KMSz9s5w@ozlabs.org \
    --to=patch-notifications@ellerman.id.au \
    --cc=gwshan@linux.vnet.ibm.com \
    --cc=linuxppc-dev@ozlabs.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.