Skip to content

I-side fixes

Will Deacon linux-arm-kernel 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesNew
  2. v13 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4arm64: Avoid flush_icache_range() in alternatives patching codearch/arm64/include/asm/alternative.h arch/arm64/kernel/alternative.c arch/arm64/kernel/module.c+52 -110 replies
2/4arm64: Remove unnecessary ISBs from set_{pte,pmd,pud}arch/arm64/include/asm/pgtable.h+1 -51 reply
3/4arm64: IPI each CPU after invalidating the I-cache for kernel mappingsarch/arm64/include/asm/cacheflush.h arch/arm64/kernel/cpu_errata.c arch/arm64/kernel/insn.c +1 more+19 -181 reply
3/4arm64: IPI each CPU after invalidating the I-cache for kernel mappingsarch/arm64/include/asm/cacheflush.h+13 -01 reply
4/4arm64: insn: Don't fallback on nosync path for general insn patchingarch/arm64/include/asm/insn.h arch/arm64/kernel/insn.c+1 -570 replies

Reviews trailers per patch

4 of 5 patches have a Reviewed-by or Acked-by.

PatchMark RutlandCatalin Marinas
1/4A-b
2/4A-b A-b
3/4A-b
3/4A-b
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/4] I-side fixes

Hi all,

Here's version two of the patches I previously posted here:

http://lists.infradead.org/pipermail/linux-arm-kernel/2018-June/584857.html

Changes since v1 include:

* Removal of "hotpatch" mechanism for certain classes of instructions
* Avoid attempting IPI when secondaries are in stop_machine()
* Leave ISBs intact in the stop_machine() callbacks

Cheers,

Will

--->8

Will Deacon (4):
arm64: Avoid flush_icache_range() in alternatives patching code
arm64: Remove unnecessary ISBs from set_{pte,pmd,pud}
arm64: IPI each CPU after invalidating the I-cache for kernel mappings
arm64: insn: Don't fallback on nosync path for general insn patching

 arch/arm64/include/asm/alternative.h |  7 +++-
 arch/arm64/include/asm/cacheflush.h  | 13 ++++++-
 arch/arm64/include/asm/insn.h        |  2 --
 arch/arm64/include/asm/pgtable.h     |  6 +---
 arch/arm64/kernel/alternative.c      | 51 ++++++++++++++++++++++----
 arch/arm64/kernel/cpu_errata.c       |  2 +-
 arch/arm64/kernel/insn.c             | 70 ++----------------------------------
 arch/arm64/kernel/module.c           |  5 ++-
 arch/arm64/mm/cache.S                |  4 +--
 9 files changed, 71 insertions(+), 89 deletions(-)
Signature · 1 line
2.1.4