[PATCH 4.8 129/138] usb: chipidea: host: fix NULL ptr dereference during shutdown

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Wahren commit 991d5add50a5bb6ab8f12f2129f5c7487f6baaf6 upstream. After commit b09b5224fe86 ("usb: chipidea: implement platform shutdown callback") and commit 43a404577a93 ("usb:

[PATCH 4.8 094/138] mac80211: discard multicast and 4-addr A-MSDUs

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Berg commit ea720935cf6686f72def9d322298bf7e9bd53377 upstream. In mac80211, multicast A-MSDUs are accepted in many cases that they shouldn't be accepted in: * drop A-MSDUs with a

[PATCH 4.8 131/138] [media] v4l: vsp1: Prevent pipelines from running when not streaming

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Laurent Pinchart commit e4e70a147a48618a36ae1b81c641516cb9d45993 upstream. Pipelines can only be run if all their video nodes are streaming. Commit

Re: [Intel-gfx] xrandr fails after resume from hibernation in kernels 4.7.4 and 4.8.0

2016-11-09 Thread Daniel Vetter
On Sat, Oct 29, 2016 at 09:47:24AM -0400, Greg KH wrote: > On Sat, Oct 29, 2016 at 10:13:25AM -0300, Gaston Gonzalez wrote: > > On Fri, Oct 28, 2016 at 07:23:24PM +0300, Ville Syrjälä wrote: > > > On Fri, Oct 28, 2016 at 11:53:40AM -0400, Greg KH wrote: > > > > On Fri, Oct 07, 2016 at 10:38:17AM

[PATCH 4.8 130/138] usb: musb: Fix hardirq-safe hardirq-unsafe lock order error

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Tony Lindgren commit d8e5f0eca1e88215e45aca27115ea747e6164da1 upstream. If we configure musb with 2430 glue as a peripheral, and then rmmod omap2430 module, we'll get the

[PATCH 4.8 131/138] [media] v4l: vsp1: Prevent pipelines from running when not streaming

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Laurent Pinchart commit e4e70a147a48618a36ae1b81c641516cb9d45993 upstream. Pipelines can only be run if all their video nodes are streaming. Commit b4dfb9b35a19 ("[media] v4l: vsp1: Stop the

Re: [Intel-gfx] xrandr fails after resume from hibernation in kernels 4.7.4 and 4.8.0

2016-11-09 Thread Daniel Vetter
On Sat, Oct 29, 2016 at 09:47:24AM -0400, Greg KH wrote: > On Sat, Oct 29, 2016 at 10:13:25AM -0300, Gaston Gonzalez wrote: > > On Fri, Oct 28, 2016 at 07:23:24PM +0300, Ville Syrjälä wrote: > > > On Fri, Oct 28, 2016 at 11:53:40AM -0400, Greg KH wrote: > > > > On Fri, Oct 07, 2016 at 10:38:17AM

[PATCH 4.8 130/138] usb: musb: Fix hardirq-safe hardirq-unsafe lock order error

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Tony Lindgren commit d8e5f0eca1e88215e45aca27115ea747e6164da1 upstream. If we configure musb with 2430 glue as a peripheral, and then rmmod omap2430 module, we'll get the following error: [

[PATCH 4.8 100/138] RAID1: ignore discard error

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit e3f948cd3283e4fbe5907f1f3967c839912f480e upstream. If a write error occurs, raid1 will try to rewrite the bio in small chunk size. If the rewrite fails, raid1

[PATCH 4.8 098/138] scsi: arcmsr: Send SYNCHRONIZE_CACHE command to firmware

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ching Huang commit 2bf7dc8443e113844d078fd6541b7f4aa544f92f upstream. The arcmsr driver failed to pass SYNCHRONIZE CACHE to controller firmware. Depending on how drive

[PATCH 4.8 100/138] RAID1: ignore discard error

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit e3f948cd3283e4fbe5907f1f3967c839912f480e upstream. If a write error occurs, raid1 will try to rewrite the bio in small chunk size. If the rewrite fails, raid1 will record the

[PATCH 4.8 098/138] scsi: arcmsr: Send SYNCHRONIZE_CACHE command to firmware

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ching Huang commit 2bf7dc8443e113844d078fd6541b7f4aa544f92f upstream. The arcmsr driver failed to pass SYNCHRONIZE CACHE to controller firmware. Depending on how drive caches are handled

[PATCH 4.8 067/138] dm: free io_barrier after blk_cleanup_queue call

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Tahsin Erdogan commit d09960b0032174eb493c4c13be5b9c9ef36dc9a7 upstream. dm_old_request_fn() has paths that access md->io_barrier. The party destroying io_barrier should

[PATCH 4.8 045/138] timers: Lock base for same bucket optimization

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 4da9152a4308dcbf611cde399c695c359fc9145f upstream. Linus stumbled over the unlocked modification of the timer expiry value in mod_timer() which is an

[PATCH 4.8 047/138] ubifs: Fix regression in ubifs_readdir()

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit a00052a296e54205cf238c75bd98d17d5d02a6db upstream. Commit c83ed4c9dbb35 ("ubifs: Abort readdir upon error") broke overlayfs support because the fix

[PATCH 4.8 049/138] usb: gadget: udc: atmel: fix endpoint name

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alexandre Belloni commit bbe097f092b0d13e9736bd2794d0ab24547d0e5d upstream. Since commit c32b5bcfa3c4 ("ARM: dts: at91: Fix USB endpoint nodes"),

Re: task isolation discussion at Linux Plumbers

2016-11-09 Thread Frederic Weisbecker
2016-11-05 4:04 GMT+00:00 Chris Metcalf : > A bunch of people got together this week at the Linux Plumbers > Conference to discuss nohz_full, task isolation, and related stuff. > (Thanks to Thomas for getting everyone gathered at one place and time!) > > Here are the notes I

[PATCH 4.8 107/138] drm/radeon/si_dpm: workaround for SI kickers

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 7dc86ef5ac91642dfc3eb93ee0f0458e702a343e upstream. Consolidate existing quirks. Fixes stability issues on some kickers. Signed-off-by: Alex

[PATCH 4.8 069/138] KVM: s390: Fix STHYI buffer alignment for diag224

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Janosch Frank commit 45c7ee43a5184ddbff652ee0d2e826f86f1b616b upstream. Diag224 requires a page-aligned 4k buffer to store the name table into. kmalloc does not

[PATCH 4.8 051/138] USB: serial: fix potential NULL-dereference at probe

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 126d26f66d9890a69158812a6caa248c05359daa upstream. Make sure we have at least one port before attempting to register a console. Currently, at least one

[PATCH 4.8 055/138] usb: renesas_usbhs: add wait after initialization for R-Car Gen3

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit b76032396d7958f006bccf5fb2535beb5526837c upstream. Since the controller on R-Car Gen3 doesn't have any status registers to detect

[PATCH 4.8 008/138] gpio / ACPI: fix returned error from acpi_dev_gpio_irq_get()

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: David Arcari commit 67bf5156edc4f58241fd7c119ae145c552a6 upstream. acpi_dev_gpio_irq_get() currently ignores the error returned by acpi_get_gpiod_by_index() and

[PATCH 4.8 067/138] dm: free io_barrier after blk_cleanup_queue call

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Tahsin Erdogan commit d09960b0032174eb493c4c13be5b9c9ef36dc9a7 upstream. dm_old_request_fn() has paths that access md->io_barrier. The party destroying io_barrier should ensure that no future

[PATCH 4.8 045/138] timers: Lock base for same bucket optimization

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit 4da9152a4308dcbf611cde399c695c359fc9145f upstream. Linus stumbled over the unlocked modification of the timer expiry value in mod_timer() which is an optimization for

[PATCH 4.8 047/138] ubifs: Fix regression in ubifs_readdir()

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit a00052a296e54205cf238c75bd98d17d5d02a6db upstream. Commit c83ed4c9dbb35 ("ubifs: Abort readdir upon error") broke overlayfs support because the fix exposed an

[PATCH 4.8 049/138] usb: gadget: udc: atmel: fix endpoint name

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alexandre Belloni commit bbe097f092b0d13e9736bd2794d0ab24547d0e5d upstream. Since commit c32b5bcfa3c4 ("ARM: dts: at91: Fix USB endpoint nodes"), atmel_usba_udc fails with: [ cut

Re: task isolation discussion at Linux Plumbers

2016-11-09 Thread Frederic Weisbecker
2016-11-05 4:04 GMT+00:00 Chris Metcalf : > A bunch of people got together this week at the Linux Plumbers > Conference to discuss nohz_full, task isolation, and related stuff. > (Thanks to Thomas for getting everyone gathered at one place and time!) > > Here are the notes I took; I welcome any

[PATCH 4.8 107/138] drm/radeon/si_dpm: workaround for SI kickers

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 7dc86ef5ac91642dfc3eb93ee0f0458e702a343e upstream. Consolidate existing quirks. Fixes stability issues on some kickers. Signed-off-by: Alex Deucher Signed-off-by: Alex

[PATCH 4.8 069/138] KVM: s390: Fix STHYI buffer alignment for diag224

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Janosch Frank commit 45c7ee43a5184ddbff652ee0d2e826f86f1b616b upstream. Diag224 requires a page-aligned 4k buffer to store the name table into. kmalloc does not guarantee page alignment, hence

[PATCH 4.8 051/138] USB: serial: fix potential NULL-dereference at probe

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit 126d26f66d9890a69158812a6caa248c05359daa upstream. Make sure we have at least one port before attempting to register a console. Currently, at least one driver binds to a

[PATCH 4.8 055/138] usb: renesas_usbhs: add wait after initialization for R-Car Gen3

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit b76032396d7958f006bccf5fb2535beb5526837c upstream. Since the controller on R-Car Gen3 doesn't have any status registers to detect initialization (LPSTS.SUSPM = 1) and

[PATCH 4.8 008/138] gpio / ACPI: fix returned error from acpi_dev_gpio_irq_get()

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: David Arcari commit 67bf5156edc4f58241fd7c119ae145c552a6 upstream. acpi_dev_gpio_irq_get() currently ignores the error returned by acpi_get_gpiod_by_index() and overwrites it with -ENOENT.

[PATCH 4.8 096/138] ath10k: cache calibration data when the core is stopped

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Marty Faltesek commit f67b107d4ceddcf7aa65b706aaaf50d68edb52a6 upstream. Commit 0b8e3c4ca29f ("ath10k: move cal data len to hw_params") broke retrieving the calibration

[PATCH 4.8 073/138] ARM: dts: fix the SD card on the Snowball

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Linus Walleij commit 1b283eea6228880b765bc40fe4e555416437ce58 upstream. This fixes a very annoying regression on the Snowball SD card that has been around for a

[PATCH 4.8 056/138] usb: increase ohci watchdog delay to 275 msec

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Bryan Paluch commit ed6d6f8f42d7302f6f9b6245f34927ec20d26c12 upstream. Increase ohci watchout delay to 275 ms. Previous delay was 250 ms with 20 ms of slack, after

[PATCH 4.8 080/138] virtio_ring: Make interrupt suppression spec compliant

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ladi Prosek commit 0ea1e4a6d9b62cf29e210d2b4ba9fd43917522e3 upstream. According to the spec, if the VIRTIO_RING_F_EVENT_IDX feature bit is negotiated the driver MUST set

[PATCH 4.8 000/138] 4.8.7-stable review

2016-11-09 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.8.7 release. There are 138 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 Fri Nov 11 10:28:05 UTC 2016. Anything

[PATCH 4.8 113/138] drm/i915/gen9: fix DDB partitioning for multi-screen cases

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Paulo Zanoni commit 01c72d6c17dc524f04d4dbe361d214e423b35457 upstream. With the previous code we were only recomputing the DDB partitioning for the CRTCs included in

[PATCH 4.8 066/138] Staging: wilc1000: Fix kernel Oops on opening the device

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Aditya Shankar commit 1d4f1d53e1e2d5e38f4d3ca3bf60f8be5025540f upstream. Commit 2518ac59eb27 ("staging: wilc1000: Replace kthread with workqueue for host

[PATCH 4.8 064/138] arm64: dts: marvell: fix clocksource for CP110 master SPI0

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Marcin Wojtas commit 51227bf52008bd4c4c50da4b749bbc6e7bbbca52 upstream. I2C and SPI interfaces share common clock trees within the CP110 HW block. It occurred that SPI0

[PATCH 4.8 006/138] spi: mark device nodes only in case of successful instantiation

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ralf Ramsauer commit e0af98a7e025a7263ae7e50264f6f79ed29642a7 upstream. Instantiated SPI device nodes are marked with OF_POPULATE. This was introduced in bd6c164.

[PATCH 4.8 022/138] thermal/powerclamp: correct cpu support check

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Ernst commit 3105f234e0aba43e44e277c20f9b32ee8add43d4 upstream. Initial logic for checking CPU match resulted in OR of CPU features rather than the intended

[PATCH 4.8 096/138] ath10k: cache calibration data when the core is stopped

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Marty Faltesek commit f67b107d4ceddcf7aa65b706aaaf50d68edb52a6 upstream. Commit 0b8e3c4ca29f ("ath10k: move cal data len to hw_params") broke retrieving the calibration data from cal_data

[PATCH 4.8 073/138] ARM: dts: fix the SD card on the Snowball

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Linus Walleij commit 1b283eea6228880b765bc40fe4e555416437ce58 upstream. This fixes a very annoying regression on the Snowball SD card that has been around for a while. It turns out that the

[PATCH 4.8 056/138] usb: increase ohci watchdog delay to 275 msec

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Bryan Paluch commit ed6d6f8f42d7302f6f9b6245f34927ec20d26c12 upstream. Increase ohci watchout delay to 275 ms. Previous delay was 250 ms with 20 ms of slack, after removing slack time some

[PATCH 4.8 080/138] virtio_ring: Make interrupt suppression spec compliant

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ladi Prosek commit 0ea1e4a6d9b62cf29e210d2b4ba9fd43917522e3 upstream. According to the spec, if the VIRTIO_RING_F_EVENT_IDX feature bit is negotiated the driver MUST set flags to 0. Not

[PATCH 4.8 000/138] 4.8.7-stable review

2016-11-09 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.8.7 release. There are 138 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 Fri Nov 11 10:28:05 UTC 2016. Anything

[PATCH 4.8 113/138] drm/i915/gen9: fix DDB partitioning for multi-screen cases

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Paulo Zanoni commit 01c72d6c17dc524f04d4dbe361d214e423b35457 upstream. With the previous code we were only recomputing the DDB partitioning for the CRTCs included in the atomic commit, so any

[PATCH 4.8 066/138] Staging: wilc1000: Fix kernel Oops on opening the device

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Aditya Shankar commit 1d4f1d53e1e2d5e38f4d3ca3bf60f8be5025540f upstream. Commit 2518ac59eb27 ("staging: wilc1000: Replace kthread with workqueue for host interface") adds an unconditional

[PATCH 4.8 064/138] arm64: dts: marvell: fix clocksource for CP110 master SPI0

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Marcin Wojtas commit 51227bf52008bd4c4c50da4b749bbc6e7bbbca52 upstream. I2C and SPI interfaces share common clock trees within the CP110 HW block. It occurred that SPI0 interface has wrong

[PATCH 4.8 006/138] spi: mark device nodes only in case of successful instantiation

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Ralf Ramsauer commit e0af98a7e025a7263ae7e50264f6f79ed29642a7 upstream. Instantiated SPI device nodes are marked with OF_POPULATE. This was introduced in bd6c164. On unloading, loaded device

[PATCH 4.8 022/138] thermal/powerclamp: correct cpu support check

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Eric Ernst commit 3105f234e0aba43e44e277c20f9b32ee8add43d4 upstream. Initial logic for checking CPU match resulted in OR of CPU features rather than the intended AND. Updated to use

[PATCH 4.8 065/138] iio:chemical:atlas-ph-sensor: Fix use of 32 bit int to hold 16 bit big endian value

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Sandhya Bankar commit d1fe85ec7702917f2f1515b4c421d5d4792201a0 upstream. This will result in a random value being reported on big endian architectures. (thanks to

[PATCH 4.8 065/138] iio:chemical:atlas-ph-sensor: Fix use of 32 bit int to hold 16 bit big endian value

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Sandhya Bankar commit d1fe85ec7702917f2f1515b4c421d5d4792201a0 upstream. This will result in a random value being reported on big endian architectures. (thanks to Lars-Peter Clausen for

[PATCH 4.8 005/138] spi: fsl-espi: avoid processing uninitalized data on error

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 5c0ba57744b1422d528f19430dd66d6803cea86f upstream. When we get a spurious interrupt in fsl_espi_irq, we end up processing four uninitalized bytes of data,

[PATCH 4.8 026/138] device-dax: fix percpu_ref_exit ordering

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 52e73eb2872c9af6f382b2b22954ca8214397a4e upstream. We need to wait until the percpu_ref is released before exit. Otherwise, we sometimes lose the

[PATCH 4.8 040/138] powerpc/64: Fix race condition in setting lock bit in idle/wakeup code

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit 09b7e37b18eecc1e347f4b1a3bc863f32801f634 upstream. This fixes a race condition where one thread that is entering or leaving a power-saving state can

[PATCH 4.8 035/138] cxl: Fix leaking pid refs in some error paths

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Vaibhav Jain commit a05b82d5149dfeef05254a11c3636a89a854520a upstream. In some error paths in functions cxl_start_context and afu_ioctl_start_work pid references to

[PATCH 4.8 005/138] spi: fsl-espi: avoid processing uninitalized data on error

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 5c0ba57744b1422d528f19430dd66d6803cea86f upstream. When we get a spurious interrupt in fsl_espi_irq, we end up processing four uninitalized bytes of data, as shown in this

[PATCH 4.8 026/138] device-dax: fix percpu_ref_exit ordering

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 52e73eb2872c9af6f382b2b22954ca8214397a4e upstream. We need to wait until the percpu_ref is released before exit. Otherwise, we sometimes lose the race and trigger this new

[PATCH 4.8 040/138] powerpc/64: Fix race condition in setting lock bit in idle/wakeup code

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit 09b7e37b18eecc1e347f4b1a3bc863f32801f634 upstream. This fixes a race condition where one thread that is entering or leaving a power-saving state can inadvertently ignore

[PATCH 4.8 035/138] cxl: Fix leaking pid refs in some error paths

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Vaibhav Jain commit a05b82d5149dfeef05254a11c3636a89a854520a upstream. In some error paths in functions cxl_start_context and afu_ioctl_start_work pid references to the current & group-leader

[PATCH 4.8 016/138] gpio: GPIOHANDLE_GET_LINE_VALUES_IOCTL: Fix another information leak

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit d82aa4a8f2e8df9673ddb099262355da4c9b99b1 upstream. The GPIOHANDLE_GET_LINE_VALUES_IOCTL handler allocates a gpiohandle_data struct on the stack and

[PATCH 4.8 002/138] i2c: xgene: Avoid dma_buffer overrun

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Hoan Tran commit 603616017c35f4d0fbdbcace72adf9bf949c4a65 upstream. SMBus block command uses the first byte of buffer for the data length. The dma_buffer should be increased by

[PATCH 4.8 021/138] mm: memcontrol: do not recurse in direct reclaim

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner commit 89a2848381b5fcd9c4d9c0cd97680e3b28730e31 upstream. On 4.0, we saw a stack corruption from a page fault entering direct memory cgroup reclaim, calling

[PATCH 4.8 018/138] libxfs: clean up _calc_dquots_per_chunk

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Darrick J. Wong commit 58d789678546d46d7bbd809dd7dab417c0f23655 upstream. The function xfs_calc_dquots_per_chunk takes a parameter in units of basic blocks. The

[PATCH 4.8 016/138] gpio: GPIOHANDLE_GET_LINE_VALUES_IOCTL: Fix another information leak

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit d82aa4a8f2e8df9673ddb099262355da4c9b99b1 upstream. The GPIOHANDLE_GET_LINE_VALUES_IOCTL handler allocates a gpiohandle_data struct on the stack and then passes it to

[PATCH 4.8 002/138] i2c: xgene: Avoid dma_buffer overrun

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Hoan Tran commit 603616017c35f4d0fbdbcace72adf9bf949c4a65 upstream. SMBus block command uses the first byte of buffer for the data length. The dma_buffer should be increased by 1 to avoid the

[PATCH 4.8 021/138] mm: memcontrol: do not recurse in direct reclaim

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner commit 89a2848381b5fcd9c4d9c0cd97680e3b28730e31 upstream. On 4.0, we saw a stack corruption from a page fault entering direct memory cgroup reclaim, calling into

[PATCH 4.8 018/138] libxfs: clean up _calc_dquots_per_chunk

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Darrick J. Wong commit 58d789678546d46d7bbd809dd7dab417c0f23655 upstream. The function xfs_calc_dquots_per_chunk takes a parameter in units of basic blocks. The kernel seems to get the units

[PATCH 4.4 57/69] ARM: 8584/1: floppy: avoid gcc-6 warning

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit dd665be0e243873343a28e18f9f345927b658daf upstream. gcc-6.0 warns about comparisons between two identical expressions, which is what we get in the floppy

[PATCH 4.8 001/138] i2c: rk3x: Give the tuning value 0 during rk3x_i2c_v0_calc_timings

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: David Wu commit 399c168ab5ab5e12ed55b6c91d61c24eb84c9164 upstream. We found a bug that i2c transfer sometimes failed on 3066a board with stabel-4.8, the con register

[PATCH 4.4 57/69] ARM: 8584/1: floppy: avoid gcc-6 warning

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit dd665be0e243873343a28e18f9f345927b658daf upstream. gcc-6.0 warns about comparisons between two identical expressions, which is what we get in the floppy driver when

[PATCH 4.8 001/138] i2c: rk3x: Give the tuning value 0 during rk3x_i2c_v0_calc_timings

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: David Wu commit 399c168ab5ab5e12ed55b6c91d61c24eb84c9164 upstream. We found a bug that i2c transfer sometimes failed on 3066a board with stabel-4.8, the con register would be updated by

[PATCH 4.4 36/69] ovl: fsync after copy-up

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit 641089c1549d8d3df0b047b5de7e9a111362cdce upstream. Make sure the copied up file hits the disk before renaming to the final destination. If this is

[PATCH 4.4 42/69] firewire: net: guard against rx buffer overflows

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Richter commit 667121ace9dbafb368618dbabcf07901c962ddac upstream. The IP-over-1394 driver firewire-net lacked input validation when handling incoming

[PATCH 4.4 65/69] usb: dwc3: Fix size used in dma_free_coherent()

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET commit 51fbc7c06c8900370c6da5fc4a4685add8fa4fb0 upstream. In commit 2abd9d5fa60f9 ("usb: dwc3: ep0: Add chained TRB support"), the size of the

Re: [PATCH] USB: serial: fix invalid user-pointer checks

2016-11-09 Thread Oliver Neukum
On Tue, 2016-11-08 at 16:41 +0100, Johan Hovold wrote: > On Tue, Nov 08, 2016 at 03:13:13PM +0100, Oliver Neukum wrote: > > On Tue, 2016-11-08 at 13:26 +0100, Johan Hovold wrote: > > > Drop invalid user-pointer checks from ioctl handlers. > > > > > > A NULL-pointer can be valid in user space and

[PATCH 4.8 012/138] gpio: GPIOHANDLE_GET_LINE_VALUES_IOCTL: Fix information leak

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit 3eded5d83bf4e36ad78775c7ceb44a45480b0abd upstream. The GPIOHANDLE_GET_LINE_VALUES_IOCTL handler allocates a gpiohandle_data struct on the stack and

[PATCH 4.4 39/69] virtio: console: Unlock vqs while freeing buffers

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Matt Redfearn commit 34563769e438d2881f62cf4d9badc4e589ac0ec0 upstream. Commit c6017e793b93 ("virtio: console: add locks around buffer removal in port unplug path")

[PATCH 4.4 60/69] cgroup: avoid false positive gcc-6 warning

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit cfe02a8a973e7e5f66926b8ae38dfce404b19e29 upstream. When all subsystems are disabled, gcc notices that cgroup_subsys_enabled_key is a zero-length array and

[PATCH 4.8 012/138] gpio: GPIOHANDLE_GET_LINE_VALUES_IOCTL: Fix information leak

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit 3eded5d83bf4e36ad78775c7ceb44a45480b0abd upstream. The GPIOHANDLE_GET_LINE_VALUES_IOCTL handler allocates a gpiohandle_data struct on the stack and then passes it to

[PATCH 4.4 39/69] virtio: console: Unlock vqs while freeing buffers

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Matt Redfearn commit 34563769e438d2881f62cf4d9badc4e589ac0ec0 upstream. Commit c6017e793b93 ("virtio: console: add locks around buffer removal in port unplug path") added locking around the

[PATCH 4.4 60/69] cgroup: avoid false positive gcc-6 warning

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit cfe02a8a973e7e5f66926b8ae38dfce404b19e29 upstream. When all subsystems are disabled, gcc notices that cgroup_subsys_enabled_key is a zero-length array and that any access

[PATCH 4.4 36/69] ovl: fsync after copy-up

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit 641089c1549d8d3df0b047b5de7e9a111362cdce upstream. Make sure the copied up file hits the disk before renaming to the final destination. If this is not done then the

[PATCH 4.4 42/69] firewire: net: guard against rx buffer overflows

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Stefan Richter commit 667121ace9dbafb368618dbabcf07901c962ddac upstream. The IP-over-1394 driver firewire-net lacked input validation when handling incoming fragmented datagrams. A

[PATCH 4.4 65/69] usb: dwc3: Fix size used in dma_free_coherent()

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Christophe JAILLET commit 51fbc7c06c8900370c6da5fc4a4685add8fa4fb0 upstream. In commit 2abd9d5fa60f9 ("usb: dwc3: ep0: Add chained TRB support"), the size of the memory allocated with

Re: [PATCH] USB: serial: fix invalid user-pointer checks

2016-11-09 Thread Oliver Neukum
On Tue, 2016-11-08 at 16:41 +0100, Johan Hovold wrote: > On Tue, Nov 08, 2016 at 03:13:13PM +0100, Oliver Neukum wrote: > > On Tue, 2016-11-08 at 13:26 +0100, Johan Hovold wrote: > > > Drop invalid user-pointer checks from ioctl handlers. > > > > > > A NULL-pointer can be valid in user space and

[PATCH 4.8 010/138] gpio: GPIO_GET_CHIPINFO_IOCTL: Fix information leak

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit 0f4bbb233743bdfd51d47688b0bc2561f310488b upstream. The GPIO_GET_CHIPINFO_IOCTL handler allocates a gpiochip_info struct on the stack and then passes

[PATCH 4.8 014/138] gpio: GPIO_GET_LINEHANDLE_IOCTL: Reject invalid line flags

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit e3e847c7f15a27c80f526b2a7a8d4dd7ce0960a0 upstream. The GPIO_GET_LINEHANDLE_IOCTL currently ignores unknown or undefined linehandle flags. From a

[PATCH 4.8 010/138] gpio: GPIO_GET_CHIPINFO_IOCTL: Fix information leak

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit 0f4bbb233743bdfd51d47688b0bc2561f310488b upstream. The GPIO_GET_CHIPINFO_IOCTL handler allocates a gpiochip_info struct on the stack and then passes it to

[PATCH 4.8 014/138] gpio: GPIO_GET_LINEHANDLE_IOCTL: Reject invalid line flags

2016-11-09 Thread Greg Kroah-Hartman
4.8-stable review patch. If anyone has any objections, please let me know. -- From: Lars-Peter Clausen commit e3e847c7f15a27c80f526b2a7a8d4dd7ce0960a0 upstream. The GPIO_GET_LINEHANDLE_IOCTL currently ignores unknown or undefined linehandle flags. From a backwards and

[PATCH 4.4 67/69] kvm: x86: Check memopp before dereference (CVE-2016-8630)

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Owen Hofmann commit d9092f52d7e61dd1557f2db2400ddb430e85937e upstream. Commit 41061cdb98 ("KVM: emulate: do not initialize memopp") removes a check for non-NULL under

[PATCH 4.4 54/69] perf build: Fix traceevent plugins build race

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Olsa commit 67befc652845c8ffbefc8d173a6e6ced14d472f1 upstream. Ingo reported following build failure: $ make clean install ... CC plugin_kmem.o fixdep:

[PATCH 4.4 38/69] virtio_ring: Make interrupt suppression spec compliant

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ladi Prosek commit 0ea1e4a6d9b62cf29e210d2b4ba9fd43917522e3 upstream. According to the spec, if the VIRTIO_RING_F_EVENT_IDX feature bit is negotiated the driver MUST set

[PATCH 4.4 67/69] kvm: x86: Check memopp before dereference (CVE-2016-8630)

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Owen Hofmann commit d9092f52d7e61dd1557f2db2400ddb430e85937e upstream. Commit 41061cdb98 ("KVM: emulate: do not initialize memopp") removes a check for non-NULL under incorrect assumptions. An

[PATCH 4.4 54/69] perf build: Fix traceevent plugins build race

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Olsa commit 67befc652845c8ffbefc8d173a6e6ced14d472f1 upstream. Ingo reported following build failure: $ make clean install ... CC plugin_kmem.o fixdep: error opening

[PATCH 4.4 38/69] virtio_ring: Make interrupt suppression spec compliant

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ladi Prosek commit 0ea1e4a6d9b62cf29e210d2b4ba9fd43917522e3 upstream. According to the spec, if the VIRTIO_RING_F_EVENT_IDX feature bit is negotiated the driver MUST set flags to 0. Not

[PATCH 4.4 46/69] scsi: scsi_debug: Fix memory leak if LBP enabled and module is unloaded

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Ewan D. Milne commit 4d2b496f19f3c2cfaca1e8fa0710688b5ff3811d upstream. map_storep was not being vfree()'d in the module_exit call. Signed-off-by: Ewan D. Milne

[PATCH 4.4 51/69] drm/radeon/si_dpm: workaround for SI kickers

2016-11-09 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit 7dc86ef5ac91642dfc3eb93ee0f0458e702a343e upstream. Consolidate existing quirks. Fixes stability issues on some kickers. Signed-off-by: Alex

<    12   13   14   15   16   17   18   19   20   >