linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: sh:fixed issue in xchg_u32 function when val==r15.
Date: Thu, 07 Apr 2011 16:53:15 +0000	[thread overview]
Message-ID: <20110407165315.GC8052@linux-sh.org> (raw)
In-Reply-To: <4D9DB4A5.4010002@st.com>

On Thu, Apr 07, 2011 at 01:57:09PM +0100, Srinivas KANDAGATLA wrote:
> Recently we have discovered a bug in xchg_u32 function of GUSA_RB feature.
> This function breaks if one of the input parameter 'val' is r15.
> 
>     168:    02 c7           mova    174 <exit_mm+0x54>,r0
>     16a:    09 00           nop   
>     16c:    f3 61           mov    r15,r1
>     16e:    fc ef           mov    #-4,r15

The -4 here is part of the gUSA login sequence, so if you're seeing the
problem with gUSA based xchg_u32 it seems like you're going to have to
apply the same fix for all gUSA rollback users.

  reply	other threads:[~2011-04-07 16:53 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-07 12:57 sh:fixed issue in xchg_u32 function when val==r15 Srinivas KANDAGATLA
2011-04-07 16:53 ` Paul Mundt [this message]
2011-04-19 16:28 ` Srinivas KANDAGATLA
2011-06-08  6:51 ` Paul Mundt

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=20110407165315.GC8052@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 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).