[PATCH 5.1 000/115] 5.1.12-stable review

From: Greg Kroah-Hartman
Date: Mon Jun 17 2019 - 17:25:29 EST


This is the start of the stable review cycle for the 5.1.12 release.
There are 115 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 19 Jun 2019 09:06:21 PM UTC.
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.1.12-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-5.1.y
and the diffstat can be found below.

thanks,

greg k-h

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

Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Linux 5.1.12-rc1

Nicholas Piggin <npiggin@xxxxxxxxx>
powerpc/64s: Fix THP PMD collapse serialisation

Christophe Leroy <christophe.leroy@xxxxxx>
powerpc: Fix kexec failure on book3s/32

Jani Nikula <jani.nikula@xxxxxxxxx>
drm: add fallback override/firmware EDID modes workaround

Jani Nikula <jani.nikula@xxxxxxxxx>
drm/edid: abstract override/firmware EDID retrieval

Prarit Bhargava <prarit@xxxxxxxxxx>
x86/resctrl: Prevent NULL pointer dereference when local MBM is disabled

Baoquan He <bhe@xxxxxxxxxx>
x86/mm/KASLR: Compute the size of the vmemmap section properly

Andrey Ryabinin <aryabinin@xxxxxxxxxxxxx>
x86/kasan: Fix boot with 5-level paging and KASAN

Borislav Petkov <bp@xxxxxxx>
x86/microcode, cpuhotplug: Add a microcode loader CPU hotplug callback

Borislav Petkov <bp@xxxxxxx>
RAS/CEC: Fix binary search function

Cong Wang <xiyou.wangcong@xxxxxxxxx>
RAS/CEC: Convert the timer callback to a workqueue

Thomas Gleixner <tglx@xxxxxxxxxxxxx>
timekeeping: Repair ktime_get_coarse*() granularity

Eiichi Tsukata <devel@xxxxxxxxxxxx>
tracing/uprobe: Fix NULL pointer dereference in trace_uprobe_create()

Daniele Palmas <dnlplm@xxxxxxxxx>
USB: serial: option: add Telit 0x1260 and 0x1261 compositions

JÃrgen Storvist <jorgen.storvist@xxxxxxxxx>
USB: serial: option: add support for Simcom SIM7500/SIM7600 RNDIS mode

Chris Packham <chris.packham@xxxxxxxxxxxxxxxxxxx>
USB: serial: pl2303: add Allied Telesis VT-Kit3

Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx>
USB: usb-storage: Add new ID to ums-realtek

Marco Zatta <marco@xxxxxxxx>
USB: Fix chipmunk-like voice when using Logitech C270 for recording audio.

Douglas Anderson <dianders@xxxxxxxxxxxx>
usb: dwc2: host: Fix wMaxPacketSize handling (fix webcam regression)

Martin Schiller <ms@xxxxxxxxxx>
usb: dwc2: Fix DMA cache alignment issues

Murray McAllister <murray.mcallister@xxxxxxxxx>
drm/vmwgfx: NULL pointer dereference from vmw_cmd_dx_view_define()

Murray McAllister <murray.mcallister@xxxxxxxxx>
drm/vmwgfx: integer underflow in vmw_cmd_dx_set_shader() leading to an invalid read

Stefan Raspl <stefan.raspl@xxxxxxxxxx>
tools/kvm_stat: fix fields filter for child events

Andrew Jones <drjones@xxxxxxxxxx>
kvm: selftests: aarch64: fix default vm mode

Andrew Jones <drjones@xxxxxxxxxx>
kvm: selftests: aarch64: dirty_log_test: fix unaligned memslot size

Christian Borntraeger <borntraeger@xxxxxxxxxx>
KVM: s390: fix memory slot handling for KVM_SET_USER_MEMORY_REGION

Paolo Bonzini <pbonzini@xxxxxxxxxx>
KVM: x86/pmu: do not mask the value that is written to fixed PMUs

