[PATCH 3.16.y-ckt 092/128] ser_gigaset: fix deallocation of platform device structure

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Tilman Schmidt commit 4c5e354a974214dfb44cd23fa0429327693bc3ea upstream. When shutting down the device, the struct ser_cardstate must n

[PATCH 3.16.y-ckt 086/128] pinctrl: bcm2835: Fix initial value for direction_output

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Stefan Wahren commit 4c02cba18cc9de672a554ddda4f23dec8cb4b48e upstream. Currently the provided initial value for bcm2835_gpio_direction

[PATCH 3.16.y-ckt 087/128] net: phy: mdio-mux: Check return value of mdiobus_alloc()

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Tobias Klauser commit 20b08e1a793d898f0f13040d5418ee0955f678cf upstream. mdiobus_alloc() might return NULL, but its return value is not

[PATCH 3.16.y-ckt 084/128] USB: ipaq.c: fix a timeout loop

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Dan Carpenter commit abdc9a3b4bac97add99e1d77dc6d28623afe682b upstream. The code expects the loop to end with "retries" set to zero but

[PATCH 3.16.y-ckt 078/128] xen/pciback: Save xen_pci_op commands before processing it

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Konrad Rzeszutek Wilk commit 8135cf8b092723dbfcc611fe6fdcb3a36c9951c5 upstream. Double fetch vulnerabilities that happen when a variabl

[PATCH 3.16.y-ckt 083/128] xen/pciback: Don't allow MSI-X ops if PCI_COMMAND_MEMORY is not set.

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Konrad Rzeszutek Wilk commit 408fb0e5aa7fda0059db282ff58c3b2a4278baa0 upstream. commit f598282f51 ("PCI: Fix the NIU MSI-X problem in a

[PATCH 3.16.y-ckt 081/128] xen/pciback: Do not install an IRQ handler for MSI interrupts.

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Konrad Rzeszutek Wilk commit a396f3a210c3a61e94d6b87ec05a75d0be2a60d0 upstream. Otherwise an guest can subvert the generic MSI code to

[PATCH 3.16.y-ckt 077/128] xen-blkback: read from indirect descriptors only once

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= commit 18779149101c0dd43ded43669ae2a92d21b6f9cb upstream. Since indirect descriptors are in memory

[PATCH 3.16.y-ckt 071/128] powerpc/powernv: Fix the overflow of OPAL message notifiers head array

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Neelesh Gupta commit 792f96e9a769b799a2944e9369e4ea1e467135b2 upstream. Fixes the condition check of incoming message type which can ot

[PATCH 3.16.y-ckt 079/128] xen/pciback: Return error on XEN_PCI_OP_enable_msi when device has MSI or MSI-X enabled

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Konrad Rzeszutek Wilk commit 56441f3c8e5bd45aab10dd9f8c505dd4bec03b0d upstream. The guest sequence of: a) XEN_PCI_OP_enable_msi b) X

[PATCH 3.16.y-ckt 080/128] xen/pciback: Return error on XEN_PCI_OP_enable_msix when device has MSI or MSI-X enabled

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Konrad Rzeszutek Wilk commit 5e0ce1455c09dd61d029b8ad45d82e1ac0b6c4c9 upstream. The guest sequence of: a) XEN_PCI_OP_enable_msix b

[PATCH 3.16.y-ckt 082/128] xen/pciback: For XEN_PCI_OP_disable_msi[|x] only disable if device has MSI(X) enabled.

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Konrad Rzeszutek Wilk commit 7cfb905b9638982862f0331b36ccaaca5d383b49 upstream. Otherwise just continue on, returning the same values a

[PATCH 3.16.y-ckt 075/128] xen-netback: use RING_COPY_REQUEST() throughout

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: David Vrabel commit 68a33bfd8403e4e22847165d149823a2e0e67c9c upstream. Instead of open-coding memcpy()s and directly accessing Tx and R

