Skip to content

4.4.144-stable review

Greg Kroah-Hartman kvm linux-edac linux-efi linux-kbuild linux-mm lkml stable virtualization xen-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest102 of 107 patches 9 repliesIn review

102 of 107 patches are in this archive. The cover letter announces 107.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
2/107x86/MCE: Remove min interval polling limitationarch/x86/kernel/cpu/mcheck/mce.c+0 -30 replies
3/107fat: fix memory allocation failure handling of match_strdup()fs/fat/inode.c+13 -70 replies
4/107ALSA: rawmidi: Change resized buffers atomicallysound/core/rawmidi.c+14 -60 replies
5/107ARC: Fix CONFIG_SWAParch/arc/include/asm/pgtable.h+1 -10 replies
6/107ARC: mm: allow mprotect to make stack mappings executablearch/arc/include/asm/page.h+1 -10 replies
7/107mm: memcg: fix use after free in mem_cgroup_iter()mm/memcontrol.c+1 -10 replies
8/107ipv4: Return EINVAL when ping_group_range sysctl doesnt map to user nsnet/ipv4/sysctl_net_ipv4.c+3 -20 replies
9/107ipv6: fix useless rol32 call on hashinclude/net/ipv6.h+1 -10 replies
10/107lib/rhashtable: consider param->min_size when setting initial table sizelib/rhashtable.c+11 -60 replies
11/107net/ipv4: Set oif in fib_compute_spec_dstnet/ipv4/fib_frontend.c+1 -00 replies
12/107net: phy: fix flag masking in __set_phy_supporteddrivers/net/phy/phy_device.c+2 -50 replies
13/107ptp: fix missing break in switchdrivers/ptp/ptp_chardev.c+1 -00 replies
14/107tg3: Add higher cpu clock for 5762.drivers/net/ethernet/broadcom/tg3.c+9 -00 replies
15/107net: Dont copy pfmemalloc flag in __copy_skb_header()include/linux/skbuff.h net/core/skbuff.c+8 -60 replies
16/107skbuff: Unconditionally copy pfmemalloc in __skb_clone()net/core/skbuff.c+1 -20 replies
17/107xhci: Fix perceived dead host due to runtime suspend race with event handlerdrivers/usb/host/xhci.c drivers/usb/host/xhci.h+41 -30 replies
18/107x86/paravirt: Make native_save_fl() extern inlinearch/x86/include/asm/irqflags.h arch/x86/kernel/Makefile arch/x86/kernel/irqflags.S+28 -12 replies
19/107x86/cpufeatures: Add CPUID_7_EDX CPUID leafarch/x86/include/asm/cpufeature.h arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/disabled-features.h +2 more+15 -50 replies
20/107x86/cpufeatures: Add Intel feature bits for Speculation Controlarch/x86/include/asm/cpufeatures.h+3 -00 replies
21/107x86/cpufeatures: Add AMD feature bits for Speculation Controlarch/x86/include/asm/cpufeatures.h+3 -00 replies
22/107x86/msr: Add definitions for new speculation control MSRsarch/x86/include/asm/msr-index.h+12 -00 replies
23/107x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdownarch/x86/kernel/cpu/common.c+43 -50 replies
24/107x86/cpufeature: Blacklist SPEC_CTRL/PRED_CMD on early Spectre v2 microcodesarch/x86/include/asm/intel-family.h arch/x86/kernel/cpu/intel.c+71 -10 replies
25/107x86/speculation: Add basic IBPB (Indirect Branch Prediction Barrier) supportarch/x86/include/asm/cpufeatures.h arch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c+24 -10 replies
26/107x86/cpufeatures: Clean up Spectre v2 related CPUID flagsarch/x86/include/asm/cpufeatures.h arch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c +1 more+34 -240 replies
27/107x86/cpuid: Fix up "virtual" IBRS/IBPB/STIBP feature bits on Intelarch/x86/kernel/cpu/common.c arch/x86/kernel/cpu/intel.c+29 -190 replies
28/107x86/pti: Mark constant arrays as __initconstarch/x86/kernel/cpu/common.c+2 -20 replies
29/107x86/asm/entry/32: Simplify pushes of zeroed pt_regs->REGsarch/x86/entry/entry_64_compat.S+21 -240 replies
30/107x86/entry/64/compat: Clear registers for compat syscalls, to reduce speculation attack surfacearch/x86/entry/entry_64_compat.S+30 -00 replies
31/107x86/speculation: Update Speculation Control microcode blacklistarch/x86/kernel/cpu/intel.c+0 -40 replies
32/107x86/speculation: Correct Speculation Control microcode blacklist againarch/x86/kernel/cpu/intel.c+6 -50 replies
33/107x86/speculation: Clean up various Spectre related detailsarch/x86/kernel/cpu/bugs.c+10 -150 replies
34/107x86/speculation: Fix up array_index_nospec_mask() asm constraintarch/x86/include/asm/barrier.h+1 -10 replies
35/107x86/speculation: Add <asm/msr-index.h> dependencyarch/x86/include/asm/nospec-branch.h+1 -00 replies
36/107x86/xen: Zero MSR_IA32_SPEC_CTRL before suspendarch/x86/xen/suspend.c+16 -00 replies
36/107x86/xen: Zero MSR_IA32_SPEC_CTRL before suspendarch/x86/xen/suspend.c+16 -00 replies
37/107x86/mm: Factor out LDT init from context initarch/x86/include/asm/mmu_context.h arch/x86/kernel/ldt.c+18 -72 replies
38/107x86/mm: Give each mm TLB flush generation a unique IDarch/x86/include/asm/mmu.h arch/x86/include/asm/mmu_context.h arch/x86/mm/tlb.c+19 -20 replies
41/107x86/speculation: Use IBRS if available before calling into firmwarearch/x86/include/asm/apm.h arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/efi.h +3 more+58 -100 replies
42/107x86/speculation: Move firmware_restrict_branch_speculation_*() from C to CPParch/x86/include/asm/nospec-branch.h+14 -120 replies
43/107x86/speculation: Remove Skylake C2 from Speculation Control microcode blacklistarch/x86/kernel/cpu/intel.c+1 -20 replies
46/107xen: set cpu capabilities from xen_start_kernel()arch/x86/xen/enlighten.c+9 -90 replies
47/107x86/amd: dont set X86_BUG_SYSRET_SS_ATTRS when running under Xenarch/x86/kernel/cpu/amd.c arch/x86/xen/enlighten.c+4 -50 replies
48/107x86/nospec: Simplify alternative_msr_write()arch/x86/include/asm/nospec-branch.h+10 -90 replies
49/107x86/bugs: Concentrate bug detection into a separate functionarch/x86/kernel/cpu/common.c+11 -100 replies
50/107x86/bugs: Concentrate bug reporting into a separate functionarch/x86/kernel/cpu/bugs.c+32 -140 replies
51/107x86/bugs: Read SPEC_CTRL MSR during boot and re-use reserved bitsarch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c+47 -40 replies
52/107x86/bugs, KVM: Support the combination of guest and host IBRSarch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c+28 -00 replies
53/107x86/cpu: Rename Merrifield2 to Moorefieldarch/x86/include/asm/intel-family.h+2 -20 replies
54/107x86/cpu/intel: Add Knights Mill to Intel familyarch/x86/include/asm/intel-family.h+1 -00 replies
55/107x86/bugs: Expose /sys/../spec_store_bypassDocumentation/ABI/testing/sysfs-devices-system-cpu arch/x86/include/asm/cpufeatures.h arch/x86/kernel/cpu/bugs.c +3 more+40 -00 replies
56/107x86/cpufeatures: Add X86_FEATURE_RDSarch/x86/include/asm/cpufeatures.h+1 -00 replies
57/107x86/bugs: Provide boot parameters for the spec_store_bypass_disable mitigationDocumentation/kernel-parameters.txt arch/x86/include/asm/cpufeatures.h arch/x86/include/asm/nospec-branch.h +1 more+143 -00 replies
58/107x86/bugs/intel: Set proper CPU features and setup RDSarch/x86/include/asm/msr-index.h arch/x86/kernel/cpu/bugs.c arch/x86/kernel/cpu/common.c +2 more+44 -60 replies
59/107x86/bugs: Whitelist allowed SPEC_CTRL MSR valuesarch/x86/kernel/cpu/bugs.c+9 -20 replies
60/107x86/bugs/AMD: Add support to disable RDS on Fam[15, 16, 17]h if requestedarch/x86/include/asm/cpufeatures.h arch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/amd.c +2 more+61 -10 replies
61/107x86/speculation: Create spec-ctrl.h to avoid include hellarch/x86/include/asm/nospec-branch.h arch/x86/include/asm/spec-ctrl.h arch/x86/kernel/cpu/amd.c +3 more+25 -180 replies
62/107prctl: Add speculation control prctlsDocumentation/spec_ctrl.txt include/linux/nospec.h include/uapi/linux/prctl.h +1 more+122 -00 replies
63/107x86/process: Optimize TIF checks in __switch_to_xtra()arch/x86/kernel/process.c+31 -230 replies
64/107x86/process: Correct and optimize TIF_BLOCKSTEP switcharch/x86/include/asm/msr-index.h arch/x86/kernel/process.c+8 -50 replies
65/107x86/process: Optimize TIF_NOTSC switcharch/x86/include/asm/tlbflush.h arch/x86/kernel/process.c+14 -180 replies
66/107x86/process: Allow runtime control of Speculative Store Bypassarch/x86/include/asm/msr-index.h arch/x86/include/asm/spec-ctrl.h arch/x86/include/asm/thread_info.h +2 more+66 -80 replies
67/107x86/speculation: Add prctl for Speculative Store Bypass mitigationDocumentation/kernel-parameters.txt arch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c+79 -110 replies
68/107nospec: Allow getting/setting on non-current taskarch/x86/kernel/cpu/bugs.c include/linux/nospec.h kernel/sys.c+26 -170 replies
69/107proc: Provide details on speculation flaw mitigationsfs/proc/array.c+23 -00 replies
70/107seccomp: Enable speculation flaw mitigationskernel/seccomp.c+17 -00 replies
71/107prctl: Add force disable speculationDocumentation/spec_ctrl.txt arch/x86/kernel/cpu/bugs.c fs/proc/array.c +2 more+59 -230 replies
72/107seccomp: Use PR_SPEC_FORCE_DISABLEkernel/seccomp.c+1 -10 replies
73/107seccomp: Add filter flag to opt-out of SSB mitigationinclude/linux/seccomp.h include/uapi/linux/seccomp.h kernel/seccomp.c +1 more+93 -110 replies
74/107seccomp: Move speculation migitation control to arch codearch/x86/kernel/cpu/bugs.c include/linux/nospec.h kernel/seccomp.c+22 -240 replies
75/107x86/speculation: Make "seccomp" the default mode for Speculative Store BypassDocumentation/kernel-parameters.txt arch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c+41 -180 replies
76/107x86/bugs: Rename _RDS to _SSBDarch/x86/include/asm/cpufeatures.h arch/x86/include/asm/msr-index.h arch/x86/include/asm/spec-ctrl.h +6 more+47 -470 replies
77/107proc: Use underscores for SSBD in statusfs/proc/array.c+1 -10 replies
78/107Documentation/spec_ctrl: Do some minor cleanupsDocumentation/spec_ctrl.txt+12 -120 replies
79/107x86/bugs: Fix __ssb_select_mitigation() return typearch/x86/kernel/cpu/bugs.c+1 -10 replies
80/107x86/bugs: Make cpu_show_common() staticarch/x86/kernel/cpu/bugs.c+1 -10 replies
81/107x86/bugs: Fix the parameters alignment and missing voidarch/x86/kernel/cpu/bugs.c+2 -20 replies
82/107x86/cpu: Make alternative_msr_write work for 32-bit codearch/x86/include/asm/nospec-branch.h+2 -20 replies
84/107x86/cpufeatures: Disentangle MSR_SPEC_CTRL enumeration from IBRSarch/x86/include/asm/cpufeatures.h arch/x86/kernel/cpu/bugs.c arch/x86/kernel/cpu/common.c +1 more+22 -90 replies
85/107x86/cpufeatures: Disentangle SSBD enumerationarch/x86/include/asm/cpufeatures.h arch/x86/kernel/cpu/amd.c arch/x86/kernel/cpu/bugs.c +3 more+15 -140 replies
86/107x86/cpu/AMD: Fix erratum 1076 (CPB bit)arch/x86/kernel/cpu/amd.c+11 -00 replies
87/107x86/cpufeatures: Add FEATURE_ZENarch/x86/include/asm/cpufeatures.h arch/x86/kernel/cpu/amd.c+3 -00 replies
88/107x86/speculation: Handle HT correctly on AMDarch/x86/include/asm/spec-ctrl.h arch/x86/kernel/process.c arch/x86/kernel/smpboot.c+130 -60 replies
89/107x86/bugs, KVM: Extend speculation control for VIRT_SPEC_CTRLarch/x86/include/asm/spec-ctrl.h arch/x86/kernel/cpu/bugs.c+24 -50 replies
90/107x86/speculation: Add virtualized speculative store bypass disable supportarch/x86/include/asm/cpufeatures.h arch/x86/include/asm/msr-index.h arch/x86/kernel/cpu/bugs.c +1 more+18 -20 replies
91/107x86/speculation: Rework speculative_store_bypass_update()arch/x86/include/asm/spec-ctrl.h arch/x86/kernel/cpu/bugs.c arch/x86/kernel/process.c+9 -40 replies
92/107x86/bugs: Unify x86_spec_ctrl_{set_guest, restore_host}arch/x86/include/asm/spec-ctrl.h arch/x86/kernel/cpu/bugs.c+44 -490 replies
93/107x86/bugs: Expose x86_spec_ctrl_base directlyarch/x86/include/asm/nospec-branch.h arch/x86/include/asm/spec-ctrl.h arch/x86/kernel/cpu/bugs.c+6 -240 replies
94/107x86/bugs: Remove x86_spec_ctrl_set()arch/x86/include/asm/nospec-branch.h arch/x86/kernel/cpu/bugs.c+2 -130 replies
95/107x86/bugs: Rework spec_ctrl base and mask logicarch/x86/kernel/cpu/bugs.c+19 -70 replies
96/107x86/speculation, KVM: Implement support for VIRT_SPEC_CTRL/LS_CFGarch/x86/include/asm/spec-ctrl.h arch/x86/kernel/cpu/bugs.c+36 -00 replies
97/107x86/bugs: Rename SSBD_NO to SSB_NOarch/x86/include/asm/msr-index.h arch/x86/kernel/cpu/common.c+2 -20 replies
98/107x86/xen: Add call of speculative_store_bypass_ht_init() to PV pathsarch/x86/xen/smp.c+5 -00 replies
99/107x86/cpu: Re-apply forced caps every time CPU caps are re-readarch/x86/kernel/cpu/common.c+7 -00 replies
100/107block: do not use interruptible wait anywhereblock/blk-core.c+3 -70 replies
101/107clk: tegra: Fix PLL_U post divider and initial rate on Tegra30drivers/clk/tegra/clk-tegra30.c+6 -50 replies
102/107ubi: Introduce vol_ignored()drivers/mtd/ubi/attach.c drivers/mtd/ubi/ubi.h+33 -60 replies
103/107ubi: Rework Fastmap attach base codedrivers/mtd/ubi/attach.c drivers/mtd/ubi/fastmap.c drivers/mtd/ubi/ubi.h +1 more+162 -420 replies
104/107ubi: Be more paranoid while seaching for the most recent Fastmapdrivers/mtd/ubi/attach.c drivers/mtd/ubi/ubi.h+27 -40 replies
105/107ubi: Fix races around ubi_refill_pools()drivers/mtd/ubi/eba.c drivers/mtd/ubi/fastmap-wl.c drivers/mtd/ubi/fastmap.c +1 more+30 -140 replies
106/107ubi: Fix Fastmaps update_vol()drivers/mtd/ubi/fastmap.c+1 -00 replies
107/107ubi: fastmap: Erase outdated anchor PEBs during attachdrivers/mtd/ubi/wl.c+57 -202 replies

