Skip to content

arm64: Modernize assembly annotations

Mark Brown kvmarm linux-arm-kernel linux-crypto 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18arm64: crypto: Modernize some extra assembly annotationsarch/arm64/crypto/ghash-ce-core.S+8 -80 replies
2/18arm64: crypto: Modernize names for AES function macrosarch/arm64/crypto/aes-ce.S arch/arm64/crypto/aes-modes.S arch/arm64/crypto/aes-neon.S+28 -280 replies
3/18arm64: entry: Annotate vector table and handlers as codearch/arm64/kernel/entry.S+38 -380 replies
4/18arm64: entry: Annotate ret_from_fork as codearch/arm64/kernel/entry.S+2 -20 replies
5/18arm64: entry: Additional annotation conversions for entry.Sarch/arm64/kernel/entry.S+8 -80 replies
6/18arm64: entry-ftrace.S: Convert to modern annotations for assembly functionsarch/arm64/kernel/entry-ftrace.S+14 -140 replies
7/18arm64: ftrace: Correct annotation of ftrace_caller assemblyarch/arm64/kernel/entry-ftrace.S+8 -80 replies
8/18arm64: ftrace: Modernise annotation of return_to_handlerarch/arm64/kernel/entry-ftrace.S+2 -20 replies
9/18arm64: head.S: Convert to modern annotations for assembly functionsarch/arm64/kernel/head.S+28 -280 replies
10/18arm64: head: Annotate stext and preserve_boot_args as codearch/arm64/kernel/head.S+4 -40 replies
11/18arm64: kernel: Convert to modern annotations for assembly dataarch/arm64/kernel/entry.S arch/arm64/kernel/head.S+10 -60 replies
12/18arm64: kernel: Convert to modern annotations for assembly functionsarch/arm64/kernel/cpu-reset.S arch/arm64/kernel/efi-entry.S arch/arm64/kernel/efi-rt-wrapper.S +8 more+70 -705 replies
13/18arm64: kvm: Annotate assembly using modern annoationsarch/arm64/kvm/hyp-init.S arch/arm64/kvm/hyp.S arch/arm64/kvm/hyp/fpsimd.S +1 more+18 -171 reply
14/18arm64: kvm: Modernize annotation for __bp_harden_hyp_vecsarch/arm64/include/asm/kvm_mmu.h arch/arm64/include/asm/mmu.h arch/arm64/kernel/cpu_errata.c +1 more+12 -90 replies
15/18arm64: kvm: Modernize __smccc_workaround_1_smc_start annotationsarch/arm64/include/asm/kvm_asm.h arch/arm64/kernel/cpu_errata.c arch/arm64/kvm/hyp/hyp-entry.S+14 -100 replies
16/18arm64: sdei: Annotate SDEI entry points using new style annotationsarch/arm64/kernel/entry.S+6 -60 replies
17/18arm64: vdso: Convert to modern assembler annotationsarch/arm64/kernel/vdso/sigreturn.S+2 -20 replies
18/18arm64: vdso32: Convert to modern assembler annotationsarch/arm64/kernel/vdso32/sigreturn.S+8 -150 replies

Reviews trailers per patch

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

PatchArd BiesheuvelJames MorseMarc Zyngier
1/18R-b
2/18R-b
3/18
4/18
5/18
6/18
7/18
8/18
9/18
10/18
11/18
12/18
13/18A-b
14/18
15/18
16/18A-b
17/18
18/18

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 00/18] arm64: Modernize assembly annotations

In an effort to clarify and simplify the annotation of assembly functions in the kernel new macros have been introduced. These replace ENTRY and ENDPROC and also add a new annotation for static functions which previously had no ENTRY equivalent.

This series collects together all the currently pending patches relating updating the arm64 architecture code to use the modern macros.

Mark Brown (18):
arm64: crypto: Modernize some extra assembly annotations
arm64: crypto: Modernize names for AES function macros
arm64: entry: Annotate vector table and handlers as code
arm64: entry: Annotate ret_from_fork as code
arm64: entry: Additional annotation conversions for entry.S
arm64: entry-ftrace.S: Convert to modern annotations for assembly
functions
arm64: ftrace: Correct annotation of ftrace_caller assembly
arm64: ftrace: Modernise annotation of return_to_handler
arm64: head.S: Convert to modern annotations for assembly functions
arm64: head: Annotate stext and preserve_boot_args as code
arm64: kernel: Convert to modern annotations for assembly data
arm64: kernel: Convert to modern annotations for assembly functions
arm64: kvm: Annotate assembly using modern annoations
arm64: kvm: Modernize annotation for __bp_harden_hyp_vecs
arm64: kvm: Modernize __smccc_workaround_1_smc_start annotations
arm64: sdei: Annotate SDEI entry points using new style annotations
arm64: vdso: Convert to modern assembler annotations
arm64: vdso32: Convert to modern assembler annotations

 arch/arm64/crypto/aes-ce.S                    |   4 +-
 arch/arm64/crypto/aes-modes.S                 |  48 ++++----
 arch/arm64/crypto/aes-neon.S                  |   4 +-
 arch/arm64/crypto/ghash-ce-core.S             |  16 +--
 arch/arm64/include/asm/kvm_asm.h              |   4 +
 arch/arm64/include/asm/kvm_mmu.h              |   9 +-
 arch/arm64/include/asm/mmu.h                  |   4 +-
 arch/arm64/kernel/cpu-reset.S                 |   4 +-
 arch/arm64/kernel/cpu_errata.c                |  16 ++-
 arch/arm64/kernel/efi-entry.S                 |   4 +-
 arch/arm64/kernel/efi-rt-wrapper.S            |   4 +-
 arch/arm64/kernel/entry-fpsimd.S              |  20 +--
 arch/arm64/kernel/entry-ftrace.S              |  48 ++++----
 arch/arm64/kernel/entry.S                     | 115 +++++++++---------
 arch/arm64/kernel/head.S                      |  73 +++++------
 arch/arm64/kernel/hibernate-asm.S             |  16 +--
 arch/arm64/kernel/hyp-stub.S                  |  20 +--
 arch/arm64/kernel/probes/kprobes_trampoline.S |   4 +-
 arch/arm64/kernel/reloc_test_syms.S           |  44 +++----
 arch/arm64/kernel/relocate_kernel.S           |   4 +-
 arch/arm64/kernel/sleep.S                     |  12 +-
 arch/arm64/kernel/smccc-call.S                |   8 +-
 arch/arm64/kernel/vdso/sigreturn.S            |   4 +-
 arch/arm64/kernel/vdso32/sigreturn.S          |  23 ++--
 arch/arm64/kvm/hyp-init.S                     |   8 +-
 arch/arm64/kvm/hyp.S                          |   4 +-
 arch/arm64/kvm/hyp/fpsimd.S                   |   8 +-
 arch/arm64/kvm/hyp/hyp-entry.S                |  27 ++--
 28 files changed, 280 insertions(+), 275 deletions(-)
Signature · 6 lines
2.20.1

_______________________________________________
kvmarm mailing list
[email protected]
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm