Skip to content

5.16.14-rc2 review

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest53 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/53x86/speculation: Rename RETPOLINE_AMD to RETPOLINE_LFENCEarch/x86/include/asm/cpufeatures.h arch/x86/include/asm/nospec-branch.h arch/x86/kernel/alternative.c +4 more+32 -250 replies
2/53x86/speculation: Add eIBRS + Retpoline optionsarch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c+99 -380 replies
3/53Documentation/hw-vuln: Update spectre docDocumentation/admin-guide/hw-vuln/spectre.rst Documentation/admin-guide/kernel-parameters.txt+36 -160 replies
4/53x86/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
5/53x86/speculation: Use generic retpoline by default on AMDarch/x86/kernel/cpu/bugs.c+0 -90 replies
6/53x86/speculation: Update link to AMD speculation whitepaperDocumentation/admin-guide/hw-vuln/spectre.rst+3 -30 replies
7/53x86/speculation: Warn about Spectre v2 LFENCE mitigationarch/x86/kernel/cpu/bugs.c+5 -00 replies
8/53x86/speculation: Warn about eIBRS + LFENCE + Unprivileged eBPF + SMTarch/x86/kernel/cpu/bugs.c+25 -20 replies
9/53ARM: report Spectre v2 status through sysfsarch/arm/include/asm/spectre.h arch/arm/kernel/Makefile arch/arm/kernel/spectre.c +2 more+187 -390 replies
10/53ARM: early traps initialisationarch/arm/kernel/traps.c+21 -60 replies
11/53ARM: use LOADADDR() to get load address of sectionsarch/arm/include/asm/vmlinux.lds.h+12 -70 replies
12/53ARM: Spectre-BHB workaroundarch/arm/include/asm/assembler.h arch/arm/include/asm/spectre.h arch/arm/include/asm/vmlinux.lds.h +6 more+254 -90 replies
13/53ARM: include unprivileged BPF status in Spectre V2 reportingarch/arm/kernel/spectre.c+13 -00 replies
14/53arm64: add ID_AA64ISAR2_EL1 sys registerarch/arm64/include/asm/cpu.h arch/arm64/include/asm/sysreg.h arch/arm64/kernel/cpufeature.c +2 more+27 -10 replies
15/53arm64: cpufeature: add HWCAP for FEAT_AFPDocumentation/arm64/cpu-feature-registers.rst Documentation/arm64/elf_hwcaps.rst arch/arm64/include/asm/hwcap.h +4 more+19 -00 replies
16/53arm64: cpufeature: add HWCAP for FEAT_RPRESDocumentation/arm64/cpu-feature-registers.rst Documentation/arm64/elf_hwcaps.rst arch/arm64/include/asm/hwcap.h +3 more+17 -00 replies
17/53arm64: entry.S: Add ventry overflow sanity checksarch/arm64/kernel/entry.S+3 -00 replies
18/53arm64: spectre: Rename spectre_v4_patch_fw_mitigation_conduitarch/arm64/kernel/entry.S arch/arm64/kernel/proton-pack.c+4 -40 replies
19/53KVM: arm64: Allow indirect vectors to be used without SPECTRE_V3Aarch/arm64/include/asm/kvm_host.h arch/arm64/kvm/arm.c arch/arm64/kvm/hyp/nvhe/mm.c+9 -50 replies
20/53arm64: entry: Make the trampoline cleanup optionalarch/arm64/kernel/entry.S+7 -30 replies
21/53arm64: entry: Free up another register on kptis tramp_exit patharch/arm64/kernel/entry.S+13 -60 replies
22/53arm64: entry: Move the trampoline data page before the text pagearch/arm64/include/asm/fixmap.h arch/arm64/kernel/entry.S+8 -30 replies
23/53arm64: entry: Allow tramp_alias to access symbols after the 4K boundaryarch/arm64/kernel/entry.S+8 -50 replies
24/53arm64: entry: Dont assume tramp_vectors is the start of the vectorsarch/arm64/kernel/entry.S+16 -140 replies
25/53arm64: entry: Move trampoline macros out of ifdefd sectionarch/arm64/kernel/entry.S+5 -60 replies
26/53arm64: entry: Make the kpti trampolines kpti sequence optionalarch/arm64/kernel/entry.S+12 -60 replies
27/53arm64: entry: Allow the trampoline text to occupy multiple pagesarch/arm64/include/asm/fixmap.h arch/arm64/include/asm/sections.h arch/arm64/kernel/entry.S +2 more+20 -70 replies
28/53arm64: entry: Add non-kpti __bp_harden_el1_vectors for mitigationsarch/arm64/kernel/entry.S+34 -10 replies
29/53arm64: entry: Add vectors that have the bhb mitigation sequencesarch/arm64/include/asm/assembler.h arch/arm64/include/asm/vectors.h arch/arm64/kernel/entry.S +2 more+123 -90 replies
30/53arm64: entry: Add macro for reading symbol addresses from the trampolinearch/arm64/kernel/entry.S+16 -210 replies
31/53arm64: Add percpu vectors for EL1arch/arm64/include/asm/vectors.h arch/arm64/kernel/cpufeature.c arch/arm64/kernel/entry.S +1 more+52 -90 replies
32/53arm64: proton-pack: Report Spectre-BHB vulnerabilities as part of Spectre-v2arch/arm64/include/asm/spectre.h arch/arm64/kernel/proton-pack.c+36 -20 replies
33/53arm64: Mitigate spectre style branch history side channelsarch/arm64/Kconfig arch/arm64/include/asm/assembler.h arch/arm64/include/asm/cpufeature.h +9 more+352 -20 replies
34/53KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migratedarch/arm64/include/uapi/asm/kvm.h arch/arm64/kvm/hypercalls.c arch/arm64/kvm/psci.c+34 -10 replies
35/53arm64: Use the clearbhb instruction in mitigationsarch/arm64/include/asm/assembler.h arch/arm64/include/asm/cpufeature.h arch/arm64/include/asm/insn.h +7 more+79 -00 replies
36/53arm64: proton-pack: Include unprivileged eBPF status in Spectre v2 mitigation reportingarch/arm64/kernel/proton-pack.c+26 -00 replies
37/53ARM: fix build error when BPF_SYSCALL is disabledarch/arm/kernel/spectre.c+1 -10 replies
38/53ARM: fix co-processor register typoarch/arm/include/asm/assembler.h+1 -10 replies
39/53ARM: Do not use NOCROSSREFS directive with ld.lldarch/arm/include/asm/vmlinux.lds.h+8 -00 replies
40/53arm64: Do not include __READ_ONCE() block in assembly filesarch/arm64/include/asm/rwonce.h+2 -20 replies
41/53ARM: fix build warning in proc-v7-bugs.carch/arm/mm/proc-v7-bugs.c+2 -10 replies
42/53xen/xenbus: dont let xenbus_grant_ring() remove grants in error casedrivers/xen/xenbus/xenbus_client.c+11 -130 replies
43/53xen/grant-table: add gnttab_try_end_foreign_access()drivers/xen/grant-table.c include/xen/grant_table.h+24 -20 replies
44/53xen/blkfront: dont use gnttab_query_foreign_access() for mapped statusdrivers/block/xen-blkfront.c+37 -260 replies
45/53xen/netfront: dont use gnttab_query_foreign_access() for mapped statusdrivers/net/xen-netfront.c+2 -40 replies
46/53xen/scsifront: dont use gnttab_query_foreign_access() for mapped statusdrivers/scsi/xen-scsifront.c+1 -20 replies
47/53xen/gntalloc: dont use gnttab_query_foreign_access()drivers/xen/gntalloc.c+7 -180 replies
48/53xen: remove gnttab_query_foreign_access()drivers/xen/grant-table.c include/xen/grant_table.h+0 -270 replies
49/53xen/9p: use alloc/free_pages_exact()net/9p/trans_xen.c+6 -80 replies
50/53xen/pvcalls: use alloc/free_pages_exact()drivers/xen/pvcalls-front.c+4 -40 replies
51/53xen/gnttab: fix gnttab_end_foreign_access() without page specifieddrivers/xen/grant-table.c include/xen/grant_table.h+35 -80 replies
52/53xen/netfront: react properly to failing gnttab_end_foreign_access_ref()drivers/net/xen-netfront.c+31 -170 replies
53/53Revert "ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE"drivers/acpi/ec.c drivers/acpi/sleep.c+10 -140 replies