Reviews trailers per patch

85 of 102 patches have a Reviewed-by or Acked-by.

PatchHerbert XuSabrina DubrocaAlistair StrachanMatthias KaehlckeSedat DilekJuergen GrossGreg Kroah-HartmanBorislav PetkovMatt Helsley (VMware)Alexey MakhalovBo GanDave HansenArjan van de VenJan BeulichThomas GleixnerNadav AmitBoris OstrovskyIngo MolnarKonrad Rzeszutek WilkBrian WoodsBart Van AsscheRichard WeinbergerAndrew LunnFlorian FainelliRichard CochranMichael ChanMichal HockoDavid WoodhouseLinus TorvaldsBoris BrezillonAndy Lutomirski
2/107
3/107
4/107
5/107
6/107
7/107A-b
8/107
9/107
10/107A-b
11/107
12/107R-b R-b
13/107A-b
14/107R-b
15/107
16/107T-b
17/107
18/107Debugged-by Debugged-by T-b A-b
19/107R-b R-b R-b R-b R-b
20/107R-b R-b R-b R-b R-b
21/107R-b R-b R-b R-b
22/107R-b R-b R-b R-b
23/107R-b R-b R-b R-b R-b A-b
24/107R-b R-b R-b R-b
25/107R-b R-b R-b
26/107Originally-by R-b R-b R-b
27/107R-b R-b R-b
28/107R-b R-b R-b
29/107R-b R-b R-b A-b
30/107R-b R-b R-b
31/107R-b R-b R-b
32/107R-b R-b R-b Requested-by
33/107R-b R-b R-b A-b
34/107R-b R-b R-b
35/107R-b R-b R-b
36/107R-b R-b R-b R-b R-b R-b R-b R-b
36/107R-b R-b R-b R-b R-b R-b R-b R-b
37/107R-b R-b R-b R-b
38/107R-b R-b R-b R-b R-b
41/107R-b R-b R-b R-b
42/107R-b R-b R-b
43/107R-b R-b R-b
46/107R-b R-b R-b R-b
47/107R-b R-b R-b A-b R-b
48/107R-b R-b R-b R-b
49/107R-b R-b R-b R-b R-b
50/107R-b R-b R-b R-b R-b
51/107R-b R-b R-b R-b R-b
52/107R-b R-b R-b R-b R-b
53/107R-b R-b R-b
54/107R-b R-b R-b R-b
55/107R-b R-b R-b R-b R-b
56/107R-b R-b R-b R-b
57/107R-b R-b R-b R-b R-b
58/107R-b R-b R-b R-b R-b
59/107R-b R-b R-b R-b
60/107R-b R-b R-b R-b
61/107R-b R-b R-b R-b R-b
62/107R-b R-b R-b R-b R-b
63/107R-b R-b R-b Originally-by
64/107R-b R-b R-b Originally-by
65/107R-b R-b R-b
66/107R-b R-b R-b R-b R-b
67/107R-b R-b R-b R-b
68/107R-b R-b R-b
69/107R-b R-b R-b
70/107R-b R-b R-b
71/107R-b R-b R-b
72/107R-b R-b R-b
73/107R-b R-b R-b
74/107R-b R-b R-b
75/107R-b R-b R-b
76/107R-b R-b R-b
77/107R-b R-b R-b
78/107R-b R-b R-b
79/107R-b R-b R-b
80/107R-b R-b R-b
81/107R-b R-b R-b
82/107R-b R-b R-b A-b
84/107R-b R-b R-b R-b R-b
85/107R-b R-b R-b R-b R-b
86/107R-b R-b R-b
87/107R-b R-b R-b R-b R-b
88/107R-b R-b R-b R-b R-b
89/107R-b R-b R-b R-b R-b
90/107R-b R-b R-b R-b
91/107R-b R-b R-b R-b R-b
92/107R-b R-b R-b R-b
93/107R-b R-b R-b R-b R-b
94/107R-b R-b R-b R-b R-b
95/107R-b R-b R-b R-b
96/107R-b R-b R-b
97/107R-b R-b R-b
98/107T-b
99/107R-b
100/107R-b
101/107
102/107
103/107
104/107
105/107
106/107R-b
107/107R-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 31 reviewers.

