[PATCH 4.18 184/228] tls: possible hang when do_tcp_sendpages hits sndbuf is full case

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: John Fastabend [ Upstream commit 67db7cd249e71f64346f481b629724376d063e08 ] Currently, the lower protocols sk_write_space handler is not called if TLS is sending a scatterlist via tls_push_sg

Re: [PATCH v2 0/3] mm: Fix for movable_node boot option

2018-10-02 Thread Michal Hocko
On Thu 27-09-18 22:41:36, Thomas Gleixner wrote: > On Tue, 25 Sep 2018, Masayoshi Mizuma wrote: > > > This patch series are the fix for movable_node boot option > > issue which was introduced by commit 124049decbb1 ("x86/e820: > > put !E820_TYPE_RAM regions into memblock.reserved"). > > > > First

[PATCH 4.18 187/228] drm/amdgpu: fix preamble handling

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Christian König [ Upstream commit d98ff24e8e9be3329eea7c84d5e244d0c1cd0ab3 ] At this point the command submission can still be interrupted. Signed-off-by: Christian König Acked-by: Alex Deuc

[PATCH 4.18 191/228] tcp_bbr: in restart from idle, see if we should exit PROBE_RTT

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Kevin Yang [ Upstream commit 5490b32dce6932ea7ee8e3b2f76db2957c92af6e ] This patch fix the case where BBR does not exit PROBE_RTT mode when it restarts from idle. When BBR restarts from idle a

[PATCH 4.18 189/228] net/ncsi: Fixup .dumpit message flags and ID check in Netlink handler

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Samuel Mendoza-Jonas [ Upstream commit 3d0371b313b84ba7c16ebf2526a7a34f1c57b19e ] The ncsi_pkg_info_all_nl() .dumpit handler is missing the NLM_F_MULTI flag, causing additional package informa

[PATCH 4.18 190/228] tcp_bbr: add bbr_check_probe_rtt_done() helper

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Kevin Yang [ Upstream commit fb99886224294b2291d267da41395022fa4200e2 ] This patch add a helper function bbr_check_probe_rtt_done() to 1. check the condition to see if bbr should exit probe_

[PATCH 4.18 186/228] drm/amdgpu: fix VM clearing for the root PD

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Christian König [ Upstream commit 8604ffcbf04f8f4f3f55a9e46e5ff948b2ed4290 ] We need to figure out the address after validating the BO, not before. Signed-off-by: Christian König Reviewed-by

[PATCH 4.18 165/228] IB/hfi1: Fix destroy_qp hang after a link down

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Michael J. Ruhl commit b4a4957d3d1c328b733fce783b7264996f866ad2 upstream. rvt_destroy_qp() cannot complete until all in process packets have been released from the underlying hardware. If a l

Re: [PATCH v1 4/6] perf: Allow using AUX data in perf samples

2018-10-02 Thread Alexander Shishkin
Peter Zijlstra writes: > On Tue, Jun 19, 2018 at 01:47:25PM +0300, Alexander Shishkin wrote: >> On Thu, Jun 14, 2018 at 10:20:22PM +0200, Peter Zijlstra wrote: > >> > More yuck... >> > >> > You rreally should not be calling these pmu::methods, they're meant to >> > be used from _interrupt_ not N

[PATCH 4.18 194/228] net: hns3: fix page_offset overflow when CONFIG_ARM64_64K_PAGES

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Huazhong Tan [ Upstream commit 27a5959308559fa6afcaa4e6cd81d25bcb2dda7c ] When enable the config item "CONFIG_ARM64_64K_PAGES", the size of PAGE_SIZE is 65536(64K). But the type of page_offset

[PATCH 4.18 195/228] ice: Fix multiple static analyser warnings

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Anirudh Venkataramanan [ Upstream commit 4381147df9098706caa5cf9fda37e53b2fe4871f ] This patch fixes the following smatch errors: 1) Fix "odd binop '0x0 & 0xc'" when performing the bitwise-an

[PATCH 4.18 197/228] ice: Clean control queues only when they are initialized

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Preethi Banala [ Upstream commit b29bc220e2c7bd494a4605defcd93b18d5a8cf86 ] Clean control queues only when they are initialized. One of the ways to validate if the basic initialization is done