Reviews trailers per patch

45 of 53 patches have a Reviewed-by or Acked-by.

PatchThomas GleixnerPatrick ColpRussell King (Oracle)Catalin MarinasJames MorseNathan ChancellorJan BeulichRoger Pau MonnéMarc ZyngierJon HunterShuah KhanJustin M. ForbesLinux Kernel Functional TestingRon EconomosFlorian FainelliFox ChenGuenter RoeckZan AzizRudi HeitbaumBagas Sanjaya
SeriesT-b T-b T-b T-b T-b T-b T-b T-b T-b T-b T-b
1/53R-b
2/53R-b R-b
3/53R-b
4/53R-b
5/53
6/53
7/53
8/53
9/53A-b
10/53A-b
11/53A-b
12/53R-b
13/53
14/53A-b
15/53A-b
16/53A-b
17/53R-b R-b
18/53R-b R-b
19/53R-b
20/53R-b R-b
21/53R-b R-b
22/53R-b R-b
23/53R-b R-b
24/53R-b R-b
25/53R-b R-b
26/53R-b R-b
27/53R-b
28/53R-b R-b
29/53R-b
30/53R-b
31/53R-b
32/53R-b
33/53R-b
34/53R-b R-b
35/53R-b R-b
36/53A-b
37/53R-b
38/53A-b
39/53
40/53A-b
41/53
42/53R-b
43/53R-b
44/53R-b
45/53R-b
46/53R-b
47/53R-b
48/53R-b
49/53R-b
50/53R-b
51/53R-b
52/53R-b
53/53

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

