From: Michael Ellerman <michael@ellerman.id.au>
To: Michael Neuling <mikey@neuling.org>
Cc: Jim Keniston <jkenisto@linux.vnet.ibm.com>,
linuxppc-dev@lists.ozlabs.org,
David Gibson <david@gibson.dropbear.id.au>
Subject: Re: [PATCH] powerpc: fix call to subpage_protection()
Date: Fri, 19 Nov 2010 08:53:03 +1100 [thread overview]
Message-ID: <1290117183.29105.4.camel@concordia> (raw)
In-Reply-To: <25179.1290111882@neuling.org>
[-- Attachment #1: Type: text/plain, Size: 1504 bytes --]
On Fri, 2010-11-19 at 07:24 +1100, Michael Neuling wrote:
> > On Thu, 2010-11-18 at 13:32 +1100, Michael Neuling wrote:
> > > In:=20
> > > powerpc/mm: Fix pgtable cache cleanup with CONFIG_PPC_SUBPAGE_PROT
> > > commit d28513bc7f675d28b479db666d572e078ecf182d
> > > Author: David Gibson <david@gibson.dropbear.id.au>
> > >=20
> > > subpage_protection() was changed to to take an mm rather a pgdir but it
> > > didn't change calling site in hashpage_preload(). The change wasn't
> > > noticed at compile time since hashpage_preload() used a void* as the
> > > parameter to subpage_protection().
> > ...=20
> > >=20
> > > diff --git a/arch/powerpc/mm/hash_utils_64.c b/arch/powerpc/mm/hash_utils=
> > _64.c
> > > index 83f534d..5e95844 100644
> > > --- a/arch/powerpc/mm/hash_utils_64.c
> > > +++ b/arch/powerpc/mm/hash_utils_64.c
> > > @@ -1123,7 +1123,7 @@ void hash_preload(struct mm_struct *mm, unsigned lo=
> > ng ea,
> > > else
> > > #endif /* CONFIG_PPC_HAS_HASH_64K */
> > > rc =3D __hash_page_4K(ea, access, vsid, ptep, trap, local, ssiz
> e,
> > > - subpage_protection(pgdir, ea));
> > > + subpage_protection(mm, ea));
> >
> > Type checking is fun :)
> >
> > This is stable material no?
>
> Yes. In the bit you snipped was a:
>
> cc: stable@kernel.org (only 2.6.33 and newer)
Oh right, I thought you actually had to send it to them :D
> Fortunately it's not in 2.6.32 so the bug missed the distros.
Phew.
cheers
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-11-18 21:53 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-10 19:54 Can't boot benh/powerpc.git kernel Jim Keniston
2010-11-10 22:06 ` Benjamin Herrenschmidt
2010-11-12 0:07 ` Jim Keniston
2010-11-12 2:29 ` Benjamin Herrenschmidt
2010-11-16 3:26 ` Michael Neuling
2010-11-17 1:51 ` Jim Keniston
2010-11-17 2:03 ` Michael Neuling
2010-11-17 19:00 ` Jim Keniston
2010-11-18 2:32 ` [PATCH] powerpc: fix call to subpage_protection() Michael Neuling
2010-11-18 12:21 ` Michael Ellerman
2010-11-18 20:24 ` Michael Neuling
2010-11-18 21:53 ` Michael Ellerman [this message]
2010-11-18 18:23 ` Jim Keniston
2010-11-18 20:06 ` Benjamin Herrenschmidt
2010-11-30 11:06 ` Milton Miller
2010-11-30 11:08 ` Milton Miller
2010-11-30 20:55 ` Jim Keniston
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=1290117183.29105.4.camel@concordia \
--to=michael@ellerman.id.au \
--cc=david@gibson.dropbear.id.au \
--cc=jkenisto@linux.vnet.ibm.com \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=mikey@neuling.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).