From: Michael Ellerman <patch-notifications@ellerman.id.au>
To: Paul Mackerras <paulus@ozlabs.org>, linuxppc-dev@ozlabs.org
Cc: Nick Piggin <npiggin@au1.ibm.com>,
Markus Trippelsdorf <markus@trippelsdorf.de>
Subject: Re: powerpc: Fix check for copy/paste instructions in alignment handler
Date: Wed, 1 Nov 2017 16:17:43 +1100 (AEDT) [thread overview]
Message-ID: <3yRc1333nsz9t3C@ozlabs.org> (raw)
In-Reply-To: <20171025071653.GB25140@fergus.ozlabs.ibm.com>
On Wed, 2017-10-25 at 07:16:53 UTC, Paul Mackerras wrote:
> Commit 07d2a628bc00 ("powerpc/64s: Avoid cpabort in context switch
> when possible", 2017-06-09) changed the definition of PPC_INST_COPY
> and in so doing inadvertently broke the check for copy/paste
> instructions in the alignment fault handler. The check currently
> matches no instructions.
>
> This fixes it by ANDing both sides of the comparison with the mask.
>
> Fixes: 07d2a628bc00 ("powerpc/64s: Avoid cpabort in context switch
> when possible")
> Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de>
> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Applied to powerpc fixes, thanks.
https://git.kernel.org/powerpc/c/158f19698b594eb8a1bdf7d7937617
cheers
prev parent reply other threads:[~2017-11-01 5:17 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-25 7:16 [PATCH] powerpc: Fix check for copy/paste instructions in alignment handler Paul Mackerras
2017-11-01 5:17 ` 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=3yRc1333nsz9t3C@ozlabs.org \
--to=patch-notifications@ellerman.id.au \
--cc=linuxppc-dev@ozlabs.org \
--cc=markus@trippelsdorf.de \
--cc=npiggin@au1.ibm.com \
--cc=paulus@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 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).