[PATCH v3 06/14] media: platform: pxa_camera: trivial move of functions

2016-08-08 Thread Robert Jarzmik
Move the functions in the file to be regrouped into meaningful blocks : 1. pxa camera core handling functions, manipulating the herdware 2. videobuf2 functions, dealing with video buffers 3. video ioctl (vidioc) related functions 4. driver probing, removal, suspend and resume This patch

[PATCH v3 14/14] media: platform: pxa_camera: move pxa_camera out of soc_camera

2016-08-08 Thread Robert Jarzmik
As the conversion to a v4l2 standalone device is finished, move pxa_camera one directory up and finish severing any dependency to soc_camera. Signed-off-by: Robert Jarzmik --- drivers/media/platform/Kconfig |8 + drivers/media/platform/Makefile

Re: [PATCH 0/7] de-stage SW_SYNC validation frawework

2016-08-08 Thread Pavel Machek
On Mon 2016-08-08 16:08:12, Gustavo Padovan wrote: > 2016-08-07 Pavel Machek : > > > On Sun 2016-07-24 15:21:11, Greg Kroah-Hartman wrote: > > > On Mon, Jul 18, 2016 at 04:12:45PM -0300, Gustavo Padovan wrote: > > > > Hi, > > > > > > > > Do you think there is time to get this in

[PATCH v3 07/14] media: platform: pxa_camera: introduce sensor_call

2016-08-08 Thread Robert Jarzmik
Introduce sensor_call(), which will be used for all sensor invocations. This is a preparation move to v4l2 device conversion, ie. soc_camera adherence removal. Signed-off-by: Robert Jarzmik --- drivers/media/platform/soc_camera/pxa_camera.c | 27

Re: [PATCH 0/7] de-stage SW_SYNC validation frawework

2016-08-08 Thread Pavel Machek
On Mon 2016-08-08 16:08:12, Gustavo Padovan wrote: > 2016-08-07 Pavel Machek : > > > On Sun 2016-07-24 15:21:11, Greg Kroah-Hartman wrote: > > > On Mon, Jul 18, 2016 at 04:12:45PM -0300, Gustavo Padovan wrote: > > > > Hi, > > > > > > > > Do you think there is time to get this in for 4.8? > > >

[PATCH v3 07/14] media: platform: pxa_camera: introduce sensor_call

2016-08-08 Thread Robert Jarzmik
Introduce sensor_call(), which will be used for all sensor invocations. This is a preparation move to v4l2 device conversion, ie. soc_camera adherence removal. Signed-off-by: Robert Jarzmik --- drivers/media/platform/soc_camera/pxa_camera.c | 27 ++ 1 file changed, 15

[PATCH v3 03/14] media: mt9m111: use only the SRGB colorspace

2016-08-08 Thread Robert Jarzmik
mt9m111 being a camera sensor, its colorspace should always be SRGB, for both RGB based formats or YCbCr based ones. Signed-off-by: Robert Jarzmik --- drivers/media/i2c/soc_camera/mt9m111.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git

[PATCH v3 08/14] media: platform: pxa_camera: make printk consistent

2016-08-08 Thread Robert Jarzmik
Make all print consistent by always using : - dev_xxx(pcdev_to_dev(pcdev), ) This prepares the soc_camera adherence removal by making these call rely on only pcdev, and not the soc_camera icd structure. Signed-off-by: Robert Jarzmik --- drivers/media/platform/soc_camera/pxa_camera.c | 70

[PATCH v3 06/14] media: platform: pxa_camera: trivial move of functions

2016-08-08 Thread Robert Jarzmik
Move the functions in the file to be regrouped into meaningful blocks : 1. pxa camera core handling functions, manipulating the herdware 2. videobuf2 functions, dealing with video buffers 3. video ioctl (vidioc) related functions 4. driver probing, removal, suspend and resume This patch

[PATCH v3 14/14] media: platform: pxa_camera: move pxa_camera out of soc_camera

