[PATCH 4/8] arm64/insn: Add helpers for pc relative data processing instructions

2016-07-08 Thread Suzuki K Poulose
Adds helpers for decoding/encoding the PC relative addresses for Data processing instructions (i.e, adr and adrp). This will be used for handling dynamic patching of 'adr/adrp' instructions in alternative code patching. Cc: Mark Rutland Cc: Will Deacon

[PATCH 4/8] arm64/insn: Add helpers for pc relative data processing instructions

2016-07-08 Thread Suzuki K Poulose
Adds helpers for decoding/encoding the PC relative addresses for Data processing instructions (i.e, adr and adrp). This will be used for handling dynamic patching of 'adr/adrp' instructions in alternative code patching. Cc: Mark Rutland Cc: Will Deacon Cc: Catalin Marinas Signed-off-by: Suzuki