Skip to content

4.9.107-stable review

Greg Kroah-Hartman dri-devel linux-mips lkml stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest58 of 61 patches 5 repliesIn review

58 of 61 patches are in this archive. The cover letter announces 61.

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/61arm64: lse: Add early clobbers to some input/output asm operandsarch/arm64/include/asm/atomic_lse.h+11 -110 replies
2/61powerpc/64s: Clear PCR on bootarch/powerpc/kernel/cpu_setup_power.S+6 -00 replies
3/61USB: serial: cp210x: use tcflag_t to fix incompatible pointer typedrivers/usb/serial/cp210x.c+4 -40 replies
4/61Revert "pinctrl: msm: Use dynamic GPIO numbering"drivers/pinctrl/qcom/pinctrl-msm.c+1 -10 replies
5/61xfs: detect agfl count corruption and reset agflfs/xfs/libxfs/xfs_alloc.c fs/xfs/xfs_mount.h fs/xfs/xfs_trace.h+103 -10 replies
6/61Revert "ima: limit file hash setting by user to fix and log modes"security/integrity/ima/ima_appraise.c+2 -60 replies
7/61Input: elan_i2c_smbus - fix corrupted stackdrivers/input/mouse/elan_i2c_smbus.c+11 -110 replies
8/61tracing: Fix crash when freeing instances with event triggerskernel/trace/trace_events_trigger.c+3 -20 replies
9/61selinux: KASAN: slab-out-of-bounds in xattr_getsecuritysecurity/selinux/ss/services.c+1 -10 replies
10/61cfg80211: further limit wiphy names to 64 bytesinclude/uapi/linux/nl80211.h+1 -10 replies
11/61dma-buf: remove redundant initialization of sg_tabledrivers/dma-buf/dma-buf.c+1 -10 replies
12/61rtlwifi: rtl8192cu: Remove variable self-assignment in rf.cdrivers/net/wireless/realtek/rtlwifi/rtl8192cu/rf.c+0 -30 replies
13/61ASoC: Intel: sst: remove redundant variable dma_dev_namesound/soc/intel/common/sst-firmware.c+0 -20 replies
14/61platform/chrome: cros_ec_lpc: remove redundant pointer requestdrivers/platform/chrome/cros_ec_lpc.c+0 -30 replies
15/61x86/amd: revert commit 944e0fc51a89c9827b9arch/x86/kernel/cpu/amd.c arch/x86/xen/enlighten.c+5 -40 replies
16/61xen: set cpu capabilities from xen_start_kernel()arch/x86/xen/enlighten.c+9 -90 replies
17/61x86/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
18/61tcp: avoid integer overflows in tcp_rcv_space_adjust()include/linux/tcp.h net/ipv4/tcp_input.c+7 -50 replies
19/61scsi: ufs: fix failure to read the string descriptordrivers/scsi/ufs/ufshcd.c+31 -80 replies
20/61scsi: ufs: refactor device descriptor readingdrivers/scsi/ufs/ufs.h drivers/scsi/ufs/ufs_quirks.h drivers/scsi/ufs/ufshcd.c+37 -430 replies
21/61scsi: ufs: Factor out ufshcd_read_desc_paramdrivers/scsi/ufs/ufs.h drivers/scsi/ufs/ufshcd.c drivers/scsi/ufs/ufshcd.h+197 -720 replies
22/61arm64: Add hypervisor safe helper for checking constant capabilitiesarch/arm64/include/asm/cpufeature.h arch/arm64/include/asm/kvm_host.h arch/arm64/include/asm/kvm_mmu.h +4 more+20 -250 replies
23/61arm64/cpufeature: dont use mutex in bringup patharch/arm64/include/asm/cpufeature.h arch/arm64/include/asm/kvm_host.h arch/arm64/kernel/cpufeature.c+37 -60 replies
24/61powerpc/rfi-flush: Move out of HARDLOCKUP_DETECTOR #ifdefarch/powerpc/kernel/setup_64.c+1 -10 replies
25/61powerpc/pseries: Support firmware disable of RFI flusharch/powerpc/platforms/pseries/setup.c+2 -10 replies
26/61powerpc/powernv: Support firmware disable of RFI flusharch/powerpc/platforms/powernv/setup.c+4 -00 replies
27/61powerpc/rfi-flush: Move the logic to avoid a redo into the debugfs codearch/powerpc/kernel/setup_64.c+8 -50 replies
28/61powerpc/rfi-flush: Make it possible to call setup_rfi_flush() againarch/powerpc/include/asm/setup.h arch/powerpc/kernel/setup_64.c+6 -20 replies
29/61powerpc/rfi-flush: Always enable fallback flush on pseriesarch/powerpc/platforms/pseries/setup.c+1 -90 replies
30/61powerpc/rfi-flush: Differentiate enabled and patched flush typesarch/powerpc/kernel/setup_64.c arch/powerpc/lib/feature-fixups.c+11 -40 replies
31/61powerpc/rfi-flush: Call setup_rfi_flush() after LPM migrationarch/powerpc/platforms/pseries/mobility.c arch/powerpc/platforms/pseries/pseries.h arch/powerpc/platforms/pseries/setup.c+6 -10 replies
32/61powerpc/pseries: Add new H_GET_CPU_CHARACTERISTICS flagsarch/powerpc/include/asm/hvcall.h+3 -00 replies
33/61powerpc: Add security feature flags for Spectre/Meltdownarch/powerpc/include/asm/security_features.h arch/powerpc/kernel/Makefile arch/powerpc/kernel/security.c+81 -10 replies
34/61powerpc/pseries: Set or clear security feature flagsarch/powerpc/platforms/pseries/setup.c+43 -00 replies
35/61powerpc/powernv: Set or clear security feature flagsarch/powerpc/platforms/powernv/setup.c+56 -00 replies
36/61powerpc/64s: Move cpu_show_meltdown()arch/powerpc/include/asm/security_features.h arch/powerpc/kernel/security.c arch/powerpc/kernel/setup_64.c+12 -80 replies
37/61powerpc/64s: Enhance the information in cpu_show_meltdown()arch/powerpc/kernel/security.c+28 -20 replies
38/61powerpc/powernv: Use the security flags in pnv_setup_rfi_flush()arch/powerpc/platforms/powernv/setup.c+10 -310 replies
39/61powerpc/pseries: Use the security flags in pseries_setup_rfi_flush()arch/powerpc/platforms/pseries/setup.c+12 -150 replies
40/61powerpc/64s: Wire up cpu_show_spectre_v1()arch/powerpc/kernel/security.c+8 -00 replies
41/61powerpc/64s: Wire up cpu_show_spectre_v2()arch/powerpc/kernel/security.c+33 -00 replies
42/61powerpc/pseries: Fix clearing of security feature flagsarch/powerpc/platforms/pseries/setup.c+3 -30 replies
43/61powerpc: Move default security feature flagsarch/powerpc/include/asm/security_features.h arch/powerpc/kernel/security.c+9 -60 replies
44/61powerpc/pseries: Restore default security feature flags on setuparch/powerpc/platforms/pseries/setup.c+11 -00 replies
45/61powerpc/64s: Fix section mismatch warnings from setup_rfi_flush()arch/powerpc/kernel/setup_64.c+1 -10 replies
47/61net/mlx4_en: fix potential use-after-free with dma_unmap_pagedrivers/net/ethernet/mellanox/mlx4/en_rx.c+20 -120 replies
48/61iio:kfifo_buf: check for uint overflowdrivers/iio/buffer/kfifo_buf.c+7 -00 replies
49/61MIPS: ptrace: Fix PTRACE_PEEKUSR requests for 64-bit FGRsarch/mips/kernel/ptrace.c arch/mips/kernel/ptrace32.c+2 -20 replies
50/61MIPS: prctl: Disallow FRE without FR with PR_SET_FP_MODE requestsarch/mips/kernel/process.c+4 -00 replies
51/61scsi: scsi_transport_srp: Fix shost to rport translationdrivers/scsi/scsi_transport_srp.c+20 -20 replies
52/61stm class: Use vmalloc for the master mapdrivers/hwtracing/stm/core.c+3 -30 replies
53/61hwtracing: stm: fix build error on some archesdrivers/hwtracing/stm/core.c+1 -00 replies
54/61IB/core: Fix error code for invalid GID entrydrivers/infiniband/core/cache.c+1 -10 replies
55/61drm/psr: Fix missed entry in PSR setup time table.drivers/gpu/drm/drm_dp_helper.c+1 -00 replies
58/61fix io_destroy()/aio_complete() racefs/aio.c+1 -20 replies
59/61mm: fix the NULL mapping case in __isolate_lru_page()mm/vmscan.c+1 -10 replies
60/61sparc64: Dont clibber fixed registers in __multi4.arch/sparc/lib/multi3.S+12 -120 replies
61/61serial: pl011: add console matching functiondrivers/tty/serial/amba-pl011.c+55 -00 replies

