From: David Miller <davem@davemloft.net>
To: sparclinux@vger.kernel.org
Subject: Re: [PATCH] sparc32: unaligned memory access (MNA) trap handler bug
Date: Tue, 01 Feb 2011 20:37:42 +0000 [thread overview]
Message-ID: <20110201.123742.71116847.davem@davemloft.net> (raw)
In-Reply-To: <1296583423-5469-1-git-send-email-daniel@gaisler.com>
From: Sam Ravnborg <sam@ravnborg.org>
Date: Tue, 1 Feb 2011 20:59:26 +0100
> On Tue, Feb 01, 2011 at 07:03:43PM +0100, Daniel Hellstrom wrote:
>> Since the merge process of the sparc and sparc64 the sparc32
>> MNA trap handler does not emulate stores to unaligned addresses
>> correctly. MNA operation from both from kernel and user space
>> are affected.
>
> Well spotted!
Indeed.
> This bug was actually introduced by:
> f0e98c387e61de00646be31fab4c2fa0224e1efb "[SPARC]: Fix link errors with gcc-4.3"
I'll make a note of this in the commit message.
> A better way to do so is to add:
>
> Cc: <stable@kernel.org>
>
> Then the stable team(s) will all be notified when this patch is applied
> by Linus to mainline.
I'll take care of the -stable submission.
I wish binutils wouldn't accept %1 as a register, nobody sane uses that
format for register specifications and when it does happen (like here)
it's a typo and a bug.
Thanks guys, I'll apply this and queue it up for -stable!
next prev parent reply other threads:[~2011-02-01 20:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-01 18:03 [PATCH] sparc32: unaligned memory access (MNA) trap handler bug Daniel Hellstrom
2011-02-01 19:59 ` Sam Ravnborg
2011-02-01 20:37 ` David Miller [this message]
2011-02-02 9:34 ` Daniel Hellstrom
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=20110201.123742.71116847.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=sparclinux@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.