Skip to content

3.16.68-rc1 review

Ben Hutchings linux-arch linux-arm-kernel linux-s390 linuxppc-dev lkml stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest86 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/86x86/cpufeature: Add bug flags to /proc/cpuinfoarch/x86/include/asm/cpufeature.h arch/x86/kernel/cpu/mkcapflags.sh arch/x86/kernel/cpu/proc.c+53 -160 replies
2/86module: add within_module() functioninclude/linux/module.h kernel/module.c+9 -80 replies
3/86jump_label: Fix small typos in the documentationinclude/linux/jump_label.h+8 -90 replies
4/86MIPS: jump_label.c: Correct the span of the J instructionarch/mips/kernel/jump_label.c+2 -20 replies
5/86MIPS: jump_label.c: Handle the microMIPS J instruction encodingarch/mips/include/asm/jump_label.h arch/mips/kernel/jump_label.c+38 -100 replies
6/86s390/jump label: add sanity checksarch/s390/kernel/jump_label.c+42 -140 replies
7/86s390/jump label: use different nop instructionarch/s390/include/asm/jump_label.h arch/s390/kernel/jump_label.c+19 -70 replies
8/86jump_label: Allow asm/jump_label.h to be included in assemblyarch/arm/include/asm/jump_label.h arch/arm64/include/asm/jump_label.h arch/mips/include/asm/jump_label.h +3 more+16 -170 replies
9/86jump_label: Allow jump labels to be used in assemblyMakefile include/linux/jump_label.h+18 -40 replies
10/86module, jump_label: Fix module lockingkernel/jump_label.c+6 -40 replies
11/86jump_label: Rename JUMP_LABEL_{EN,DIS}ABLE to JUMP_LABEL_{JMP,NOP}arch/arm/kernel/jump_label.c arch/arm64/kernel/jump_label.c arch/mips/kernel/jump_label.c +6 more+18 -180 replies
12/86jump_label, locking/static_keys: Rename JUMP_LABEL_TYPE_* and related helpers to the static_key* patterninclude/linux/jump_label.h kernel/jump_label.c+21 -290 replies
13/86jump_label: Add jump_entry_key() helperkernel/jump_label.c+9 -40 replies
14/86locking/static_keys: Rework update logickernel/jump_label.c+38 -500 replies
15/86locking/static_keys: Add a new static_key interfacearch/arm/include/asm/jump_label.h arch/arm64/include/asm/jump_label.h arch/mips/include/asm/jump_label.h +6 more+298 -440 replies
16/86jump label, locking/static_keys: Update docsDocumentation/static-keys.txt include/linux/jump_label.h+100 -700 replies
17/86jump_label/x86: Work around asm build bug on older/backported GCCsarch/x86/include/asm/jump_label.h+4 -40 replies
18/86locking/static_keys: Fix a silly typoDocumentation/static-keys.txt include/linux/jump_label.h+2 -20 replies
19/86locking/static_keys: Fix up the static keys documentationDocumentation/static-keys.txt include/linux/jump_label.h+6 -80 replies
20/86jump_label: make static_key_enabled() work on static_key_true/false types tooinclude/linux/jump_label.h+11 -70 replies
21/86x86/asm: Error out if asm/jump_label.h is included inappropriatelyarch/x86/include/asm/jump_label.h+13 -00 replies
22/86x86/asm: Add asm macros for static keys/jump labelsarch/x86/include/asm/jump_label.h+44 -80 replies
23/86x86/headers: Don't include asm/processor.h in asm/atomic.harch/x86/include/asm/atomic.h arch/x86/include/asm/atomic64_32.h lib/atomic64_test.c+4 -20 replies
24/86x86/cpufeature: Carve out X86_FEATURE_*Documentation/kernel-parameters.txt arch/x86/boot/cpuflags.h arch/x86/boot/mkcpustr.c +46 more+321 -3160 replies
25/86locking/static_key: Fix concurrent static_key_slow_inc()include/linux/jump_label.h kernel/jump_label.c+46 -60 replies
26/86locking/static_keys: Provide DECLARE and well as DEFINE macrosinclude/linux/jump_label.h+6 -00 replies
27/86x86/speculation: Support Enhanced IBRS on future CPUsarch/x86/include/asm/cpufeatures.h arch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c +1 more+23 -20 replies
28/86x86/speculation: Simplify the CPU bug detection logicarch/x86/kernel/cpu/common.c+7 -150 replies
29/86x86/speculation: Remove SPECTRE_V2_IBRS in enum spectre_v2_mitigationarch/x86/include/asm/nospec-branch.h+0 -10 replies
30/86x86/cpu: Sanitize FAM6_ATOM namingarch/x86/include/asm/intel-family.h arch/x86/kernel/cpu/common.c+31 -270 replies
31/86x86/speculation: Apply IBPB more strictly to avoid cross-process data leakarch/x86/mm/tlb.c include/linux/ptrace.h kernel/ptrace.c+48 -110 replies
32/86x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigationarch/x86/kernel/cpu/bugs.c+50 -50 replies
33/86x86/speculation: Propagate information about RSB filling mitigation to sysfsarch/x86/kernel/cpu/bugs.c+2 -10 replies
34/86x86/speculation: Update the TIF_SSBD commentarch/x86/include/asm/thread_info.h+1 -10 replies
35/86x86/speculation: Clean up spectre_v2_parse_cmdline()arch/x86/kernel/cpu/bugs.c+13 -140 replies
36/86x86/speculation: Remove unnecessary ret variable in cpu_show_common()arch/x86/kernel/cpu/bugs.c+1 -40 replies
37/86x86/speculation: Move STIPB/IBPB string conditionals out of cpu_show_common()arch/x86/kernel/cpu/bugs.c+18 -20 replies
38/86x86/speculation: Disable STIBP when enhanced IBRS is in usearch/x86/kernel/cpu/bugs.c+7 -00 replies
39/86x86/speculation: Rename SSBD update functionsarch/x86/include/asm/spec-ctrl.h arch/x86/kernel/cpu/bugs.c arch/x86/kernel/process.c+11 -110 replies
40/86x86/speculation: Reorganize speculation control MSRs updatearch/x86/kernel/process.c+27 -150 replies
41/86x86/Kconfig: Select SCHED_SMT if SMP enabledarch/x86/Kconfig+1 -70 replies
42/86sched: Add sched_smt_active()include/linux/sched/smt.h kernel/sched/core.c kernel/sched/sched.h+38 -00 replies
43/86x86/speculation: Rework SMT state changearch/x86/kernel/cpu/bugs.c include/linux/sched/smt.h kernel/cpu.c+16 -70 replies
44/86x86/speculation: Reorder the spec_v2 codearch/x86/kernel/cpu/bugs.c+87 -870 replies
45/86x86/speculation: Mark string arrays const correctlyarch/x86/kernel/cpu/bugs.c+2 -20 replies
46/86x86/speculataion: Mark command line parser data __initdataarch/x86/kernel/cpu/bugs.c+2 -20 replies
47/86x86/speculation: Unify conditional spectre v2 print functionsarch/x86/kernel/cpu/bugs.c+4 -130 replies
48/86x86/speculation: Add command line control for indirect branch speculationDocumentation/kernel-parameters.txt arch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c+154 -190 replies
49/86x86/speculation: Prepare for per task indirect branch speculation controlarch/x86/include/asm/spec-ctrl.h arch/x86/include/asm/thread_info.h arch/x86/include/uapi/asm/msr-index.h +2 more+44 -70 replies
50/86x86/process: Consolidate and simplify switch_to_xtra() codearch/x86/include/asm/switch_to.h arch/x86/kernel/process.c arch/x86/kernel/process.h +2 more+37 -200 replies
51/86x86/speculation: Avoid __switch_to_xtra() callsarch/x86/include/asm/thread_info.h arch/x86/kernel/process.h+26 -20 replies
52/86x86/speculation: Prepare for conditional IBPB in switch_mm()arch/x86/include/asm/nospec-branch.h arch/x86/include/asm/tlbflush.h arch/x86/kernel/cpu/bugs.c +1 more+117 -220 replies
53/86x86/speculation: Split out TIF updatearch/x86/kernel/cpu/bugs.c+23 -120 replies
54/86x86/speculation: Prepare arch_smt_update() for PRCTL modearch/x86/kernel/cpu/bugs.c+25 -210 replies
55/86x86/speculation: Prevent stale SPEC_CTRL msr contentarch/x86/include/asm/spec-ctrl.h arch/x86/include/asm/thread_info.h arch/x86/kernel/cpu/bugs.c +1 more+43 -200 replies
56/86x86/speculation: Add prctl() control for indirect branch speculationDocumentation/spec_ctrl.rst arch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c +3 more+92 -00 replies
57/86x86/speculation: Enable prctl mode for spectre_v2_userDocumentation/kernel-parameters.txt arch/x86/kernel/cpu/bugs.c+38 -100 replies
58/86x86/speculation: Add seccomp Spectre v2 user space protection modeDocumentation/kernel-parameters.txt arch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c+25 -20 replies
59/86x86/speculation: Provide IBPB always command line optionsDocumentation/kernel-parameters.txt arch/x86/kernel/cpu/bugs.c+35 -110 replies
60/86kvm: x86: Report STIBP on GET_SUPPORTED_CPUIDarch/x86/kvm/cpuid.c+3 -20 replies
61/86x86/msr-index: Cleanup bit definesarch/x86/include/uapi/asm/msr-index.h+7 -70 replies
62/86x86/speculation: Consolidate CPU whitelistsarch/x86/kernel/cpu/common.c+55 -480 replies
63/86x86/speculation/mds: Add basic bug infrastructure for MDSarch/x86/include/asm/cpufeatures.h arch/x86/include/uapi/asm/msr-index.h arch/x86/kernel/cpu/common.c+23 -90 replies
64/86x86/speculation/mds: Add BUG_MSBDS_ONLYarch/x86/include/asm/cpufeatures.h arch/x86/kernel/cpu/common.c+13 -80 replies
65/86x86/kvm: Expose X86_FEATURE_MD_CLEAR to guestsarch/x86/kvm/cpuid.c+1 -10 replies
66/86x86/speculation/mds: Add mds_clear_cpu_buffers()Documentation/x86/mds.rst arch/x86/include/asm/nospec-branch.h+124 -00 replies
67/86x86/speculation/mds: Clear CPU buffers on exit to userDocumentation/x86/mds.rst arch/x86/ia32/ia32entry.S arch/x86/include/asm/nospec-branch.h +5 more+109 -10 replies
68/86x86/speculation/mds: Conditionally clear CPU buffers on idle entryDocumentation/x86/mds.rst arch/x86/include/asm/irqflags.h arch/x86/include/asm/mwait.h +2 more+67 -00 replies
69/86x86/speculation/mds: Add mitigation control for MDSDocumentation/kernel-parameters.txt arch/x86/include/asm/processor.h arch/x86/kernel/cpu/bugs.c+98 -00 replies
70/86x86/speculation/l1tf: Document l1tf in sysfsDocumentation/ABI/testing/sysfs-devices-system-cpu+1 -00 replies
71/86x86/speculation/mds: Add sysfs reporting for MDSDocumentation/ABI/testing/sysfs-devices-system-cpu arch/x86/kernel/cpu/bugs.c drivers/base/cpu.c +1 more+38 -00 replies
72/86x86/speculation/mds: Add mitigation mode VMWERVDocumentation/x86/mds.rst arch/x86/include/asm/processor.h arch/x86/kernel/cpu/bugs.c+40 -60 replies
73/86Documentation: Move L1TF to separate directoryarch/x86/kernel/cpu/bugs.c+1 -10 replies
74/86Documentation: Add MDS vulnerability documentationDocumentation/hw-vuln/mds.rst Documentation/kernel-parameters.txt+309 -00 replies
75/86x86/speculation: Move arch_smt_update() call to after mitigation decisionsarch/x86/kernel/cpu/bugs.c+2 -30 replies
76/86x86/speculation/mds: Add SMT warning messagearch/x86/kernel/cpu/bugs.c+8 -00 replies
77/86x86/speculation/mds: Fix commentarch/x86/kernel/cpu/bugs.c+1 -10 replies
78/86x86/speculation/mds: Print SMT vulnerable on MSBDS with mitigations offarch/x86/kernel/cpu/bugs.c+2 -10 replies
79/86cpu/speculation: Add 'mitigations=' cmdline optionDocumentation/kernel-parameters.txt include/linux/cpu.h kernel/cpu.c+49 -00 replies
80/86x86/speculation: Support 'mitigations=' cmdline optionDocumentation/kernel-parameters.txt arch/x86/kernel/cpu/bugs.c arch/x86/mm/kaiser.c+16 -80 replies
81/86x86/speculation/mds: Add 'mitigations=' support for MDSDocumentation/kernel-parameters.txt arch/x86/kernel/cpu/bugs.c+2 -10 replies
82/86x86/mds: Add MDSUM variant to the MDS documentationDocumentation/hw-vuln/mds.rst Documentation/x86/mds.rst+8 -20 replies
83/86Documentation: Correct the possible MDS sysfs valuesDocumentation/hw-vuln/mds.rst+12 -150 replies
84/86x86/speculation/mds: Fix documentation typoDocumentation/x86/mds.rst+1 -10 replies
85/86x86/cpu/bugs: Use __initconst for 'const' init dataarch/x86/kernel/cpu/bugs.c+3 -30 replies
86/86x86/bugs: Change L1TF mitigation string to match upstreamarch/x86/kernel/cpu/bugs.c+1 -10 replies