Paolo Bonzini <pbonzini@xxxxxxxxxx>
KVM: x86/pmu: mask the result of rdpmc according to the width of the counters

Paolo Bonzini <pbonzini@xxxxxxxxxx>
KVM: x86: do not spam dmesg with VMCS/VMCB dumps

Wanpeng Li <wanpengli@xxxxxxxxxxx>
KVM: LAPIC: Fix lapic_timer_advance_ns parameter overflow

Yi Wang <wang.yi59@xxxxxxxxxx>
kvm: vmx: Fix -Wmissing-prototypes warnings

Dan Carpenter <dan.carpenter@xxxxxxxxxx>
KVM: selftests: Fix a condition in test_hv_cpuid()

Paolo Bonzini <pbonzini@xxxxxxxxxx>
KVM: nVMX: really fix the size checks on KVM_SET_NESTED_STATE

James Morse <james.morse@xxxxxxx>
KVM: arm/arm64: Move cc/it checks under hyp's Makefile to avoid instrumentation

Jens Axboe <axboe@xxxxxxxxx>
tools/io_uring: fix Makefile for pthread library link

Keith Busch <keith.busch@xxxxxxxxx>
nvme-pci: use blk-mq mapping for unmanaged irqs

Bernd Eckstein <3erndeckstein@xxxxxxxxx>
usbnet: ipheth: fix racing condition

Tom Zanussi <tom.zanussi@xxxxxxxxxxxxxxx>
tracing: Prevent hist_field_var_ref() from accessing NULL tracing_map_elts

Kees Cook <keescook@xxxxxxxxxxxx>
selftests/timers: Add missing fflush(stdout) calls

Hangbin Liu <liuhangbin@xxxxxxxxx>
selftests: fib_rule_tests: fix local IPv4 address typo

Qian Cai <cai@xxxxxx>
libnvdimm: Fix compilation warnings with W=1

Flora Cui <flora.cui@xxxxxxx>
drm/amdgpu: keep stolen memory on picasso

Colin Ian King <colin.king@xxxxxxxxxxxxx>
scsi: bnx2fc: fix incorrect cast to u64 on shift operation

YueHaibing <yuehaibing@xxxxxxxxxx>
scsi: myrs: Fix uninitialized variable

Steffen Dirkwinkel <s.dirkwinkel@xxxxxxxxxxxx>
platform/x86: pmc_atom: Add several Beckhoff Automation boards to critclk_systems DMI table

Hans de Goede <hdegoede@xxxxxxxxxx>
platform/x86: pmc_atom: Add Lex 3I380D industrial PC to critclk_systems DMI table

Yufen Yu <yuyufen@xxxxxxxxxx>
nvme: fix memory leak for power latency tolerance

Christoph Hellwig <hch@xxxxxx>
nvme: release namespace SRCU protection before performing controller ioctls

Christoph Hellwig <hch@xxxxxx>
nvme: merge nvme_ns_ioctl into nvme_ioctl

Christoph Hellwig <hch@xxxxxx>
nvme: remove the ifdef around nvme_nvm_ioctl

Christoph Hellwig <hch@xxxxxx>
nvme: fix srcu locking on error return in nvme_get_ns_from_disk

Keith Busch <keith.busch@xxxxxxxxx>
nvme-pci: Fix controller freeze wait disabling

Alexei Starovoitov <ast@xxxxxxxxxx>
selftests/bpf: fix bpf_get_current_task

Yonghong Song <yhs@xxxxxx>
tools/bpftool: move set_max_rlimit() before __bpf_object__open_xattr()

Mark Rutland <mark.rutland@xxxxxxx>
arm64/mm: Inhibit huge-vmap with ptdump

John Fastabend <john.fastabend@xxxxxxxxx>
bpf, tcp: correctly handle DONT_WAIT flags and timeo == 0

Claudiu Manoil <claudiu.manoil@xxxxxxx>
enetc: Fix NULL dma address unmap for Tx BD extensions

