From: Michael Ellerman <mpe@ellerman.id.au>
To: Chris Smart <chris@distroguy.com>, linuxppc-dev@lists.ozlabs.org
Subject: Re: [v2,1/2] powerpc: Send SIGBUS on unaligned copy and paste
Date: Wed, 6 Jul 2016 00:10:07 +1000 (AEST) [thread overview]
Message-ID: <3rkQkl1GbWz9sdn@ozlabs.org> (raw)
In-Reply-To: <20160616233340.GA14449@distroguy.com>
On Thu, 2016-16-06 at 23:33:45 UTC, Chris Smart wrote:
> 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.
>
> We do not emulate these because paste may contain additional metadata
> when pasting to a co-processor and paste_last is the synchronisation
> point for preceding copy/paste sequences.
>
> Thanks to Michael Neuling <mikey@neuling.org> for his help.
>
> Signed-off-by: Chris Smart <chris@distroguy.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/ae26b36f8098c793a754549662
cheers
prev parent reply other threads:[~2016-07-05 14:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-16 23:33 [Patch v2 1/2] powerpc: Send SIGBUS on unaligned copy and paste Chris Smart
2016-06-17 4:04 ` Segher Boessenkool
2016-06-21 0:39 ` Chris Smart
2016-06-17 7:20 ` Balbir Singh
2016-06-19 23:48 ` Chris Smart
2016-06-20 3:06 ` Balbir Singh
2016-07-05 14:10 ` 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=3rkQkl1GbWz9sdn@ozlabs.org \
--to=mpe@ellerman.id.au \
--cc=chris@distroguy.com \
--cc=linuxppc-dev@lists.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).