Skip to content

clean up KPTI / SDEI trampoline data alignment

Rémi Denis-Courmont linux-arm-kernel lkml 2 versions – Applied

Status from this message: I queued v2. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 12 repliesApplied
  2. v13 patches 7 repliesApplied

Changes in v3 from the cover letter

- Retain alignment even when SDEI is disabled to keep ld happy.

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/3arm64: clean up trampoline vector loadsarch/arm64/kernel/entry.S+4 -58 replies
2/3arm64/sdei: gather trampolines' .rodataarch/arm64/kernel/entry.S+5 -70 replies
3/3arm64: reduce trampoline data alignmentarch/arm64/kernel/entry.S arch/arm64/mm/mmu.c+3 -42 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchWill Deacon
SeriesA-b
1/3
2/3
3/3

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

Read the v3 thread

Cover letter [PATCHv3 0/3] clean up KPTI / SDEI trampoline data alignment
	Hi,

The KPTI and SDE trampolines each load a pointer from the same fixmap data page. This reduces the data alignment to the useful value, and tries to clarify the assembler code.

Changes since v2:
- Retain alignment even when SDEI is disabled to keep ld happy.

----------------------------------------------------------------
Rémi Denis-Courmont (3):
arm64: clean up trampoline vector loads
arm64/sdei: gather trampolines' .rodata
arm64: reduce trampoline data alignment

 arch/arm64/kernel/entry.S | 23 ++++++++++-------------
 arch/arm64/mm/mmu.c       |  5 ++---
 2 files changed, 12 insertions(+), 16 deletions(-)
Signature · 2 lines
Реми Дёни-Курмон
http://www.remlab.net/