Reviews trailers per patch

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

PatchJiri KosinaIngo MolnarFrederic WeisbeckerJon MastersPeter Zijlstra (Intel)Tim ChenBorislav PetkovGreg Kroah-HartmanTyler HicksJosh PoimboeufThomas LendackyJim MattsonKonrad Rzeszutek WilkRabin VincentMichael EllermanHeiko CarstensThomas GleixnerBoris OstrovskyPaul E. McKenneyDavid Woodhouse
1/86
2/86
3/86
4/86
5/86
6/86
7/86
8/86A-b
9/86A-b
10/86A-b
11/86
12/86
13/86
14/86
15/86T-b A-b A-b
16/86
17/86T-b
18/86
19/86
20/86A-b
21/86R-b
22/86R-b
23/86
24/86
25/86
26/86A-b
27/86Originally-by
28/86
29/86
30/86
31/86Originally-by
32/86
33/86
34/86R-b
35/86R-b
36/86R-b
37/86R-b
38/86R-b
39/86R-b
40/86R-b Originally-by
41/86R-b
42/86
43/86R-b
44/86R-b
45/86R-b
46/86R-b
47/86R-b
48/86R-b Originally-by
49/86R-b
50/86R-b
51/86R-b
52/86R-b
53/86R-b
54/86R-b
55/86
56/86R-b
57/86R-b
58/86R-b
59/86R-b
60/86R-b R-b
61/86R-b R-b T-b R-b R-b
62/86R-b R-b T-b R-b R-b
63/86R-b R-b T-b R-b R-b
64/86R-b R-b T-b
65/86R-b R-b T-b R-b R-b
66/86R-b R-b T-b R-b R-b
67/86R-b R-b T-b R-b R-b
68/86R-b R-b T-b R-b R-b
69/86R-b T-b R-b
70/86
71/86R-b T-b R-b R-b
72/86R-b T-b R-b
73/86R-b R-b
74/86R-b
75/86A-b R-b
76/86A-b R-b
77/86R-b R-b
78/86R-b R-b
79/86T-b R-b
80/86T-b R-b
81/86
82/86R-b R-b
83/86
84/86
85/86
86/86

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 3.16 00/86] 3.16.68-rc1 review

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