Reviews trailers per patch

18 of 58 patches have a Reviewed-by or Acked-by.

PatchBoris OstrovskyThomas GleixnerWill DeaconMarc ZyngierMichael EllermanDaniel JurgensPeter HurleyRussell KingChristopher CovingtonChris WilsonLarry FingerGuenter RoeckPierre-Louis BossartDarrick J. WongPatrick OhlyKT LiaoSoheil Hassas YeganehWei WangNeal CardwellVenkat GopalakrishnanSubhash JadavaniSuzuki PouloseMinchan KimMel GormanAnatoly PugachevJohannes ThumshirnJosé Roberto de SouzaTarun VyasSarah Newman
1/61
2/61
3/61
4/61
5/61R-b
6/61Requested-by
7/61A-b
8/61
9/61
10/61
11/61R-b
12/61A-b R-b
13/61A-b
14/61
15/61
16/61R-b
17/61R-b A-b
18/61A-b A-b A-b
19/61R-b
20/61R-b
21/61R-b
22/61R-b R-b
23/61A-b R-b R-b
24/61
25/61
26/61
27/61
28/61
29/61
30/61
31/61
32/61
33/61
34/61
35/61
36/61
37/61
38/61
39/61
40/61
41/61
42/61Brown-paper-bag-by
43/61
44/61
45/61
47/61T-b
48/61
49/61
50/61
51/61R-b
52/61
53/61
54/61R-b
55/61R-b R-b
58/61
59/61A-b A-b
60/61T-b
61/61R-b A-b T-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 29 reviewers.