Luca Ceresoli <luca@xxxxxxxxxxxxxxxx>
net: macb: fix error format in dev_err()

Will Deacon <will.deacon@xxxxxxx>
arm64: Print physical address of page table base in show_pte()

James Smart <jsmart2021@xxxxxxxxx>
scsi: lpfc: add check for loss of ndlp when sending RRQ

James Smart <jsmart2021@xxxxxxxxx>
scsi: lpfc: correct rcu unlock issue in lpfc_nvme_info_show

James Smart <jsmart2021@xxxxxxxxx>
scsi: lpfc: resolve lockdep warnings

YueHaibing <yuehaibing@xxxxxxxxxx>
scsi: qedi: remove set but not used variables 'cdev' and 'udev'

YueHaibing <yuehaibing@xxxxxxxxxx>
scsi: qedi: remove memset/memcpy to nfunc and use func instead

Quinn Tran <qutran@xxxxxxxxxxx>
scsi: qla2xxx: Add cleanup for PCI EEH recovery

John Fastabend <john.fastabend@xxxxxxxxx>
bpf: sockmap fix msg->sg.size account on ingress skb

John Fastabend <john.fastabend@xxxxxxxxx>
bpf: sockmap remove duplicate queue free

John Fastabend <john.fastabend@xxxxxxxxx>
bpf: sockmap, only stop/flush strp if it was enabled at some point

Will Deacon <will.deacon@xxxxxxx>
drivers/perf: arm_spe: Don't error on high-order pages for aux buf

Randall Huang <huangrandall@xxxxxxxxxx>
f2fs: fix to avoid accessing xattr across the boundary

Young Xiao <YangX92@xxxxxxxxxxx>
Drivers: misc: fix out-of-bounds access in function param_set_kgdbts_var

Takashi Iwai <tiwai@xxxxxxx>
Revert "ALSA: seq: Protect in-kernel ioctl calls with mutex"

Takashi Iwai <tiwai@xxxxxxx>
ALSA: seq: Fix race of get-subscription call vs port-delete ioctls

Takashi Iwai <tiwai@xxxxxxx>
ALSA: seq: Protect in-kernel ioctl calls with mutex

Peter Zijlstra <peterz@xxxxxxxxxxxxx>
x86/uaccess, kcov: Disable stack protector

Lucas De Marchi <lucas.demarchi@xxxxxxxxx>
drm/i915/dmc: protect against reading random memory

Ville SyrjÃlà <ville.syrjala@xxxxxxxxxxxxxxx>
drm/i915: Fix per-pixel alpha with CCS

Hans de Goede <hdegoede@xxxxxxxxxx>
drm/i915/dsi: Use a fuzzy check for burst mode clock check

Ville SyrjÃlà <ville.syrjala@xxxxxxxxxxxxxxx>
drm/i915/sdvo: Implement proper HDMI audio support for SDVO

Shirish S <shirish.s@xxxxxxx>
drm/amdgpu/{uvd,vcn}: fetch ring's read_ptr after alloc

Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
ASoC: soc-core: fixup references at soc_cleanup_card_resources()

S.j. Wang <shengjiu.wang@xxxxxxx>
ASoC: fsl_asrc: Fix the issue about unsupported rate

S.j. Wang <shengjiu.wang@xxxxxxx>
ASoC: cs42xx8: Add regcache mask dirty

Tejun Heo <tj@xxxxxxxxxx>
cgroup: Use css_tryget() instead of css_tryget_online() in task_get_css()

Coly Li <colyli@xxxxxxx>
bcache: only set BCACHE_DEV_WB_RUNNING when cached device attached

Coly Li <colyli@xxxxxxx>
bcache: fix stack corruption by PRECEDING_KEY()

Russell King <rmk+kernel@xxxxxxxxxxxxxxx>
i2c: acorn: fix i2c warning

Casey Schaufler <casey@xxxxxxxxxxxxxxxx>
Smack: Restore the smackfsdef mount option and add missing prefixes