Responses should be made by Mon May 20 10:00:00 UTC 2019. Anything received after that time might be too late.

All the patches have also been committed to the linux-3.16.y-rc branch of
https://git.kernel.org/pub/scm/linux/kernel/git/bwh/linux-stable-rc.git . A shortlog and diffstat can be found below.

Ben.

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

Andi Kleen (4):
x86/cpu/bugs: Use __initconst for 'const' init data
[1de7edbb59c8f1b46071f66c5c97b8a59569eb51]
x86/headers: Don't include asm/processor.h in asm/atomic.h
[153a4334c439cfb62e1d31cee0c790ba4157813d]
x86/kvm: Expose X86_FEATURE_MD_CLEAR to guests
[6c4dbbd14730c43f4ed808a9c42ca41625925c22]
x86/speculation/mds: Add basic bug infrastructure for MDS
[ed5194c2732c8084af9fd159c146ea92bf137128]

Andy Lutomirski (2):
x86/asm: Add asm macros for static keys/jump labels
[2671c3e4fe2a34bd9bf2eecdf5d1149d4b55dbdf]
x86/asm: Error out if asm/jump_label.h is included inappropriately
[c28454332fe0b65e22c3a2717e5bf05b5b47ca20]

Anton Blanchard (2):
jump_label: Allow asm/jump_label.h to be included in assembly
[55dd0df781e58ec23d218376ea4a676e7362a98c]
jump_label: Allow jump labels to be used in assembly
[c0ccf6f99e3a43b87980c9df7da48427885206d0]