Read the v1 thread

Cover letter [PATCH 5.16 00/53] 5.16.14-rc2 review

Note, I'm sending all the patches again for all of the -rc2 releases as there has been a lot of churn from what was in -rc1 to -rc2.

This is the start of the stable review cycle for the 5.16.14 release. There are 53 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/v5.x/stable-review/patch-5.16.14-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-5.16.y
and the diffstat can be found below.

thanks,

greg k-h

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

Greg Kroah-Hartman <[email protected]>

    Linux 5.16.14-rc2

Greg Kroah-Hartman <[email protected]>
Revert "ACPI: PM: s2idle: Cancel wakeup before dispatching EC GPE"

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/pvcalls: use alloc/free_pages_exact()

Juergen Gross <[email protected]>
xen/9p: use alloc/free_pages_exact()

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

Nathan Chancellor <[email protected]>
arm64: Do not include __READ_ONCE() block in assembly files

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

James Morse <[email protected]>
arm64: proton-pack: Include unprivileged eBPF status in Spectre v2 mitigation reporting

James Morse <[email protected]>
arm64: Use the clearbhb instruction in mitigations

James Morse <[email protected]>
KVM: arm64: Allow SMCCC_ARCH_WORKAROUND_3 to be discovered and migrated

James Morse <[email protected]>
arm64: Mitigate spectre style branch history side channels

James Morse <[email protected]>
arm64: proton-pack: Report Spectre-BHB vulnerabilities as part of Spectre-v2

James Morse <[email protected]>
arm64: Add percpu vectors for EL1

James Morse <[email protected]>
arm64: entry: Add macro for reading symbol addresses from the trampoline

James Morse <[email protected]>
arm64: entry: Add vectors that have the bhb mitigation sequences

James Morse <[email protected]>
arm64: entry: Add non-kpti __bp_harden_el1_vectors for mitigations

James Morse <[email protected]>
arm64: entry: Allow the trampoline text to occupy multiple pages

James Morse <[email protected]>
arm64: entry: Make the kpti trampoline's kpti sequence optional

James Morse <[email protected]>
arm64: entry: Move trampoline macros out of ifdef'd section

James Morse <[email protected]>
arm64: entry: Don't assume tramp_vectors is the start of the vectors

James Morse <[email protected]>
arm64: entry: Allow tramp_alias to access symbols after the 4K boundary

James Morse <[email protected]>
arm64: entry: Move the trampoline data page before the text page

James Morse <[email protected]>
arm64: entry: Free up another register on kpti's tramp_exit path

James Morse <[email protected]>
arm64: entry: Make the trampoline cleanup optional

James Morse <[email protected]>
KVM: arm64: Allow indirect vectors to be used without SPECTRE_V3A

James Morse <[email protected]>
arm64: spectre: Rename spectre_v4_patch_fw_mitigation_conduit

James Morse <[email protected]>
arm64: entry.S: Add ventry overflow sanity checks

Joey Gouly <[email protected]>
arm64: cpufeature: add HWCAP for FEAT_RPRES

Joey Gouly <[email protected]>
arm64: cpufeature: add HWCAP for FEAT_AFP

