From: Chris Smart <chris@distroguy•com>
To: linuxppc-dev@lists•ozlabs.org
Subject: Re: [PATCH 1/2] powerpc: Send SIGBUS on unaligned copy and paste
Date: Tue, 14 Jun 2016 11:50:57 +1000 [thread overview]
Message-ID: <20160614015056.GA29205@distroguy.com> (raw)
In-Reply-To: <edaf7a67-10c9-1e18-e416-38f45e4a5192@c-s.fr>
On Thu, Jun 09, 2016 at 08:57:50AM +0200, Christophe Leroy wrote:
>
>Le 09/06/2016 à 08:01, Chris Smart a écrit :
>>Calling ISA 3.0 instructions copy, copy_first, paste and paste_last
>>generates an alignment fault when copying or pasting unaligned
>>data (128 byte). We catch this and send SIGBUS to the userspace
>>process that caused it.
>>
[snip]
>>+ if ((instruction & 0xfc0006fe) == 0x7c00060c){
>
>Can you define corresponding instruction and mask in
>arch/powerpc/include/asm/ppc-opcode.h
>and use symbolic names here instead of raw values ?
>
Yep, thanks. Will look at doing this for V2.
Cheers,
-c
prev parent reply other threads:[~2016-06-14 1:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-09 6:01 [PATCH 1/2] powerpc: Send SIGBUS on unaligned copy and paste Chris Smart
2016-06-09 6:57 ` Christophe Leroy
2016-06-14 1:50 ` Chris Smart [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=20160614015056.GA29205@distroguy.com \
--to=chris@distroguy$(echo .)com \
--cc=linuxppc-dev@lists$(echo .)ozlabs.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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