Ben Hutchings (3):
sched: Add sched_smt_active()
[1b568f0aabf280555125bc7cefc08321ff0ebaba]
x86/bugs: Change L1TF mitigation string to match upstream
[72c6d2db64fa18c996ece8f06e499509e6c9a37e]
x86/speculation/l1tf: Document l1tf in sysfs
[d90a7a0ec83fb86622cd7dae23255d3c50a99ec8]

Boris Ostrovsky (1):
x86/speculation/mds: Fix comment
[cae5ec342645746d617dd420d206e1588d47768a]

Borislav Petkov (2):
x86/cpufeature: Add bug flags to /proc/cpuinfo
[80a208bd3948aceddf0429bd9f9b4cd858d526df]
x86/cpufeature: Carve out X86_FEATURE_*
[cd4d09ec6f6c12a2cc3db5b7d8876a325a53545b]

Dominik Brodowski (1):
x86/speculation: Simplify the CPU bug detection logic
[8ecc4979b1bd9c94168e6fc92960033b7a951336]

Eduardo Habkost (1):
kvm: x86: Report STIBP on GET_SUPPORTED_CPUID
[d7b09c827a6cf291f66637a36f46928dd1423184]

Heiko Carstens (2):
s390/jump label: add sanity checks
[5c6497c50f8d809eac6d01512c291a1f67382abd]
s390/jump label: use different nop instruction
[d5caa4dbf9bd2ad8cd7f6be0ca76722be947182b]

