[PATCH 4.4 21/23] pnfs/blocklayout: require 64-bit sector_t

2017-08-14 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit 8a9d6e964d318533ba3d2901ce153ba317c99a89 upstream. The blocklayout code does not compile cleanly for a 32-bit sector_t, and also has no reliable checks for devices size

[PATCH 4.9 01/41] mm: ratelimit PFNs busy info message

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Jonathan Toppins commit 75dddef32514f7aa58930bde6a1263253bc3d4ba upstream. The RDMA subsystem can generate several thousand of these messages per second eventually leading to a kernel crash. R

[PATCH 4.4 20/23] iio: adc: vf610_adc: Fix VALT selection value for REFSEL bits

2017-08-14 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Stefan-Gabriel Mirea commit d466d3c1217406b14b834335b5b4b33c0d45bd09 upstream. In order to select the alternate voltage reference pair (VALTH/VALTL), the right value for the REFSEL field in the

[PATCH 4.4 19/23] usb:xhci:Add quirk for Certain failing HP keyboard on reset after resume

2017-08-14 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Sandeep Singh commit e788787ef4f9c24aafefc480a8da5f92b914e5e6 upstream. Certain HP keyboards would keep inputting a character automatically which is the wake-up key after S3 resume On some AMD

[PATCH 4.9 11/41] fuse: initialize the flock flag in fuse_file on allocation

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mateusz Jurczyk commit 68227c03cba84a24faf8a7277d2b1a03c8959c2c upstream. Before the patch, the flock flag could remain uninitialized for the lifespan of the fuse_file allocation. Unless set to

Re: [PATCH 1/2] sched/wait: Break up long wake list walk

2017-08-14 Thread Linus Torvalds
On Mon, Aug 14, 2017 at 5:52 PM, Tim Chen wrote: > We encountered workloads that have very long wake up list on large > systems. A waker takes a long time to traverse the entire wake list and > execute all the wake functions. > > We saw page wait list that are up to 3700+ entries long in tests of

[PATCH -mm -v2] mm: Clear to access sub-page last when clearing huge page

