linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: leif.lindholm@arm.com (Leif Lindholm)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ARM: Add SWP/SWPB emulation for ARMv7 processors (v3)
Date: Thu, 14 Jan 2010 13:08:08 -0000	[thread overview]
Message-ID: <000001ca951a$9e1009e0$da301da0$@lindholm@arm.com> (raw)
In-Reply-To: <20100106193641.GD1728@n2100.arm.linux.org.uk>

> From: Russell King - ARM Linux [mailto:linux at arm.linux.org.uk]
> Sent: 06 January 2010 19:37
>
> > It's to ensure it would work (without console warnings) even if
> > someone decides to disable ALIGNMENT_TRAP. An alternative would be to
> > strip the creation of /proc/cpu out from mm/alignment.c and put it
> > somewhere else (or move the stats file somewhere else - but it seemed
> > logical to group with /proc/alignment).
> 
> As I said when you previously posted this patch, that's definitely on
> the cards.  In fact, I'm about to commit the following patch for doing
> exactly this.

Excellent, thanks. I'm just about to submit the next version, which relies
on that patch, and no longer checks ALIGNMENT_TRAP for anything.

Other changes:
- Code restructured a bit, from Jamie's comments. It did end up quite a bit
  cleaner because of this.
- Comments added for memory barriers, as pointed out by Jamie.
- Added description in Documentation/arm/swp_emulation.

/
	Leif

  reply	other threads:[~2010-01-14 13:08 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-05 18:24 [PATCH] ARM: Add SWP/SWPB emulation for ARMv7 processors (v3) Leif Lindholm
2010-01-05 19:43 ` Jamie Lokier
2010-01-06 16:23   ` Catalin Marinas
2010-01-06 16:32     ` Russell King - ARM Linux
2010-01-06 16:58       ` Catalin Marinas
2010-01-06 18:17     ` Jamie Lokier
2010-01-07  9:59       ` Catalin Marinas
2010-01-08 14:19         ` Jamie Lokier
2010-01-06 19:19   ` Leif Lindholm
2010-01-06 19:36     ` Russell King - ARM Linux
2010-01-14 13:08       ` Leif Lindholm [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-01-06 21:53 Jamie Lokier

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='000001ca951a$9e1009e0$da301da0$@lindholm@arm.com' \
    --to=leif.lindholm@arm.com \
    --cc=linux-arm-kernel@lists.infradead.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).