Ingo Molnar (1):
jump_label: Fix small typos in the documentation
[fd3cbdc0d1b5254a2e8793df58c409b469899a3f]

Jason Baron (1):
jump label, locking/static_keys: Update docs
[412758cb26704e5087ca2976ec3b28fb2bdbfad4]

Jiang Biao (1):
x86/speculation: Remove SPECTRE_V2_IBRS in enum spectre_v2_mitigation
[d9f4426c73002957be5dd39936f44a09498f7560]

Jiri Kosina (3):
x86/speculation: Apply IBPB more strictly to avoid cross-process data leak
[dbfe2953f63c640463c630746cd5d9de8b2f63ae]
x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation
[53c613fe6349994f023245519265999eed75957f]
x86/speculation: Propagate information about RSB filling mitigation to sysfs
[bb4b3b7762735cdaba5a40fd94c9303d9ffa147a]

Jonathan Corbet (2):
locking/static_keys: Fix a silly typo
[edcd591c77a48da753456f92daf8bb50fe9bac93]
locking/static_keys: Fix up the static keys documentation
[1975dbc276c6ab62230cf4f9df5ddc9ff0e0e473]

Josh Poimboeuf (6):
cpu/speculation: Add 'mitigations=' cmdline option
[98af8452945c55652de68536afdde3b520fec429]
x86/speculation/mds: Add 'mitigations=' support for MDS
[5c14068f87d04adc73ba3f41c2a303d3c3d1fa12]
x86/speculation/mds: Add SMT warning message
[39226ef02bfb43248b7db12a4fdccb39d95318e3]
x86/speculation/mds: Fix documentation typo
[95310e348a321b45fb746c176961d4da72344282]
x86/speculation: Move arch_smt_update() call to after mitigation decisions
[7c3658b20194a5b3209a143f63bc9c643c6a3ae2]
x86/speculation: Support 'mitigations=' cmdline option
[d68be4c4d31295ff6ae34a8ddfaa4c1a8ff42812]

Konrad Rzeszutek Wilk (1):
x86/speculation/mds: Print SMT vulnerable on MSBDS with mitigations off
[e2c3c94788b08891dcf3dbe608f9880523ecd71b]

Maciej W. Rozycki (2):
MIPS: jump_label.c: Correct the span of the J instruction
[99436f7d69045800ffd1d66912f85d37150c7e2b]
MIPS: jump_label.c: Handle the microMIPS J instruction encoding
[935c2dbec4d6d3163ee8e7409996904a734ad89a]

Paolo Bonzini (1):
locking/static_key: Fix concurrent static_key_slow_inc()
[4c5ea0a9cd02d6aa8adc86e100b2a4cff8d614ff]