Read the v1 thread

Cover letter [PATCH 4.9 00/61] 4.9.107-stable review

This is the start of the stable review cycle for the 4.9.107 release. There are 61 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 Thu Jun 7 17:00:59 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.9.107-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.107-rc1

Aleksey Makarov <[email protected]>
serial: pl011: add console matching function

David S. Miller <[email protected]>
sparc64: Don't clibber fixed registers in __multi4.

Hugh Dickins <[email protected]>
mm: fix the NULL mapping case in __isolate_lru_page()

Al Viro <[email protected]>
fix io_destroy()/aio_complete() race

David S. Miller <[email protected]>
sparc64: Fix build warnings with gcc 7.

Ondrej Zary <[email protected]>
drm/i915: Disable LVDS on Radiant P845

Dhinakaran Pandiyan <[email protected]>
drm/psr: Fix missed entry in PSR setup time table.

Parav Pandit <[email protected]>
IB/core: Fix error code for invalid GID entry

Greg Kroah-Hartman <[email protected]>
hwtracing: stm: fix build error on some arches

Alexander Shishkin <[email protected]>
stm class: Use vmalloc for the master map

Bart Van Assche <[email protected]>
scsi: scsi_transport_srp: Fix shost to rport translation

Maciej W. Rozycki <[email protected]>
MIPS: prctl: Disallow FRE without FR with PR_SET_FP_MODE requests

Maciej W. Rozycki <[email protected]>
MIPS: ptrace: Fix PTRACE_PEEKUSR requests for 64-bit FGRs

Martin Kelly <[email protected]>
iio:kfifo_buf: check for uint overflow

Sarah Newman <[email protected]>
net/mlx4_en: fix potential use-after-free with dma_unmap_page

Nicholas Piggin <[email protected]>
powerpc/64s: Add support for a store forwarding barrier at kernel entry/exit

Michael Ellerman <[email protected]>
powerpc/64s: Fix section mismatch warnings from setup_rfi_flush()

Mauricio Faria de Oliveira <[email protected]>
powerpc/pseries: Restore default security feature flags on setup

Mauricio Faria de Oliveira <[email protected]>
powerpc: Move default security feature flags

Mauricio Faria de Oliveira <[email protected]>
powerpc/pseries: Fix clearing of security feature flags