Read the v1 thread

Cover letter [PATCH 4.4 000/107] 4.4.144-stable review

This is the start of the stable review cycle for the 4.4.144 release. There are 107 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 Wed Jul 25 12:23:53 UTC 2018. 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.4.144-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.4.y
and the diffstat can be found below.

thanks,

greg k-h

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

Greg Kroah-Hartman <[email protected]>

    Linux 4.4.144-rc1

Sascha Hauer <[email protected]>
ubi: fastmap: Erase outdated anchor PEBs during attach

Richard Weinberger <[email protected]>
ubi: Fix Fastmap's update_vol()

Richard Weinberger <[email protected]>
ubi: Fix races around ubi_refill_pools()

Richard Weinberger <[email protected]>
ubi: Be more paranoid while seaching for the most recent Fastmap

Richard Weinberger <[email protected]>
ubi: Rework Fastmap attach base code

Richard Weinberger <[email protected]>
ubi: Introduce vol_ignored()

Lucas Stach <[email protected]>
clk: tegra: Fix PLL_U post divider and initial rate on Tegra30

Alan Jenkins <[email protected]>
block: do not use interruptible wait anywhere

Andy Lutomirski <[email protected]>
x86/cpu: Re-apply forced caps every time CPU caps are re-read

Juergen Gross <[email protected]>
x86/xen: Add call of speculative_store_bypass_ht_init() to PV paths

