[PATCH 0/5] arm64: assorted fixes for dcache_by_line_op
From: Ard Biesheuvel
Date: Thu Dec 06 2018 - 10:59:45 EST
This fixes two issues in dcache_by_line_op: patch #4 fixes the logic
that is applied when patching DC CVAP instructions, and patch #5 gets
rid of some unintended undefined symbols resulting from incorrect use
of conditional GAS directives.
Patches #1 to #3 are groundwork for #4.
Cc: Robin Murphy <robin.murphy@xxxxxxx>
Cc: Will Deacon <will.deacon@xxxxxxx>
Cc: Catalin Marinas <catalin.marinas@xxxxxxx>
Cc: Marc Zyngier <marc.zyngier@xxxxxxx>
Cc: Suzuki Poulose <suzuki.poulose@xxxxxxx>
Cc: Dave Martin <Dave.Martin@xxxxxxx>
Ard Biesheuvel (5):
arm64/alternative_cb: move callback reference into replacements
section
arm64/alternative_cb: add nr_alts parameter to callback handlers
arm64/alternative_cb: add support for alternative sequences
arm64/assembler: use callback to 3-way alt-patch DC CVAP instructions
arm64/mm: use string comparisons in dcache_by_line_op
arch/arm64/include/asm/alternative.h | 54 +++++++++++---------
arch/arm64/include/asm/assembler.h | 17 +++---
arch/arm64/include/asm/kvm_mmu.h | 4 +-
arch/arm64/kernel/alternative.c | 22 +++++---
arch/arm64/kernel/cpu_errata.c | 24 ++++++---
arch/arm64/kvm/va_layout.c | 8 +--
6 files changed, 79 insertions(+), 50 deletions(-)
--
2.19.2