Michael Ellerman <[email protected]>
powerpc/64s: Wire up cpu_show_spectre_v2()

Michael Ellerman <[email protected]>
powerpc/64s: Wire up cpu_show_spectre_v1()

Michael Ellerman <[email protected]>
powerpc/pseries: Use the security flags in pseries_setup_rfi_flush()

Michael Ellerman <[email protected]>
powerpc/powernv: Use the security flags in pnv_setup_rfi_flush()

Michael Ellerman <[email protected]>
powerpc/64s: Enhance the information in cpu_show_meltdown()

Michael Ellerman <[email protected]>
powerpc/64s: Move cpu_show_meltdown()

Michael Ellerman <[email protected]>
powerpc/powernv: Set or clear security feature flags

Michael Ellerman <[email protected]>
powerpc/pseries: Set or clear security feature flags

Michael Ellerman <[email protected]>
powerpc: Add security feature flags for Spectre/Meltdown

Michael Ellerman <[email protected]>
powerpc/pseries: Add new H_GET_CPU_CHARACTERISTICS flags

Michael Ellerman <[email protected]>
powerpc/rfi-flush: Call setup_rfi_flush() after LPM migration

Mauricio Faria de Oliveira <[email protected]>
powerpc/rfi-flush: Differentiate enabled and patched flush types

Michael Ellerman <[email protected]>
powerpc/rfi-flush: Always enable fallback flush on pseries

Michael Ellerman <[email protected]>
powerpc/rfi-flush: Make it possible to call setup_rfi_flush() again

Michael Ellerman <[email protected]>
powerpc/rfi-flush: Move the logic to avoid a redo into the debugfs code

Michael Ellerman <[email protected]>
powerpc/powernv: Support firmware disable of RFI flush

Michael Ellerman <[email protected]>
powerpc/pseries: Support firmware disable of RFI flush

Michael Ellerman <[email protected]>
powerpc/rfi-flush: Move out of HARDLOCKUP_DETECTOR #ifdef

Mark Rutland <[email protected]>
arm64/cpufeature: don't use mutex in bringup path

Suzuki K Poulose <[email protected]>
arm64: Add hypervisor safe helper for checking constant capabilities

Potomski, MichalX <[email protected]>
scsi: ufs: Factor out ufshcd_read_desc_param

Tomas Winkler <[email protected]>
scsi: ufs: refactor device descriptor reading

Subhash Jadavani <[email protected]>
scsi: ufs: fix failure to read the string descriptor

Eric Dumazet <[email protected]>
tcp: avoid integer overflows in tcp_rcv_space_adjust()