Konrad Rzeszutek Wilk <[email protected]>
x86/bugs: Rename SSBD_NO to SSB_NO

Thomas Gleixner <[email protected]>
x86/speculation, KVM: Implement support for VIRT_SPEC_CTRL/LS_CFG

Thomas Gleixner <[email protected]>
x86/bugs: Rework spec_ctrl base and mask logic

Thomas Gleixner <[email protected]>

    x86/bugs: Remove x86_spec_ctrl_set()

Thomas Gleixner <[email protected]>
x86/bugs: Expose x86_spec_ctrl_base directly

Borislav Petkov <[email protected]>

    x86/bugs: Unify x86_spec_ctrl_{set_guest, restore_host}

Thomas Gleixner <[email protected]>
x86/speculation: Rework speculative_store_bypass_update()

Tom Lendacky <[email protected]>
x86/speculation: Add virtualized speculative store bypass disable support

Thomas Gleixner <[email protected]>
x86/bugs, KVM: Extend speculation control for VIRT_SPEC_CTRL

Thomas Gleixner <[email protected]>
x86/speculation: Handle HT correctly on AMD

Thomas Gleixner <[email protected]>
x86/cpufeatures: Add FEATURE_ZEN

Borislav Petkov <[email protected]>

    x86/cpu/AMD: Fix erratum 1076 (CPB bit)

