linux-stable/arch/arm64/kernel
Julien Thierry 5f154c4e20 arm64: Move patching utilities out of instruction encoding/decoding
Files insn.[c|h] containt some functions used for instruction patching.
In order to reuse the instruction encoder/decoder, move the patching
utilities to their own file.

Signed-off-by: Julien Thierry <jthierry@redhat.com>
Link: https://lore.kernel.org/r/20210303170536.1838032-2-jthierry@redhat.com
[will: Include patching.h in insn.h to fix header mess; add __ASSEMBLY__ guards]
Signed-off-by: Will Deacon <will@kernel.org>

Signed-off-by: Will Deacon <will@kernel.org>
2021-05-27 17:37:25 +01:00
..
probes arm64 updates for 5.13: 2021-04-26 10:25:03 -07:00
vdso arm64/vdso: Discard .note.gnu.property sections in vDSO 2021-04-30 18:25:39 +01:00
vdso32 arm64: vdso32: drop -no-integrated-as flag 2021-04-23 14:17:50 +01:00
.gitignore
acpi.c
acpi_numa.c
acpi_parking_protocol.c arm64: use function_nocfi with __pa_symbol 2021-04-08 16:04:22 -07:00
alternative.c Assorted arm64 fixes and clean-ups, the most important: 2021-05-07 12:11:05 -07:00
armv8_deprecated.c
asm-offsets.c ARM: 2021-05-01 10:14:08 -07:00
cacheinfo.c
cpu-reset.h arm64: add __nocfi to functions that jump to a physical address 2021-04-08 16:04:22 -07:00
cpu-reset.S arm64: Use INIT_SCTLR_EL1_MMU_OFF to disable the MMU on CPU restart 2021-03-18 15:51:07 +00:00
cpu_errata.c arm64: kernel: disable CNP on Carmel 2021-03-25 10:00:23 +00:00
cpu_ops.c
cpufeature.c Assorted arm64 fixes and clean-ups, the most important: 2021-05-07 12:11:05 -07:00
cpuidle.c arm64: kernel: Update the stale comment 2021-05-06 12:26:26 +01:00
cpuinfo.c arm64: cpuinfo: Fix a typo 2021-03-22 12:45:13 +00:00
crash_core.c
crash_dump.c arm64: kdump: update ppos when reading elfcorehdr 2021-03-22 12:46:38 +00:00
debug-monitors.c
efi-entry.S
efi-header.S
efi-rt-wrapper.S
efi.c
entry-common.c arm64: entry: always set GIC_PRIO_PSR_I_SET during entry 2021-05-05 18:13:58 +01:00
entry-fpsimd.S arm64/sve: Rework SVE access trap to convert state in registers 2021-04-08 17:43:43 +01:00
entry-ftrace.S
entry.S Assorted arm64 fixes and clean-ups, the most important: 2021-05-07 12:11:05 -07:00
fpsimd.c Merge branches 'for-next/misc', 'for-next/kselftest', 'for-next/xntable', 'for-next/vdso', 'for-next/fiq', 'for-next/epan', 'for-next/kasan-vmalloc', 'for-next/fgt-boot-init', 'for-next/vhe-only' and 'for-next/neon-softirqs-disabled', remote-tracking branch 'arm64/for-next/perf' into for-next/core 2021-04-15 14:00:38 +01:00
ftrace.c arm64: ftrace: use function_nocfi for ftrace_call 2021-04-08 16:04:23 -07:00
head.S arm64: Cope with CPUs stuck in VHE mode 2021-04-08 18:45:16 +01:00
hibernate-asm.S
hibernate.c
hw_breakpoint.c
hyp-stub.S Merge remote-tracking branch 'arm64/for-next/vhe-only' into kvmarm-master/next 2021-04-13 15:42:40 +01:00
idreg-override.c arm64: Cope with CPUs stuck in VHE mode 2021-04-08 18:45:16 +01:00
image-vars.h Merge branch 'kvm-arm64/nvhe-panic-info' into kvmarm-master/next 2021-04-13 15:38:03 +01:00
image.h
insn.c arm64: Move patching utilities out of instruction encoding/decoding 2021-05-27 17:37:25 +01:00
io.c
irq.c arm64: irq: allow FIQs to be handled 2021-03-24 20:19:30 +00:00
jump_label.c
kaslr.c arm64: kaslr: support randomized module area with KASAN_VMALLOC 2021-03-29 12:35:05 +01:00
kexec_image.c
kgdb.c
kuser32.S
machine_kexec.c
machine_kexec_file.c arm64: Use common of_kexec_alloc_and_setup_fdt() 2021-03-08 12:06:29 -07:00
Makefile arm64: Move patching utilities out of instruction encoding/decoding 2021-05-27 17:37:25 +01:00
module-plts.c
module.c arm64: kaslr: support randomized module area with KASAN_VMALLOC 2021-03-29 12:35:05 +01:00
mte.c arm64: Introduce prctl(PR_PAC_{SET,GET}_ENABLED_KEYS) 2021-04-13 17:31:44 +01:00
paravirt.c x86/paravirt: Switch time pvops functions to use static_call() 2021-03-11 16:17:52 +01:00
patching.c arm64: Move patching utilities out of instruction encoding/decoding 2021-05-27 17:37:25 +01:00
pci.c
perf_callchain.c
perf_event.c arm64: perf: Remove redundant initialization in perf_event.c 2021-04-01 18:05:32 +01:00
perf_regs.c
pointer_auth.c arm64: pac: Optimize kernel entry/exit key installation code paths 2021-04-13 17:31:44 +01:00
process.c Assorted arm64 fixes and clean-ups, the most important: 2021-05-07 12:11:05 -07:00
proton-pack.c
psci.c arm64: use function_nocfi with __pa_symbol 2021-04-08 16:04:22 -07:00
ptrace.c arm64: Introduce prctl(PR_PAC_{SET,GET}_ENABLED_KEYS) 2021-04-13 17:31:44 +01:00
reloc_test_core.c
reloc_test_syms.S
relocate_kernel.S
return_address.c
sdei.c
setup.c
signal.c
signal32.c
sigreturn32.S
sleep.S kasan: remove redundant config option 2021-04-16 16:10:36 -07:00
smccc-call.S
smp.c arm64: Always keep DAIF.[IF] in sync 2021-03-24 20:19:30 +00:00
smp_spin_table.c arm64: use function_nocfi with __pa_symbol 2021-04-08 16:04:22 -07:00
stacktrace.c Assorted arm64 fixes and clean-ups, the most important: 2021-05-07 12:11:05 -07:00
suspend.c arm64: pac: Optimize kernel entry/exit key installation code paths 2021-04-13 17:31:44 +01:00
sys.c
sys32.c
sys_compat.c
syscall.c arm64: entry: Enable random_kstack_offset support 2021-04-08 14:12:19 +02:00
time.c
topology.c arch_topology: Allow multiple entities to provide sched_freq_tick() callback 2021-03-10 10:55:37 +05:30
trace-events-emulation.h
traps.c
vdso-wrap.S
vdso.c Merge branches 'for-next/misc', 'for-next/kselftest', 'for-next/xntable', 'for-next/vdso', 'for-next/fiq', 'for-next/epan', 'for-next/kasan-vmalloc', 'for-next/fgt-boot-init', 'for-next/vhe-only' and 'for-next/neon-softirqs-disabled', remote-tracking branch 'arm64/for-next/perf' into for-next/core 2021-04-15 14:00:38 +01:00
vdso32-wrap.S
vmlinux.lds.S KVM: arm64: Page-align the .hyp sections 2021-03-19 12:02:18 +00:00