2017-08-14 Thread Huang, Ying
From: Huang Ying Huge page helps to reduce TLB miss rate, but it has higher cache footprint, sometimes this may cause some issue. For example, when clearing huge page on x86_64 platform, the cache footprint is 2M. But on a Xeon E5 v3 2699 CPU, there are 18 cores, 36 threads, and only 45M LLC (l

[PATCH 4.9 12/41] nand: fix wrong default oob layout for small pages using soft ecc

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Miquel Raynal commit f7f8c1756e9a5f1258a7cc6b663f8451b724900f upstream. When using soft ecc, if no ooblayout is given, the core automatically uses one of the nand_ooblayout_{sp,lp}*() functions

[PATCH 4.9 10/41] target: Fix node_acl demo-mode + uncached dynamic shutdown regression

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 6f48655facfd7f7ccfe6d252ac0fe319ab02e4dd upstream. This patch fixes a generate_node_acls = 1 + cache_dynamic_acls = 0 regression, that was introduced by commit 01d4

[PATCH 4.9 14/41] nfs/flexfiles: fix leak of nfs4_ff_ds_version arrays

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Weston Andros Adamson commit 1feb26162bee7b2f110facfec71b5c7bdbc7d14d upstream. The client was freeing the nfs4_ff_layout_ds, but not the contained nfs4_ff_ds_version array. Signed-off-by: Wes

[PATCH 4.9 13/41] mmc: mmc: correct the logic for setting HS400ES signal voltage

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Haibo Chen commit 92ddd95919466de5d34f3cb43635da9a7f9ab814 upstream. Change the default err value to -EINVAL, make sure the card only has type EXT_CSD_CARD_TYPE_HS400_1_8V also do the signal vo

[PATCH 4.9 16/41] drm/i915: Fix out-of-bounds array access in bdw_load_gamma_lut

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Maarten Lankhorst commit 5279fc7724ae3a82c9cfe5b09c1fb07ff0e41056 upstream. bdw_load_gamma_lut is writing beyond the array to the maximum value. The intend of the function is to clamp values >

[PATCH 4.9 15/41] drm/etnaviv: Fix off-by-one error in reloc checking

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Wladimir J. van der Laan commit d6f756e09f01ea7a0efbbcef269a1e384a35d824 upstream. A relocation pointing to the last four bytes of a buffer can legitimately happen in the case of small vertex b

[PATCH 4.4 22/23] pinctrl: sunxi: add a missing function of A10/A20 pinctrl driver

2017-08-14 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Icenowy Zheng commit d81ece747d8727bb8b1cfc9a20dbe62f09a4e35a upstream. The PH16 pin has a function with mux id 0x5, which is the DET pin of the "sim" (smart card reader) IP block. This functi

[PATCH 4.9 17/41] USB: serial: option: add D-Link DWM-222 device ID

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Hector Martin commit fd1b8668af59a11bb754a6c9b0051c6c5ce73b74 upstream. Add device id for D-Link DWM-222. Signed-off-by: Hector Martin Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-H

[PATCH 4.9 19/41] USB: serial: pl2303: add new ATEN device id

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman commit 3b6bcd3d093c698d32e93d4da57679b8fbc5e01e upstream. This adds a new ATEN device id for a new pl2303-based device. Reported-by: Peter Kuo Cc: Johan Hovold Signed-off-

[PATCH 4.9 18/41] USB: serial: cp210x: add support for Qivicon USB ZigBee dongle

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Triller commit 9585e340db9f6cc1c0928d82c3a23cc4460f0a3f upstream. The German Telekom offers a ZigBee USB Stick under the brand name Qivicon for their SmartHome Home Base in its 1. Genera

Re: [PATCH] f2fs: let fill_super handle roll-forward errors

2017-08-14 Thread Chao Yu
Hi Jaegeuk, On 2017/8/11 8:42, Jaegeuk Kim wrote: > If we set CP_ERROR_FLAG in roll-forward error, f2fs is no longer to proceed > any IOs due to f2fs_cp_error(). But, for example, if some stale data is > involved > on roll-forward process, we're able to get -ENOENT, getting fs stuck. > If we get

[PATCH 4.9 21/41] USB: hcd: Mark secondary HCD as dead if the primary one died

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Rafael J. Wysocki commit cd5a6a4fdaba150089af2afc220eae0fef74878a upstream. Make usb_hc_died() clear the HCD_FLAG_RH_RUNNING flag for the shared HCD and set HCD_FLAG_DEAD for it, in analogy wit

Re: [PATCH v2] sctp: fully initialize the IPv6 address in sctp_v6_to_addr()

2017-08-14 Thread 吉藤英明
Hi, 2017-08-15 3:43 GMT+09:00 Alexander Potapenko : > KMSAN reported use of uninitialized sctp_addr->v4.sin_addr.s_addr and > sctp_addr->v6.sin6_scope_id in sctp_v6_cmp_addr() (see below). > Make sure all fields of an IPv6 address are initialized, which > guarantees that the IPv4 fields are also i

[PATCH 4.9 20/41] usb: musb: fix tx fifo flush handling again

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Bin Liu commit 45d73860530a14c608f410b91c6c341777bfa85d upstream. commit 68fe05e2a451 ("usb: musb: fix tx fifo flush handling") drops the 1ms delay trying to solve the long disconnect time issu

[PATCH 4.9 02/41] mm: fix list corruptions on shmem shrinklist

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang commit d041353dc98a6339182cd6f628b4c8f111278cb3 upstream. We saw many list corruption warnings on shmem shrinklist: WARNING: CPU: 18 PID: 177 at lib/list_debug.c:59 __list_del_entr

[PATCH 4.9 07/41] mtd: nand: Fix timing setup for NANDs that do not support SET FEATURES

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Boris Brezillon commit a11bf5ed951f8900d244d09eb03a888b59c7fc82 upstream. Some ONFI NANDs do not support the SET/GET FEATURES commands, which, according to the spec, is perfectly valid. On the

[PATCH 4.9 05/41] xtensa: mm/cache: add missing EXPORT_SYMBOLs

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit bc652eb6a0d5cffaea7dc8e8ad488aab2a1bf1ed upstream. Functions clear_user_highpage, copy_user_highpage, flush_dcache_page, local_flush_cache_range and local_flush_cache_page m

[PATCH 4.4 23/23] pinctrl: samsung: Remove bogus irq_[un]mask from resource management

2017-08-14 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 3fa53ec2ed885b0aec3f0472e3b4a8a6f1cd748c upstream. The irq chip callbacks irq_request/release_resources() have absolutely no business with masking and unmasking the irq.

[PATCH 4.9 04/41] xtensa: fix cache aliasing handling code for WT cache

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit 6d0f581d1768d3eaba15776e7dd1fdfec10cfe36 upstream. Currently building kernel for xtensa core with aliasing WT cache fails with the following messages: mm/memory.c:2152: u

[PATCH 4.9 03/41] futex: Remove unnecessary warning from get_futex_key

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit 48fb6f4db940e92cfb16cd878cddd59ea6120d06 upstream. Commit 65d8fc777f6d ("futex: Remove requirement for lock_page() in get_futex_key()") removed an unnecessary lock_page() with

[PATCH 4.9 00/41] 4.9.44-stable review

2017-08-14 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.9.44 release. There are 41 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 Aug 17 01:17:56 UTC 2017. Anything receive

[PATCH 4.9 06/41] xtensa: dont limit csum_partial export by CONFIG_NET

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit 7f81e55c737a8fa82c71f290945d729a4902f8d2 upstream. csum_partial and csum_partial_copy_generic are defined unconditionally and are available even when CONFIG_NET is disabled.

[PATCH 4.9 23/41] iio: accel: bmc150: Always restore device to normal mode after suspend-resume

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit e59e18989c68a8d7941005f81ad6abc4ca682de0 upstream. After probe we would put the device in normal mode, after a runtime suspend-resume we would put it back in normal mode. B

Re: [PATCH v10 3/5] PCI: Disable Relaxed Ordering Attributes for AMD A1100

2017-08-14 Thread Ding Tianhong
On 2017/8/15 1:19, Raj, Ashok wrote: > On Mon, Aug 14, 2017 at 11:44:57PM +0800, Ding Tianhong wrote: >> Casey reported that the AMD ARM A1100 SoC has a bug in its PCIe >> Root Port where Upstream Transaction Layer Packets with the Relaxed >> Ordering Attribute clear are allowed to bypass earlier

[PATCH 4.9 32/41] usb:xhci:Add quirk for Certain failing HP keyboard on reset after resume

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sandeep Singh commit e788787ef4f9c24aafefc480a8da5f92b914e5e6 upstream. Certain HP keyboards would keep inputting a character automatically which is the wake-up key after S3 resume On some AMD

[PATCH 4.9 33/41] iio: adc: vf610_adc: Fix VALT selection value for REFSEL bits

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Stefan-Gabriel Mirea commit d466d3c1217406b14b834335b5b4b33c0d45bd09 upstream. In order to select the alternate voltage reference pair (VALTH/VALTL), the right value for the REFSEL field in the

[PATCH 4.9 08/41] iscsi-target: fix memory leak in iscsit_setup_text_cmd()

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Varun Prakash commit ea8dc5b4cd2195ee582cae28afa4164c6dea1738 upstream. On receiving text request iscsi-target allocates buffer for payload in iscsit_handle_text_cmd() and assigns buffer pointe

[PATCH 4.9 35/41] pinctrl: sunxi: add a missing function of A10/A20 pinctrl driver

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Icenowy Zheng commit d81ece747d8727bb8b1cfc9a20dbe62f09a4e35a upstream. The PH16 pin has a function with mux id 0x5, which is the DET pin of the "sim" (smart card reader) IP block. This functi

[PATCH 4.9 39/41] pinctrl: samsung: Remove bogus irq_[un]mask from resource management

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 3fa53ec2ed885b0aec3f0472e3b4a8a6f1cd748c upstream. The irq chip callbacks irq_request/release_resources() have absolutely no business with masking and unmasking the irq.

[PATCH 4.9 09/41] iscsi-target: Fix iscsi_np reset hung task during parallel delete

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 978d13d60c34818a41fc35962602bdfa5c03f214 upstream. This patch fixes a bug associated with iscsit_reset_np_thread() that can occur during parallel configfs rmdir of a s

[PATCH 4.9 34/41] pnfs/blocklayout: require 64-bit sector_t

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit 8a9d6e964d318533ba3d2901ce153ba317c99a89 upstream. The blocklayout code does not compile cleanly for a 32-bit sector_t, and also has no reliable checks for devices size

[PATCH 4.9 38/41] pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD20

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Masahiro Yamada commit 1bd303dc04c3f744474e77c153575087b657f7e1 upstream. The pingroups dump of debugfs hits WARN_ON() in pinctrl_groups_show(). Filling non-existing ports with '-1' turned out

[PATCH 4.9 37/41] pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD11

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Masahiro Yamada commit 9592bc256d50481dfcdba93890e576a728fb373c upstream. The pingroups dump of debugfs hits WARN_ON() in pinctrl_groups_show(). Filling non-existing ports with '-1' turned out

[PATCH 4.9 40/41] pinctrl: meson-gxbb: Add missing GPIODV_18 pin entry

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Neil Armstrong commit 34e61801a3b9df74b69f0e359d64a197a77dd6ac upstream. GPIODV_18 entry was missing in the original driver push. Fixes: 468c234f9ed7 ("pinctrl: amlogic: Add support for Amlogi

[PATCH 4.9 36/41] pinctrl: intel: merrifield: Correct UART pin lists

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 5d996132d921c391af5f267123eca1a6a3148ecd upstream. UART pin lists consist GPIO numbers which is simply wrong. Replace it by pin numbers. Fixes: 4e80c8f50574 ("pinctrl: i

[PATCH 4.9 25/41] staging: comedi: comedi_fops: do not call blocking ops when !TASK_RUNNING

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Ian Abbott commit cef988642cdac44e910a27cb6e8166c96f86a0df upstream. Comedi's read and write file operation handlers (`comedi_read()` and `comedi_write()`) currently call `copy_to_user()` or `c

[PATCH 4.9 24/41] iio: light: tsl2563: use correct event code

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Akinobu Mita commit a3507e48d3f99a93a3056a34a5365f310434570f upstream. The TSL2563 driver provides three iio channels, two of which are raw ADC channels (channel 0 and channel 1) in the device

[PATCH 4.9 26/41] uas: Add US_FL_IGNORE_RESIDUE for Initio Corporation INIC-3069

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alan Swanson commit 89f23d51defcb94a5026d4b5da13faf4e1150a6f upstream. Similar to commit d595259fbb7a ("usb-storage: Add ignore-residue quirk for Initio INIC-3619") for INIC-3169 in unusual_dev

[PATCH 4.9 41/41] MIPS: DEC: Fix an int-handler.S CPU_DADDI_WORKAROUNDS regression

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Maciej W. Rozycki commit 68fe55680d0f3342969f49412fceabb90bdfadba upstream. Fix a commit 3021773c7c3e ("MIPS: DEC: Avoid la pseudo-instruction in delay slots") regression and remove assembly er

[PATCH 4.9 30/41] usb: core: unlink urbs from the tail of the endpoints urb_list

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Bin Liu commit 2eac13624364db5b5e1666ae0bb3a4d36bc56b6e upstream. While unlink an urb, if the urb has been programmed in the controller, the controller driver might do some hw related actions t

[PATCH 4.9 29/41] USB: Check for dropped connection before switching to full speed

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 94c43b9897abf4ea366ed4dba027494e080c7050 upstream. Some buggy USB disk adapters disconnect and reconnect multiple times during the enumeration procedure. This may lead to a d

[PATCH 4.9 31/41] usb: quirks: Add no-lpm quirk for Moshi USB to Ethernet Adapter

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit 7496cfe5431f21da5d27a8388c326397e3f0a5db upstream. Moshi USB to Ethernet Adapter internally uses a Genesys Logic hub to connect to Realtek r8153. The Realtek r8153 etherne

[PATCH 4.9 28/41] usb: renesas_usbhs: Fix UGCTRL2 value for R-Car Gen3

2017-08-14 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit 2acecd58969897795cf015c9057ebd349a3fda8a upstream. The latest HW manual (Rev.0.55) shows us this UGCTRL2.VBUSSEL bit. If the bit sets to 1, the VBUS drive is controlled

[PATCH 4.12 02/65] mm: fix list corruptions on shmem shrinklist

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Cong Wang commit d041353dc98a6339182cd6f628b4c8f111278cb3 upstream. We saw many list corruption warnings on shmem shrinklist: WARNING: CPU: 18 PID: 177 at lib/list_debug.c:59 __list_del_ent

[PATCH 4.12 14/65] usb-storage: fix deadlock involving host lock and scsi_done

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 8b52291a0743fc4db4a7495c846a6f31ee84d282 upstream. Christoph Hellwig says that since version 4.12, the kernel switched to using blk-mq by default. The old code used a softir

[PATCH 4.12 12/65] iscsi-target: fix memory leak in iscsit_setup_text_cmd()

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Varun Prakash commit ea8dc5b4cd2195ee582cae28afa4164c6dea1738 upstream. On receiving text request iscsi-target allocates buffer for payload in iscsit_handle_text_cmd() and assigns buffer point

[PATCH 4.12 13/65] iscsi-target: Fix iscsi_np reset hung task during parallel delete

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 978d13d60c34818a41fc35962602bdfa5c03f214 upstream. This patch fixes a bug associated with iscsit_reset_np_thread() that can occur during parallel configfs rmdir of a

[PATCH 4.12 15/65] target: Fix node_acl demo-mode + uncached dynamic shutdown regression

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 6f48655facfd7f7ccfe6d252ac0fe319ab02e4dd upstream. This patch fixes a generate_node_acls = 1 + cache_dynamic_acls = 0 regression, that was introduced by commit 01d

[PATCH 4.12 01/65] mm: ratelimit PFNs busy info message

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Jonathan Toppins commit 75dddef32514f7aa58930bde6a1263253bc3d4ba upstream. The RDMA subsystem can generate several thousand of these messages per second eventually leading to a kernel crash.

[PATCH 4.12 16/65] fuse: initialize the flock flag in fuse_file on allocation

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Mateusz Jurczyk commit 68227c03cba84a24faf8a7277d2b1a03c8959c2c upstream. Before the patch, the flock flag could remain uninitialized for the lifespan of the fuse_file allocation. Unless set t

[PATCH 4.12 00/65] 4.12.8-stable review

2017-08-14 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.12.8 release. There are 65 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 Aug 17 01:19:27 UTC 2017. Anything receive

[PATCH 4.12 18/65] nand: fix wrong default oob layout for small pages using soft ecc

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Miquel Raynal commit f7f8c1756e9a5f1258a7cc6b663f8451b724900f upstream. When using soft ecc, if no ooblayout is given, the core automatically uses one of the nand_ooblayout_{sp,lp}*() function

[PATCH 4.12 17/65] i2c: designware: Some broken DSTDs use 1MiHz instead of 1MHz

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 682c6c2188f39d13548ccdc89c9888fbcb547889 upstream. At least the Acer Iconia Tab8 / aka W1-810 uses 1MiHz instead of 1MHz for one of its busses, fix this up to 1MHz instead

[PATCH 4.12 11/65] mtd: nand: Declare tBERS, tR and tPROG as u64 to avoid integer overflow

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Boris Brezillon commit 6d29231000bbe0fb9e4893a9c68151ffdd3b5469 upstream. All timings in nand_sdr_timings are expressed in picoseconds but some of them may not fit in an u32. Signed-off-by: B

[PATCH 4.12 21/65] drm/bridge: tc358767: fix probe without attached output node

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Lucas Stach commit d630213f2a47933e1037909273a20023ba3e598d upstream. The output node of the TC358767 is only used if another bridge is chained behind it. Panels attached to the TC358767 can b

[PATCH 4.12 03/65] futex: Remove unnecessary warning from get_futex_key

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Mel Gorman commit 48fb6f4db940e92cfb16cd878cddd59ea6120d06 upstream. Commit 65d8fc777f6d ("futex: Remove requirement for lock_page() in get_futex_key()") removed an unnecessary lock_page() wit

[PATCH 4.12 22/65] drm/etnaviv: Fix off-by-one error in reloc checking

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Wladimir J. van der Laan commit d6f756e09f01ea7a0efbbcef269a1e384a35d824 upstream. A relocation pointing to the last four bytes of a buffer can legitimately happen in the case of small vertex

[PATCH 4.12 20/65] nfs/flexfiles: fix leak of nfs4_ff_ds_version arrays

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Weston Andros Adamson commit 1feb26162bee7b2f110facfec71b5c7bdbc7d14d upstream. The client was freeing the nfs4_ff_layout_ds, but not the contained nfs4_ff_ds_version array. Signed-off-by: We

[lkp-robot] [cgroup] 428ea394a7: BUG:KASAN:null-ptr-deref

2017-08-14 Thread kernel test robot
FYI, we noticed the following commit: commit: 428ea394a71d4abfbd23914d58d764ee07d36c7d ("cgroup: Implement cgroup2 basic CPU usage accounting") https://git.kernel.org/cgit/linux/kernel/git/tj/cgroup.git review-cgroup2-cpu-on-basic-acct in testcase: boot on test machine: qemu-system-x86_64 -en

[PATCH 4.12 19/65] mmc: mmc: correct the logic for setting HS400ES signal voltage

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Haibo Chen commit 92ddd95919466de5d34f3cb43635da9a7f9ab814 upstream. Change the default err value to -EINVAL, make sure the card only has type EXT_CSD_CARD_TYPE_HS400_1_8V also do the signal v

[PATCH 4.12 24/65] USB: serial: option: add D-Link DWM-222 device ID

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Hector Martin commit fd1b8668af59a11bb754a6c9b0051c6c5ce73b74 upstream. Add device id for D-Link DWM-222. Signed-off-by: Hector Martin Signed-off-by: Johan Hovold Signed-off-by: Greg Kroah-

[PATCH 4.12 23/65] drm/i915: Fix out-of-bounds array access in bdw_load_gamma_lut

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Maarten Lankhorst commit 5279fc7724ae3a82c9cfe5b09c1fb07ff0e41056 upstream. bdw_load_gamma_lut is writing beyond the array to the maximum value. The intend of the function is to clamp values >

[PATCH 4.12 04/65] xtensa: fix cache aliasing handling code for WT cache

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit 6d0f581d1768d3eaba15776e7dd1fdfec10cfe36 upstream. Currently building kernel for xtensa core with aliasing WT cache fails with the following messages: mm/memory.c:2152:

[lkp-robot] [cgroup] 7423909233: BUG:unable_to_handle_kernel

2017-08-14 Thread kernel test robot
FYI, we noticed the following commit: commit: 74239092337c458c622385cc2f6a4d12bb52d24e ("cgroup: Implement cgroup2 basic CPU usage accounting") https://git.kernel.org/cgit/linux/kernel/git/tj/cgroup.git review-cgroup2-cpu-basic-stat in testcase: trinity with following parameters: runt

[PATCH 4.12 05/65] xtensa: mm/cache: add missing EXPORT_SYMBOLs

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit bc652eb6a0d5cffaea7dc8e8ad488aab2a1bf1ed upstream. Functions clear_user_highpage, copy_user_highpage, flush_dcache_page, local_flush_cache_range and local_flush_cache_page

Re: early x86 unseeded randomness

2017-08-14 Thread Theodore Ts'o
On Mon, Aug 14, 2017 at 09:00:13PM +0200, Borislav Petkov wrote: > On Mon, Aug 14, 2017 at 11:17:37AM -0700, Linus Torvalds wrote: > > Ok, guys, you ALL need to learn that blindly just trying to get rid of > > warnings IS A HORRIBLE IDEA. > > Not blindly - I was actually suggesting/asking whether

[PATCH 4.12 26/65] USB: serial: pl2303: add new ATEN device id

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman commit 3b6bcd3d093c698d32e93d4da57679b8fbc5e01e upstream. This adds a new ATEN device id for a new pl2303-based device. Reported-by: Peter Kuo Cc: Johan Hovold Signed-off

[PATCH 4.12 06/65] xtensa: dont limit csum_partial export by CONFIG_NET

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit 7f81e55c737a8fa82c71f290945d729a4902f8d2 upstream. csum_partial and csum_partial_copy_generic are defined unconditionally and are available even when CONFIG_NET is disabled

[PATCH v2 1/2] kbuild: Also evaluate alternative option passed to cc-option, etc

2017-08-14 Thread Matthias Kaehlcke
The macro cc-option receives two parameters (the second may be empty). It returns the first parameter if it is a valid compiler option, otherwise the second one. It is not evaluated if the second parameter is a valid compiler option. This seems to be fine in virtually all cases, however there are s

[PATCH 4.12 07/65] xfs: Fix leak of discard bio

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit ea7bd56fa309d10a41b1041827a63c0746c47554 upstream. The bio describing discard operation is allocated by __blkdev_issue_discard() which returns us a reference to it. That refere

[PATCH v2 2/2] x86/build: Fix stack alignment for CLang

2017-08-14 Thread Matthias Kaehlcke
Commit: d77698df39a5 ("x86/build: Specify stack alignment for clang") intended to use the same stack alignment for clang as with gcc. The two compilers use different options to configure the stack alignment (gcc: -mpreferred-stack-boundary=n, clang: -mstack-alignment=n). The above commit assu

[PATCH 4.12 27/65] usb: musb: fix tx fifo flush handling again

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Bin Liu commit 45d73860530a14c608f410b91c6c341777bfa85d upstream. commit 68fe05e2a451 ("usb: musb: fix tx fifo flush handling") drops the 1ms delay trying to solve the long disconnect time iss

[PATCH 4.12 08/65] pinctrl: armada-37xx: Fix number of pin in south bridge

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Gregory CLEMENT commit 6b67c3906cd74d88da4f6717b4b294bd52fce56a upstream. On the south bridge we have pin from to 29, so it gives 30 pins (and not 29). Without this patch the kernel complain

[PATCH 4.12 09/65] mtd: nand: atmel: Fix DT backward compatibility in pmecc.c

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Boris Brezillon commit 3aa0907675a38498d8f2d343e94207ad28a117cf upstream. PMECC caps extraction from old DT bindings is broken, thus leading to erroneous EL registers offset, which in turn mak

[PATCH 4.12 10/65] mtd: nand: Fix timing setup for NANDs that do not support SET FEATURES

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Boris Brezillon commit a11bf5ed951f8900d244d09eb03a888b59c7fc82 upstream. Some ONFI NANDs do not support the SET/GET FEATURES commands, which, according to the spec, is perfectly valid. On th

[PATCH 4.12 29/65] staging:iio:resolver:ad2s1210 fix negative IIO_ANGL_VEL read

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 105967ad68d2eb1a041bc041f9cf96af2a653b65 upstream. gcc-7 points out an older regression: drivers/staging/iio/resolver/ad2s1210.c: In function 'ad2s1210_read_raw': drivers

[PATCH 4.12 25/65] USB: serial: cp210x: add support for Qivicon USB ZigBee dongle

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Triller commit 9585e340db9f6cc1c0928d82c3a23cc4460f0a3f upstream. The German Telekom offers a ZigBee USB Stick under the brand name Qivicon for their SmartHome Home Base in its 1. Gener

[PATCH 4.12 41/65] block: Make blk_mq_delay_kick_requeue_list() rerun the queue at a quiet time

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit d4acf3650c7c968f46ad932b9a25d1cc24cf4998 upstream. The blk_mq_delay_kick_requeue_list() function is used by the device mapper and only by the device mapper to rerun the

[PATCH 4.12 32/65] iio: accel: bmc150: Always restore device to normal mode after suspend-resume

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit e59e18989c68a8d7941005f81ad6abc4ca682de0 upstream. After probe we would put the device in normal mode, after a runtime suspend-resume we would put it back in normal mode.

[PATCH 4.12 45/65] usb: core: unlink urbs from the tail of the endpoints urb_list

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Bin Liu commit 2eac13624364db5b5e1666ae0bb3a4d36bc56b6e upstream. While unlink an urb, if the urb has been programmed in the controller, the controller driver might do some hw related actions

Re: [PATCH V2] kernel/watchdog: fix spurious hard lockups

2017-08-14 Thread Linus Torvalds
On Mon, Aug 14, 2017 at 6:16 PM, Liang, Kan wrote: > > We have confirmed that the hardlock with "speed up the hrtimer" patch is > actually another issue. Good. However: > Tim has already proposed a patch to fix it. > Here is his patch. https://lkml.org/lkml/2017/8/14/1000 Ugh. I hate that patc

[PATCH 4.12 44/65] USB: Check for dropped connection before switching to full speed

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 94c43b9897abf4ea366ed4dba027494e080c7050 upstream. Some buggy USB disk adapters disconnect and reconnect multiple times during the enumeration procedure. This may lead to a

[PATCH 4.12 30/65] iio: aspeed-adc: wait for initial sequence.

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Mykola Kostenok commit 737cc2a593782df6846b3cab7e0f64384f58364a upstream. This patch enables adc engine at initialization time and waits for the initial sequence completion before enabling adc

[PATCH 4.12 42/65] usb: gadget: udc: renesas_usb3: Fix usb_gadget_giveback_request() calling

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit aca5b9ebd096039657417c321a9252c696b359c2 upstream. According to the gadget.h, a "complete" function will always be called with interrupts disabled. However, sometimes

[PATCH 4.12 46/65] usb: quirks: Add no-lpm quirk for Moshi USB to Ethernet Adapter

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit 7496cfe5431f21da5d27a8388c326397e3f0a5db upstream. Moshi USB to Ethernet Adapter internally uses a Genesys Logic hub to connect to Realtek r8153. The Realtek r8153 ethern

[PATCH 4.12 47/65] usb:xhci:Add quirk for Certain failing HP keyboard on reset after resume

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Sandeep Singh commit e788787ef4f9c24aafefc480a8da5f92b914e5e6 upstream. Certain HP keyboards would keep inputting a character automatically which is the wake-up key after S3 resume On some AM

[PATCH 4.12 49/65] PCI: Remove __pci_dev_reset() and pci_dev_reset()

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit 52354b9d1f46aae7386db7bb8ec8484b5488087f upstream. Implement the reset probing / reset chain directly in __pci_probe_reset_function() and __pci_reset_function_locked()

[PATCH 4.12 50/65] PCI: Add pci_reset_function_locked()

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit a477b9cd37aa81a490dfa3265b7ff4f2c5a92463 upstream. The implementation of PCI workarounds may require that the device is reset from its probe function. This implies that th

[PATCH 4.12 51/65] xhci: Reset Renesas uPD72020x USB controller for 32-bit DMA issue

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Marc Zyngier commit 8466489ef5ba48272ba4fa4ea9f8f403306de4c7 upstream. The Renesas uPD72020x XHCI controller seems to suffer from a really annoying bug, where it may retain some of its DMA pro

[PATCH 4.12 52/65] iio: adc: vf610_adc: Fix VALT selection value for REFSEL bits

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Stefan-Gabriel Mirea commit d466d3c1217406b14b834335b5b4b33c0d45bd09 upstream. In order to select the alternate voltage reference pair (VALTH/VALTL), the right value for the REFSEL field in th

[PATCH 4.12 48/65] PCI: Protect pci_error_handlers->reset_notify() usage with device_lock()

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Christoph Hellwig commit b014e96d1abbd67404bbe2018937b46466299e9e upstream. Every method in struct device_driver or structures derived from it like struct pci_driver MUST provide exclusion vs

[PATCH 4.12 57/65] pinctrl: uniphier: fix WARN_ON() of pingroups dump on LD11

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Masahiro Yamada commit 9592bc256d50481dfcdba93890e576a728fb373c upstream. The pingroups dump of debugfs hits WARN_ON() in pinctrl_groups_show(). Filling non-existing ports with '-1' turned out

[PATCH 4.12 56/65] pinctrl: intel: merrifield: Correct UART pin lists

2017-08-14 Thread Greg Kroah-Hartman
4.12-stable review patch. If anyone has any objections, please let me know. -- From: Andy Shevchenko commit 5d996132d921c391af5f267123eca1a6a3148ecd upstream. UART pin lists consist GPIO numbers which is simply wrong. Replace it by pin numbers. Fixes: 4e80c8f50574 ("pinctrl:

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