2016-08-08 Thread Robert Jarzmik
As the conversion to a v4l2 standalone device is finished, move pxa_camera one directory up and finish severing any dependency to soc_camera. Signed-off-by: Robert Jarzmik --- drivers/media/platform/Kconfig |8 + drivers/media/platform/Makefile|1 +

[PATCH 4.6 48/96] cgroup: remove redundant cleanup in css_create

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Wenwei Tao commit b00c52dae6d9ee8d0f2407118ef6544ae5524781 upstream. When create css failed, before call css_free_rcu_fn, we remove the css id and exit the percpu_ref,

[PATCH v3 09/14] media: platform: pxa_camera: add buffer sequencing

2016-08-08 Thread Robert Jarzmik
Add sequence numbers to completed buffers. Signed-off-by: Robert Jarzmik --- drivers/media/platform/soc_camera/pxa_camera.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/platform/soc_camera/pxa_camera.c

[PATCH v3 10/14] media: platform: pxa_camera: remove set_crop

2016-08-08 Thread Robert Jarzmik
This is to be seen as a regression as the set_crop function is removed. This is a temporary situation in the v4l2 porting, and will have to be added later. Signed-off-by: Robert Jarzmik --- drivers/media/platform/soc_camera/pxa_camera.c | 76 -- 1

[PATCH v3 12/14] media: platform: pxa_camera: add debug register access

2016-08-08 Thread Robert Jarzmik
Add pxa_camera registers access through advanced video debugging. Signed-off-by: Robert Jarzmik --- drivers/media/platform/soc_camera/pxa_camera.c | 57 ++ 1 file changed, 57 insertions(+) diff --git

[PATCH 4.6 48/96] cgroup: remove redundant cleanup in css_create

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Wenwei Tao commit b00c52dae6d9ee8d0f2407118ef6544ae5524781 upstream. When create css failed, before call css_free_rcu_fn, we remove the css id and exit the percpu_ref, but we will do these

[PATCH v3 09/14] media: platform: pxa_camera: add buffer sequencing

2016-08-08 Thread Robert Jarzmik
Add sequence numbers to completed buffers. Signed-off-by: Robert Jarzmik --- drivers/media/platform/soc_camera/pxa_camera.c | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/media/platform/soc_camera/pxa_camera.c b/drivers/media/platform/soc_camera/pxa_camera.c index

[PATCH v3 10/14] media: platform: pxa_camera: remove set_crop

2016-08-08 Thread Robert Jarzmik
This is to be seen as a regression as the set_crop function is removed. This is a temporary situation in the v4l2 porting, and will have to be added later. Signed-off-by: Robert Jarzmik --- drivers/media/platform/soc_camera/pxa_camera.c | 76 -- 1 file changed, 76

[PATCH v3 12/14] media: platform: pxa_camera: add debug register access

2016-08-08 Thread Robert Jarzmik
Add pxa_camera registers access through advanced video debugging. Signed-off-by: Robert Jarzmik --- drivers/media/platform/soc_camera/pxa_camera.c | 57 ++ 1 file changed, 57 insertions(+) diff --git a/drivers/media/platform/soc_camera/pxa_camera.c

[PATCH v3 02/14] media: mt9m111: prevent module removal while in use

2016-08-08 Thread Robert Jarzmik
The mt9m111 can be a removable module : the only case where the module should be kept loaded is while it is used, ie. while an active transation is ongoing on it. The notion of active transaction is mapped on the power state of the module : if powered on the removal is prohibited. Signed-off-by:

[PATCH 4.6 50/96] cgroup: Disable IRQs while holding css_set_lock

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Bristot de Oliveira commit 82d6489d0fed2ec8a8c48c19e8d8a04ac8e5bb26 upstream. While testing the deadline scheduler + cgroup setup I hit this warning. [ 132.612935]

