All of lore.kernel.org
 help / color / mirror / Atom feed
From: Segher Boessenkool <segher@kernel.crashing.org>
To: Chris Smart <chris@distroguy.com>
Cc: linuxppc-dev@lists.ozlabs.org
Subject: Re: [Patch v2 1/2] powerpc: Send SIGBUS on unaligned copy and paste
Date: Thu, 16 Jun 2016 23:04:12 -0500	[thread overview]
Message-ID: <20160617040412.GC25170@gate.crashing.org> (raw)
In-Reply-To: <20160616233340.GA14449@distroguy.com>

On Fri, Jun 17, 2016 at 09:33:45AM +1000, Chris Smart wrote:
> +#define PPC_INST_COPY			0x7c00060c
> +#define PPC_INST_COPY_FIRST		0x7c20060c

> +#define PPC_INST_PASTE			0x7c00070c
> +#define PPC_INST_PASTE_LAST		0x7c20070d

That's not quite right I think.

copy is       7c00060c mask fc2007fe (or ffe007fe)
copy_first is 7c20060c mask fc2007fe
paste is      7c00070c mask fc2007fe
paste_last is 7c20070c mask fc2007fe

(this includes record form for paste; the low bit).


Segher

  reply	other threads:[~2016-06-17  4:04 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 [this message]
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 ` [v2,1/2] " Michael Ellerman

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=20160617040412.GC25170@gate.crashing.org \
    --to=segher@kernel.crashing.org \
    --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 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.