Skip to content

ARM vmap'ed and IRQ stacks roundup

Ard Biesheuvel linux-arm-kernel linux-hardening 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest8 patches 1 replyIn review
  2. v532 patches 5 repliesSuperseded
  3. v415 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v314 patches3 repliesSuperseded
v212 patches10 repliesSuperseded
v1 RFC6 patches4 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8ARM: mm: switch to swapper_pg_dir early for vmap'ed stackarch/arm/Kconfig arch/arm/kernel/head.S arch/arm/kernel/sleep.S+15 -10 replies
2/8ARM: assembler: define a Kconfig symbol for group relocation supportarch/arm/Kconfig arch/arm/include/asm/assembler.h arch/arm/include/asm/current.h +2 more+28 -120 replies
3/8ARM: smp: elide HWCAP_TLS checks or __entry_task updates on SMP+v6arch/arm/include/asm/switch_to.h arch/arm/include/asm/tls.h arch/arm/kernel/entry-header.S+25 -180 replies
4/8ARM: entry: avoid clobbering R9 in IRQ handlerarch/arm/kernel/entry-armv.S+4 -50 replies
5/8ARM: mm: make vmalloc_seq handling SMP safearch/arm/include/asm/mmu.h arch/arm/include/asm/mmu_context.h arch/arm/include/asm/page.h +3 more+41 -320 replies
6/8ARM: iop: make iop_handle_irq() staticarch/arm/mach-iop32x/irq.c+1 -10 replies
7/8ARM: drop pointless SMP check on secondary startup patharch/arm/kernel/smp.c+0 -50 replies
8/8ARM: make get_current() and __my_cpu_offset() __always_inlinearch/arm/include/asm/current.h arch/arm/include/asm/percpu.h+2 -21 reply

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchNick Desaulniers
1/8
2/8
3/8
4/8
5/8
6/8
7/8
8/8R-b

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

Read the v6 thread

Cover letter [PATCH v6 0/8] ARM vmap'ed and IRQ stacks roundup

This v6 series is a followup to [0], and presents the proposed changes as a set of delta patches against the v4 that was already taken into rmk/devel-stable, and dropped from v5.17 when it turned out that were unresolved issues related to suspend/resume.

These patches apply onto rmk/devel-stable directly, which means there is an unresolved conflict with the changes that landed in v5.17-rc1 via the ARM tree: these will need to be handled by the maintainer.

Code can be found under the arm-vmap-stacks-v6 tag at
git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git

[0] https://lore.kernel.org/linux-arm-kernel/[email protected]/

Cc Russell King <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Kees Cook <[email protected]>
Cc Keith Packard <[email protected]>
Cc Linus Walleij <[email protected]>
Cc Nick Desaulniers <[email protected]>
Cc Marc Zyngier <[email protected]>

Ard Biesheuvel (8):
ARM: mm: switch to swapper_pg_dir early for vmap'ed stack
ARM: assembler: define a Kconfig symbol for group relocation support
ARM: smp: elide HWCAP_TLS checks or __entry_task updates on SMP+v6
ARM: entry: avoid clobbering R9 in IRQ handler
ARM: mm: make vmalloc_seq handling SMP safe
ARM: iop: make iop_handle_irq() static
ARM: drop pointless SMP check on secondary startup path
ARM: make get_current() and __my_cpu_offset() __always_inline

 arch/arm/Kconfig                   | 13 +++++++++-
 arch/arm/include/asm/assembler.h   |  8 +++----
 arch/arm/include/asm/current.h     | 10 ++++----
 arch/arm/include/asm/mmu.h         |  2 +-
 arch/arm/include/asm/mmu_context.h | 22 +++++++++++++++--
 arch/arm/include/asm/page.h        |  3 +--
 arch/arm/include/asm/percpu.h      |  6 ++---
 arch/arm/include/asm/switch_to.h   |  4 ++--
 arch/arm/include/asm/tls.h         | 22 ++++++++++++-----
 arch/arm/kernel/entry-armv.S       |  9 ++++---
 arch/arm/kernel/entry-header.S     | 17 ++++++-------
 arch/arm/kernel/head.S             |  7 ++++++
 arch/arm/kernel/module.c           |  7 +++++-
 arch/arm/kernel/sleep.S            |  7 ++++++
 arch/arm/kernel/smp.c              |  5 ----
 arch/arm/kernel/traps.c            | 25 ++++++--------------
 arch/arm/mach-iop32x/irq.c         |  2 +-
 arch/arm/mm/context.c              |  3 +--
 arch/arm/mm/ioremap.c              | 18 ++++++++------
 19 files changed, 115 insertions(+), 75 deletions(-)
Signature · 1 line
2.30.2