Skip to content

4.9.306-rc1 review

Greg Kroah-Hartman lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest24 patches 10 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/24x86/speculation: Add RETPOLINE_AMD support to the inline asm CALL_NOSPEC variantarch/x86/include/asm/nospec-branch.h+13 -40 replies
2/24x86/retpoline: Make CONFIG_RETPOLINE depend on compiler supportarch/x86/Kconfig arch/x86/Makefile arch/x86/include/asm/nospec-branch.h +1 more+10 -112 replies
3/24x86/retpoline: Remove minimal retpoline supportarch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c+2 -130 replies
4/24Documentation: Add section about CPU vulnerabilities for SpectreDocumentation/hw-vuln/index.rst Documentation/hw-vuln/spectre.rst+698 -00 replies
5/24Documentation: Add swapgs description to the Spectre v1 documentationDocumentation/hw-vuln/spectre.rst+80 -80 replies
6/24Documentation: refer to config RANDOMIZE_BASE for kernel address-space randomizationDocumentation/hw-vuln/spectre.rst+1 -10 replies
7/24x86/speculation: Merge one test in spectre_v2_user_select_mitigation()arch/x86/kernel/cpu/bugs.c+4 -90 replies
8/24x86,bugs: Unconditionally allow spectre_v2=retpoline,amdarch/x86/kernel/cpu/bugs.c+0 -60 replies
9/24x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCEarch/x86/include/asm/cpufeatures.h arch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c +1 more+26 -190 replies
10/24x86/speculation: Add eIBRS + Retpoline optionsarch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c+98 -370 replies
11/24Documentation/hw-vuln: Update spectre docDocumentation/hw-vuln/spectre.rst Documentation/kernel-parameters.txt+35 -150 replies
12/24x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation reportingarch/x86/kernel/cpu/bugs.c include/linux/bpf.h kernel/sysctl.c+48 -60 replies
13/24x86/speculation: Use generic retpoline by default on AMDarch/x86/kernel/cpu/bugs.c+0 -80 replies
14/24x86/speculation: Update link to AMD speculation whitepaperDocumentation/hw-vuln/spectre.rst+3 -30 replies
15/24x86/speculation: Warn about Spectre v2 LFENCE mitigationarch/x86/kernel/cpu/bugs.c+5 -00 replies
16/24x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMTarch/x86/kernel/cpu/bugs.c+25 -20 replies
17/24arm/arm64: Provide a wrapper for SMCCC 1.1 callsinclude/linux/arm-smccc.h+58 -00 replies
18/24arm/arm64: smccc/psci: add arm_smccc_1_1_get_conduit()drivers/firmware/psci.c include/linux/arm-smccc.h+31 -00 replies
19/24ARM: report Spectre v2 status through sysfsarch/arm/include/asm/spectre.h arch/arm/kernel/Makefile arch/arm/kernel/spectre.c +2 more+184 -310 replies
20/24ARM: early traps initialisationarch/arm/kernel/traps.c+21 -60 replies
21/24ARM: use LOADADDR() to get load address of sectionsarch/arm/kernel/vmlinux-xip.lds.S arch/arm/kernel/vmlinux.lds.S+24 -140 replies
22/24ARM: Spectre-BHB workaroundarch/arm/include/asm/assembler.h arch/arm/include/asm/spectre.h arch/arm/kernel/entry-armv.S +7 more+269 -120 replies
23/24ARM: include unprivileged BPF status in Spectre V2 reportingarch/arm/kernel/spectre.c+13 -00 replies
24/24ARM: fix build error when BPF_SYSCALL is disabledarch/arm/kernel/spectre.c+1 -10 replies

Reviews trailers per patch

14 of 24 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPatrick ColpThomas GleixnerRandy DunlapBorislav PetkovJosh PoimboeufAlexei StarovoitovNathan ChancellorCatalin MarinasWill DeaconLorenzo PieralisiMeelis RoosZhenzhong DuanMasahiro YamadaShuah KhanFlorian Fainelli
SeriesR-b T-b T-b
1/24
2/24T-b A-b R-b R-b
3/24
4/24R-b R-b
5/24
6/24
7/24
8/24R-b A-b T-b
9/24R-b
10/24R-b R-b
11/24R-b
12/24R-b
13/24
14/24
15/24
16/24
17/24A-b
18/24A-b A-b
19/24A-b
20/24A-b
21/24A-b
22/24R-b
23/24
24/24R-b

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

Read the v1 thread

Cover letter [PATCH 4.9 00/24] 4.9.306-rc1 review

This is the start of the stable review cycle for the 4.9.306 release. There are 24 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know.