Peter Zijlstra (8):

      jump_label, locking/static_keys: Rename JUMP_LABEL_TYPE_* and related helpers to the static_key* pattern
         [a1efb01feca597b2abbc89873b40ef8ec6690168]
      jump_label/x86: Work around asm build bug on older/backported GCCs
         [d420acd816c07c7be31bd19d09cbcb16e5572fa6]
      jump_label: Add jump_entry_key() helper
         [7dcfd915bae51571bcc339d8e3dda027287880e5]
      jump_label: Rename JUMP_LABEL_{EN,DIS}ABLE to JUMP_LABEL_{JMP,NOP}
         [76b235c6bcb16062d663e2ee96db0b69f2e6bc14]
      locking/static_keys: Add a new static_key interface
         [11276d5306b8e5b438a36bbff855fe792d7eaa61]
      locking/static_keys: Rework update logic
         [706249c222f68471b6f8e9e8e9b77665c404b226]
      module, jump_label: Fix module locking
         [bed831f9a251968272dae10a83b512c7db256ef0]
      x86/cpu: Sanitize FAM6_ATOM naming
         [f2c4db1bd80720cd8cb2a5aa220d9bc9f374f04e]

Petr Mladek (1):
module: add within_module() function
[9b20a352d78a7651aa68a9220f77ccb03009d892]

Sai Praneeth (1):
x86/speculation: Support Enhanced IBRS on future CPUs
[706d51681d636a0c4a5ef53395ec3b803e45ed4d]

Tejun Heo (1):
jump_label: make static_key_enabled() work on static_key_true/false types too
[fa128fd735bd236b6b04d3fedfed7a784137c185]

Thomas Gleixner (29):
Documentation: Add MDS vulnerability documentation
[5999bbe7a6ea3c62029532ec84dc06003a1fa258]
Documentation: Move L1TF to separate directory
[65fd4cb65b2dad97feb8330b6690445910b56d6a]
x86/Kconfig: Select SCHED_SMT if SMP enabled
[dbe733642e01dd108f71436aaea7b328cb28fd87]
x86/msr-index: Cleanup bit defines
[d8eabc37310a92df40d07c5a8afc53cebf996716]
x86/process: Consolidate and simplify switch_to_xtra() code
[ff16701a29cba3aafa0bd1656d766813b2d0a811]
x86/speculataion: Mark command line parser data __initdata
[30ba72a990f5096ae08f284de17986461efcc408]
x86/speculation/mds: Add BUG_MSBDS_ONLY
[e261f209c3666e842fd645a1e31f001c3a26def9]
x86/speculation/mds: Add mds_clear_cpu_buffers()
[6a9e529272517755904b7afa639f6db59ddb793e]
x86/speculation/mds: Add mitigation control for MDS
[bc1241700acd82ec69fde98c5763ce51086269f8]
x86/speculation/mds: Add mitigation mode VMWERV
[22dd8365088b6403630b82423cf906491859b65e]
x86/speculation/mds: Add sysfs reporting for MDS
[8a4b06d391b0a42a373808979b5028f5c84d9c6a]
x86/speculation/mds: Clear CPU buffers on exit to user
[04dcbdb8057827b043b3c71aa397c4c63e67d086]
x86/speculation/mds: Conditionally clear CPU buffers on idle entry
[07f07f55a29cb705e221eda7894dd67ab81ef343]
x86/speculation: Add command line control for indirect branch speculation
[fa1202ef224391b6f5b26cdd44cc50495e8fab54]
x86/speculation: Add prctl() control for indirect branch speculation
[9137bb27e60e554dab694eafa4cca241fa3a694f]
x86/speculation: Add seccomp Spectre v2 user space protection mode
[6b3e64c237c072797a9ec918654a60e3a46488e2]
x86/speculation: Avoid __switch_to_xtra() calls
[5635d99953f04b550738f6f4c1c532667c3fd872]
x86/speculation: Consolidate CPU whitelists
[36ad35131adacc29b328b9c8b6277a8bf0d6fd5d]
x86/speculation: Enable prctl mode for spectre_v2_user
[7cc765a67d8e04ef7d772425ca5a2a1e2b894c15]
x86/speculation: Mark string arrays const correctly
[8770709f411763884535662744a3786a1806afd3]
x86/speculation: Prepare arch_smt_update() for PRCTL mode
[6893a959d7fdebbab5f5aa112c277d5a44435ba1]
x86/speculation: Prepare for conditional IBPB in switch_mm()
[4c71a2b6fd7e42814aa68a6dec88abf3b42ea573]
x86/speculation: Prevent stale SPEC_CTRL msr content
[6d991ba509ebcfcc908e009d1db51972a4f7a064]
x86/speculation: Provide IBPB always command line options
[55a974021ec952ee460dc31ca08722158639de72]
x86/speculation: Rename SSBD update functions
[26c4d75b234040c11728a8acb796b3a85ba7507c]
x86/speculation: Reorder the spec_v2 code
[15d6b7aab0793b2de8a05d8a828777dd24db424e]
x86/speculation: Rework SMT state change
[a74cfffb03b73d41e08f84c2e5c87dec0ce3db9f]
x86/speculation: Split out TIF update
[e6da8bb6f9abb2628381904b24163c770e630bac]
x86/speculation: Unify conditional spectre v2 print functions
[495d470e9828500e0155027f230449ac5e29c025]