Joey Gouly <[email protected]>
arm64: add ID_AA64ISAR2_EL1 sys register

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

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

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

Diffstat:

 Documentation/admin-guide/hw-vuln/spectre.rst   |  50 +--
 Documentation/admin-guide/kernel-parameters.txt |   8 +-
 Documentation/arm64/cpu-feature-registers.rst   |  17 ++
 Documentation/arm64/elf_hwcaps.rst              |   8 +
 Makefile                                        |   4 +-
 arch/arm/include/asm/assembler.h                |  10 +
 arch/arm/include/asm/spectre.h                  |  32 ++
 arch/arm/include/asm/vmlinux.lds.h              |  43 ++-
 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/mm/Kconfig                             |  11 +
 arch/arm/mm/proc-v7-bugs.c                      | 208 ++++++++++---
 arch/arm64/Kconfig                              |   9 +
 arch/arm64/include/asm/assembler.h              |  53 ++++
 arch/arm64/include/asm/cpu.h                    |   1 +
 arch/arm64/include/asm/cpufeature.h             |  29 ++
 arch/arm64/include/asm/cputype.h                |   8 +
 arch/arm64/include/asm/fixmap.h                 |   6 +-
 arch/arm64/include/asm/hwcap.h                  |   2 +
 arch/arm64/include/asm/insn.h                   |   1 +
 arch/arm64/include/asm/kvm_host.h               |   5 +
 arch/arm64/include/asm/rwonce.h                 |   4 +-
 arch/arm64/include/asm/sections.h               |   5 +
 arch/arm64/include/asm/spectre.h                |   4 +
 arch/arm64/include/asm/sysreg.h                 |  18 ++
 arch/arm64/include/asm/vectors.h                |  73 +++++
 arch/arm64/include/uapi/asm/hwcap.h             |   2 +
 arch/arm64/include/uapi/asm/kvm.h               |   5 +
 arch/arm64/kernel/cpu_errata.c                  |   7 +
 arch/arm64/kernel/cpufeature.c                  |  25 ++
 arch/arm64/kernel/cpuinfo.c                     |   3 +
 arch/arm64/kernel/entry.S                       | 214 +++++++++----
 arch/arm64/kernel/image-vars.h                  |   4 +
 arch/arm64/kernel/proton-pack.c                 | 391 +++++++++++++++++++++++-
 arch/arm64/kernel/vmlinux.lds.S                 |   2 +-
 arch/arm64/kvm/arm.c                            |   5 +-
 arch/arm64/kvm/hyp/hyp-entry.S                  |   9 +
 arch/arm64/kvm/hyp/nvhe/mm.c                    |   4 +-
 arch/arm64/kvm/hyp/vhe/switch.c                 |   9 +-
 arch/arm64/kvm/hypercalls.c                     |  12 +
 arch/arm64/kvm/psci.c                           |  18 +-
 arch/arm64/kvm/sys_regs.c                       |   2 +-
 arch/arm64/mm/mmu.c                             |  12 +-
 arch/arm64/tools/cpucaps                        |   1 +
 arch/x86/include/asm/cpufeatures.h              |   2 +-
 arch/x86/include/asm/nospec-branch.h            |  16 +-
 arch/x86/kernel/alternative.c                   |   8 +-
 arch/x86/kernel/cpu/bugs.c                      | 204 ++++++++++---
 arch/x86/lib/retpoline.S                        |   2 +-
 arch/x86/net/bpf_jit_comp.c                     |   2 +-
 drivers/acpi/ec.c                               |  10 -
 drivers/acpi/sleep.c                            |  14 +-
 drivers/block/xen-blkfront.c                    |  63 ++--
 drivers/net/xen-netfront.c                      |  54 ++--
 drivers/scsi/xen-scsifront.c                    |   3 +-
 drivers/xen/gntalloc.c                          |  25 +-
 drivers/xen/grant-table.c                       |  71 +++--
 drivers/xen/pvcalls-front.c                     |   8 +-
 drivers/xen/xenbus/xenbus_client.c              |  24 +-
 include/linux/arm-smccc.h                       |   5 +
 include/linux/bpf.h                             |  12 +
 include/xen/grant_table.h                       |  19 +-
 kernel/sysctl.c                                 |   7 +
 net/9p/trans_xen.c                              |  14 +-
 tools/arch/x86/include/asm/cpufeatures.h        |   2 +-
 68 files changed, 1782 insertions(+), 358 deletions(-)