Thomas Gleixner <[email protected]>
x86/cpufeatures: Disentangle SSBD enumeration

Thomas Gleixner <[email protected]>
x86/cpufeatures: Disentangle MSR_SPEC_CTRL enumeration from IBRS

Borislav Petkov <[email protected]>
x86/speculation: Use synthetic bits for IBRS/IBPB/STIBP

Jim Mattson <[email protected]>
x86/cpu: Make alternative_msr_write work for 32-bit code

Konrad Rzeszutek Wilk <[email protected]>
x86/bugs: Fix the parameters alignment and missing void

Jiri Kosina <[email protected]>
x86/bugs: Make cpu_show_common() static

Jiri Kosina <[email protected]>
x86/bugs: Fix __ssb_select_mitigation() return type

Borislav Petkov <[email protected]>
Documentation/spec_ctrl: Do some minor cleanups

Konrad Rzeszutek Wilk <[email protected]>
proc: Use underscores for SSBD in 'status'

Konrad Rzeszutek Wilk <[email protected]>
x86/bugs: Rename _RDS to _SSBD

Kees Cook <[email protected]>
x86/speculation: Make "seccomp" the default mode for Speculative Store Bypass

Thomas Gleixner <[email protected]>
seccomp: Move speculation migitation control to arch code

Kees Cook <[email protected]>
seccomp: Add filter flag to opt-out of SSB mitigation

