mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-28 20:02:17 +00:00
![Leif Lindholm](/assets/img/avatar_default.png)
The SWP instruction was deprecated in the ARMv6 architecture, superseded by the LDREX/STREX family of instructions for load-linked/store-conditional operations. 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. This patch adds the alternative solution to emulate the SWP and SWPB instructions using LDREX/STREX sequences, and log statistics to /proc/cpu/swp_emulation. To correctly deal with copy-on-write, it also modifies cpu_v7_set_pte_ext to change the mappings to priviliged RO when user RO. Signed-off-by: Leif Lindholm <leif.lindholm@arm.com> Acked-by: Catalin Marinas <catalin.marinas@arm.com> Acked-by: Kirill A. Shutemov <kirill@shutemov.name> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
38 lines
970 B
Text
38 lines
970 B
Text
00-INDEX
|
|
- this file
|
|
Booting
|
|
- requirements for booting
|
|
Interrupts
|
|
- ARM Interrupt subsystem documentation
|
|
IXP2000
|
|
- Release Notes for Linux on Intel's IXP2000 Network Processor
|
|
msm
|
|
- MSM specific documentation
|
|
Netwinder
|
|
- Netwinder specific documentation
|
|
Porting
|
|
- Symbol definitions for porting Linux to a new ARM machine.
|
|
Setup
|
|
- Kernel initialization parameters on ARM Linux
|
|
README
|
|
- General ARM documentation
|
|
SA1100/
|
|
- SA1100 documentation
|
|
Samsung-S3C24XX
|
|
- S3C24XX ARM Linux Overview
|
|
Sharp-LH
|
|
- Linux on Sharp LH79524 and LH7A40X System On a Chip (SOC)
|
|
SPEAr
|
|
- ST SPEAr platform Linux Overview
|
|
VFP/
|
|
- Release notes for Linux Kernel Vector Floating Point support code
|
|
empeg/
|
|
- Ltd's Empeg MP3 Car Audio Player
|
|
mem_alignment
|
|
- alignment abort handler documentation
|
|
memory.txt
|
|
- description of the virtual memory layout
|
|
nwfpe/
|
|
- NWFPE floating point emulator documentation
|
|
swp_emulation
|
|
- SWP/SWPB emulation handler/logging description
|