Responses should be made by Fri, 11 Mar 2022 15:58:48 +0000. Anything received after that time might be too late.

The whole patch series can be found in one patch at:

	https://www.kernel.org/pub/linux/kernel/v4.x/stable-review/patch-4.9.306-rc1.gz

or in the git tree and branch at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable-rc.git linux-4.9.y
and the diffstat can be found below.

thanks,

greg k-h

-------------
Pseudo-Shortlog of commits:

Greg Kroah-Hartman <[email protected]>

    Linux 4.9.306-rc1

Emmanuel Gil Peyrot <[email protected]>
ARM: fix build error when BPF_SYSCALL is disabled

Russell King (Oracle) <[email protected]>
ARM: include unprivileged BPF status in Spectre V2 reporting

Russell King (Oracle) <[email protected]>
ARM: Spectre-BHB workaround

Russell King (Oracle) <[email protected]>
ARM: use LOADADDR() to get load address of sections

Russell King (Oracle) <[email protected]>
ARM: early traps initialisation

Russell King (Oracle) <[email protected]>
ARM: report Spectre v2 status through sysfs

Mark Rutland <[email protected]>

    arm/arm64: smccc/psci: add arm_smccc_1_1_get_conduit()

Steven Price <[email protected]>
arm/arm64: Provide a wrapper for SMCCC 1.1 calls

Josh Poimboeuf <[email protected]>
x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMT

Josh Poimboeuf <[email protected]>
x86/speculation: Warn about Spectre v2 LFENCE mitigation

Kim Phillips <[email protected]>
x86/speculation: Update link to AMD speculation whitepaper

Kim Phillips <[email protected]>
x86/speculation: Use generic retpoline by default on AMD

Josh Poimboeuf <[email protected]>
x86/speculation: Include unprivileged eBPF status in Spectre v2 mitigation reporting

Peter Zijlstra <[email protected]>
Documentation/hw-vuln: Update spectre doc

Peter Zijlstra <[email protected]>
x86/speculation: Add eIBRS + Retpoline options

Peter Zijlstra (Intel) <[email protected]>
x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCE

Peter Zijlstra <[email protected]>
x86,bugs: Unconditionally allow spectre_v2=retpoline,amd

Borislav Petkov <[email protected]>
x86/speculation: Merge one test in spectre_v2_user_select_mitigation()

Lukas Bulwahn <[email protected]>
Documentation: refer to config RANDOMIZE_BASE for kernel address-space randomization

Josh Poimboeuf <[email protected]>
Documentation: Add swapgs description to the Spectre v1 documentation

Tim Chen <[email protected]>
Documentation: Add section about CPU vulnerabilities for Spectre

Zhenzhong Duan <[email protected]>
x86/retpoline: Remove minimal retpoline support

Zhenzhong Duan <[email protected]>
x86/retpoline: Make CONFIG_RETPOLINE depend on compiler support

Zhenzhong Duan <[email protected]>
x86/speculation: Add RETPOLINE_AMD support to the inline asm CALL_NOSPEC variant

-------------

Diffstat:

 Documentation/hw-vuln/index.rst          |   1 +
 Documentation/hw-vuln/spectre.rst        | 785 +++++++++++++++++++++++++++++++
 Documentation/kernel-parameters.txt      |   8 +-
 Makefile                                 |   4 +-
 arch/arm/include/asm/assembler.h         |  10 +
 arch/arm/include/asm/spectre.h           |  32 ++
 arch/arm/kernel/Makefile                 |   2 +
 arch/arm/kernel/entry-armv.S             |  79 +++-
 arch/arm/kernel/entry-common.S           |  24 +
 arch/arm/kernel/spectre.c                |  71 +++
 arch/arm/kernel/traps.c                  |  65 ++-
 arch/arm/kernel/vmlinux-xip.lds.S        |  37 +-
 arch/arm/kernel/vmlinux.lds.S            |  37 +-
 arch/arm/mm/Kconfig                      |  11 +
 arch/arm/mm/proc-v7-bugs.c               | 198 ++++++--
 arch/x86/Kconfig                         |   4 -
 arch/x86/Makefile                        |   5 +-
 arch/x86/include/asm/cpufeatures.h       |   2 +-
 arch/x86/include/asm/nospec-branch.h     |  41 +-
 arch/x86/kernel/cpu/bugs.c               | 223 ++++++---
 drivers/firmware/psci.c                  |  15 +
 include/linux/arm-smccc.h                |  74 +++
 include/linux/bpf.h                      |  11 +
 kernel/sysctl.c                          |   8 +
 tools/arch/x86/include/asm/cpufeatures.h |   2 +-
 25 files changed, 1596 insertions(+), 153 deletions(-)