Juergen Gross <[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()

Juergen Gross <[email protected]>

    x86/amd: revert commit 944e0fc51a89c9827b9

Colin Ian King <[email protected]>
platform/chrome: cros_ec_lpc: remove redundant pointer request

Colin Ian King <[email protected]>
ASoC: Intel: sst: remove redundant variable dma_dev_name

Matthias Kaehlcke <[email protected]>
rtlwifi: rtl8192cu: Remove variable self-assignment in rf.c

Colin Ian King <[email protected]>
dma-buf: remove redundant initialization of sg_table

Eric Biggers <[email protected]>
cfg80211: further limit wiphy names to 64 bytes

Sachin Grover <[email protected]>
selinux: KASAN: slab-out-of-bounds in xattr_getsecurity

Steven Rostedt (VMware) <[email protected]>
tracing: Fix crash when freeing instances with event triggers

Benjamin Tissoires <[email protected]>
Input: elan_i2c_smbus - fix corrupted stack

Mimi Zohar <[email protected]>
Revert "ima: limit file hash setting by user to fix and log modes"

Brian Foster <[email protected]>
xfs: detect agfl count corruption and reset agfl

Greg Kroah-Hartman <[email protected]>
Revert "pinctrl: msm: Use dynamic GPIO numbering"

Geert Uytterhoeven <[email protected]>

    USB: serial: cp210x: use tcflag_t to fix incompatible pointer type

Michael Neuling <[email protected]>
powerpc/64s: Clear PCR on boot

Will Deacon <[email protected]>
arm64: lse: Add early clobbers to some input/output asm operands

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

Diffstat:

 Makefile                                           |   4 +-
 arch/arm64/include/asm/atomic_lse.h                |  22 +-
 arch/arm64/include/asm/cpufeature.h                |  27 +-
 arch/arm64/include/asm/kvm_host.h                  |  10 +-
 arch/arm64/include/asm/kvm_mmu.h                   |   2 +-
 arch/arm64/include/asm/mmu.h                       |   2 +-
 arch/arm64/kernel/cpufeature.c                     |  28 ++-
 arch/arm64/kernel/process.c                        |   2 +-
 arch/mips/kernel/process.c                         |   4 +
 arch/mips/kernel/ptrace.c                          |   2 +-
 arch/mips/kernel/ptrace32.c                        |   2 +-
 arch/powerpc/include/asm/exception-64s.h           |  29 +++
 arch/powerpc/include/asm/feature-fixups.h          |  19 ++
 arch/powerpc/include/asm/hvcall.h                  |   3 +
 arch/powerpc/include/asm/security_features.h       |  85 +++++++
 arch/powerpc/include/asm/setup.h                   |   2 +-
 arch/powerpc/kernel/Makefile                       |   2 +-
 arch/powerpc/kernel/cpu_setup_power.S              |   6 +
 arch/powerpc/kernel/exceptions-64s.S               |  16 +-
 arch/powerpc/kernel/security.c                     | 237 ++++++++++++++++++
 arch/powerpc/kernel/setup_64.c                     |  37 ++-
 arch/powerpc/kernel/vmlinux.lds.S                  |  14 ++
 arch/powerpc/lib/feature-fixups.c                  | 124 +++++++++-
 arch/powerpc/platforms/powernv/setup.c             |  92 +++++--
 arch/powerpc/platforms/pseries/mobility.c          |   3 +
 arch/powerpc/platforms/pseries/pseries.h           |   2 +
 arch/powerpc/platforms/pseries/setup.c             |  81 ++++--
 arch/sparc/kernel/ds.c                             |   2 +-
 arch/sparc/lib/multi3.S                            |  24 +-
 arch/x86/xen/enlighten.c                           |  14 +-
 drivers/dma-buf/dma-buf.c                          |   2 +-
 drivers/gpu/drm/drm_dp_helper.c                    |   1 +
 drivers/gpu/drm/i915/intel_lvds.c                  |   8 +
 drivers/hwtracing/stm/core.c                       |   7 +-
 drivers/iio/buffer/kfifo_buf.c                     |   7 +
 drivers/infiniband/core/cache.c                    |   2 +-
 drivers/input/mouse/elan_i2c_smbus.c               |  22 +-
 drivers/irqchip/irq-gic-v3.c                       |  13 +-
 drivers/net/ethernet/mellanox/mlx4/en_rx.c         |  32 ++-
 .../net/wireless/realtek/rtlwifi/rtl8192cu/rf.c    |   3 -
 drivers/pinctrl/qcom/pinctrl-msm.c                 |   2 +-
 drivers/platform/chrome/cros_ec_lpc.c              |   3 -
 drivers/scsi/scsi_transport_srp.c                  |  22 +-
 drivers/scsi/ufs/ufs.h                             |  34 +--
 drivers/scsi/ufs/ufs_quirks.h                      |  28 +--
 drivers/scsi/ufs/ufshcd.c                          | 272 +++++++++++++++------
 drivers/scsi/ufs/ufshcd.h                          |  16 ++
 drivers/tty/serial/amba-pl011.c                    |  55 +++++
 drivers/usb/serial/cp210x.c                        |   8 +-
 fs/aio.c                                           |   3 +-
 fs/xfs/libxfs/xfs_alloc.c                          |  94 +++++++
 fs/xfs/xfs_mount.h                                 |   1 +
 fs/xfs/xfs_trace.h                                 |   9 +-
 include/linux/tcp.h                                |   2 +-
 include/uapi/linux/nl80211.h                       |   2 +-
 kernel/trace/trace_events_trigger.c                |   5 +-
 mm/vmscan.c                                        |   2 +-
 net/ipv4/tcp_input.c                               |  10 +-
 security/integrity/ima/ima_appraise.c              |   8 +-
 security/selinux/ss/services.c                     |   2 +-
 sound/soc/intel/common/sst-firmware.c              |   2 -
 61 files changed, 1277 insertions(+), 297 deletions(-)