Robin Murphy <robin.murphy@xxxxxxx>
iommu/arm-smmu: Avoid constant zero in TLBI writes

Sean Young <sean@xxxxxxxx>
media: dvb: warning about dvb frequency limits produces too much noise

Jann Horn <jannh@xxxxxxxxxx>
ptrace: restore smp_rmb() in __ptrace_may_access()

Eric W. Biederman <ebiederm@xxxxxxxxxxxx>
signal/ptrace: Don't leak unitialized kernel memory with PTRACE_PEEK_SIGINFO

Minchan Kim <minchan@xxxxxxxxxx>
mm/vmscan.c: fix trying to reclaim unevictable LRU page

Wengang Wang <wen.gang.wang@xxxxxxxxxx>
fs/ocfs2: fix race in ocfs2_dentry_attach_lock()

Shakeel Butt <shakeelb@xxxxxxxxxx>
mm/list_lru.c: fix memory leak in __memcg_init_list_lru_node

Eric Biggers <ebiggers@xxxxxxxxxx>
io_uring: fix memory leak of UNIX domain socket inode

Hans de Goede <hdegoede@xxxxxxxxxx>
libata: Extend quirks for the ST1000LM024 drives with NOLPM quirk

Gen Zhang <blackgod016574@xxxxxxxxx>
selinux: fix a missing-check bug in selinux_sb_eat_lsm_opts()

Gen Zhang <blackgod016574@xxxxxxxxx>
selinux: fix a missing-check bug in selinux_add_mnt_opt( )

Ondrej Mosnacek <omosnace@xxxxxxxxxx>
selinux: log raw contexts as untrusted strings

Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>
ALSA: firewire-motu: fix destruction of data for isochronous resources

Kailang Yang <kailang@xxxxxxxxxxx>
ALSA: hda/realtek - Update headset mode for ALC256

Rui Nuno Capela <rncbc@xxxxxxxxx>
ALSA: ice1712: Check correct return value to snd_i2c_sendbytes (EWS/DMX 6Fire)

Takashi Sakamoto <o-takashi@xxxxxxxxxxxxx>
ALSA: oxfw: allow PCM capture for Stanton SCS.1m

Hui Wang <hui.wang@xxxxxxxxxxxxx>
Revert "ALSA: hda/realtek - Improve the headset mic for Acer Aspire laptops"

Jason Gerecke <jason.gerecke@xxxxxxxxx>
HID: wacom: Sync INTUOSP2_BT touch state after each frame if necessary

Jason Gerecke <jason.gerecke@xxxxxxxxx>
HID: wacom: Correct button numbering 2nd-gen Intuos Pro over Bluetooth

Jason Gerecke <jason.gerecke@xxxxxxxxx>
HID: wacom: Send BTN_TOUCH in response to INTUOSP2_BT eraser contact

Jason Gerecke <jason.gerecke@xxxxxxxxx>
HID: wacom: Don't report anything prior to the tool entering range

Jason Gerecke <jason.gerecke@xxxxxxxxx>
HID: wacom: Don't set tool type until we're in range

Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
HID: multitouch: handle faulty Elo touch device

Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
Revert "HID: Increase maximum report size allowed by hid_field_extract()"

Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
HID: input: fix assignment of .value

Benjamin Tissoires <benjamin.tissoires@xxxxxxxxxx>
HID: input: make sure the wheel high resolution multiplier is set

Thomas Backlund <tmb@xxxxxxxxxx>
nouveau: Fix build with CONFIG_NOUVEAU_LEGACY_CTX_SUPPORT disabled

Dave Airlie <airlied@xxxxxxxxxx>
drm/nouveau: add kconfig option to turn off nouveau legacy contexts. (v3)


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

Diffstat:

