linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: catalin.marinas@arm.com (Catalin Marinas)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v5 4/6] arm64: Port SWP/SWPB emulation support from arm
Date: Thu, 20 Nov 2014 16:31:07 +0000	[thread overview]
Message-ID: <20141120163107.GD5447@e104818-lin.cambridge.arm.com> (raw)
In-Reply-To: <1416310887-14649-5-git-send-email-punit.agrawal@arm.com>

On Tue, Nov 18, 2014 at 11:41:25AM +0000, Punit Agrawal wrote:
> The SWP instruction was deprecated in the ARMv6 architecture. The
> ARMv7 multiprocessing extensions mandate that SWP/SWPB instructions
> are treated as undefined from reset, with the ability to enable them
> through the System Control Register SW bit. With ARMv8, the option to
> enable these instructions through System Control Register was dropped
> as well.
> 
> To support legacy applications using these instructions, port the
> emulation of the SWP and SWPB instructions from the arm port to arm64.
> 
> Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>

Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>

  reply	other threads:[~2014-11-20 16:31 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-18 11:41 [PATCH v5 0/6] Legacy instruction emulation for arm64 Punit Agrawal
2014-11-18 11:41 ` [PATCH v5 1/6] arm64: Add support for hooks to handle undefined instructions Punit Agrawal
2014-11-18 11:41 ` [PATCH v5 2/6] arm64: Add AArch32 instruction set condition code checks Punit Agrawal
2014-11-18 11:41 ` [PATCH v5 3/6] arm64: Add framework for legacy instruction emulation Punit Agrawal
2014-11-20 16:30   ` Catalin Marinas
2014-11-24 20:58   ` Greg Hackmann
2014-11-25 10:07     ` Will Deacon
2014-11-25 10:13     ` Punit Agrawal
2014-11-18 11:41 ` [PATCH v5 4/6] arm64: Port SWP/SWPB emulation support from arm Punit Agrawal
2014-11-20 16:31   ` Catalin Marinas [this message]
2014-11-18 11:41 ` [PATCH v5 5/6] arm64: Emulate CP15 Barrier instructions Punit Agrawal
2014-11-18 11:41 ` [PATCH v5 6/6] arm64: Trace emulation of AArch32 legacy instructions Punit Agrawal
2014-11-18 14:32   ` Steven Rostedt
2014-11-18 14:51     ` Punit Agrawal
2014-11-20 16:33 ` [PATCH v5 0/6] Legacy instruction emulation for arm64 Catalin Marinas
2014-11-24 19:24   ` Punit Agrawal

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=20141120163107.GD5447@e104818-lin.cambridge.arm.com \
    --to=catalin.marinas@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).