Skip to content

4.9.306-rc2 review

Greg Kroah-Hartman linux-kbuild linux-tegra lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest38 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/38x86/speculation: Add RETPOLINE_AMD support to the inline asm CALL_NOSPEC variantarch/x86/include/asm/nospec-branch.h+13 -40 replies
2/38x86/retpoline: Make CONFIG_RETPOLINE depend on compiler supportarch/x86/Kconfig arch/x86/Makefile arch/x86/include/asm/nospec-branch.h +1 more+10 -110 replies
3/38x86/retpoline: Remove minimal retpoline supportarch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c+2 -130 replies
4/38Documentation: Add section about CPU vulnerabilities for SpectreDocumentation/hw-vuln/index.rst Documentation/hw-vuln/spectre.rst+698 -00 replies
5/38Documentation: Add swapgs description to the Spectre v1 documentationDocumentation/hw-vuln/spectre.rst+80 -80 replies
6/38Documentation: refer to config RANDOMIZE_BASE for kernel address-space randomizationDocumentation/hw-vuln/spectre.rst+1 -10 replies
7/38x86/speculation: Merge one test in spectre_v2_user_select_mitigation()arch/x86/kernel/cpu/bugs.c+4 -90 replies
8/38x86,bugs: Unconditionally allow spectre_v2=retpoline,amdarch/x86/kernel/cpu/bugs.c+0 -60 replies
9/38x86/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/38x86/speculation: Add eIBRS + Retpoline optionsarch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c+98 -370 replies
11/38Documentation/hw-vuln: Update spectre docDocumentation/hw-vuln/spectre.rst Documentation/kernel-parameters.txt+35 -150 replies
12/38x86/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/38x86/speculation: Use generic retpoline by default on AMDarch/x86/kernel/cpu/bugs.c+0 -80 replies
14/38x86/speculation: Update link to AMD speculation whitepaperDocumentation/hw-vuln/spectre.rst+3 -30 replies
15/38x86/speculation: Warn about Spectre v2 LFENCE mitigationarch/x86/kernel/cpu/bugs.c+5 -00 replies
16/38x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMTarch/x86/kernel/cpu/bugs.c+25 -20 replies
17/38arm/arm64: Provide a wrapper for SMCCC 1.1 callsinclude/linux/arm-smccc.h+58 -00 replies
18/38arm/arm64: smccc/psci: add arm_smccc_1_1_get_conduit()drivers/firmware/psci.c include/linux/arm-smccc.h+31 -00 replies
19/38ARM: 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/38ARM: early traps initialisationarch/arm/kernel/traps.c+21 -60 replies
21/38ARM: use LOADADDR() to get load address of sectionsarch/arm/kernel/vmlinux-xip.lds.S arch/arm/kernel/vmlinux.lds.S+24 -140 replies
22/38ARM: 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/38ARM: include unprivileged BPF status in Spectre V2 reportingarch/arm/kernel/spectre.c+13 -00 replies
24/38ARM: fix build error when BPF_SYSCALL is disabledarch/arm/kernel/spectre.c+1 -10 replies
25/38ARM: fix co-processor register typoarch/arm/include/asm/assembler.h+1 -10 replies
26/38ARM: Do not use NOCROSSREFS directive with ld.lldarch/arm/kernel/vmlinux-xip.lds.S arch/arm/kernel/vmlinux.lds.S+16 -00 replies
27/38x86/build: Fix compiler support check for CONFIG_RETPOLINEarch/x86/Makefile+7 -30 replies
28/38x86, modpost: Replace last remnants of RETPOLINE with CONFIG_RETPOLINEarch/x86/kernel/cpu/bugs.c include/linux/compiler-gcc.h include/linux/module.h +1 more+4 -40 replies
29/38ARM: fix build warning in proc-v7-bugs.carch/arm/mm/proc-v7-bugs.c+2 -10 replies
30/38xen/xenbus: dont let xenbus_grant_ring() remove grants in error casedrivers/xen/xenbus/xenbus_client.c+11 -130 replies
31/38xen/grant-table: add gnttab_try_end_foreign_access()drivers/xen/grant-table.c include/xen/grant_table.h+24 -20 replies
32/38xen/blkfront: dont use gnttab_query_foreign_access() for mapped statusdrivers/block/xen-blkfront.c+39 -280 replies
33/38xen/netfront: dont use gnttab_query_foreign_access() for mapped statusdrivers/net/xen-netfront.c+2 -40 replies
34/38xen/scsifront: dont use gnttab_query_foreign_access() for mapped statusdrivers/scsi/xen-scsifront.c+1 -20 replies
35/38xen/gntalloc: dont use gnttab_query_foreign_access()drivers/xen/gntalloc.c+7 -180 replies
36/38xen: remove gnttab_query_foreign_access()drivers/xen/grant-table.c include/xen/grant_table.h+0 -210 replies
37/38xen/gnttab: fix gnttab_end_foreign_access() without page specifieddrivers/xen/grant-table.c include/xen/grant_table.h+29 -80 replies
38/38xen/netfront: react properly to failing gnttab_end_foreign_access_ref()drivers/net/xen-netfront.c+31 -170 replies