Makefile | 4 +-
arch/arm/kvm/hyp/Makefile | 1 +
arch/arm64/kvm/hyp/Makefile | 1 +
arch/arm64/mm/fault.c | 5 +-
arch/arm64/mm/mmu.c | 11 +-
arch/powerpc/include/asm/book3s/64/pgtable.h | 30 +++
arch/powerpc/include/asm/kexec.h | 3 +
arch/powerpc/kernel/machine_kexec_32.c | 4 +-
arch/powerpc/mm/pgtable-book3s64.c | 3 +
arch/s390/kvm/kvm-s390.c | 35 ++--
arch/x86/kernel/cpu/microcode/core.c | 2 +-
arch/x86/kernel/cpu/resctrl/monitor.c | 3 +
arch/x86/kvm/pmu.c | 10 +-
arch/x86/kvm/pmu.h | 3 +-
arch/x86/kvm/pmu_amd.c | 2 +-
arch/x86/kvm/svm.c | 9 +-
arch/x86/kvm/vmx/nested.c | 2 +-
arch/x86/kvm/vmx/pmu_intel.c | 26 ++-
arch/x86/kvm/vmx/vmx.c | 26 ++-
arch/x86/kvm/vmx/vmx.h | 1 +
arch/x86/kvm/x86.c | 2 +-
arch/x86/mm/kasan_init_64.c | 2 +-
arch/x86/mm/kaslr.c | 11 +-
drivers/ata/libata-core.c | 9 +-
drivers/gpu/drm/amd/amdgpu/amdgpu_vcn.c | 4 +-
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 1 +
drivers/gpu/drm/amd/amdgpu/uvd_v6_0.c | 5 +-
drivers/gpu/drm/amd/amdgpu/uvd_v7_0.c | 5 +-
drivers/gpu/drm/drm_edid.c | 55 ++++-
drivers/gpu/drm/drm_probe_helper.c | 7 +
drivers/gpu/drm/i915/intel_csr.c | 18 ++
drivers/gpu/drm/i915/intel_display.c | 14 +-
drivers/gpu/drm/i915/intel_drv.h | 1 +
drivers/gpu/drm/i915/intel_dsi_vbt.c | 11 +
drivers/gpu/drm/i915/intel_sdvo.c | 58 +++++-
drivers/gpu/drm/i915/intel_sdvo_regs.h | 3 +
drivers/gpu/drm/nouveau/Kconfig | 13 +-
drivers/gpu/drm/nouveau/nouveau_drm.c | 7 +-
drivers/gpu/drm/nouveau/nouveau_ttm.c | 4 +
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c | 7 +-
drivers/hid/hid-core.c | 13 +-
drivers/hid/hid-input.c | 81 +++++---
drivers/hid/hid-multitouch.c | 7 +
drivers/hid/wacom_wac.c | 71 +++++--
drivers/i2c/busses/i2c-acorn.c | 1 +
drivers/iommu/arm-smmu.c | 15 +-
drivers/md/bcache/bset.c | 16 +-
drivers/md/bcache/bset.h | 34 ++--
drivers/md/bcache/sysfs.c | 7 +-
drivers/media/dvb-core/dvb_frontend.c | 2 +-
drivers/misc/kgdbts.c | 4 +-
drivers/net/ethernet/cadence/macb_main.c | 16 +-
drivers/net/ethernet/freescale/enetc/enetc.c | 4 +-
drivers/net/usb/ipheth.c | 3 +-
drivers/nvdimm/bus.c | 4 +-
drivers/nvdimm/label.c | 2 +
drivers/nvdimm/label.h | 2 -
drivers/nvme/host/core.c | 74 ++++---
drivers/nvme/host/pci.c | 14 +-
drivers/perf/arm_spe_pmu.c | 10 +-
drivers/platform/x86/pmc_atom.c | 33 +++
drivers/ras/cec.c | 80 ++++----
drivers/scsi/bnx2fc/bnx2fc_hwi.c | 2 +-
drivers/scsi/lpfc/lpfc_attr.c | 37 ++--
drivers/scsi/lpfc/lpfc_els.c | 5 +-
drivers/scsi/lpfc/lpfc_sli.c | 84 +++++---
drivers/scsi/myrs.c | 2 +-
drivers/scsi/qedi/qedi_dbg.c | 32 +--
drivers/scsi/qedi/qedi_iscsi.c | 4 -
drivers/scsi/qla2xxx/qla_os.c | 221 ++++++++-------------
drivers/usb/core/quirks.c | 3 +
drivers/usb/dwc2/hcd.c | 39 ++--
drivers/usb/dwc2/hcd.h | 20 +-
drivers/usb/dwc2/hcd_intr.c | 5 +-
drivers/usb/dwc2/hcd_queue.c | 10 +-
drivers/usb/serial/option.c | 6 +
drivers/usb/serial/pl2303.c | 1 +
drivers/usb/serial/pl2303.h | 3 +
drivers/usb/storage/unusual_realtek.h | 5 +
fs/f2fs/xattr.c | 36 +++-
fs/f2fs/xattr.h | 2 +
fs/io_uring.c | 4 +-
fs/ocfs2/dcache.c | 12 ++
include/drm/drm_edid.h | 1 +
include/linux/cgroup.h | 10 +-
include/linux/cpuhotplug.h | 1 +
include/linux/hid.h | 2 +-
kernel/Makefile | 1 +
kernel/cred.c | 9 +
kernel/ptrace.c | 20 +-
kernel/time/timekeeping.c | 5 +-
kernel/trace/trace_events_hist.c | 3 +
kernel/trace/trace_uprobe.c | 13 +-
mm/list_lru.c | 2 +-
mm/vmscan.c | 2 +-
net/core/skmsg.c | 7 +-
net/ipv4/tcp_bpf.c | 7 +-
security/selinux/avc.c | 10 +-
security/selinux/hooks.c | 39 +++-
security/smack/smack_lsm.c | 12 +-
sound/core/seq/seq_clientmgr.c | 10 +-
sound/core/seq/seq_ports.c | 13 +-
sound/core/seq/seq_ports.h | 5 +-
sound/firewire/motu/motu-stream.c | 2 +-
sound/firewire/oxfw/oxfw.c | 3 -
sound/pci/hda/patch_realtek.c | 91 ++++++---
sound/pci/ice1712/ews.c | 2 +-
sound/soc/codecs/cs42xx8.c | 1 +
sound/soc/fsl/fsl_asrc.c | 4 +-
sound/soc/soc-core.c | 7 +-
sound/soc/soc-dapm.c | 3 +
tools/bpf/bpftool/prog.c | 4 +-
tools/io_uring/Makefile | 2 +-
tools/kvm/kvm_stat/kvm_stat | 16 +-
tools/kvm/kvm_stat/kvm_stat.txt | 2 +
tools/testing/selftests/bpf/bpf_helpers.h | 2 +-
tools/testing/selftests/kvm/dirty_log_test.c | 2 +-
.../testing/selftests/kvm/lib/aarch64/processor.c | 2 +-
tools/testing/selftests/kvm/x86_64/hyperv_cpuid.c | 5 +-
tools/testing/selftests/net/fib_rule_tests.sh | 2 +-
tools/testing/selftests/timers/adjtick.c | 1 +
tools/testing/selftests/timers/leapcrash.c | 1 +
tools/testing/selftests/timers/mqueue-lat.c | 1 +
tools/testing/selftests/timers/nanosleep.c | 1 +
tools/testing/selftests/timers/nsleep-lat.c | 1 +
tools/testing/selftests/timers/raw_skew.c | 1 +
tools/testing/selftests/timers/set-tai.c | 1 +
tools/testing/selftests/timers/set-tz.c | 2 +
tools/testing/selftests/timers/threadtest.c | 1 +
tools/testing/selftests/timers/valid-adjtimex.c | 2 +
virt/kvm/arm/aarch32.c | 121 -----------
virt/kvm/arm/hyp/aarch32.c | 136 +++++++++++++
132 files changed, 1296 insertions(+), 739 deletions(-)