All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 1/2] sh: Fix unaligned memory access for branches without delay slots
Date: Mon, 29 Aug 2011 07:24:49 +0000	[thread overview]
Message-ID: <20110829072449.GE31809@linux-sh.org> (raw)
In-Reply-To: <1314028568-7571-1-git-send-email-phil.edworthy@renesas.com>

On Mon, Aug 22, 2011 at 04:56:08PM +0100, Phil Edworthy wrote:
> This patch just clears the return code for those cases where an
> unaligned memory access occurs on branch instructions without a
> delay slot.
> 
> Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>

On Wed, Aug 24, 2011 at 11:43:59AM +0100, Phil Edworthy wrote:
> This adds unaligned memory access support for the following instructions:
>   mov.w @(disp,PC),Rn
>   mov.l @(disp,PC),Rn
> 
> These instructions are often used on SH2A toolchains.
> 
> Signed-off-by: Phil Edworthy <phil.edworthy@renesas.com>
> ---
> v3:
>   Fixed the PC relative address calculation
> v2:
>   Fixed the mov.l case for big endian
>   Fixed typo in commit msg
> 
>  arch/sh/kernel/traps_32.c |   35 +++++++++++++++++++++++++++++++++++
>  1 files changed, 35 insertions(+), 0 deletions(-)
> 
Both applied, thanks.

      reply	other threads:[~2011-08-29  7:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-22 15:56 [PATCH 1/2] sh: Fix unaligned memory access for branches without delay Phil Edworthy
2011-08-29  7:24 ` Paul Mundt [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=20110829072449.GE31809@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-sh@vger.kernel.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.