Re: [PATCH v1 2/7] arm64: introduce interfaces to hotpatch kerneland module code
From: Steven Rostedt
Date: Wed Sep 25 2013 - 11:16:13 EST
On Wed, 25 Sep 2013 20:12:17 +0530
Sandeepa Prabhu <sandeepa.prabhu@xxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/