Thomas Gleixner <[email protected]>
seccomp: Use PR_SPEC_FORCE_DISABLE

Thomas Gleixner <[email protected]>
prctl: Add force disable speculation

Kees Cook <[email protected]>
seccomp: Enable speculation flaw mitigations

Kees Cook <[email protected]>
proc: Provide details on speculation flaw mitigations

Kees Cook <[email protected]>
nospec: Allow getting/setting on non-current task

Thomas Gleixner <[email protected]>
x86/speculation: Add prctl for Speculative Store Bypass mitigation

Thomas Gleixner <[email protected]>
x86/process: Allow runtime control of Speculative Store Bypass

Thomas Gleixner <[email protected]>
x86/process: Optimize TIF_NOTSC switch

Kyle Huey <[email protected]>
x86/process: Correct and optimize TIF_BLOCKSTEP switch

Kyle Huey <[email protected]>
x86/process: Optimize TIF checks in __switch_to_xtra()

Thomas Gleixner <[email protected]>
prctl: Add speculation control prctls

Thomas Gleixner <[email protected]>
x86/speculation: Create spec-ctrl.h to avoid include hell

David Woodhouse <[email protected]>
x86/bugs/AMD: Add support to disable RDS on Fam[15, 16, 17]h if requested

Konrad Rzeszutek Wilk <[email protected]>
x86/bugs: Whitelist allowed SPEC_CTRL MSR values

Konrad Rzeszutek Wilk <[email protected]>
x86/bugs/intel: Set proper CPU features and setup RDS

Konrad Rzeszutek Wilk <[email protected]>
x86/bugs: Provide boot parameters for the spec_store_bypass_disable mitigation

Konrad Rzeszutek Wilk <[email protected]>
x86/cpufeatures: Add X86_FEATURE_RDS

Konrad Rzeszutek Wilk <[email protected]>

    x86/bugs: Expose /sys/../spec_store_bypass

Piotr Luc <[email protected]>
x86/cpu/intel: Add Knights Mill to Intel family

Andy Shevchenko <[email protected]>
x86/cpu: Rename Merrifield2 to Moorefield

Konrad Rzeszutek Wilk <[email protected]>
x86/bugs, KVM: Support the combination of guest and host IBRS

Konrad Rzeszutek Wilk <[email protected]>
x86/bugs: Read SPEC_CTRL MSR during boot and re-use reserved bits

Konrad Rzeszutek Wilk <[email protected]>
x86/bugs: Concentrate bug reporting into a separate function

Konrad Rzeszutek Wilk <[email protected]>
x86/bugs: Concentrate bug detection into a separate function

Linus Torvalds <[email protected]>
x86/nospec: Simplify alternative_msr_write()

David Woodhouse <[email protected]>
x86/amd: don't set X86_BUG_SYSRET_SS_ATTRS when running under Xen

Juergen Gross <[email protected]>
xen: set cpu capabilities from xen_start_kernel()

Mickaël Salaün <[email protected]>
selftest/seccomp: Fix the seccomp(2) signature

Mickaël Salaün <[email protected]>
selftest/seccomp: Fix the flag name SECCOMP_FILTER_FLAG_TSYNC

Alexander Sergeyev <[email protected]>
x86/speculation: Remove Skylake C2 from Speculation Control microcode blacklist

