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

Steven Rostedt rostedt at goodmis.org
Wed Sep 25 11:16:05 EDT 2013


On Wed, 25 Sep 2013 20:12:17 +0530
Sandeepa Prabhu <sandeepa.prabhu at linaro.org> wrote:


> > On aarch64, are instructions always word aligned? If not, it should be
> > safe for stop machine to modify non word aligned instructions, but this
> > patch looks like it doesn't allow stop_machine() to do so.
> Steve,
> 
> Yes, aarch64 instructions must be word-aligned, else instruction fetch
> would generate Misaligned PC fault.
> 

Thanks for clarifying, as IIUC, there's ARM architectures that allow
for 2 and 4 byte instructions.

-- Steve



More information about the linux-arm-kernel mailing list