Reviews trailers per patch

25 of 38 patches have a Reviewed-by or Acked-by.

PatchZhenzhong DuanMasahiro YamadaThomas GleixnerJan BeulichCatalin MarinasMeelis RoosRandy DunlapPatrick ColpWill DeaconLorenzo PieralisiNathan ChancellorRoger Pau MonnéBorislav PetkovJosh PoimboeufAlexei StarovoitovPavel Machek (CIP)Jon HunterShuah KhanFlorian FainelliGuenter RoeckLinux Kernel Functional Testing
SeriesT-b T-b T-b T-b T-b T-b
1/38
2/38
3/38
4/38R-b R-b
5/38
6/38
7/38
8/38R-b A-b T-b
9/38R-b
10/38R-b R-b
11/38R-b
12/38R-b
13/38
14/38
15/38
16/38
17/38A-b
18/38A-b A-b
19/38A-b
20/38A-b
21/38A-b
22/38R-b
23/38
24/38R-b
25/38A-b
26/38
27/38A-b T-b
28/38R-b R-b
29/38
30/38R-b
31/38R-b
32/38R-b
33/38R-b
34/38R-b
35/38R-b
36/38R-b
37/38R-b
38/38R-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 21 reviewers.

Read the v1 thread

Cover letter [PATCH 4.9 00/38] 4.9.306-rc2 review

This is the start of the stable review cycle for the 4.9.306 release. There are 38 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 Sat, 12 Mar 2022 14:07:58 +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-rc2.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-rc2

Juergen Gross <[email protected]>
xen/netfront: react properly to failing gnttab_end_foreign_access_ref()

Juergen Gross <[email protected]>
xen/gnttab: fix gnttab_end_foreign_access() without page specified

Juergen Gross <[email protected]>
xen: remove gnttab_query_foreign_access()

Juergen Gross <[email protected]>
xen/gntalloc: don't use gnttab_query_foreign_access()

Juergen Gross <[email protected]>
xen/scsifront: don't use gnttab_query_foreign_access() for mapped status

Juergen Gross <[email protected]>
xen/netfront: don't use gnttab_query_foreign_access() for mapped status

Juergen Gross <[email protected]>
xen/blkfront: don't use gnttab_query_foreign_access() for mapped status

Juergen Gross <[email protected]>
xen/grant-table: add gnttab_try_end_foreign_access()

Juergen Gross <[email protected]>
xen/xenbus: don't let xenbus_grant_ring() remove grants in error case

Russell King (Oracle) <[email protected]>
ARM: fix build warning in proc-v7-bugs.c

WANG Chao <[email protected]>
x86, modpost: Replace last remnants of RETPOLINE with CONFIG_RETPOLINE

Masahiro Yamada <[email protected]>
x86/build: Fix compiler support check for CONFIG_RETPOLINE

Nathan Chancellor <[email protected]>
ARM: Do not use NOCROSSREFS directive with ld.lld

Russell King (Oracle) <[email protected]>
ARM: fix co-processor register typo

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        |  45 +-
 arch/arm/kernel/vmlinux.lds.S            |  45 +-
 arch/arm/mm/Kconfig                      |  11 +
 arch/arm/mm/proc-v7-bugs.c               | 199 ++++++--
 arch/x86/Kconfig                         |   4 -
 arch/x86/Makefile                        |  11 +-
 arch/x86/include/asm/cpufeatures.h       |   2 +-
 arch/x86/include/asm/nospec-branch.h     |  41 +-
 arch/x86/kernel/cpu/bugs.c               | 225 ++++++---
 drivers/block/xen-blkfront.c             |  67 +--
 drivers/firmware/psci.c                  |  15 +
 drivers/net/xen-netfront.c               |  54 ++-
 drivers/scsi/xen-scsifront.c             |   3 +-
 drivers/xen/gntalloc.c                   |  25 +-
 drivers/xen/grant-table.c                |  59 ++-
 drivers/xen/xenbus/xenbus_client.c       |  24 +-
 include/linux/arm-smccc.h                |  74 +++
 include/linux/bpf.h                      |  11 +
 include/linux/compiler-gcc.h             |   2 +-
 include/linux/module.h                   |   2 +-
 include/xen/grant_table.h                |  19 +-
 kernel/sysctl.c                          |   8 +
 scripts/mod/modpost.c                    |   2 +-
 tools/arch/x86/include/asm/cpufeatures.h |   2 +-
 35 files changed, 1763 insertions(+), 268 deletions(-)