Ingo Molnar <[email protected]>
x86/speculation: Move firmware_restrict_branch_speculation_*() from C to CPP

David Woodhouse <[email protected]>
x86/speculation: Use IBRS if available before calling into firmware

Konrad Rzeszutek Wilk <[email protected]>
x86/spectre_v2: Don't check microcode versions when running under hypervisors

Tim Chen <[email protected]>
x86/speculation: Use Indirect Branch Prediction Barrier in context switch

Andy Lutomirski <[email protected]>
x86/mm: Give each mm TLB flush generation a unique ID

Dave Hansen <[email protected]>
x86/mm: Factor out LDT init from context init

Juergen Gross <[email protected]>
x86/xen: Zero MSR_IA32_SPEC_CTRL before suspend

Peter Zijlstra <[email protected]>
x86/speculation: Add <asm/msr-index.h> dependency

Dan Williams <[email protected]>
x86/speculation: Fix up array_index_nospec_mask() asm constraint

Ingo Molnar <[email protected]>
x86/speculation: Clean up various Spectre related details

David Woodhouse <[email protected]>
x86/speculation: Correct Speculation Control microcode blacklist again

David Woodhouse <[email protected]>
x86/speculation: Update Speculation Control microcode blacklist

Dan Williams <[email protected]>
x86/entry/64/compat: Clear registers for compat syscalls, to reduce speculation attack surface

Denys Vlasenko <[email protected]>

    x86/asm/entry/32: Simplify pushes of zeroed pt_regs->REGs

Arnd Bergmann <[email protected]>
x86/pti: Mark constant arrays as __initconst

David Woodhouse <[email protected]>
x86/cpuid: Fix up "virtual" IBRS/IBPB/STIBP feature bits on Intel

David Woodhouse <[email protected]>
x86/cpufeatures: Clean up Spectre v2 related CPUID flags

David Woodhouse <[email protected]>
x86/speculation: Add basic IBPB (Indirect Branch Prediction Barrier) support

David Woodhouse <[email protected]>
x86/cpufeature: Blacklist SPEC_CTRL/PRED_CMD on early Spectre v2 microcodes

David Woodhouse <[email protected]>
x86/pti: Do not enable PTI on CPUs which are not vulnerable to Meltdown

David Woodhouse <[email protected]>
x86/msr: Add definitions for new speculation control MSRs

David Woodhouse <[email protected]>
x86/cpufeatures: Add AMD feature bits for Speculation Control

David Woodhouse <[email protected]>
x86/cpufeatures: Add Intel feature bits for Speculation Control

David Woodhouse <[email protected]>
x86/cpufeatures: Add CPUID_7_EDX CPUID leaf

Nick Desaulniers <[email protected]>
x86/paravirt: Make native_save_fl() extern inline

Mathias Nyman <[email protected]>
xhci: Fix perceived dead host due to runtime suspend race with event handler

Stefano Brivio <[email protected]>
skbuff: Unconditionally copy pfmemalloc in __skb_clone()

Stefano Brivio <[email protected]>
net: Don't copy pfmemalloc flag in __copy_skb_header()

Sanjeev Bansal <[email protected]>
tg3: Add higher cpu clock for 5762.

Gustavo A. R. Silva <[email protected]>
ptp: fix missing break in switch

Heiner Kallweit <[email protected]>
net: phy: fix flag masking in __set_phy_supported

David Ahern <[email protected]>
net/ipv4: Set oif in fib_compute_spec_dst

Davidlohr Bueso <[email protected]>

    lib/rhashtable: consider param->min_size when setting initial table size

Colin Ian King <[email protected]>
ipv6: fix useless rol32 call on hash

Tyler Hicks <[email protected]>
ipv4: Return EINVAL when ping_group_range sysctl doesn't map to user ns

Jing Xia <[email protected]>
mm: memcg: fix use after free in mem_cgroup_iter()

Vineet Gupta <[email protected]>
ARC: mm: allow mprotect to make stack mappings executable

Alexey Brodkin <[email protected]>
ARC: Fix CONFIG_SWAP

Takashi Iwai <[email protected]>
ALSA: rawmidi: Change resized buffers atomically

OGAWA Hirofumi <[email protected]>
fat: fix memory allocation failure handling of match_strdup()

Dewet Thibaut <[email protected]>
x86/MCE: Remove min interval polling limitation

Lan Tianyu <[email protected]>
KVM/Eventfd: Avoid crash when assign and deassign specific eventfd in parallel.

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