Tim Chen (7):
x86/speculation: Clean up spectre_v2_parse_cmdline()
[24848509aa55eac39d524b587b051f4e86df3c12]
x86/speculation: Disable STIBP when enhanced IBRS is in use
[34bce7c9690b1d897686aac89604ba7adc365556]
x86/speculation: Move STIPB/IBPB string conditionals out of cpu_show_common()
[a8f76ae41cd633ac00be1b3019b1eb4741be3828]
x86/speculation: Prepare for per task indirect branch speculation control
[5bfbe3ad5840d941b89bcac54b821ba14f50a0ba]
x86/speculation: Remove unnecessary ret variable in cpu_show_common()
[b86bda0426853bfe8a3506c7d2a5b332760ae46b]
x86/speculation: Reorganize speculation control MSRs update
[01daf56875ee0cd50ed496a09b20eb369b45dfa5]
x86/speculation: Update the TIF_SSBD comment
[8eb729b77faf83ac4c1f363a9ad68d042415f24c]

Tony Luck (1):
locking/static_keys: Provide DECLARE and well as DEFINE macros
[b8fb03785d4de097507d0cf45873525e0ac4d2b2]

Tyler Hicks (1):
Documentation: Correct the possible MDS sysfs values
[ea01668f9f43021b28b3f4d5ffad50106a1e1301]