[PATCH 3.16.y-ckt 067/128] spi: fix parent-device reference leak

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Johan Hovold commit 157f38f993919b648187ba341bfb05d0e91ad2f6 upstream. Fix parent-device reference leak due to SPI-core taking an unnec

Re: [kernel-hardening] Re: [PATCH 2/2] sysctl: allow CLONE_NEWUSER to be disabled

2016-01-24 Thread Andy Lutomirski
On Sun, Jan 24, 2016 at 12:59 PM, Kees Cook wrote: > On Fri, Jan 22, 2016 at 4:59 PM, Ben Hutchings wrote: >> On Fri, 2016-01-22 at 15:00 -0800, Kees Cook wrote: >>> On Fri, Jan 22, 2016 at 2:55 PM, Robert Święcki wrote: >>> > 2016-01-22 23:50 GMT+01:00 Kees Cook : >>> > >>> > > > Seems that Deb

[PATCH 3.16.y-ckt 076/128] xen-blkback: only read request operation from shared ring once

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: =?UTF-8?q?Roger=20Pau=20Monn=C3=A9?= commit 1f13d75ccb806260079e0679d55d9253e370ec8a upstream. A compiler may load a switch statement v

[PATCH 3.16.y-ckt 062/128] n_tty: Fix poll() after buffer-limited eof push read

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Peter Hurley commit ac8f3bf8832a405cc6e4dccb1d26d5cb2994d234 upstream. commit 40d5e0905a03 ("n_tty: Fix EOF push handling") fixed EOF p

[PATCH 3.16.y-ckt 072/128] powerpc/powernv: pr_warn_once on unsupported OPAL_MSG type

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Stewart Smith commit 98da62b716a3b24ab8e77453c9a8a954124c18cd upstream. When running on newer OPAL firmware that supports sending extra

[PATCH 3.16.y-ckt 073/128] xen: Add RING_COPY_REQUEST()

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: David Vrabel commit 454d5d882c7e412b840e3c99010fe81a9862f6fb upstream. Using RING_GET_REQUEST() on a shared ring is easy to use incorre

[PATCH 3.16.y-ckt 074/128] xen-netback: don't use last request to determine minimum Tx credit

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: David Vrabel commit 0f589967a73f1f30ab4ac4dd9ce0bb399b4d6357 upstream. The last from guest transmitted request gives no indication abou