[PATCH 4.18 198/228] ice: Fix bugs in control queue processing

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Anirudh Venkataramanan [ Upstream commit 3d6b640efcc1b07709b42dd2e9609401c6f88633 ] This patch is a consolidation of multiple bug fixes for control queue processing. 1) In ice_clean_adminq_s

[PATCH 4.18 196/228] ice: Report stats for allocated queues via ethtool stats

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Keller [ Upstream commit f8ba7db850350319348b6d3c276f8ba19bc098ef ] It is not safe to have the string table for statistics change order or size over the lifetime of a given netdevice. Th

[PATCH 4.18 166/228] ACPI / hotplug / PCI: Dont scan for non-hotplug bridges if slot is not bridge

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Mika Westerberg commit f188b99f0b2d33794b4af8a225f95d1e968c0a3f upstream. HP 6730b laptop has an ethernet NIC connected to one of the PCIe root ports. The root ports themselves are native PCI

[PATCH 4.18 202/228] ice: Fix a few null pointer dereference issues

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Anirudh Venkataramanan [ Upstream commit c7f2c42b80ed6009f44e355aefc1e40db9485a9d ] 1) When ice_ena_msix_range() fails to reserve vectors, a devm_kfree() warning was seen in the error flow

[PATCH 4.18 201/228] tools: bpftool: return from do_event_pipe() on bad arguments

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Quentin Monnet [ Upstream commit 785e76d7a2051a9e28b9134d5388a45b16f5eb72 ] When command line parsing fails in the while loop in do_event_pipe() because the number of arguments is incorrect or

[PATCH 4.18 199/228] ice: Use order_base_2 to calculate higher power of 2

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Keller [ Upstream commit 1eb43fc754485d772b1165118a8fb80c385f0492 ] Currently, we use a combination of ilog2 and is_power_of_2() to calculate the next power of 2 for the qcount. This app

[PATCH 4.18 162/228] IB/hfi1: Fix SL array bounds check

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Ira Weiny commit 0dbfaa9f2813787679e296eb5476e40938ab48c8 upstream. The SL specified by a user needs to be a valid SL. Add a range check to the user specified SL value which protects from run

[PATCH 4.18 217/228] nvme-fcloop: Fix dropped LSs to removed target port

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: James Smart [ Upstream commit afd299ca996929f4f98ac20da0044c0cdc124879 ] When a targetport is removed from the config, fcloop will avoid calling the LS done() routine thinking the targetport i

[PATCH 4.18 170/228] ARM: OMAP2+: Fix module address for modules using mpu_rt_idx

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Tony Lindgren [ Upstream commit 1dbcb97c656eed1a244c960b8b3a469c3d20ce7b ] If we use device tree data for a module interconnect target we want to map the control registers from the module star

[PATCH 4.18 215/228] drm/amdgpu: Update power state at the end of smu hw_init.

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Rex Zhu [ Upstream commit 2ab4d0e74256fc49b7b270f63c1d1e47c2455abc ] For SI/Kv, the power state is managed by function amdgpu_pm_compute_clocks. when dpm enabled, we should call amdgpu_pm_com

[PATCH 4.18 169/228] ARM: OMAP2+: Fix null hwmod for ti-sysc debug

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Tony Lindgren [ Upstream commit 4769c003e0fcff0ee001a9102e2605bdaa5880f0 ] We may call omap_hwmod_parse_module_range() with no hwmod allocated yet and may have debug enabled. Let's fix this by

[PATCH 4.18 219/228] drm/amdgpu: Need to set moved to true when evict bo

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Emily Deng [ Upstream commit 6ddd9769db4fc11a98bd7e58be1764e47fdb8384 ] Fix the VMC page fault when the running sequence is as below: 1.amdgpu_gem_create_ioctl 2.ttm_bo_swapout->amdgpu_vm_bo_i

[PATCH 4.18 205/228] e1000: ensure to free old tx/rx rings in set_ringparam()

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Bo Chen [ Upstream commit ee400a3f1bfe7004a3e14b81c38ccc5583c26295 ] In 'e1000_set_ringparam()', the tx_ring and rx_ring are updated with new value and the old tx/rx rings are freed only when

Re: [PATCH v3 1/2] [media] imx214: device tree binding