speck for Pawan Gupta (1):
x86/mds: Add MDSUM variant to the MDS documentation
[e672f8bf71c66253197e503f75c771dd28ada4a0]

 Documentation/ABI/testing/sysfs-devices-system-cpu |   2 +
 Documentation/hw-vuln/mds.rst                      | 305 ++++++++++
 Documentation/kernel-parameters.txt                | 106 +++-
 Documentation/spec_ctrl.rst                        |   9 +
 Documentation/static-keys.txt                      |  99 ++--
 Documentation/x86/mds.rst                          | 225 ++++++++
 Makefile                                           |   5 +-
 arch/arm/include/asm/jump_label.h                  |  30 +-
 arch/arm/kernel/jump_label.c                       |   2 +-
 arch/arm64/include/asm/jump_label.h                |  24 +-
 arch/arm64/kernel/jump_label.c                     |   2 +-
 arch/mips/include/asm/jump_label.h                 |  32 +-
 arch/mips/kernel/jump_label.c                      |  44 +-
 arch/powerpc/include/asm/jump_label.h              |  19 +-
 arch/powerpc/kernel/jump_label.c                   |   2 +-
 arch/s390/include/asm/jump_label.h                 |  29 +-
 arch/s390/kernel/jump_label.c                      |  65 ++-
 arch/sparc/include/asm/jump_label.h                |  38 +-
 arch/sparc/kernel/jump_label.c                     |   2 +-
 arch/x86/Kconfig                                   |   8 +-
 arch/x86/boot/cpuflags.h                           |   2 +-
 arch/x86/boot/mkcpustr.c                           |   2 +-
 arch/x86/crypto/crc32-pclmul_glue.c                |   2 +-
 arch/x86/crypto/crc32c-intel_glue.c                |   2 +-
 arch/x86/crypto/crct10dif-pclmul_glue.c            |   2 +-
 arch/x86/ia32/ia32entry.S                          |   2 +
 arch/x86/include/asm/alternative.h                 |   6 -
 arch/x86/include/asm/apic.h                        |   1 -
 arch/x86/include/asm/arch_hweight.h                |   2 +
 arch/x86/include/asm/atomic.h                      |   1 -
 arch/x86/include/asm/atomic64_32.h                 |   1 -
 arch/x86/include/asm/barrier.h                     |   1 +
 arch/x86/include/asm/cmpxchg.h                     |   1 +
 arch/x86/include/asm/cpufeature.h                  | 278 +--------
 arch/x86/include/asm/cpufeatures.h                 | 278 +++++++++
 arch/x86/include/asm/intel-family.h                |  30 +-
 arch/x86/include/asm/irqflags.h                    |   5 +
 arch/x86/include/asm/jump_label.h                  |  85 ++-
 arch/x86/include/asm/mwait.h                       |   7 +
 arch/x86/include/asm/nospec-branch.h               |  83 ++-
 arch/x86/include/asm/processor.h                   |  10 +-
 arch/x86/include/asm/smap.h                        |   2 +-
 arch/x86/include/asm/smp.h                         |   1 -
 arch/x86/include/asm/spec-ctrl.h                   |  20 +-
 arch/x86/include/asm/switch_to.h                   |   3 -
 arch/x86/include/asm/thread_info.h                 |  28 +-
 arch/x86/include/asm/tlbflush.h                    |   7 +
 arch/x86/include/asm/uaccess_64.h                  |   2 +-
 arch/x86/include/uapi/asm/msr-index.h              |  20 +-
 arch/x86/kernel/cpu/Makefile                       |   2 +-
 arch/x86/kernel/cpu/bugs.c                         | 629 ++++++++++++++++++---
 arch/x86/kernel/cpu/centaur.c                      |   2 +-
 arch/x86/kernel/cpu/common.c                       | 133 +++--
 arch/x86/kernel/cpu/cyrix.c                        |   1 +
 arch/x86/kernel/cpu/intel.c                        |   2 +-
 arch/x86/kernel/cpu/intel_cacheinfo.c              |   2 +-
 arch/x86/kernel/cpu/match.c                        |   2 +-
 arch/x86/kernel/cpu/mkcapflags.sh                  |  51 +-
 arch/x86/kernel/cpu/mtrr/main.c                    |   2 +-
 arch/x86/kernel/cpu/proc.c                         |   8 +
 arch/x86/kernel/cpu/transmeta.c                    |   2 +-
 arch/x86/kernel/e820.c                             |   1 +
 arch/x86/kernel/entry_32.S                         |   4 +-
 arch/x86/kernel/entry_64.S                         |   7 +-
 arch/x86/kernel/head_32.S                          |   2 +-
 arch/x86/kernel/hpet.c                             |   1 +
 arch/x86/kernel/jump_label.c                       |   2 +-
 arch/x86/kernel/msr.c                              |   2 +-
 arch/x86/kernel/nmi.c                              |   4 +
 arch/x86/kernel/process.c                          | 101 +++-
 arch/x86/kernel/process.h                          |  39 ++
 arch/x86/kernel/process_32.c                       |   9 +-
 arch/x86/kernel/process_64.c                       |   9 +-
 arch/x86/kernel/traps.c                            |   9 +
 arch/x86/kernel/verify_cpu.S                       |   2 +-
 arch/x86/kvm/cpuid.c                               |   5 +-
 arch/x86/lib/clear_page_64.S                       |   2 +-
 arch/x86/lib/copy_page_64.S                        |   2 +-
 arch/x86/lib/copy_user_64.S                        |   2 +-
 arch/x86/lib/memcpy_64.S                           |   2 +-
 arch/x86/lib/memmove_64.S                          |   2 +-
 arch/x86/lib/memset_64.S                           |   2 +-
 arch/x86/lib/retpoline.S                           |   2 +-
 arch/x86/mm/kaiser.c                               |   4 +-
 arch/x86/mm/setup_nx.c                             |   1 +
 arch/x86/mm/tlb.c                                  | 102 +++-
 arch/x86/oprofile/op_model_amd.c                   |   1 -
 arch/x86/um/asm/barrier.h                          |   2 +-
 arch/x86/vdso/vdso32-setup.c                       |   1 -
 arch/x86/vdso/vma.c                                |   1 +
 drivers/base/cpu.c                                 |   8 +
 include/linux/cpu.h                                |  19 +
 include/linux/jump_label.h                         | 301 +++++++---
 include/linux/module.h                             |   5 +
 include/linux/ptrace.h                             |  21 +-
 include/linux/sched.h                              |   9 +
 include/linux/sched/smt.h                          |  20 +
 include/uapi/linux/prctl.h                         |   1 +
 kernel/cpu.c                                       |  23 +-
 kernel/jump_label.c                                | 159 ++++--
 kernel/module.c                                    |  12 +-
 kernel/ptrace.c                                    |  10 +
 kernel/sched/core.c                                |  19 +
 kernel/sched/sched.h                               |   1 +
 lib/atomic64_test.c                                |   4 +
 105 files changed, 2873 insertions(+), 830 deletions(-)
Signature · 3 lines
Ben Hutchings
Man invented language to satisfy his deep need to complain.
                                                          - Lily Tomlin