[PATCH 3.16.y-ckt 059/128] Revert "SCSI: Fix NULL pointer dereference in runtime PM"

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Ken Xue commit 1c69d3b6eb73e466ecbb8edaf1bc7fd585b288da upstream. This reverts commit 49718f0fb8c9 ("SCSI: Fix NULL pointer dereference

[PATCH 3.16.y-ckt 058/128] ses: Fix problems with simple enclosures

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: James Bottomley commit 3417c1b5cb1fdc10261dbed42b05cc93166a78fd upstream. Simple enclosure implementations (mostly USB) are allowed to

Re: [PATCH 0/2] sysctl: allow CLONE_NEWUSER to be disabled

2016-01-24 Thread Andy Lutomirski
On Fri, Jan 22, 2016 at 7:02 PM, Eric W. Biederman wrote: > Kees Cook writes: > >> There continues to be unexpected side-effects and security exposures >> via CLONE_NEWUSER. For many end-users running distro kernels with >> CONFIG_USER_NS enabled, there is no way to disable this feature when >> d

[PATCH 3.16.y-ckt 040/128] USB: add quirk for devices with broken LPM

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alan Stern commit ad87e03213b552a5c33d5e1e7a19a73768397010 upstream. Some USB device / host controller combinations seem to have proble

[PATCH 3.16.y-ckt 034/128] dm thin metadata: fix bug when taking a metadata snapshot

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Joe Thornber commit 49e99fc717f624aa75ca755d6e7bc029efd3f0e9 upstream. When you take a metadata snapshot the btree roots for the mappin

[PATCH 3.16.y-ckt 030/128] radeon/cik: Fix GFX IB test on Big-Endian

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Oded Gabbay commit 5f3e226f511ec98d70c970f09cdb4ec46511cc5e upstream. This patch makes the IB test on the GFX ring pass for CI-based ca

[PATCH 3.16.y-ckt 070/128] ARC: dw2 unwind: Ignore CIE version !=1 gracefully instead of bailing

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Vineet Gupta commit 323f41f9e7d0cb5b1d1586aded6682855f1e646d upstream. ARC dwarf unwinder only supports CIE version == 1 The boot time

[PATCH 3.16.y-ckt 069/128] ARC: dw2 unwind: Reinstante unwinding out of modules

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Vineet Gupta commit bc79c9a7216562a2035d2f64f73626613c1300d0 upstream. The fix which removed linear searching of dwarf (because binary

[PATCH 3.16.y-ckt 068/128] dma-debug: Fix dma_debug_entry offset calculation

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Daniel Mentz commit 0354aec19ce3d355c6213b0434064efc25c9b22c upstream. dma-debug uses struct dma_debug_entry to keep track of dma coher

[PATCH 3.16.y-ckt 066/128] ALSA: hda - Add a fixup for Thinkpad X1 Carbon 2nd

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit b6903c0ed9f0bcbbe88f67f7ed43d1721cbc6235 upstream. Apply the same fixup for Thinkpad with dock to Thinkpad X1 Carbo

[PATCH 3.16.y-ckt 065/128] ARM: 8471/1: need to save/restore arm register(r11) when it is corrupted

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Anson Huang commit fa0708b320f6da4c1104fe56e01b7abf66fd16ad upstream. In cpu_v7_do_suspend routine, r11 is used while it is NOT saved/r

[PATCH 3.16.y-ckt 023/128] ALSA: hda - Add inverted dmic for Packard Bell DOTS

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: David Henningsson commit 02f6ff90400d055f08b0ba0b5f0707630b6faed7 upstream. On the internal mic of the Packard Bell DOTS, one channel h

linux-next: manual merge of the mips tree with Linus' tree

2016-01-24 Thread Stephen Rothwell
Hi Ralf, Today's linux-next merge of the mips tree got conflicts in: arch/mips/kvm/tlb.c between commit: ba049e93aef7 ("kvm: rename pfn_t to kvm_pfn_t") from Linus' tree and commit: cb1b447f0c36 ("MIPS: KVM: Convert EXPORT_SYMBOL to _GPL") from the mips tree. I fixed it up (see below)

[PATCH 3.16.y-ckt 063/128] tty: Fix GPF in flush_to_ldisc()

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Peter Hurley commit 9ce119f318ba1a07c29149301f1544b6c4bea52a upstream. A line discipline which does not define a receive_buf() method c

[PATCH 3.16.y-ckt 022/128] ALSA: rme96: Fix unexpected volume reset after rate changes

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit a74a821624c0c75388a193337babd17a8c02c740 upstream. rme96 driver needs to reset DAC depending on the sample rate, an

[PATCH 3.16.y-ckt 064/128] ALSA: usb-audio: Add a more accurate volume quirk for AudioQuest DragonFly

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Anssi Hannula commit 42e3121d90f42e57f6dbd6083dff2f57b3ec7daa upstream. AudioQuest DragonFly DAC reports a volume control range of 0..5

[PATCH 3.16.y-ckt 018/128] dm btree: fix leak of bufio-backed block in btree_split_sibling error path

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Mike Snitzer commit 30ce6e1cc5a0f781d60227e9096c86e188d2c2bd upstream. The block allocated at the start of btree_split_sibling() is nev

[PATCH 3.16.y-ckt 019/128] SCSI: Fix NULL pointer dereference in runtime PM

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Ken Xue commit 4fd41a8552afc01054d9d9fc7f1a63c324867d27 upstream. The routines in scsi_pm.c assume that if a runtime-PM callback is inv

[PATCH 3.16.y-ckt 061/128] powercap / RAPL: fix BIOS lock check

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Prarit Bhargava commit 79a21dbfae3cd40d5a801778071a9967b79c2c20 upstream. Intel RAPL initialized on several systems where the BIOS lock

[PATCH 3.16.y-ckt 017/128] usb: Use the USB_SS_MULT() macro to decode burst multiplier for log message

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Ben Hutchings commit 5377adb092664d336ac212499961cac5e8728794 upstream. usb_parse_ss_endpoint_companion() now decodes the burst multipl

[PATCH 3.16.y-ckt 060/128] ses: fix additional element traversal bug

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: James Bottomley commit 5e1033561da1152c57b97ee84371dba2b3d64c25 upstream. KASAN found that our additional element processing scripts dr

[PATCH 3.16.y-ckt 057/128] rfkill: copy the name into the rfkill struct

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Johannes Berg commit b7bb110008607a915298bf0f47d25886ecb94477 upstream. Some users of rfkill, like NFC and cfg80211, use a dynamic name

[PATCH 3.16.y-ckt 055/128] video: fbdev: fsl: Fix kernel crash when diu_ops is not implemented

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Wang Dongsheng commit acfc1cc13fe5bc6d7a10afa624f1e560850ddad3 upstream. If diu_ops is not implemented on platform, kernel will access

[PATCH 3.16.y-ckt 056/128] crypto: skcipher - Copy iv from desc even for 0-len walks

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: "Jason A. Donenfeld" commit 70d906bc17500edfa9bdd8c8b7e59618c7911613 upstream. Some ciphers actually support encrypting zero length pla

[PATCH 3.16.y-ckt 052/128] tools: Add a "make all" rule

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Kamal Mostafa commit f6ba98c5dc78708cb7fd29950c4a50c4c7e88f95 upstream. Signed-off-by: Kamal Mostafa Acked-by: Pavel Machek Cc: Jiri

[PATCH 3.16.y-ckt 015/128] usb: core : hub: Fix BOS 'NULL pointer' kernel panic

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Hans Yang commit 464ad8c43a9ead98c2b0eaed86bea727f2ad106e upstream. When a USB 3.0 mass storage device is disconnected in transporting

[PATCH 3.16.y-ckt 054/128] xen/events/fifo: Consume unprocessed events when a CPU dies

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Ross Lagerwall commit 3de88d622fd68bd4dbee0f80168218b23f798fd0 upstream. When a CPU is offlined, there may be unprocessed events on a p

[PATCH 3.16.y-ckt 016/128] USB: whci-hcd: add check for dma mapping error

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Alexey Khoroshilov commit f9fa1887dcf26bd346665a6ae3d3f53dec54cba1 upstream. qset_fill_page_list() do not check for dma mapping errors.

[PATCH 3.16.y-ckt 053/128] i2c: mv64xxx: The n clockdiv factor is 0 based on sunxi SoCs

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Hans de Goede commit bba61f50f76574ca5b84b310925be7c2e8e64275 upstream. According to the datasheets the n factor for dividing the tclk

[PATCH 3.16.y-ckt 013/128] staging: lustre: echo_copy.._lsm() dereferences userland pointers directly

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Al Viro commit 9225c0b7b976dd9ceac2b80727a60d8fcb906a62 upstream. missing get_user() Signed-off-by: Al Viro Signed-off-by: Greg Kroah

[PATCH 3.16.y-ckt 050/128] MIPS: uaccess: Take EVA into account in __copy_from_user()

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: James Hogan commit 6f06a2c45d8d714ea3b11a360b4a7191e52acaa4 upstream. When EVA is in use, __copy_from_user() was unconditionally using

[PATCH 3.16.y-ckt 012/128] usb-storage: Fix scsi-sd failure "Invalid field in cdb" for USB adapter JMicron

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Dmitry Katsubo commit 9fa62b1a31c96715aef34f25000e882ed4ac4876 upstream. The patch extends the family of SATA-to-USB JMicron adapters t

[PATCH 3.16.y-ckt 049/128] efi: Disable interrupts around EFI calls, not in the epilog/prolog calls

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Ingo Molnar commit 23a0d4e8fa6d3a1d7fb819f79bcc0a3739c30ba9 upstream. Tapasweni Pathak reported that we do a kmalloc() in efi_call_phys

[PATCH 3.16.y-ckt 051/128] MIPS: uaccess: Take EVA into account in [__]clear_user

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: James Hogan commit d6a428fb583738ad685c91a684748cdee7b2a05f upstream. __clear_user() (and clear_user() which uses it), always access th

[PATCH 3.16.y-ckt 047/128] sh64: fix __NR_fgetxattr

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: "Dmitry V. Levin" commit 2d33fa1059da4c8e816627a688d950b613ec0474 upstream. According to arch/sh/kernel/syscalls_64.S and common sense,

[PATCH 3.16.y-ckt 048/128] usb: musb: USB_TI_CPPI41_DMA requires dmaengine support

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Arnd Bergmann commit 183e53e8ddf4165c3763181682189362d6b403f7 upstream. The CPPI-4.1 driver selects TI_CPPI41, which is a dmaengine dri

[PATCH 3.16.y-ckt 045/128] drivers/base/memory.c: prohibit offlining of memory blocks with missing sections

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Seth Jennings commit 26bbe7ef6d5cdc7ec08cba6d433fca4060f258f3 upstream. Commit bdee237c0343 ("x86: mm: Use 2GB memory block size on lar

[PATCH 3.16.y-ckt 011/128] sata_sil: disable trim

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Mikulas Patocka commit d98f1cd0a3b70ea91f1dfda3ac36c3b2e1a4d5e2 upstream. When I connect an Intel SSD to SATA SIL controller (PCI ID 10

[PATCH 3.16.y-ckt 046/128] ocfs2: fix SGID not inherited issue

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Junxiao Bi commit 854ee2e944b4daf795e32562a7d2f9e90ab5a6a8 upstream. Commit 8f1eb48758aa ("ocfs2: fix umask ignored issue") introduced

[PATCH 3.16.y-ckt 044/128] mm: hugetlb: call huge_pte_alloc() only if ptep is null

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Naoya Horiguchi commit 0d777df5d8953293be090d9ab5a355db893e8357 upstream. Currently at the beginning of hugetlb_fault(), we call huge_p

[PATCH 3.16.y-ckt 043/128] mm, vmstat: allow WQ concurrency to discover memory reclaim doesn't make any progress

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Michal Hocko commit 373ccbe5927034b55bdc80b0f8b54d6e13fe8d12 upstream. Tetsuo Handa has reported that the system might basically livelo

Re: RCU lockup? (was: Re: [PATCH v2 tip/core/rcu 10/14] rcu: Don't redundantly disable irqs in rcu_irq_{enter,exit}())

2016-01-24 Thread Paul E. McKenney
On Sat, Jan 23, 2016 at 10:43:19AM +0100, Geert Uytterhoeven wrote: > Hi Paul, > > On Fri, Jan 22, 2016 at 9:44 PM, Paul E. McKenney > wrote: > > On Fri, Jan 22, 2016 at 09:55:44AM +0100, Geert Uytterhoeven wrote: > >> On Thu, Jan 21, 2016 at 5:06 PM, Paul E. McKenney > >> wrote: > >> > On Thu,

[PATCH 3.16.y-ckt 042/128] mm: hugetlb: fix hugepage memory leak caused by wrong reserve count

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Naoya Horiguchi commit a88c769548047b21f76fd71e04b6a3300ff17160 upstream. When dequeue_huge_page_vma() in alloc_huge_page() fails, we f

[PATCH 3.16.y-ckt 041/128] parisc iommu: fix panic due to trying to allocate too large region

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Mikulas Patocka commit e46e31a3696ae2d66f32c207df3969613726e636 upstream. When using the Promise TX2+ SATA controller on PA-RISC, the s

[PATCH 3.16.y-ckt 009/128] drm/ttm: Fixed a read/write lock imbalance

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Thomas Hellstrom commit 025af189fb44250206dd8a32fa4a682392af3301 upstream. In ttm_write_lock(), the uninterruptible path should call __

[PATCH 3.16.y-ckt 010/128] AHCI: Fix softreset failed issue of Port Multiplier

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Xiangliang Yu commit 023113d24ef9e1d2b44cb2446872b17e2b01d8b1 upstream. Current code doesn't update port value of Port Multiplier(PM) w

[PATCH 3.16.y-ckt 007/128] ext4: Fix handling of extended tv_sec

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: David Turner commit a4dad1ae24f850410c4e60f22823cba1289b8d52 upstream. In ext4, the bottom two bits of {a,c,m}time_extra are used to ex

[PATCH 3.16.y-ckt 039/128] xhci: fix usb2 resume timing and races.

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Mathias Nyman commit f69115fdbc1ac0718e7d19ad3caa3da2ecfe1c96 upstream. According to USB 2 specs ports need to signal resume for at lea

[PATCH 3.16.y-ckt 006/128] USB: serial: Another Infineon flash loader USB ID

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Jonas Jonsson commit a0e80fbd56b4573de997c9a088a33abbc1121400 upstream. The flash loader has been seen on a Telit UE910 modem. The flas

[PATCH 3.16.y-ckt 038/128] vgaarb: fix signal handling in vga_get()

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: "Kirill A. Shutemov" commit 9f5bd30818c42c6c36a51f93b4df75a2ea2bd85e upstream. There are few defects in vga_get() related to signal had

[PATCH 3.16.y-ckt 037/128] dm btree: fix bufio buffer leaks in dm_btree_del() error path

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Joe Thornber commit ed8b45a3679eb49069b094c0711b30833f27c734 upstream. If dm_btree_del()'s call to push_frame() fails, e.g. due to btre

[PATCH 3.16.y-ckt 036/128] ipmi: move timer init to before irq is setup

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Jan Stancek commit 27f972d3e00b50639deb4cc1392afaeb08d3cecc upstream. We encountered a panic on boot in ipmi_si on a dell per320 due to

[PATCH 3.16.y-ckt 035/128] dm space map metadata: fix ref counting bug when bootstrapping a new space map

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Joe Thornber commit 50dd842ad83b43bed71790efb31cfb2f6c05c9c1 upstream. When applying block operations (BOPs) do not remove them from th

[PATCH 3.16.y-ckt 005/128] USB: cdc_acm: Ignore Infineon Flash Loader utility

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Jonas Jonsson commit f33a7f72e5fc033daccbb8d4753d7c5c41a4d67b upstream. Some modems, such as the Telit UE910, are using an Infineon Fla

[PATCH 3.16.y-ckt 004/128] USB: cp210x: Remove CP2110 ID from compatibility list

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Konstantin Shkolnyy commit 7c90e610b60cd1ed6abafd806acfaedccbbe52d1 upstream. CP2110 ID (0x10c4, 0xea80) doesn't belong here because it

[PATCH 3.16.y-ckt 031/128] radeon: Fix VCE ring test for Big-Endian systems

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Oded Gabbay commit 687f4b98d1f4e27508f7ad4bcce787c1ba58b289 upstream. This patch fixes the VCE ring test when running on Big-Endian mac

Re: [RFC PATCH] dax, ext2, ext4, XFS: fix data corruption race

2016-01-24 Thread Dave Chinner
On Fri, Jan 22, 2016 at 04:06:11PM -0700, Ross Zwisler wrote: > With the current DAX code the following race exists: > > Process 1 Process 2 > - - > > __dax_fault() - read file f, index 0 > get_block() -> returns hole >

[PATCH 3.16.y-ckt 033/128] ALSA: hda - Fix noise problems on Thinkpad T440s

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Takashi Iwai commit 9a811230481243f384b8036c6a558bfdbd961f78 upstream. Lenovo Thinkpad T440s suffers from constant background noises, a

[PATCH 3.16.y-ckt 032/128] radeon: Fix VCE IB test on Big-Endian systems

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Oded Gabbay commit 361c32d39087e7caa99e629c0d7fb00643cb2190 upstream. This patch makes the VCE IB test pass on Big-Endian systems. It c

[PATCH 3.16.y-ckt 003/128] iio: fix some warning messages

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Dan Carpenter commit 231bfe53c57e89857753c940192acba933cba56c upstream. WARN_ON() only takes a condition argument. I have changed thes

Re: [PATCH 03/15] dmaengine: dw: rename masters to reflect actual topology

2016-01-24 Thread Mark Brown
On Sun, Jan 24, 2016 at 07:21:50PM +, Mans Rullgard wrote: > From: Andy Shevchenko > > The source and destination masters are reflecting buses or their layers to > where the different devices can be connected. The patch changes the master > names to reflect which one is related to which indep

[PATCH 3.16.y-ckt 029/128] 9p: ->evict_inode() should kick out ->i_data, not ->i_mapping

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Al Viro commit 4ad78628445d26e5e9487b2e8f23274ad7b0f5d3 upstream. For block devices the pagecache is associated with the inode on bdevf

[PATCH v2 0/5] x86/fpu: eagerfpu fixes, speedups, and default enablement

2016-01-24 Thread Andy Lutomirski
Hi all- Here's v2 to celebrate the end of the merge window :) Patches 1, 2, and 3 are fixes. Patch 4 is probably a small speedup. It also only matters in lazy FPU mode, which means that, most likely, no one cares. Apply or don't -- I don't care much. Patch 5 is, in some sense, a radical chang

[PATCH v2 3/5] x86/fpu: Fold fpu_copy into fpu__copy

2016-01-24 Thread Andy Lutomirski
Splitting it into two functions needlessly obfuscated the code. While we're at it, improve the comment slightly. Signed-off-by: Andy Lutomirski --- arch/x86/kernel/fpu/core.c | 32 +++- 1 file changed, 11 insertions(+), 21 deletions(-) diff --git a/arch/x86/kernel/fp

[PATCH v2 2/5] x86/fpu: Fix FNSAVE usage in eagerfpu mode

2016-01-24 Thread Andy Lutomirski
In eager fpu mode, having deactivated fpu without immediately reloading some other context is illegal. Therefore, to recover from FNSAVE, we can't just deactivate the state -- we need to reload it if we're not actively context switching. We had this wrong in fpu__save and fpu__copy. Fix both. __

Re: [PATCH 03/15] dmaengine: dw: rename masters to reflect actual topology

2016-01-24 Thread Måns Rullgård
Mark Brown writes: > On Sun, Jan 24, 2016 at 07:21:50PM +, Mans Rullgard wrote: >> From: Andy Shevchenko >> >> The source and destination masters are reflecting buses or their layers to >> where the different devices can be connected. The patch changes the master >> names to reflect which o

[PATCH v2 4/5] x86/fpu: Speed up lazy FPU restores slightly

2016-01-24 Thread Andy Lutomirski
If we have an FPU, there's no need to check CR0 for FPU emulation. Signed-off-by: Andy Lutomirski --- arch/x86/kernel/traps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kernel/traps.c b/arch/x86/kernel/traps.c index 87f80febf477..36a9c017540e 100644 --- a/arch/x

[PATCH v2 5/5] x86/fpu: Default eagerfpu=on on all CPUs

2016-01-24 Thread Andy Lutomirski
We have eager and lazy fpu modes, introduced in 304bceda6a18 ("x86, fpu: use non-lazy fpu restore for processors supporting xsave"). The result is rather messy. There are two code paths in almost all of the FPU code, and only one of them (the eager case) is tested frequently, since most kernel de

[PATCH v2 1/5] x86/fpu: Fix math emulation in eager fpu mode

2016-01-24 Thread Andy Lutomirski
Systems without an FPU are generally old and therefore use lazy FPU switching. Unsurprisingly, math emulation in eager FPU mode is a bit buggy. Fix it. There were two bugs involving kernel code trying to use the FPU registers in eager mode even if they didn't exist and one BUG_ON that was incorr

[PATCH 3.16.y-ckt 028/128] ALSA: hda - Fixing speaker noise on the two latest thinkpad models

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Hui Wang commit 23adc192b862b69ad80a40bd5206e337f41264ac upstream. We have two latest thinkpad laptop models which are all based on the

[PATCH 3.16.y-ckt 020/128] perf: Fix PERF_EVENT_IOC_PERIOD deadlock

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Peter Zijlstra commit 642c2d671ceff40e9453203ea0c66e991e11e249 upstream. Dmitry reported a fairly silly recursive lock deadlock for PER

[PATCH 3.16.y-ckt 001/128] fuse: break infinite loop in fuse_fill_write_pages()

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Roman Gushchin commit 3ca8138f014a913f98e6ef40e939868e1e9ea876 upstream. I got a report about unkillable task eating CPU. Further inves

[PATCH 3.16.y-ckt 026/128] SUNRPC: Fix callback channel

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Trond Myklebust commit 756b9b37cfb2e3dc76b2e43a8c097402ac736e07 upstream. The NFSv4.1 callback channel is currently broken because the

[PATCH 3.16.y-ckt 025/128] nfs4: limit callback decoding to received bytes

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Benjamin Coddington commit 38b7631fbe42e6e247e9fc9879f961b14a687e3b upstream. A truncated cb_compound request will cause the client to

[PATCH 3.16.y-ckt 021/128] usb: xhci: fix config fail of FS hub behind a HS hub with MTT

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Chunfeng Yun commit 096b110a3dd3c868e4610937c80d2e3f3357c1a9 upstream. if a full speed hub connects to a high speed hub which supports

[PATCH 3.16.y-ckt 024/128] virtio: fix memory leak of virtio ida cache layers

2016-01-24 Thread Luis Henriques
3.16.7-ckt23 -stable review patch. If anyone has any objections, please let me know. ---8< From: Suman Anna commit c13f99b7e945dad5273a8b7ee230f4d1f22d3354 upstream. The virtio core uses a static ida named virtio_index_ida for assig

Re: [PATCH 0/2] Add a skeleton module to perform a basic initialization on certain USB devices

2016-01-24 Thread Greg KH
On Sun, Jan 24, 2016 at 11:05:05PM +0100, Oliver Neukum wrote: > On Sat, 2016-01-23 at 08:39 -0800, Greg KH wrote: > > Have your program install a udev rule to make it run automatically > > when > > the device is plugged in, and then just file a bug with the different > > distros to have them pick

[PATCH v4 2/2] ARM: dts: imx6: Add support for Toradex Ixora carrier board

2016-01-24 Thread Marcel Ziswiler
From: Petr Štetiar Signed-off-by: Marcel Ziswiler Signed-off-by: Petr Štetiar Reviewed-by: Stefan Agner --- Changes in v4: None Changes in v3: - integrated review feedback from Petr - integrated review feedback from Stefan - fix comment concerning Apalis GPIO usage as GPIO7 is only used for P

[PATCH v4 0/2] ARM: dts: imx6: Add support for Toradex Apalis iMX6Q/D SoM/Ixora carrier board

2016-01-24 Thread Marcel Ziswiler
This patch series adds support for Toradex Apalis iMX6Q/D SoM module [1] and Ixora carrier board [2]. Petr Štetiar has simply taken content of DTSes from Toradex's Git tree [3], removed not mainlined stuff and fixed all errors returned by checkpatch script. Please note that RESET_MOCI# used as m

[PATCH v4 1/2] ARM: dts: imx6: Add support for Toradex Apalis iMX6Q/D SoM

2016-01-24 Thread Marcel Ziswiler
From: Petr Štetiar Signed-off-by: Marcel Ziswiler Signed-off-by: Petr Štetiar Reviewed-by: Stefan Agner --- Changes in v4: - integrated review feedback from Fabio Changes in v3: - integrated review feedback from Petr - integrated review feedback from Stefan - move I2C DDC enablement and assi

<    1   2   3   4   5   >