This is the start of the stable review cycle for the 4.16.4 release. There are 196 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 Tue Apr 24 13:50:16 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.16.4-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.16.y and the diffstat can be found below. thanks, greg k-h ------------- Pseudo-Shortlog of commits: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> Linux 4.16.4-rc1 Greg Thelen <gthelen@xxxxxxxxxx> writeback: safer lock nesting Jiri Kosina <jkosina@xxxxxxx> HID: i2c-hid: fix inverted return value from i2c_hid_command() Weinan Li <weinan.z.li@xxxxxxxxx> drm/i915/gvt: init mmio by lri command in vgpu inhibit context Matthew Wilcox <mawilcox@xxxxxxxxxxxxx> mm/filemap.c: fix NULL pointer in page_cache_tree_insert() Ian Kent <raven@xxxxxxxxxx> autofs: mount point create should honour passed in mode Dave Jiang <dave.jiang@xxxxxxxxx> device-dax: allow MAP_SYNC to succeed Dan Williams <dan.j.williams@xxxxxxxxx> libnvdimm, dimm: handle EACCES failures from label reads Al Viro <viro@xxxxxxxxxxxxxxxxxx> Don't leak MNT_INTERNAL away from internal mounts Al Viro <viro@xxxxxxxxxxxxxxxxxx> rpc_pipefs: fix double-dput() Al Viro <viro@xxxxxxxxxxxxxxxxxx> orangefs_kill_sb(): deal with allocation failures Al Viro <viro@xxxxxxxxxxxxxxxxxx> hypfs_kill_super(): deal with failed allocations Al Viro <viro@xxxxxxxxxxxxxxxxxx> jffs2_kill_sb(): deal with failed allocations Ville Syrjälä <ville.syrjala@xxxxxxxxxxxxxxx> drm/i915: Correctly handle limited range YCbCr data on VLV/CHV Imre Deak <imre.deak@xxxxxxxxx> drm/i915: Fix hibernation with ACPI S0 target state Daniel Kurtz <djkurtz@xxxxxxxxxxxx> mmc: sdhci-pci: Only do AMD tuning for HS200 Amir Goldstein <amir73il@xxxxxxxxx> fanotify: fix logic of events on child Jan Kara <jack@xxxxxxx> udf: Fix leak of UTF-16 surrogates into encoded strings Michael Ellerman <mpe@xxxxxxxxxxxxxx> powerpc/lib: Fix off-by-one in alternate feature patching Benjamin Herrenschmidt <benh@xxxxxxxxxxxxxxxxxxx> powerpc/xive: Fix trying to "push" an already active pool VP Michael Neuling <mikey@xxxxxxxxxxx> powerpc/eeh: Fix enabling bridge MMIO windows Matt Redfearn <matt.redfearn@xxxxxxxx> MIPS: memset.S: Fix clobber of v1 in last_fixup Matt Redfearn <matt.redfearn@xxxxxxxx> MIPS: memset.S: Fix return of __clear_user from Lpartial_fixup Matt Redfearn <matt.redfearn@xxxxxxxx> MIPS: memset.S: EVA & fault support for small_memset Matt Redfearn <matt.redfearn@xxxxxxxx> MIPS: uaccess: Add micromips clobbers to bzero invocation Heiko Carstens <heiko.carstens@xxxxxxxxxx> s390: add support for IBM z14 Model ZR1 Aaron Armstrong Skomra <skomra@xxxxxxxxx> HID: wacom: bluetooth: send exit report for recent Bluetooth devices Rodrigo Rivas Costa <rodrigorivascosta@xxxxxxxxx> HID: hidraw: Fix crash on HIDIOCGFEATURE with a destroyed device Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx> HID: input: fix battery level reporting on BT mice Aaron Ma <aaron.ma@xxxxxxxxxxxxx> HID: i2c-hid: Fix resume issue on Raydium touchscreen device Theodore Ts'o <tytso@xxxxxxx> random: add new ioctl RNDRESEEDCRNG Theodore Ts'o <tytso@xxxxxxx> random: crng_reseed() should lock the crng instance that it is modifying Theodore Ts'o <tytso@xxxxxxx> random: set up the NUMA crng instances after the CRNG is fully initialized Theodore Ts'o <tytso@xxxxxxx> random: use a different mixing algorithm for add_device_randomness() Theodore Ts'o <tytso@xxxxxxx> random: fix crng_ready() test Hui Wang <hui.wang@xxxxxxxxxxxxx> ALSA: hda/realtek - adjust the location of one mic Hui Wang <hui.wang@xxxxxxxxxxxxx> ALSA: hda/realtek - set PINCFG_HEADSET_MIC to parse_flags David Wang <davidwang@xxxxxxxxxxx> ALSA: hda - New VIA controller suppor no-snoop path Takashi Iwai <tiwai@xxxxxxx> ALSA: rawmidi: Fix missing input substream checks in compat ioctls Fabián Inostroza <soulsonceonfire@xxxxxxxxx> ALSA: line6: Use correct endpoint type for midi output Paul Parsons <lost.distance@xxxxxxxxx> drm/radeon: Fix PCIe lane width calculation Nico Sneck <nicosneck@xxxxxxxxxxx> drm/radeon: add PX quirk for Asus K73TK Marc Zyngier <marc.zyngier@xxxxxxx> drm/rockchip: Clear all interrupts before requesting the IRQ Alex Deucher <alexander.deucher@xxxxxxx> drm/amdgpu/si: implement get/set pcie_lanes asic callback Alex Deucher <alexander.deucher@xxxxxxx> drm/amdgpu: Fix PCIe lane width calculation Alex Deucher <alexander.deucher@xxxxxxx> drm/amdgpu/sdma: fix mask in emit_pipeline_sync Bas Nieuwenhuizen <basni@xxxxxxxxxxxx> drm/amdgpu: Fix always_valid bos multiple LRU insertions. Alex Deucher <alexander.deucher@xxxxxxx> drm/amdgpu: Add an ATPX quirk for hybrid laptop Igor Pylypiv <igor.pylypiv@xxxxxxxxx> watchdog: f71808e_wdt: Fix WD_EN register read Sean Wang <sean.wang@xxxxxxxxxxxx> dt-bindings: clock: mediatek: add binding for fixed-factor clock axisel_d4 Mikhail Lappo <mikhail.lappo@xxxxxxxxxxx> thermal: imx: Fix race condition in imx_thermal_probe() Sean Wang <sean.wang@xxxxxxxxxxxx> pwm: mediatek: Improve precision in rate calculation Sean Wang <sean.wang@xxxxxxxxxxxx> pwm: mediatek: Fix up PWM4 and PWM5 malfunction on MT7623 Ryo Kodama <ryo.kodama.vz@xxxxxxxxxxx> pwm: rcar: Fix a condition to prevent mismatch value setting to duty Dmitry Osipenko <digetx@xxxxxxxxx> clk: tegra: Mark HCLK, SCLK and EMC as critical Boris Brezillon <boris.brezillon@xxxxxxxxxxx> clk: bcm2835: De-assert/assert PLL reset signal when appropriate Sean Wang <sean.wang@xxxxxxxxxxxx> clk: mediatek: fix PWM clock source by adding a fixed-factor clock Arnd Bergmann <arnd@xxxxxxxx> clk: fix false-positive Wmaybe-uninitialized warning Richard Genoud <richard.genoud@xxxxxxxxx> clk: mvebu: armada-38x: add support for missing clocks Sinan Kaya <okaya@xxxxxxxxxxxxxx> PCI: Mark Broadcom HT1100 and HT2000 Root Port Extended Tags as broken Ravi Bangoria <ravi.bangoria@xxxxxxxxxxxxxxxxxx> trace_uprobe: Use %lx to display offset Charlene Liu <charlene.liu@xxxxxxx> drm/amd/display: HDMI has no sound after Panel power off/on Harry Wentland <harry.wentland@xxxxxxx> Revert "drm/amd/display: disable CRTCs with NULL FB on their primary plane (V2)" Harry Wentland <harry.wentland@xxxxxxx> Revert "drm/amd/display: fix dereferencing possible ERR_PTR()" Masaharu Hayakawa <masaharu.hayakawa.ry@xxxxxxxxxxx> mmc: tmio: Fix error handling when issuing CMD23 Alex Smith <alex.smith@xxxxxxxxxx> mmc: jz4740: Fix race condition in IRQ mask update Alexander Kappner <agk@xxxxxxxxxxx> mmc: core: Prevent bus reference leak in mmc_blk_init() Lu Baolu <baolu.lu@xxxxxxxxxxxxxxx> iommu/vt-d: Fix a potential memory leak Krzysztof Mazur <krzysiek@xxxxxxxxxxxx> um: Use POSIX ucontext_t instead of struct ucontext Jason A. Donenfeld <Jason@xxxxxxxxx> um: Compile with modern headers Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> ring-buffer: Check if memory is available before allocation Dan Williams <dan.j.williams@xxxxxxxxx> nfit: skip region registration for incomplete control regions Dan Williams <dan.j.williams@xxxxxxxxx> nfit, address-range-scrub: fix scrub in-progress reporting Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx> vsprintf: Do not preprocess non-dereferenced pointers for bprintf (%px and %pK) Dan Williams <dan.j.williams@xxxxxxxxx> libnvdimm, namespace: use a safe lookup for dimm device name Dan Williams <dan.j.williams@xxxxxxxxx> libnvdimm, dimm: fix dpa reservation vs uninitialized label area Chris Chiu <chiu@xxxxxxxxxxxx> tpm: self test failure should not cause suspend to fail Frederic Barrat <fbarrat@xxxxxxxxxxxxxxxxxx> cxl: Fix possible deadlock when processing page faults from cxllib Maxime Jayat <maxime.jayat@xxxxxxxxxxxxxxxxx> dmaengine: at_xdmac: fix rare residue corruption Heinz Mauelshagen <heinzm@xxxxxxxxxx> dm raid: fix nosync status Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> drivers/infiniband/ulp/srpt/ib_srpt.c: fix build with gcc-4.4.4 Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> drivers/infiniband/core/verbs.c: fix build with gcc-4.4.4 Bart Van Assche <bart.vanassche@xxxxxxx> IB/srpt: Fix an out-of-bounds stack access in srpt_zerolength_write() Bart Van Assche <bart.vanassche@xxxxxxx> IB/srp: Fix completion vector assignment algorithm Bart Van Assche <bart.vanassche@xxxxxxx> IB/srp: Fix srp_abort() Takashi Iwai <tiwai@xxxxxxx> ALSA: pcm: Fix endless loop for XRUN recovery in OSS emulation Takashi Iwai <tiwai@xxxxxxx> ALSA: pcm: Fix UAF at PCM release via PCM timer access Takashi Iwai <tiwai@xxxxxxx> ALSA: pcm: Fix mutex unbalance in OSS emulation ioctls Takashi Iwai <tiwai@xxxxxxx> ALSA: pcm: Return -EBUSY for OSS ioctls changing busy streams Takashi Iwai <tiwai@xxxxxxx> ALSA: pcm: Avoid potential races between OSS ioctls and read/write Chuck Lever <chuck.lever@xxxxxxxxxx> xprtrdma: Fix corner cases when handling device removal Chuck Lever <chuck.lever@xxxxxxxxxx> xprtrdma: Fix latency regression on NUMA NFS/RDMA clients Bart Van Assche <bart.vanassche@xxxxxxx> RDMA/core: Avoid that ib_drain_qp() triggers an out-of-bounds stack access Bart Van Assche <bart.vanassche@xxxxxxx> RDMA/rxe: Fix an out-of-bounds read Leon Romanovsky <leonro@xxxxxxxxxxxx> RDMA/mlx5: Protect from NULL pointer derefence Roland Dreier <roland@xxxxxxxxxxxxxxx> RDMA/ucma: Don't allow setting RDMA_OPTION_IB_PATH without an RDMA device Mikulas Patocka <mpatocka@xxxxxxxxxx> dm crypt: limit the number of allocated pages Mike Snitzer <snitzer@xxxxxxxxxx> dm: backfill abnormal IO support to non-splitting IO submission Theodore Ts'o <tytso@xxxxxxx> ext4: force revalidation of directory pointer after seekdir(2) Theodore Ts'o <tytso@xxxxxxx> ext4: add extra checks to ext4_xattr_block_get() Theodore Ts'o <tytso@xxxxxxx> ext4: add bounds checking to ext4_xattr_find_entry() Theodore Ts'o <tytso@xxxxxxx> ext4: move call to ext4_error() into ext4_xattr_check_block() Theodore Ts'o <tytso@xxxxxxx> ext4: don't allow r/w mounts if metadata blocks overlap the superblock Theodore Ts'o <tytso@xxxxxxx> ext4: always initialize the crc32c checksum driver Theodore Ts'o <tytso@xxxxxxx> ext4: fail ext4_iget for root directory if unallocated Eric Biggers <ebiggers@xxxxxxxxxx> ext4: limit xattr size to INT_MAX Theodore Ts'o <tytso@xxxxxxx> ext4: add validity checks for bitmap block numbers Jiri Slaby <jslaby@xxxxxxx> ext4: fix offset overflow on 32-bit archs in ext4_iomap_begin() Eryu Guan <guaneryu@xxxxxxxxx> ext4: protect i_disksize update by i_data_sem in direct write path Theodore Ts'o <tytso@xxxxxxx> ext4: don't update checksum of new initialized bitmaps Theodore Ts'o <tytso@xxxxxxx> ext4: pass -ESHUTDOWN code to jbd2 layer Theodore Ts'o <tytso@xxxxxxx> ext4: eliminate sleep from shutdown ioctl Theodore Ts'o <tytso@xxxxxxx> ext4: shutdown should not prevent get_write_access Theodore Ts'o <tytso@xxxxxxx> jbd2: if the journal is aborted then don't allow update of the log tail Mikulas Patocka <mpatocka@xxxxxxxxxx> block: use 32-bit blk_status_t on Alpha Hans de Goede <hdegoede@xxxxxxxxxx> extcon: intel-cht-wc: Set direction and drv flags for V5 boost GPIO Theodore Ts'o <tytso@xxxxxxx> random: use a tighter cap in credit_entropy_bits_safe() Aniruddha Banerjee <aniruddhab@xxxxxxxxxx> irqchip/gic: Take lock when updating irq type Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> thunderbolt: Prevent crash when ICM firmware is not running Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> thunderbolt: Handle connecting device in place of host properly Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> thunderbolt: Resume control channel after hibernation image is created Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> thunderbolt: Serialize PCIe tunnel creation with PCI rescan Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> thunderbolt: Wait a bit longer for ICM to authenticate the active NVM Liam Girdwood <liam.r.girdwood@xxxxxxxxxxxxxxx> ASoC: topology: Fix kcontrol name string handling James Kelly <jamespeterkelly@xxxxxxxxx> ASoC: ssm2602: Replace reg_default_raw with reg_default Sean Wang <sean.wang@xxxxxxxxxxxx> soc: mediatek: fix the mistaken pointer accessed when subdomains are added Aaron Ma <aaron.ma@xxxxxxxxxxxxx> HID: core: Fix size as type u32 Aaron Ma <aaron.ma@xxxxxxxxxxxxx> HID: Fix hid_report_len usage Yan, Zheng <zyan@xxxxxxxxxx> ceph: always update atime/mtime/ctime for new inode Michael Ellerman <mpe@xxxxxxxxxxxxxx> powerpc/mm/radix: Fix checkstops caused by invalid tlbiel Nicholas Piggin <npiggin@xxxxxxxxx> powerpc/powernv: Fix OPAL NVRAM driver OPAL_BUSY loops Thiago Jung Bauermann <bauerman@xxxxxxxxxxxxxxxxxx> powerpc/kexec_file: Fix error code when trying to load kdump kernel Naveen N. Rao <naveen.n.rao@xxxxxxxxxxxxxxxxxx> powerpc/kprobes: Fix call trace due to incorrect preempt count Nicholas Piggin <npiggin@xxxxxxxxx> powerpc/64: Fix smp_wmb barrier definition use use lwsync consistently Paul Mackerras <paulus@xxxxxxxxxx> powerpc/64: Call H_REGISTER_PROC_TBL when running as a HPT guest on POWER9 Nicholas Piggin <npiggin@xxxxxxxxx> powerpc/64s: Fix dt_cpu_ftrs to have restore_cpu clear unwanted LPCR bits Michael Neuling <mikey@xxxxxxxxxxx> powerpc/eeh: Fix race with driver un/bind Nicholas Piggin <npiggin@xxxxxxxxx> powerpc/powernv: Handle unknown OPAL errors in opal_nvram_write() Nicholas Piggin <npiggin@xxxxxxxxx> powerpc/64s: Fix pkey support in dt_cpu_ftrs, add CPU_FTR_PKEY bit Takashi Iwai <tiwai@xxxxxxx> swiotlb: fix unexpected swiotlb_alloc_coherent failures Gustavo A. R. Silva <gustavo@xxxxxxxxxxxxxx> CIFS: fix sha512 check in cifs_crypto_secmech_release Aurelien Aptel <aaptel@xxxxxxxx> CIFS: implement v3.11 preauth integrity Aurelien Aptel <aaptel@xxxxxxxx> CIFS: add sha512 secmech Aurelien Aptel <aaptel@xxxxxxxx> CIFS: refactor crypto shash/sdesc allocation&free Jean Delvare <jdelvare@xxxxxxx> i2c: i801: Restore configuration at shutdown Jean Delvare <jdelvare@xxxxxxx> i2c: i801: Save register SMBSLVCMD value only once Aaron Ma <aaron.ma@xxxxxxxxxxxxx> HID: i2c-hid: fix size check and type usage Steve French <stfrench@xxxxxxxxxxxxx> smb3: Fix root directory when server returns inode number of zero Long Li <longli@xxxxxxxxxxxxx> cifs: smbd: disconnect transport on RDMA errors Long Li <longli@xxxxxxxxxxxxx> cifs: smbd: avoid reconnect lockup Steve French <smfrench@xxxxxxxxx> Tree connect for SMB3.1.1 must be signed for non-encrypted shares Ronnie Sahlberg <lsahlber@xxxxxxxxxx> fix smb3-encryption breakage when CONFIG_DEBUG_SG=y Ronnie Sahlberg <lsahlber@xxxxxxxxxx> cifs: fix memory leak in SMB2_open() Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx> usb: dwc3: gadget: never call ->complete() from ->ep_queue() Thinh Nguyen <Thinh.Nguyen@xxxxxxxxxxxx> usb: dwc3: pci: Properly cleanup resource Roger Quadros <rogerq@xxxxxx> usb: dwc3: prevent setting PRTCAP to OTG from debugfs Zhengjun Xing <zhengjun.xing@xxxxxxxxxxxxxxx> USB:fix USB3 devices behind USB3 hubs not resuming at hibernate thaw Yavuz, Tuba <tuba@xxxxxxxxxxx> USB: gadget: f_midi: fixing a possible double-free in f_midi Dan Williams <dan.j.williams@xxxxxxxxx> acpi, nfit: rework NVDIMM leaf method detection Mika Westerberg <mika.westerberg@xxxxxxxxxxxxxxx> ACPI / hotplug / PCI: Check presence of slot itself in get_slot_status() Hans de Goede <hdegoede@xxxxxxxxxx> ACPI / video: Add quirk to force acpi-video backlight on Samsung 670Z5E Dan Carpenter <dan.carpenter@xxxxxxxxxx> regmap: Fix reversed bounds check in regmap_raw_write() Jason Andryuk <jandryuk@xxxxxxxxx> x86/xen: Delay get_cpu_cap until stack canary is established Kieran Bingham <kieran.bingham@xxxxxxxxxxxxxxxx> media: vsp1: Fix BRx conditional path in WPF Sakari Ailus <sakari.ailus@xxxxxxxxxxxxxxx> media: vb2: core: Finish buffers at the end of the stream Hans Verkuil <hverkuil@xxxxxxxxx> media: vivid: check if the cec_adapter is valid Hans Verkuil <hverkuil@xxxxxxxxx> media: atomisp_fops.c: disable atomisp_compat_ioctl32 Sean Young <sean@xxxxxxxx> media: rc: oops in ir_timer_keyup after device unplug Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx> spi: Fix unregistration of controller with fixed SPI bus number Maxime Chevallier <maxime.chevallier@xxxxxxxxxxx> spi: Fix scatterlist elements size in spi_map_buf Eugen Hristev <eugen.hristev@xxxxxxxxxxxxx> spi: atmel: init FIFOs before spi enable Santiago Esteban <Santiago.Esteban@xxxxxxxxxxxxx> ARM: dts: at91: sama5d4: fix pinctrl compatible string Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> ARM: dts: exynos: Fix IOMMU support for GScaler devices on Exynos5250 Nicolas Ferre <nicolas.ferre@xxxxxxxxxxxxx> ARM: dts: at91: at91sam9g25: fix mux-mask pinctrl property Sean Wang <sean.wang@xxxxxxxxxxxx> arm: dts: mt7623: fix USB initialization fails on bananapi-r2 Marek Szyprowski <m.szyprowski@xxxxxxxxxxx> ARM: EXYNOS: Fix coupled CPU idle freeze on Exynos4210 Marc Zyngier <marc.zyngier@xxxxxxx> KVM: arm/arm64: vgic-its: Fix potential overrun in vgic_copy_lpi_list Jerome Brunet <jbrunet@xxxxxxxxxxxx> ARM64: dts: meson: reduce odroid-c2 eMMC maximum rate Felipe Balbi <felipe.balbi@xxxxxxxxxxxxxxx> usb: gadget: udc: core: update usb_ep_queue() documentation Chen-Yu Tsai <wens@xxxxxxxx> phy: allwinner: sun4i-usb: poll vbus changes on A23/A33 when driving VBUS Heinrich Schuchardt <xypron.glpk@xxxxxx> usb: musb: gadget: misplaced out of bounds check Vlastimil Babka <vbabka@xxxxxxx> mm, slab: reschedule cache_reap() on the same CPU Eric Biggers <ebiggers@xxxxxxxxxx> ipc/shm: fix use-after-free of shm file via remap_file_pages() Takashi Iwai <tiwai@xxxxxxx> resource: fix integer overflow at reallocation Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> fs/reiserfs/journal.c: add missing resierfs_warning() arg Kees Cook <keescook@xxxxxxxxxxxx> task_struct: only use anon struct under randstruct plugin Naoya Horiguchi <n-horiguchi@xxxxxxxxxxxxx> mm: hwpoison: disable memory error handling on 1GB hugepage Jérôme Glisse <jglisse@xxxxxxxxxx> mm/hmm: hmm_pfns_bad() was accessing wrong struct Jérôme Glisse <jglisse@xxxxxxxxxx> mm/hmm: fix header file if/else/endif maze Claudio Imbrenda <imbrenda@xxxxxxxxxxxxxxxxxx> mm/ksm.c: fix inconsistent accounting of zero pages Richard Weinberger <richard@xxxxxx> ubi: Reject MLC NAND Romain Izard <romain.izard.pro@xxxxxxxxx> ubi: Fix error for write access Richard Weinberger <richard@xxxxxx> ubi: fastmap: Don't flush fastmap work on detach Richard Weinberger <richard@xxxxxx> ubifs: Check ubifs_wbuf_sync() return code Gregory CLEMENT <gregory.clement@xxxxxxxxxxx> cpufreq: armada-37xx: Fix clock leak George Cherian <george.cherian@xxxxxxxxxx> cpufreq: CPPC: Use transition_delay_us depending transition_latency Hans de Goede <hdegoede@xxxxxxxxxx> Bluetooth: hci_bcm: Add irq_polarity module option ------------- Diffstat: Makefile | 4 +- arch/arm/boot/dts/at91sam9g25.dtsi | 2 +- arch/arm/boot/dts/exynos5250.dtsi | 8 +- arch/arm/boot/dts/mt7623n-bananapi-bpi-r2.dts | 24 ++- arch/arm/boot/dts/sama5d4.dtsi | 2 +- arch/arm/mach-exynos/pm.c | 6 +- .../arm64/boot/dts/amlogic/meson-gxbb-odroidc2.dts | 2 +- arch/mips/include/asm/uaccess.h | 11 +- arch/mips/lib/memset.S | 11 +- arch/powerpc/include/asm/barrier.h | 3 +- arch/powerpc/include/asm/synch.h | 4 - arch/powerpc/kernel/dt_cpu_ftrs.c | 19 +- arch/powerpc/kernel/eeh_driver.c | 68 ++++--- arch/powerpc/kernel/eeh_pe.c | 3 +- arch/powerpc/kernel/kprobes.c | 30 +-- arch/powerpc/kernel/machine_kexec_file_64.c | 2 +- arch/powerpc/lib/feature-fixups.c | 2 +- arch/powerpc/mm/hash_utils_64.c | 6 + arch/powerpc/mm/tlb-radix.c | 5 +- arch/powerpc/platforms/powernv/opal-nvram.c | 11 +- arch/powerpc/platforms/pseries/lpar.c | 8 +- arch/powerpc/sysdev/xive/native.c | 4 + arch/s390/Kconfig | 8 +- arch/s390/hypfs/inode.c | 2 +- arch/s390/kernel/perf_cpum_cf_events.c | 1 + arch/s390/kernel/setup.c | 1 + arch/um/os-Linux/file.c | 1 + arch/um/os-Linux/signal.c | 3 +- arch/x86/um/stub_segv.c | 3 +- arch/x86/xen/enlighten_pv.c | 8 +- drivers/acpi/nfit/core.c | 59 +++--- drivers/acpi/nfit/nfit.h | 5 +- drivers/acpi/video_detect.c | 9 + drivers/base/regmap/regmap.c | 2 +- drivers/bluetooth/hci_bcm.c | 20 +- drivers/char/random.c | 130 +++++++++---- drivers/char/tpm/tpm-interface.c | 4 + drivers/clk/bcm/clk-bcm2835.c | 8 +- drivers/clk/mediatek/clk-mt2701.c | 15 +- drivers/clk/mvebu/armada-38x.c | 14 +- drivers/clk/renesas/clk-sh73a0.c | 6 +- drivers/clk/tegra/clk-emc.c | 2 +- drivers/clk/tegra/clk-tegra-periph.c | 2 +- drivers/clk/tegra/clk-tegra-super-gen4.c | 8 +- drivers/clk/tegra/clk-tegra114.c | 3 +- drivers/clk/tegra/clk-tegra124.c | 7 +- drivers/clk/tegra/clk-tegra20.c | 23 +-- drivers/clk/tegra/clk-tegra210.c | 3 +- drivers/clk/tegra/clk-tegra30.c | 14 +- drivers/cpufreq/armada-37xx-cpufreq.c | 2 + drivers/cpufreq/cppc_cpufreq.c | 3 + drivers/dax/device.c | 2 + drivers/dma/at_xdmac.c | 4 +- drivers/extcon/extcon-intel-cht-wc.c | 11 +- drivers/gpu/drm/amd/amdgpu/amdgpu_atpx_handler.c | 1 + drivers/gpu/drm/amd/amdgpu/amdgpu_bo_list.c | 6 +- drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c | 2 +- drivers/gpu/drm/amd/amdgpu/cik_sdma.c | 2 +- drivers/gpu/drm/amd/amdgpu/sdma_v2_4.c | 2 +- drivers/gpu/drm/amd/amdgpu/sdma_v3_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 2 +- drivers/gpu/drm/amd/amdgpu/si.c | 67 +++++++ drivers/gpu/drm/amd/amdgpu/si_dpm.c | 4 +- drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c | 31 --- .../drm/amd/display/dc/dce/dce_stream_encoder.c | 2 + drivers/gpu/drm/i915/gvt/gvt.h | 5 +- drivers/gpu/drm/i915/gvt/mmio_context.c | 210 +++++++++++++++++++-- drivers/gpu/drm/i915/gvt/mmio_context.h | 5 + drivers/gpu/drm/i915/gvt/scheduler.c | 5 + drivers/gpu/drm/i915/i915_drv.c | 22 +-- drivers/gpu/drm/i915/i915_drv.h | 2 +- drivers/gpu/drm/i915/i915_reg.h | 10 + drivers/gpu/drm/i915/intel_sprite.c | 81 ++++++-- drivers/gpu/drm/radeon/radeon_device.c | 4 + drivers/gpu/drm/radeon/si_dpm.c | 4 +- drivers/gpu/drm/rockchip/rockchip_drm_vop.c | 23 +-- drivers/hid/hid-core.c | 10 +- drivers/hid/hid-ids.h | 3 + drivers/hid/hid-input.c | 27 ++- drivers/hid/hid-multitouch.c | 5 +- drivers/hid/hid-rmi.c | 4 +- drivers/hid/hidraw.c | 5 + drivers/hid/i2c-hid/i2c-hid.c | 26 ++- drivers/hid/wacom_sys.c | 4 +- drivers/hid/wacom_wac.c | 76 +++++--- drivers/i2c/busses/i2c-i801.c | 16 +- drivers/infiniband/core/ucma.c | 3 + drivers/infiniband/core/verbs.c | 12 +- drivers/infiniband/hw/mlx5/mr.c | 2 + drivers/infiniband/sw/rxe/rxe_verbs.c | 5 +- drivers/infiniband/ulp/srp/ib_srp.c | 18 +- drivers/infiniband/ulp/srpt/ib_srpt.c | 16 +- drivers/iommu/intel-svm.c | 1 + drivers/irqchip/irq-gic-common.c | 9 +- drivers/md/dm-crypt.c | 66 ++++++- drivers/md/dm-raid.c | 3 +- drivers/md/dm.c | 30 ++- drivers/media/common/videobuf2/videobuf2-core.c | 9 + drivers/media/platform/vivid/vivid-vid-common.c | 3 +- drivers/media/platform/vsp1/vsp1_wpf.c | 2 +- drivers/media/rc/rc-main.c | 6 +- drivers/misc/cxl/cxllib.c | 85 ++++++--- drivers/mmc/core/block.c | 1 + drivers/mmc/host/jz4740_mmc.c | 2 +- drivers/mmc/host/sdhci-pci-core.c | 25 ++- drivers/mmc/host/tmio_mmc_core.c | 2 +- drivers/mtd/ubi/block.c | 2 +- drivers/mtd/ubi/build.c | 11 ++ drivers/mtd/ubi/fastmap-wl.c | 1 - drivers/nvdimm/dimm.c | 8 +- drivers/nvdimm/dimm_devs.c | 22 ++- drivers/nvdimm/namespace_devs.c | 4 +- drivers/pci/hotplug/acpiphp_glue.c | 23 ++- drivers/pci/quirks.c | 4 + drivers/phy/allwinner/phy-sun4i-usb.c | 10 +- drivers/pwm/pwm-mediatek.c | 35 +++- drivers/pwm/pwm-rcar.c | 8 +- drivers/soc/mediatek/mtk-scpsys.c | 2 +- drivers/spi/spi-atmel.c | 8 +- drivers/spi/spi.c | 19 +- .../media/atomisp/pci/atomisp2/atomisp_fops.c | 6 + drivers/thermal/imx_thermal.c | 6 +- drivers/thunderbolt/icm.c | 36 ++-- drivers/thunderbolt/nhi.c | 1 + drivers/thunderbolt/switch.c | 9 + drivers/usb/core/generic.c | 9 +- drivers/usb/dwc3/core.c | 3 + drivers/usb/dwc3/dwc3-pci.c | 2 +- drivers/usb/dwc3/gadget.c | 43 +++-- drivers/usb/gadget/function/f_midi.c | 3 +- drivers/usb/gadget/u_f.h | 2 + drivers/usb/gadget/udc/core.c | 3 + drivers/usb/musb/musb_gadget_ep0.c | 14 +- drivers/watchdog/f71808e_wdt.c | 2 +- fs/autofs4/root.c | 2 +- fs/ceph/inode.c | 10 +- fs/cifs/Kconfig | 1 + fs/cifs/cifsencrypt.c | 85 ++------- fs/cifs/cifsfs.c | 1 + fs/cifs/cifsglob.h | 8 +- fs/cifs/cifsproto.h | 5 + fs/cifs/inode.c | 33 ++++ fs/cifs/link.c | 27 +-- fs/cifs/misc.c | 54 ++++++ fs/cifs/smb2misc.c | 64 +++++++ fs/cifs/smb2ops.c | 15 +- fs/cifs/smb2pdu.c | 38 +++- fs/cifs/smb2pdu.h | 1 + fs/cifs/smb2proto.h | 5 + fs/cifs/smb2transport.c | 97 ++++------ fs/cifs/smbdirect.c | 19 +- fs/cifs/smbencrypt.c | 27 +-- fs/cifs/transport.c | 17 ++ fs/ext4/balloc.c | 19 +- fs/ext4/dir.c | 8 +- fs/ext4/ext4_jbd2.c | 7 - fs/ext4/ialloc.c | 54 +----- fs/ext4/inode.c | 13 +- fs/ext4/ioctl.c | 8 +- fs/ext4/super.c | 21 ++- fs/ext4/xattr.c | 121 ++++++------ fs/ext4/xattr.h | 11 ++ fs/fs-writeback.c | 7 +- fs/jbd2/journal.c | 30 ++- fs/jffs2/super.c | 2 +- fs/namespace.c | 3 +- fs/notify/fanotify/fanotify.c | 34 ++-- fs/orangefs/super.c | 5 + fs/reiserfs/journal.c | 2 +- fs/ubifs/super.c | 14 +- fs/udf/unicode.c | 6 + include/dt-bindings/clock/mt2701-clk.h | 3 +- include/linux/backing-dev-defs.h | 5 + include/linux/backing-dev.h | 30 +-- include/linux/blk_types.h | 5 + include/linux/compiler-clang.h | 3 - include/linux/compiler-gcc.h | 12 +- include/linux/hid.h | 15 +- include/linux/hmm.h | 9 +- include/linux/mm.h | 1 + include/sound/pcm_oss.h | 1 + include/uapi/linux/random.h | 3 + ipc/shm.c | 23 ++- kernel/resource.c | 3 +- kernel/trace/ring_buffer.c | 5 + kernel/trace/trace_uprobe.c | 2 +- lib/swiotlb.c | 2 +- lib/vsprintf.c | 4 + mm/filemap.c | 9 +- mm/hmm.c | 3 +- mm/ksm.c | 7 + mm/memory-failure.c | 16 ++ mm/page-writeback.c | 18 +- mm/slab.c | 3 +- net/sunrpc/rpc_pipe.c | 1 + net/sunrpc/xprtrdma/rpc_rdma.c | 2 +- net/sunrpc/xprtrdma/transport.c | 2 - net/sunrpc/xprtrdma/verbs.c | 13 +- net/sunrpc/xprtrdma/xprt_rdma.h | 1 - sound/core/oss/pcm_oss.c | 186 ++++++++++++++---- sound/core/pcm.c | 8 +- sound/core/rawmidi_compat.c | 18 +- sound/pci/hda/hda_intel.c | 3 +- sound/pci/hda/patch_realtek.c | 3 + sound/soc/codecs/ssm2602.c | 19 +- sound/soc/soc-topology.c | 23 ++- sound/usb/line6/midi.c | 2 +- virt/kvm/arm/vgic/vgic-its.c | 15 +- 208 files changed, 2213 insertions(+), 1021 deletions(-)