Skip to content

arm64: Finish up assembler annotation modernisation

Mark Brown linux-arm-kernel 2 versions – Applied

Status from this message: Applied to arm64 (for-next/asm), thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 4 repliesApplied
  2. v12 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Split out ret_to_user conversion and annotate ret_to_user and work_pending as a single code block.
- Swap a number of annotations between CODE and FUNC as suggested by Will.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3arm64: entry: Refactor and modernise annotation for ret_to_userarch/arm64/kernel/entry.S+14 -131 reply
2/3arm64: kernel: Convert to modern annotations for assembly functionsarch/arm64/kernel/cpu-reset.S arch/arm64/kernel/efi-rt-wrapper.S arch/arm64/kernel/entry-fpsimd.S +7 more+68 -681 reply
3/3arm64: Disable old style assembly annotationsarch/arm64/Kconfig+1 -01 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchMark Rutland
1/3A-b
2/3A-b
3/3A-b

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/3] arm64: Finish up assembler annotation modernisation

This series finishes up the conversion of arm64 to use modern assembler annotations. The second patch selects a symbol added by 2ce0d7f9766f0e49b (x86/asm: Provide a Kconfig symbol for disabling old assembly annotations) in -next to ensure that we don't regress and start using old annotations again.

This will be needed for BTI kernel support so it'd be good if they could end up on that branch, either through merging a topic branch or otherwise. The patches are generated against a merge of v5.7-rc3 and for-next/bti-user in the arm64 tree.

v2:
- Split out ret_to_user conversion and annotate ret_to_user and work_pending as a single code block.
- Swap a number of annotations between CODE and FUNC as suggested by Will.

Mark Brown (3):
arm64: entry: Refactor and modernise annotation for ret_to_user
arm64: kernel: Convert to modern annotations for assembly functions
arm64: Disable old style assembly annotations

 arch/arm64/Kconfig                            |  1 +
 arch/arm64/kernel/cpu-reset.S                 |  4 +-
 arch/arm64/kernel/efi-rt-wrapper.S            |  4 +-
 arch/arm64/kernel/entry-fpsimd.S              | 20 ++++-----
 arch/arm64/kernel/entry.S                     | 27 ++++++------
 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 ++--
 12 files changed, 83 insertions(+), 81 deletions(-)
Signature · 7 lines
2.20.1


_______________________________________________
linux-arm-kernel mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel