[PATCH v5 4/6] arm64: Port SWP/SWPB emulation support from arm
Catalin Marinas
catalin.marinas at arm.com
Thu Nov 20 08:31:07 PST 2014
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 at arm.com>
Reviewed-by: Catalin Marinas <catalin.marinas at arm.com>
More information about the linux-arm-kernel
mailing list