Re: [PATCH v7 2/7] arm64: introduce interfaces to hotpatch kernel and module code

2014-01-06 Thread Will Deacon
On Sun, Dec 22, 2013 at 03:25:38PM +, Jiang Liu wrote: > Introduce three interfaces to patch kernel and module code: > aarch64_insn_patch_text_nosync(): > patch code without synchronization, it's caller's responsibility > to synchronize all CPUs if needed. > aarch64_insn_patch_text_

[PATCH v7 2/7] arm64: introduce interfaces to hotpatch kernel and module code

2013-12-22 Thread Jiang Liu
Introduce three interfaces to patch kernel and module code: aarch64_insn_patch_text_nosync(): patch code without synchronization, it's caller's responsibility to synchronize all CPUs if needed. aarch64_insn_patch_text_sync(): patch code and always synchronize with stop_machi