Diffstat:

 Documentation/ABI/testing/sysfs-devices-system-cpu |   1 +
 Documentation/kernel-parameters.txt                |  45 +++
 Documentation/spec_ctrl.txt                        |  94 +++++
 Makefile                                           |   4 +-
 arch/arc/include/asm/page.h                        |   2 +-
 arch/arc/include/asm/pgtable.h                     |   2 +-
 arch/x86/entry/entry_64_compat.S                   |  75 ++--
 arch/x86/include/asm/apm.h                         |   6 +
 arch/x86/include/asm/barrier.h                     |   2 +-
 arch/x86/include/asm/cpufeature.h                  |   7 +-
 arch/x86/include/asm/cpufeatures.h                 |  37 +-
 arch/x86/include/asm/disabled-features.h           |   3 +-
 arch/x86/include/asm/efi.h                         |   7 +
 arch/x86/include/asm/intel-family.h                |  10 +-
 arch/x86/include/asm/irqflags.h                    |   2 +-
 arch/x86/include/asm/mmu.h                         |  15 +-
 arch/x86/include/asm/mmu_context.h                 |  25 +-
 arch/x86/include/asm/msr-index.h                   |  22 ++
 arch/x86/include/asm/nospec-branch.h               |  54 +++
 arch/x86/include/asm/required-features.h           |   3 +-
 arch/x86/include/asm/spec-ctrl.h                   |  80 ++++
 arch/x86/include/asm/thread_info.h                 |   6 +-
 arch/x86/include/asm/tlbflush.h                    |  12 +
 arch/x86/kernel/Makefile                           |   1 +
 arch/x86/kernel/cpu/amd.c                          |  38 +-
 arch/x86/kernel/cpu/bugs.c                         | 427 +++++++++++++++++++--
 arch/x86/kernel/cpu/common.c                       | 121 +++++-
 arch/x86/kernel/cpu/cpu.h                          |   3 +
 arch/x86/kernel/cpu/intel.c                        |  73 ++++
 arch/x86/kernel/cpu/mcheck/mce.c                   |   3 -
 arch/x86/kernel/irqflags.S                         |  26 ++
 arch/x86/kernel/ldt.c                              |   4 +-
 arch/x86/kernel/process.c                          | 224 +++++++++--
 arch/x86/kernel/smpboot.c                          |   5 +
 arch/x86/kvm/svm.c                                 |   2 +-
 arch/x86/kvm/vmx.c                                 |   2 +-
 arch/x86/mm/tlb.c                                  |  33 ++
 arch/x86/platform/efi/efi_64.c                     |   3 +
 arch/x86/xen/enlighten.c                           |  16 +-
 arch/x86/xen/smp.c                                 |   5 +
 arch/x86/xen/suspend.c                             |  16 +
 block/blk-core.c                                   |  10 +-
 drivers/base/cpu.c                                 |   8 +
 drivers/clk/tegra/clk-tegra30.c                    |  11 +-
 drivers/mtd/ubi/attach.c                           | 139 +++++--
 drivers/mtd/ubi/eba.c                              |   4 +-
 drivers/mtd/ubi/fastmap-wl.c                       |   6 +-
 drivers/mtd/ubi/fastmap.c                          |  51 ++-
 drivers/mtd/ubi/ubi.h                              |  46 ++-
 drivers/mtd/ubi/wl.c                               | 114 ++++--
 drivers/net/ethernet/broadcom/tg3.c                |   9 +
 drivers/net/phy/phy_device.c                       |   7 +-
 drivers/ptp/ptp_chardev.c                          |   1 +
 drivers/usb/host/xhci.c                            |  40 +-
 drivers/usb/host/xhci.h                            |   4 +
 fs/fat/inode.c                                     |  20 +-
 fs/proc/array.c                                    |  26 ++
 include/linux/cpu.h                                |   2 +
 include/linux/nospec.h                             |  10 +
 include/linux/sched.h                              |   9 +
 include/linux/seccomp.h                            |   3 +-
 include/linux/skbuff.h                             |  12 +-
 include/net/ipv6.h                                 |   2 +-
 include/uapi/linux/prctl.h                         |  12 +
 include/uapi/linux/seccomp.h                       |   4 +-
 kernel/seccomp.c                                   |  21 +-
 kernel/sys.c                                       |  21 +
 lib/rhashtable.c                                   |  17 +-
 mm/memcontrol.c                                    |   2 +-
 net/core/skbuff.c                                  |   1 +
 net/ipv4/fib_frontend.c                            |   1 +
 net/ipv4/sysctl_net_ipv4.c                         |   5 +-
 sound/core/rawmidi.c                               |  20 +-
 tools/testing/selftests/seccomp/seccomp_bpf.c      |  98 ++++-
 virt/kvm/eventfd.c                                 |   6 +-
 75 files changed, 1982 insertions(+), 276 deletions(-)