Lines Matching full:swp
82 * Implement emulation of the SWP/SWPB instructions using load-exclusive and
85 * Syntax of SWP{B} instruction: SWP{B}<c> <Rt>, <Rt2>, [<Rn>]
92 * Error-checking SWP macros implemented using ldxr{b}/stxr{b}
129 * the SWP and SWPB variants (bit set means SWPB).
139 /* SWP to unaligned address not permitted */ in emulate_swpX()
140 pr_debug("SWP instruction on unaligned pointer!\n"); in emulate_swpX()
183 /* If unconditional encoding - not a SWP, undef */ in swp_handler()
200 /* Check access in reasonable access range for both SWP and SWPB */ in swp_handler()
203 pr_debug("SWP{B} emulation: access to 0x%08x not allowed!\n", in swp_handler()
218 trace_instruction_emulation("swp", regs->pc); in swp_handler()
220 pr_warn_ratelimited("\"%s\" (%ld) uses obsolete SWP{B} instruction at 0x%llx\n", in swp_handler()
227 pr_debug("SWP{B} emulation: access caused memory abort!\n"); in swp_handler()
235 /* SWP{B} only exists in ARM state and does not exist in Thumb */ in try_emulate_swp()
246 .name = "swp",