2018-10-02 Thread Sakari Ailus
Hi Laurent, On Tue, Oct 02, 2018 at 04:47:55PM +0300, Laurent Pinchart wrote: > Hi Ricardo, > > Thank you for the patch. > > On Tuesday, 2 October 2018 16:30:57 EEST Ricardo Ribalda Delgado wrote: ... > > +- clock-frequency = Frequency of the xclk clock. (Currently the > > + driver only supp

[PATCH 4.18 224/228] x86/pti: Fix section mismatch warning/error

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Randy Dunlap [ Upstream commit ff924c5a1ec7548825cc2d07980b03be4224ffac ] Fix the section mismatch warning in arch/x86/mm/pti.c: WARNING: vmlinux.o(.text+0x6972a): Section mismatch in referen

[PATCH 4.18 223/228] clk: x86: Set default parent to 48Mhz

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Akshu Agrawal [ Upstream commit bded6c03e398dc6e862dc8301fb9a60175740653 ] System clk provided in ST soc can be set to: 48Mhz, non-spread 25Mhz, spread To get accurate rate, we need it to set

[PATCH 4.18 216/228] ata: ftide010: Add a quirk for SQ201

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Linus Walleij [ Upstream commit 46cb52ad414ac829680d0bb8cc7090ac2b577ca7 ] The DMA is broken on this specific device for some unknown reason (probably badly designed or plain broken interface

[PATCH 4.18 221/228] arm/arm64: smccc-1.1: Handle function result as parameters

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier [ Upstream commit 755a8bf5579d22eb5636685c516d8dede799e27b ] If someone has the silly idea to write something along those lines: extern u64 foo(void); void bar(s

[PATCH v3 1/2] [media] imx214: device tree binding

2018-10-02 Thread Ricardo Ribalda Delgado
Document bindings for imx214 camera sensor Cc: devicet...@vger.kernel.org Signed-off-by: Ricardo Ribalda Delgado --- Changelog v2: Laurent Pinchart: -Spell checks -Remove frequency -Identation -Data lanes order Thanks! .../devicetree/bindings/media/i2c/imx214.txt | 52 +++ 1

[PATCH 4.18 218/228] ARM: dts: omap4-droid4: Fix emmc errors seen on some devices

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Tony Lindgren [ Upstream commit 2d59bb602314a4b2593fde267734266b5e872dd0 ] Otherwise we can get the following errors occasionally on some devices: mmc1: tried to HW reset card, got error -110

[PATCH 4.18 222/228] i2c: i801: Allow ACPI AML access I/O ports not reserved for SMBus

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Mika Westerberg [ Upstream commit 7fd6d98b89f382d414e1db528e29a67bbd749457 ] Commit 7ae81952cda ("i2c: i801: Allow ACPI SystemIO OpRegion to conflict with PCI BAR") made it possible for AML co

Re: [PATCH 0/5] locking/lockdep: Improve lockdep performance

2018-10-02 Thread Waiman Long
On 10/02/2018 05:06 AM, Ingo Molnar wrote: > * Waiman Long wrote: > >> Enabling CONFIG_LOCKDEP and other related debug options will greatly >> reduce system performance. This patchset aims to reduce the performance >> slowdown caused by the lockdep code. >> >> Patch 1 just removes an inline functi

[PATCH 4.18 227/228] powerpc/pkeys: Fix reading of ibm, processor-storage-keys property

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Thiago Jung Bauermann commit c716a25b9b70084e1144f77423f5aedd772ea478 upstream. scan_pkey_feature() uses of_property_read_u32_array() to read the ibm,processor-storage-keys property and calls

[PATCH 4.18 206/228] ixgbe: fix driver behaviour after issuing VFLR

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Basierski [ Upstream commit 939b701ad63314f5aa90dcd3d866f73954945209 ] Since VFLR doesn't clear VFMBMEM (VF Mailbox Memory) and is not re-enabling queues correctly we should fix this

[PATCH 4.18 208/228] i40e: fix condition of WARN_ONCE for stat strings

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Jacob Keller [ Upstream commit 07f3701387dcab3a4fb0166098fb2754a1b927e1 ] Commit 9b10df596bd4 ("i40e: use WARN_ONCE to replace the commented BUG_ON size check") introduced a warning check to m

[PATCH 4.18 207/228] i40e: Fix for Tx timeouts when interface is brought up if DCB is enabled

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Martyna Szapar [ Upstream commit fa38e30ac73fbb01d7e5d0fd1b12d412fa3ac3ee ] If interface is connected to switch port configured for DCB there are TX timeouts when bringing up interface. Proble

[PATCH 4.14 010/137] uwb: hwa-rc: fix memory leak at probe

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Anton Vasilyev [ Upstream commit 11b71782c1d10d9bccc31825cf84291cd7588a1e ] hwarc_probe() allocates memory for hwarc, but does not free it if uwb_rc_add() or hwarc_get_version() fail. Found b

[PATCH 4.18 211/228] hwmon: (ina2xx) fix sysfs shunt resistor read access

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Lothar Felten [ Upstream commit 3ad867001c91657c46dcf6656d52eb6080286fd5 ] fix the sysfs shunt resistor read access: return the shunt resistor value, not the calibration register contents. up

[PATCH 4.18 209/228] crypto: chtls - fix null dereference chtls_free_uld()

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Ganesh Goudar [ Upstream commit 65b2c12dcdb883fc015c0ec65d6c2f857e0456ac ] call chtls_free_uld() only for the initialized cdev, this fixes NULL dereference in chtls_free_uld() Signed-off-by:

[PATCH 4.18 210/228] crypto: cavium/nitrox - fix for command corruption in queue full case with backlog submissions.

2018-10-02 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Srikanth Jampala [ Upstream commit 3d7c82060d1fe65bde4023aac41a0b1bd7718e07 ] Earlier used to post the current command without checking queue full after backlog submissions. So, post the

[PATCH 4.14 001/137] crypto: skcipher - Fix -Wstringop-truncation warnings

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Stafford Horne [ Upstream commit cefd769fd0192c84d638f66da202459ed8ad63ba ] As of GCC 9.0.0 the build is reporting warnings like: crypto/ablkcipher.c: In function ‘crypto_ablkcipher_repor

[PATCH 4.14 003/137] tsl2550: fix lux1_input error in low light

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Matt Ranostay [ Upstream commit ce054546cc2c26891cefa2f284d90d93b52205de ] ADC channel 0 photodiode detects both infrared + visible light, but ADC channel 1 just detects infrared. However, the

[PATCH 4.14 002/137] iio: adc: ina2xx: avoid kthread_stop() with stale task_struct

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita [ Upstream commit 7d6cd21d82bacab2d1786fe5e989e4815b75d9a3 ] When the buffer is enabled for ina2xx driver, a dedicated kthread is invoked to capture mesurement data. When the buf

[PATCH 4.14 005/137] x86/numa_emulation: Fix emulated-to-physical node mapping

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams [ Upstream commit 3b6c62f363a19ce82bf378187ab97c9dc01e3927 ] Without this change the distance table calculation for emulated nodes may use the wrong numa node and report an incorr

[PATCH 4.14 009/137] serial: sh-sci: Stop RX FIFO timer during port shutdown

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Geert Uytterhoeven [ Upstream commit c5a9262fa8bfed0dddc7466ef10fcd292e2af61b ] The RX FIFO timer may be armed when the port is shut down, hence the timer function may still be called afterwar

[PATCH 4.14 006/137] staging: rts5208: fix missing error check on call to rtsx_write_register

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Colin Ian King [ Upstream commit c5fae4f4fd28189b1062fb8ef7b21fec37cb8b17 ] Currently the check on error return from the call to rtsx_write_register is checking the error status from the previ

[PATCH 4.14 013/137] Bluetooth: Add a new Realtek 8723DE ID 0bda:b009

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jian-Hong Pan [ Upstream commit 45ae68b8cfc25bdbffc11248001c47ab1b76ff6e ] Without this patch we cannot turn on the Bluethooth adapter on HP 14-bs007la. T: Bus=01 Lev=02 Prnt=03 Port=00 Cnt=

[PATCH 4.14 000/137] 4.14.74-stable review

2018-10-02 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.14.74 release. There are 137 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 Oct 4 13:24:18 UTC 2018. Anything recei

[PATCH 4.14 024/137] IB/mlx4: Test port number before querying type.

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Tarick Bedeir [ Upstream commit f1228867adaf8890826f2b59e4caddb1c5cc2df7 ] rdma_ah_find_type() can reach into ib_device->port_immutable with a potentially out-of-bounds port number, so check t

Re: [PATCH] mm: Introduce new function vm_insert_kmem_page

2018-10-02 Thread Michal Hocko
On Fri 28-09-18 17:57:17, Souptick Joarder wrote: > On Fri, Sep 28, 2018 at 12:02 AM Michal Hocko wrote: > > > > On Thu 27-09-18 23:21:23, Souptick Joarder wrote: > > > vm_insert_kmem_page is similar to vm_insert_page and will > > > be used by drivers to map kernel (kmalloc/vmalloc/pages) > > > al

[PATCH 4.14 022/137] IB/core: type promotion bug in rdma_rw_init_one_mr()

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter [ Upstream commit c2d7c8ff89b22ddefb1ac2986c0d48444a667689 ] "nents" is an unsigned int, so if ib_map_mr_sg() returns a negative error code then it's type promoted to a high unsi

Re: [PATCH 2/2] mm, numa: Migrate pages to local nodes quicker early in the lifetime of a task

2018-10-02 Thread Mel Gorman
On Tue, Oct 02, 2018 at 06:11:49PM +0530, Srikar Dronamraju wrote: > > > > diff --git a/kernel/sched/fair.c b/kernel/sched/fair.c > > index 25c7c7e09cbd..7fc4a371bdd2 100644 > > --- a/kernel/sched/fair.c > > +++ b/kernel/sched/fair.c > > @@ -1392,6 +1392,17 @@ bool should_numa_migrate_memory(struct

[PATCH 4.14 025/137] powerpc/kdump: Handle crashkernel memory reservation failure

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Hari Bathini [ Upstream commit 8950329c4a64c6d3ca0bc34711a1afbd9ce05657 ] Memory reservation for crashkernel could fail if there are holes around kdump kernel offset (128M). Fail gracefully in

[PATCH 4.14 035/137] scsi: target: Avoid that EXTENDED COPY commands trigger lock inversion

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche [ Upstream commit 36d4cb460bcbe2a1323732a6e4bb9dd783284368 ] The approach for adding a device to the devices_idr data structure and for removing it is as follows: * &dev->dev_

[PATCH 4.14 036/137] usb: wusbcore: security: cast sizeof to int for comparison

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Julia Lawall [ Upstream commit d3ac5598c5010a878ebbcca3b1c6188ca36b ] Comparing an int to a size, which is unsigned, causes the int to become unsigned, giving the wrong result. usb_get_de

Re: [PATCH] ARM: makefile: use ARMv3M mode for RiscPC

2018-10-02 Thread Arnd Bergmann
On Tue, Oct 2, 2018 at 3:28 PM Ard Biesheuvel wrote: > > On 2 October 2018 at 15:20, Jason A. Donenfeld wrote: > > The purpose of CONFIG_CPU_32v3 is to avoid ldrh/strh on the RiscPC, > > which is pretty much an ARMv4 device, except its bus will choke on the > > half-words. The way to make the C c

[PATCH 4.14 038/137] ath10k: sdio: set skb len for all rx packets

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alagu Sankar [ Upstream commit 8530b4e7b22bc3bd8240579f3844c73947cd5f71 ] Without this, packets larger than 1500 will silently be dropped. Easily reproduced by sending a ping packet with a siz

[PATCH 4.14 037/137] ath10k: sdio: use same endpoint id for all packets in a bundle

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alagu Sankar [ Upstream commit 679e1f07c86221b7183dd69df7068fd42d0041f6 ] All packets in a bundle should use the same endpoint id as the first lookahead. This matches how things are done is a

[PATCH 4.14 039/137] powerpc/powernv/ioda2: Reduce upper limit for DMA window size

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Kardashevskiy [ Upstream commit d3d4ffaae439981e1e441ebb125aa3588627c5d8 ] We use PHB in mode1 which uses bit 59 to select a correct DMA window. However there is mode2 which uses bits 5

[PATCH 4.14 041/137] alarmtimer: Prevent overflow for relative nanosleep

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner [ Upstream commit 5f936e19cc0ef97dbe3a56e9498922ad5ba1edef ] Air Icy reported: UBSAN: Undefined behaviour in kernel/time/alarmtimer.c:811:7 signed integer overflow: 1529

[PATCH 4.14 015/137] 6lowpan: iphc: reset mac_header after decompress to fix panic

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Michael Scott [ Upstream commit 03bc05e1a4972f73b4eb8907aa373369e825c252 ] After decompression of 6lowpan socket data, an IPv6 header is inserted before the existing socket payload. After thi

[PATCH 4.14 043/137] s390/scm_blk: correct numa_node in scm_blk_dev_setup

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Gorbik [ Upstream commit d642d6262f4fcfa5d200ec6e218c17f0c15b3390 ] The numa_node field of the tag_set struct has to be explicitly initialized, otherwise it stays as 0, which is a valid

[PATCH 4.14 044/137] s390/extmem: fix gcc 8 stringop-overflow warning

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Gorbik [ Upstream commit 6b2ddf33baec23dace85bd647e3fc4ac070963e8 ] arch/s390/mm/extmem.c: In function '__segment_load': arch/s390/mm/extmem.c:436:2: warning: 'strncat' specified bound

[PATCH 4.14 046/137] iio: accel: adxl345: convert address field usage in iio_chan_spec

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita [ Upstream commit 9048f1f18a70a01eaa3c8e7166fdb2538929d780 ] Currently the address field in iio_chan_spec is filled with an accel data register address for the corresponding axis.

[PATCH 4.14 047/137] posix-timers: Make forward callback return s64

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner [ Upstream commit 6fec64e1c92d5c715c6d0f50786daa7708266bde ] The posix timer ti_overrun handling is broken because the forwarding functions can return a huge number of overruns

[PATCH 4.14 016/137] iommu/msm: Dont call iommu_device_{,un}link from atomic context

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Niklas Cassel [ Upstream commit 379521462e4add27f3514da8e4ab1fd7a54fe1c7 ] Fixes the following splat during boot: BUG: sleeping function called from invalid context at kernel/locking/mutex.c:

[PATCH 4.14 051/137] media: soc_camera: ov772x: correct setting of banding filter

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita [ Upstream commit 22216ec41e919682c15345e95928f266e8ba6f9e ] The banding filter ON/OFF is controlled via bit 5 of COM8 register. It is attempted to be enabled in ov772x_set_param

[PATCH 4.14 049/137] ALSA: snd-aoa: add of_node_put() in error path

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Mc Guire [ Upstream commit 222bce5eb88d1af656419db04bcd84b2419fb900 ] Both calls to of_find_node_by_name() and of_get_next_child() return a node pointer with refcount incremented thu

[PATCH 4.14 050/137] media: s3c-camif: ignore -ENOIOCTLCMD from v4l2_subdev_call for s_power

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita [ Upstream commit 30ed2b83343bd1e07884ca7355dac70d25ffc158 ] When the subdevice doesn't provide s_power core ops callback, the v4l2_subdev_call for s_power returns -ENOIOCTLCMD.

[PATCH 4.14 048/137] posix-timers: Sanitize overrun handling

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner [ Upstream commit 78c9c4dfbf8c04883941445a195276bb4bb92c76 ] The posix timer overrun handling is broken because the forwarding functions can return a huge number of overruns wh

[PATCH 4.14 052/137] media: omap3isp: zero-initialize the isp cam_xclk{a,b} initial data

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Javier Martinez Canillas [ Upstream commit 2ec7debd44b49927a6e2861521994cc075a389ed ] The struct clk_init_data init variable is declared in the isp_xclk_init() function so is an automatic vari

[PATCH 4.14 018/137] power: remove possible deadlock when unregistering power_supply

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Tissoires [ Upstream commit 3ffa6583e24e1ad1abab836d24bfc9d2308074e5 ] If a device gets removed right after having registered a power_supply node, we might enter in a deadlock between

[PATCH 4.14 068/137] MIPS: boot: fix build rule of vmlinux.its.S

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Masahiro Yamada [ Upstream commit 67e09db507db3e1642ddce512a4313d20addd6e5 ] As Documentation/kbuild/makefile.txt says, it is a typical mistake to forget the FORCE prerequisite for the rule in

[PATCH 4.14 070/137] scsi: bnx2i: add error handling for ioremap_nocache

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Zhouyang Jia [ Upstream commit aa154ea885eb0c2407457ce9c1538d78c95456fa ] When ioremap_nocache fails, the lack of error-handling code may cause unexpected results. This patch adds error-handl

[PATCH 4.14 055/137] media: tm6000: add error handling for dvb_register_adapter

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Zhouyang Jia [ Upstream commit e95d7c6eb94c634852eaa5ff4caf3db05b5d2e86 ] When dvb_register_adapter fails, the lack of error-handling code may cause unexpected results. This patch adds error-

Re: [PATCH v2 1/3] Revert "x86/e820: put !E820_TYPE_RAM regions into memblock.reserved"

2018-10-02 Thread Masayoshi Mizuma
On Tue, Oct 02, 2018 at 11:39:40AM +0200, Ingo Molnar wrote: > > * Masayoshi Mizuma wrote: > > > From: Masayoshi Mizuma > > > > commit 124049decbb1 ("x86/e820: put !E820_TYPE_RAM regions into > > memblock.reserved") breaks movable_node kernel option because it > > changed the memory gap range

[PATCH 4.14 072/137] scsi: megaraid_sas: Update controller info during resume

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Shivasharan S [ Upstream commit c3b10a55abc943a526aaecd7e860b15671beb906 ] There is a possibility that firmware on the controller was upgraded before system was suspended. During resume, drive

[PATCH 4.14 074/137] ASoC: dapm: Fix potential DAI widget pointer deref when linking DAIs

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Liam Girdwood [ Upstream commit e01b4f624278d5efe5fb5da585ca371947b16680 ] Sometime a component or topology may configure a DAI widget with no private data leading to a dev_dbg() dereferencne

[PATCH 4.14 073/137] EDAC, i7core: Fix memleaks and use-after-free on probe and remove

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold [ Upstream commit 6c974d4dfafe5e9ee754f2a6fba0eb1864f1649e ] Make sure to free and deregister the addrmatch and chancounts devices allocated during probe in all error paths. Also

[PATCH 4.14 076/137] gpio: Fix wrong rounding in gpio-menz127

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Nadav Amit [ Upstream commit 7279d9917560bbd0d82813d6bf00490a82c06783 ] men_z127_debounce() tries to round up and down, but uses functions which are only suitable when the divider is a power o

[PATCH 4.14 080/137] Input: xen-kbdfront - fix multi-touch XenStore nodes locations

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Oleksandr Andrushchenko [ Upstream commit ce6f7d087e2b037f47349c1c36ac97678d02e394 ] kbdif protocol describes multi-touch device parameters as a part of frontend's XenBus configuration nodes w

[PATCH 4.14 079/137] fs/lock: skip lock owner pid translation in case we are in init_pid_ns

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Konstantin Khorenko [ Upstream commit 826d7bc9f013d01e92997883d2fd0c25f4af1f1c ] If the flock owner process is dead and its pid has been already freed, pid translation won't work, but we still

Re: [PATCH v7 03/14] PM: Introduce an Energy Model management framework

2018-10-02 Thread Peter Zijlstra
On Tue, Oct 02, 2018 at 01:54:17PM +0100, Quentin Perret wrote: > On Tuesday 02 Oct 2018 at 14:25:35 (+0200), Peter Zijlstra wrote: > > Should we explicitly mention that this ignores idle costs? > > More doc shouldn't hurt so I can add a little something if you feel it's > needed. Yes please, ev

[PATCH 4.14 082/137] ARM: dts: dra7: fix DCAN node addresses

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Kevin Hilman [ Upstream commit 949bdcc8a97c6078f21c8d4966436b117f2e4cd3 ] Fix the DT node addresses to match the reg property addresses, which were verified to match the TRM: http://www.ti.com

[PATCH 4.14 085/137] tty: serial: lpuart: avoid leaking struct tty_struct

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Agner commit 3216c622a24b0ebb9c159a8d1daf7f17a106b3f5 upstream. The function tty_port_tty_get() gets a reference to the tty. Since the code is not using tty_port_tty_set(), the referenc

[PATCH 4.14 086/137] serial: cpm_uart: return immediately from console poll

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Leroy commit be28c1e3ca29887e207f0cbcd294cefe5074bab6 upstream. kgdb expects poll function to return immediately and returning NO_POLL_CHAR when no character is available. Fixes: f

[PATCH 4.14 084/137] x86/mm: Expand static page table for fixmap space

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Feng Tang commit 05ab1d8a4b36ee912b7087c6da127439ed0a903e upstream. We met a kernel panic when enabling earlycon, which is due to the fixmap address of earlycon is not statically setup. Curre

[PATCH 4.14 087/137] intel_th: Fix device removal logic

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Shishkin commit 8801922cd94c918e4dc3a108ecaa500c4d40583f upstream. Commit a753bfcfdb1f ("intel_th: Make the switch allocate its subdevices") brings in new subdevice addition/removal

[PATCH 4.14 088/137] spi: tegra20-slink: explicitly enable/disable clock

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Marcel Ziswiler commit 7001cab1dabc0b72b2b672ef58a90ab64f5e2343 upstream. Depending on the SPI instance one may get an interrupt storm upon requesting resp. interrupt unless the clock is expli

Re: [PATCH v7 03/14] PM: Introduce an Energy Model management framework

2018-10-02 Thread Peter Zijlstra
On Tue, Oct 02, 2018 at 01:51:17PM +0100, Quentin Perret wrote: > On Tuesday 02 Oct 2018 at 14:30:31 (+0200), Peter Zijlstra wrote: > > On Wed, Sep 12, 2018 at 10:12:58AM +0100, Quentin Perret wrote: > > > +/** > > > + * em_register_perf_domain() - Register the Energy Model of a > > > performance

[PATCH 4.14 090/137] spi: sh-msiof: Fix handling of write value for SISTR register

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Hiromitsu Yamasaki commit 31a5fae4c5a009898da6d177901d5328051641ff upstream. This patch changes writing to the SISTR register according to the H/W user's manual. The TDREQ bit and RDREQ bits

[PATCH 4.14 089/137] spi: sh-msiof: Fix invalid SPI use during system suspend

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Gaku Inami commit ffa69d6a16f686efe45269342474e421f2aa58b2 upstream. If the SPI queue is running during system suspend, the system may lock up. Fix this by stopping/restarting the queue durin

[PATCH 4.14 093/137] regulator: fix crash caused by null driver data

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Yu Zhao commit fb6de923ca3358a91525552b4907d4cb38730bdd upstream. dev_set_drvdata() needs to be called before device_register() exposes device to userspace. Otherwise kernel crashes after it g

Re: [PATCH 4/4] PCI: imx: Add PME_Turn_Off support

2018-10-02 Thread Lorenzo Pieralisi
On Mon, Oct 01, 2018 at 10:53:48PM +0300, Leonard Crestez wrote: > When the root complex suspends it must send a PME_Turn_Off TLP. > Implement this by asserting the "turnoff" reset. > > On imx7d this is functionality is part of the SRC and exposed through > the linux reset-controller subsystem. On

[PATCH 4.14 057/137] net: phy: xgmiitorgmii: Check read_status results

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Brandon Maier [ Upstream commit 8d0752d11312be830c33e84dfd1016e6a47c2938 ] We're ignoring the result of the attached phy device's read_status(). Return it so we can detect errors. Signed-off-

[PATCH 4.14 058/137] ath10k: protect ath10k_htt_rx_ring_free with rx_ring.lock

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Ben Greear [ Upstream commit 168f75f11fe68455e0d058a818ebccfc329d8685 ] While debugging driver crashes related to a buggy firmware crashing under load, I noticed that ath10k_htt_rx_ring_free c

[PATCH 4.14 060/137] drm/sun4i: Fix releasing node when enumerating enpoints

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Jernej Skrabec [ Upstream commit 367c359aa8637b15ee8df6335c5a29b7623966ec ] sun4i_drv_add_endpoints() has a memory leak since it uses of_node_put() when remote is equal to NULL and does nothin

[PATCH 4.14 053/137] staging: android: ashmem: Fix mmap size validation

2018-10-02 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Alistair Strachan [ Upstream commit 8632c614565d0c5fdde527889601c018e97b6384 ] The ashmem driver did not check that the size/offset of the vma passed to its .mmap() function was not larger tha

<    1   2   3   4   5   6   7   8   9   10   >