[PATCH 4.6 50/96] cgroup: Disable IRQs while holding css_set_lock

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Bristot de Oliveira commit 82d6489d0fed2ec8a8c48c19e8d8a04ac8e5bb26 upstream. While testing the deadline scheduler + cgroup setup I hit this warning. [ 132.612935] [ cut

[PATCH v3 02/14] media: mt9m111: prevent module removal while in use

2016-08-08 Thread Robert Jarzmik
The mt9m111 can be a removable module : the only case where the module should be kept loaded is while it is used, ie. while an active transation is ongoing on it. The notion of active transaction is mapped on the power state of the module : if powered on the removal is prohibited. Signed-off-by:

[PATCH 4.6 56/96] 9p: use file_dentry()

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit b403f0e37a11f84f7ceaf40b0075499e5bcfd220 upstream. v9fs may be used as lower layer of overlayfs and accessing f_path.dentry can lead to a crash. In

[PATCH 4.6 66/96] platform/chrome: cros_ec_dev - double fetch bug in ioctl

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 096cdc6f52225835ff503f987a0d68ef770bb78e upstream. We verify "u_cmd.outsize" and "u_cmd.insize" but we need to make sure that those values have

[PATCH 4.6 57/96] cpufreq: Avoid false-positive WARN_ON()s in cpufreq_update_policy()

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Rafael J. Wysocki commit 742c87bf27d3b715820da6f8a81d6357adbf18f8 upstream. CPU notifications from the firmware coming in when cpufreq is suspended cause

[PATCH 4.6 38/96] Input: xpad - fix oops when attaching an unknown Xbox One gamepad

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Cameron Gutman commit c7f1429389ec1aa25e042bb13451385fbb596f8c upstream. Xbox One controllers have multiple interfaces which all have the same class, subclass, and

[PATCH 4.6 57/96] cpufreq: Avoid false-positive WARN_ON()s in cpufreq_update_policy()

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Rafael J. Wysocki commit 742c87bf27d3b715820da6f8a81d6357adbf18f8 upstream. CPU notifications from the firmware coming in when cpufreq is suspended cause cpufreq_update_current_freq() to

[PATCH 4.6 38/96] Input: xpad - fix oops when attaching an unknown Xbox One gamepad

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Cameron Gutman commit c7f1429389ec1aa25e042bb13451385fbb596f8c upstream. Xbox One controllers have multiple interfaces which all have the same class, subclass, and protocol. One of the these

[PATCH 4.6 56/96] 9p: use file_dentry()

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit b403f0e37a11f84f7ceaf40b0075499e5bcfd220 upstream. v9fs may be used as lower layer of overlayfs and accessing f_path.dentry can lead to a crash. In this case it's a NULL

[PATCH 4.6 66/96] platform/chrome: cros_ec_dev - double fetch bug in ioctl

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 096cdc6f52225835ff503f987a0d68ef770bb78e upstream. We verify "u_cmd.outsize" and "u_cmd.insize" but we need to make sure that those values have not changed between the two

[PATCH 4.6 55/96] ext4: verify extent header depth

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Vegard Nossum commit 7bc9491645118c9461bd21099c31755ff6783593 upstream. Although the extent tree depth of 5 should enough be for the worst case of 2*32 extents of

[PATCH 4.6 39/96] Input: wacom_w8001 - w8001_MAX_LENGTH should be 13

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Ping Cheng commit 12afb34400eb2b301f06b2aa3535497d14faee59 upstream. Somehow the patch that added two-finger touch support forgot to update W8001_MAX_LENGTH from 11 to 13.

[PATCH 4.6 61/96] spi: sunxi: fix transfer timeout

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Michal Suchanek commit 719bd6542044efd9b338a53dba1bef45f40ca169 upstream. The trasfer timeout is fixed at 1000 ms. Reading a 4Mbyte flash over 1MHz SPI bus takes way longer

[PATCH 4.6 39/96] Input: wacom_w8001 - w8001_MAX_LENGTH should be 13

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Ping Cheng commit 12afb34400eb2b301f06b2aa3535497d14faee59 upstream. Somehow the patch that added two-finger touch support forgot to update W8001_MAX_LENGTH from 11 to 13. Signed-off-by: Ping

[PATCH 4.6 61/96] spi: sunxi: fix transfer timeout

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Michal Suchanek commit 719bd6542044efd9b338a53dba1bef45f40ca169 upstream. The trasfer timeout is fixed at 1000 ms. Reading a 4Mbyte flash over 1MHz SPI bus takes way longer than that.

[PATCH 4.6 55/96] ext4: verify extent header depth

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Vegard Nossum commit 7bc9491645118c9461bd21099c31755ff6783593 upstream. Although the extent tree depth of 5 should enough be for the worst case of 2*32 extents of length 1, the extent tree

[PATCH 4.6 59/96] namespace: update event counter when umounting a deleted dentry

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ulanov commit e06b933e6ded42384164d28a2060b7f89243b895 upstream. - m_start() in fs/namespace.c expects that ns->event is incremented each time a mount added or

[PATCH 4.6 60/96] spi: rockchip: Signal unfinished DMA transfers

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Tomeu Vizoso commit 4dc0dd83603f05dc3ae152af33ecb15104c313f3 upstream. When using DMA, the transfer_one callback should return 1 because the transfer hasn't

[PATCH 4.6 60/96] spi: rockchip: Signal unfinished DMA transfers

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Tomeu Vizoso commit 4dc0dd83603f05dc3ae152af33ecb15104c313f3 upstream. When using DMA, the transfer_one callback should return 1 because the transfer hasn't finished yet. A previous commit

[PATCH 4.6 59/96] namespace: update event counter when umounting a deleted dentry

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Andrey Ulanov commit e06b933e6ded42384164d28a2060b7f89243b895 upstream. - m_start() in fs/namespace.c expects that ns->event is incremented each time a mount added or removed from ns->list.

[PATCH 4.6 52/96] locks: use file_inode()

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit 6343a2120862f7023006c8091ad95c1f16a32077 upstream. (Another one for the f_path debacle.) ltp fcntl33 testcase caused an Oops in

[PATCH 4.6 52/96] locks: use file_inode()

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit 6343a2120862f7023006c8091ad95c1f16a32077 upstream. (Another one for the f_path debacle.) ltp fcntl33 testcase caused an Oops in selinux_file_send_sigiotask. The reason

[PATCH 4.6 43/96] Input: synaptics-rmi4 - fix maximum size check for F12 control register 8

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Duggan commit e4add7b6beaff4061693d0632bc1dcb306edba10 upstream. According to the RMI4 spec the maximum size of F12 control register 8 is 15 bytes. The current

[PATCH 4.6 73/96] can: at91_can: RX queue could get stuck at high bus load

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Wolfgang Grandegger commit 43200a4480cbbe660309621817f54cbb93907108 upstream. At high bus load it could happen that "at91_poll()" enters with all RX message boxes filled

[PATCH 4.6 67/96] qeth: delete napi struct when removing a qeth device

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Ursula Braun commit 7831b4ff0d926e0deeaabef9db8800ed069a2757 upstream. A qeth_card contains a napi_struct linked to the net_device during device probing. This struct

[PATCH 4.6 74/96] can: c_can: Update D_CAN TX and RX functions to 32 bit - fix Altera Cyclone access

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Thor Thayer commit 427460c83cdf55069eee49799a0caef7dde8df69 upstream. When testing CAN write floods on Altera's CycloneV, the first 2 bytes are sometimes 0x00,

[PATCH 4.6 69/96] block: fix use-after-free in sys_ioprio_get()

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Omar Sandoval commit 8ba8682107ee2ca3347354e018865d8e1967c5f4 upstream. get_task_ioprio() accesses the task->io_context without holding the task lock and thus can race with

[PATCH 4.6 76/96] can: fix oops caused by wrong rtnl dellink usage

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Hartkopp commit 25e1ed6e64f52a692ba3191c4fde650aab3ecc07 upstream. For 'real' hardware CAN devices the netlink interface is used to set CAN specific

[PATCH 4.6 68/96] init/Kconfig: keep Expert users menu together

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Randy Dunlap commit 076501ff6ba265a473689c112eda9f1f34f620b5 upstream. The "expert" menu was broken (split) such that all entries in it after KALLSYMS were displayed in

[PATCH 4.6 72/96] sched/fair: Fix effective_load() to consistently use smoothed load

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 7dd4912594daf769a46744848b05bd5bc6d62469 upstream. Starting with the following commit: fde7d22e01aa ("sched/fair: Fix overly small weight for

[PATCH 4.6 43/96] Input: synaptics-rmi4 - fix maximum size check for F12 control register 8

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Andrew Duggan commit e4add7b6beaff4061693d0632bc1dcb306edba10 upstream. According to the RMI4 spec the maximum size of F12 control register 8 is 15 bytes. The current code incorrectly reports

[PATCH 4.6 73/96] can: at91_can: RX queue could get stuck at high bus load

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Wolfgang Grandegger commit 43200a4480cbbe660309621817f54cbb93907108 upstream. At high bus load it could happen that "at91_poll()" enters with all RX message boxes filled up. If then at the end

[PATCH 4.6 67/96] qeth: delete napi struct when removing a qeth device

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Ursula Braun commit 7831b4ff0d926e0deeaabef9db8800ed069a2757 upstream. A qeth_card contains a napi_struct linked to the net_device during device probing. This struct must be deleted when

[PATCH 4.6 74/96] can: c_can: Update D_CAN TX and RX functions to 32 bit - fix Altera Cyclone access

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Thor Thayer commit 427460c83cdf55069eee49799a0caef7dde8df69 upstream. When testing CAN write floods on Altera's CycloneV, the first 2 bytes are sometimes 0x00, 0x00 or corrupted instead of the

[PATCH 4.6 69/96] block: fix use-after-free in sys_ioprio_get()

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Omar Sandoval commit 8ba8682107ee2ca3347354e018865d8e1967c5f4 upstream. get_task_ioprio() accesses the task->io_context without holding the task lock and thus can race with exit_io_context(),

[PATCH 4.6 76/96] can: fix oops caused by wrong rtnl dellink usage

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Hartkopp commit 25e1ed6e64f52a692ba3191c4fde650aab3ecc07 upstream. For 'real' hardware CAN devices the netlink interface is used to set CAN specific communication parameters. Real CAN

[PATCH 4.6 68/96] init/Kconfig: keep Expert users menu together

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Randy Dunlap commit 076501ff6ba265a473689c112eda9f1f34f620b5 upstream. The "expert" menu was broken (split) such that all entries in it after KALLSYMS were displayed in the "General setup"

[PATCH 4.6 72/96] sched/fair: Fix effective_load() to consistently use smoothed load

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 7dd4912594daf769a46744848b05bd5bc6d62469 upstream. Starting with the following commit: fde7d22e01aa ("sched/fair: Fix overly small weight for interactive group

[PATCH 4.6 41/96] Input: xpad - validate USB endpoint count during probe

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Cameron Gutman commit caca925fca4fb30c67be88cacbe908eec6721e43 upstream. This prevents a malicious USB device from causing an oops. Signed-off-by: Cameron Gutman

[PATCH 4.6 71/96] mmc: block: fix packed command header endianness

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Taras Kondratiuk commit f68381a70bb2b26c31b13fdaf67c778f92fd32b4 upstream. The code that fills packed command header assumes that CPU runs in little-endian mode. Hence the

[PATCH 4.6 65/96] lockd: unregister notifier blocks if the service fails to come up completely

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Scott Mayhew commit cb7d224f82e41d82518e7f9ea271d215d4d08e6e upstream. If the lockd service fails to start up then we need to be sure that the notifier blocks are not

[PATCH 4.6 36/96] Input: vmmouse - remove port reservation

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Sinclair Yeh commit 60842ef8128e7bf58c024814cd0dc14319232b6c upstream. The VMWare EFI BIOS will expose port 0x5658 as an ACPI resource. This causes the port to be reserved by

[PATCH 4.6 65/96] lockd: unregister notifier blocks if the service fails to come up completely

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Scott Mayhew commit cb7d224f82e41d82518e7f9ea271d215d4d08e6e upstream. If the lockd service fails to start up then we need to be sure that the notifier blocks are not registered, otherwise a

[PATCH 4.6 36/96] Input: vmmouse - remove port reservation

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Sinclair Yeh commit 60842ef8128e7bf58c024814cd0dc14319232b6c upstream. The VMWare EFI BIOS will expose port 0x5658 as an ACPI resource. This causes the port to be reserved by the APCI module

[PATCH 4.6 41/96] Input: xpad - validate USB endpoint count during probe

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Cameron Gutman commit caca925fca4fb30c67be88cacbe908eec6721e43 upstream. This prevents a malicious USB device from causing an oops. Signed-off-by: Cameron Gutman Signed-off-by: Dmitry

[PATCH 4.6 71/96] mmc: block: fix packed command header endianness

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Taras Kondratiuk commit f68381a70bb2b26c31b13fdaf67c778f92fd32b4 upstream. The code that fills packed command header assumes that CPU runs in little-endian mode. Hence the header is malformed

[PATCH 4.6 91/96] net: mvneta: set real interrupt per packet for tx_done

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Dmitri Epshtein commit 06708f81528725148473c0869d6af5f809c6824b upstream. Commit aebea2ba0f74 ("net: mvneta: fix Tx interrupt delay") intended to set coalescing threshold to

[PATCH 4.6 84/96] posix_cpu_timer: Exit early when process has been reaped

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Dobriyan commit 2c13ce8f6b2f6fd9ba2f9261b1939fc0f62d1307 upstream. Variable "now" seems to be genuinely used unintialized if branch if

[PATCH 4.6 82/96] ipr: Clear interrupt on croc/crocodile when running with LSI

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Brian King commit 54e430bbd490e18ab116afa4cd90dcc45787b3df upstream. If we fall back to using LSI on the Croc or Crocodile chip we need to clear the interrupt so we

[PATCH 4.6 77/96] RDS: fix rds_tcp_init() error path

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Vegard Nossum commit 3dad5424adfb346c871847d467f97dcdca64ea97 upstream. If register_pernet_subsys() fails, we shouldn't try to call unregister_pernet_subsys().

[PATCH 4.6 94/96] intel_th: Fix a deadlock in modprobing

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Shishkin commit a36aa80f3cb2540fb1dbad6240852de4365a2e82 upstream. Driver initialization tries to request a hub (GTH) driver module from its probe

[PATCH 4.6 86/96] [media] adv7604: Dont ignore pad number in subdev DV timings pad operations

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Laurent Pinchart commit 6519c3d7b8621c9f4333c98ed4b703029b51ba79 upstream. The dv_timings_cap() and enum_dv_timings() pad operations take a pad number as an

[PATCH 4.6 91/96] net: mvneta: set real interrupt per packet for tx_done

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Dmitri Epshtein commit 06708f81528725148473c0869d6af5f809c6824b upstream. Commit aebea2ba0f74 ("net: mvneta: fix Tx interrupt delay") intended to set coalescing threshold to a value

[PATCH 4.6 84/96] posix_cpu_timer: Exit early when process has been reaped

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Alexey Dobriyan commit 2c13ce8f6b2f6fd9ba2f9261b1939fc0f62d1307 upstream. Variable "now" seems to be genuinely used unintialized if branch if (CPUCLOCK_PERTHREAD(timer->it_clock)) {

[PATCH 4.6 82/96] ipr: Clear interrupt on croc/crocodile when running with LSI

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Brian King commit 54e430bbd490e18ab116afa4cd90dcc45787b3df upstream. If we fall back to using LSI on the Croc or Crocodile chip we need to clear the interrupt so we don't hang the system.

[PATCH 4.6 77/96] RDS: fix rds_tcp_init() error path

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Vegard Nossum commit 3dad5424adfb346c871847d467f97dcdca64ea97 upstream. If register_pernet_subsys() fails, we shouldn't try to call unregister_pernet_subsys(). Fixes: 467fa15356 ("RDS-TCP:

[PATCH 4.6 94/96] intel_th: Fix a deadlock in modprobing

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Shishkin commit a36aa80f3cb2540fb1dbad6240852de4365a2e82 upstream. Driver initialization tries to request a hub (GTH) driver module from its probe callback, resulting in a deadlock.

[PATCH 4.6 86/96] [media] adv7604: Dont ignore pad number in subdev DV timings pad operations

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Laurent Pinchart commit 6519c3d7b8621c9f4333c98ed4b703029b51ba79 upstream. The dv_timings_cap() and enum_dv_timings() pad operations take a pad number as an input argument and return the DV

[PATCH 4.6 87/96] i2c: qup: Fix wrong value of index variable

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Sricharan R commit d4f56c7773483b8829e89cfc739b7a5a071f6da0 upstream. index gets incremented during check to determine if the messages can be transferred with dma.

[PATCH 4.6 92/96] cfg80211: handle failed skb allocation

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Gregory Greenman commit 16a910a6722b7a8680409e634c7c0dac073c01e4 upstream. Handle the case when dev_alloc_skb returns NULL. Fixes: 2b67f944f88c2 ("cfg80211: reuse

[PATCH 4.6 88/96] i2c: mux: reg: wrong condition checked for of_address_to_resource return value

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Lukasz Gemborowski commit 22ebf00eb56fe77922de8138aa9af9996582c2b3 upstream. of_address_to_resource return 0 on successful call but devm_ioremap_resource is

[PATCH 4.6 95/96] vfs: ioctl: prevent double-fetch in dedupe ioctl

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Scott Bauer commit 10eec60ce79187686e052092e5383c99b4420a20 upstream. This prevents a double-fetch from user space that can lead to to an undersized allocation and heap

Re: [PATCH 1/3] radix-tree: 'slot' can be NULL in radix_tree_next_slot()

2016-08-08 Thread Konstantin Khlebnikov
On Mon, Aug 8, 2016 at 9:57 PM, Ross Zwisler wrote: > There are four cases I can see where we could end up with a NULL 'slot' in > radix_tree_next_slot(). Yet radix_tree_next_slot() never actually checks > whether 'slot' is NULL. It just happens that for the cases

[PATCH 4.6 78/96] irqchip/mips-gic: Map to VPs using HW VPNum

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Paul Burton commit 99ec8a3608330d202448085185cf28389b789b7b upstream. When mapping an interrupt to a VP(E) we must use the identifier for the VP that the hardware

Re: [PATCH v18 6/6] ARM: socfpga: fpga bridge driver support

2016-08-08 Thread atull
On Thu, 14 Jul 2016, Paul Gortmaker wrote: > On Tue, Jul 12, 2016 at 3:36 PM, Alan Tull > wrote: > > Supports Altera SOCFPGA bridges: > > * fpga2sdram > > * fpga2hps > > * hps2fpga > > * lwhps2fpga > > > > Allows enabling/disabling the bridges through the FPGA >

[PATCH 4.6 83/96] media: fix airspy usb probe error path

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: James Patrick-Evans commit aa93d1fee85c890a34f2510a310e55ee76a27848 upstream. Fix a memory leak on probe error of the airspy usb device driver. The problem is triggered when

[PATCH 4.6 89/96] libata: LITE-ON CX1-JB256-HP needs lower max_sectors

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 1488a1e3828d60d74c9b802a05e24c0487babe4e upstream. Since 34b48db66e08 ("block: remove artifical max_hw_sectors cap"), max_sectors is no longer limited to

[PATCH 4.6 79/96] irqchip/mips-gic: Match IPI IRQ domain by bus token only

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Paul Burton commit 547aefc4db877e65245c3d95fcce703701bf3a0c upstream. Commit fbde2d7d8290 ("MIPS: Add generic SMP IPI support") introduced code which calls

[PATCH 4.6 81/96] SCSI: fix new bug in scsi_dev_info_list string matching

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 5e7ff2ca7f2da55fe777167849d0c93403bd0dc8 upstream. Commit b704f70ce200 ("SCSI: fix bug in scsi_dev_info_list matching") changed the way vendor- and

[PATCH 4.6 96/96] vfs: fix deadlock in file_remove_privs() on overlayfs

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Miklos Szeredi commit c1892c37769cf89c7e7ba57528ae2ccb5d153c9b upstream. file_remove_privs() is called with inode lock on file_inode(), which proceeds to calling

[PATCH 4.6 93/96] intel_th: pci: Add Kaby Lake PCH-H support

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Shishkin commit 7a1a47ce35821b40f5b2ce46379ba14393bc3873 upstream. This adds Intel(R) Trace Hub PCI ID for Kaby Lake PCH-H. Signed-off-by:

[PATCH 4.6 85/96] cpu/hotplug: Keep enough storage space if SMP=n to avoid array out of bounds scribble

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit a7c734140aa36413944eef0f8c660e0e2256357d upstream. Xiaolong Ye reported lock debug warnings triggered by the following commit: 8de4a0066106

[PATCH 4.6 87/96] i2c: qup: Fix wrong value of index variable

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Sricharan R commit d4f56c7773483b8829e89cfc739b7a5a071f6da0 upstream. index gets incremented during check to determine if the messages can be transferred with dma. But not reset after that,

[PATCH 4.6 92/96] cfg80211: handle failed skb allocation

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Gregory Greenman commit 16a910a6722b7a8680409e634c7c0dac073c01e4 upstream. Handle the case when dev_alloc_skb returns NULL. Fixes: 2b67f944f88c2 ("cfg80211: reuse existing page fragments in

[PATCH 4.6 88/96] i2c: mux: reg: wrong condition checked for of_address_to_resource return value

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Lukasz Gemborowski commit 22ebf00eb56fe77922de8138aa9af9996582c2b3 upstream. of_address_to_resource return 0 on successful call but devm_ioremap_resource is called only if it returns non-zero

[PATCH 4.6 95/96] vfs: ioctl: prevent double-fetch in dedupe ioctl

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Scott Bauer commit 10eec60ce79187686e052092e5383c99b4420a20 upstream. This prevents a double-fetch from user space that can lead to to an undersized allocation and heap overflow. Fixes:

Re: [PATCH 1/3] radix-tree: 'slot' can be NULL in radix_tree_next_slot()

2016-08-08 Thread Konstantin Khlebnikov
On Mon, Aug 8, 2016 at 9:57 PM, Ross Zwisler wrote: > There are four cases I can see where we could end up with a NULL 'slot' in > radix_tree_next_slot(). Yet radix_tree_next_slot() never actually checks > whether 'slot' is NULL. It just happens that for the cases where 'slot' is > NULL, some

[PATCH 4.6 78/96] irqchip/mips-gic: Map to VPs using HW VPNum

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: Paul Burton commit 99ec8a3608330d202448085185cf28389b789b7b upstream. When mapping an interrupt to a VP(E) we must use the identifier for the VP that the hardware expects, and this does not

Re: [PATCH v18 6/6] ARM: socfpga: fpga bridge driver support

2016-08-08 Thread atull
On Thu, 14 Jul 2016, Paul Gortmaker wrote: > On Tue, Jul 12, 2016 at 3:36 PM, Alan Tull > wrote: > > Supports Altera SOCFPGA bridges: > > * fpga2sdram > > * fpga2hps > > * hps2fpga > > * lwhps2fpga > > > > Allows enabling/disabling the bridges through the FPGA > > Bridge Framework API

[PATCH 4.6 83/96] media: fix airspy usb probe error path

2016-08-08 Thread Greg Kroah-Hartman
4.6-stable review patch. If anyone has any objections, please let me know. -- From: James Patrick-Evans commit aa93d1fee85c890a34f2510a310e55ee76a27848 upstream. Fix a memory leak on probe error of the airspy usb device driver. The problem is triggered when more than 64 usb

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