[PATCH 4.5 135/238] bcache: cleaned up error handling around register_cache()

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Eric Wheeler commit 9b299728ed777428b3908ac72ace5f8f84b97789 upstream. Fix null pointer dereference by changing register_cache() to return an int instead of being

[PATCH 4.5 107/238] mtip32xx: Fix broken service thread handling

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Asai Thambi SP commit cfc05bd31384c4898bf2437a4de5557f3cf9803a upstream. Service thread does not detect the need for taskfile error hanlding. Fixed the flag condition

[PATCH 4.5 109/238] mtip32xx: Print exact time when an internal command is interrupted

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Asai Thambi SP commit 5b7e0a8ac85e2dfd83830dc9e0b3554d153a37e3 upstream. Print exact time when an internal command is interrupted. Signed-off-by: Selvan Mani

[PATCH 4.5 108/238] mtip32xx: Remove unwanted code from taskfile error handler

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Asai Thambi SP commit e35b94738a2f7caa12017f69ef385cb6b8028965 upstream. Remove setting and clearing MTIP_PF_EH_ACTIVE_BIT flag in mtip_handle_tfe() as they are

[PATCH 4.5 101/238] [media] saa7134: Fix bytesperline not being set correctly for planar formats

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 3e71da19f9dc22e39a755d6ae9678661abb66adc upstream. bytesperline should be the bytesperline for the first plane for planar formats, not that of all

[PATCH 4.5 159/238] xfs: fix two memory leaks in xfs_attr_list.c error paths

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Mateusz Guzik commit 2e83b79b2d6c78bf1b4aa227938a214dcbddc83f upstream. This plugs 2 trivial leaks in xfs_attr_shortform_list and xfs_attr3_leaf_list_int. Signed-off-by:

[PATCH 4.5 138/238] mm: memcontrol: reclaim when shrinking memory.high below usage

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Johannes Weiner commit 588083bb37a3cea8533c392370a554417c8f29cb upstream. When setting memory.high below usage, nothing happens until the next charge comes along, and then it will only reclaim

[PATCH 4.5 149/238] of: alloc anywhere from memblock if range not specified

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Vinayak Menon commit e53b50c0cbe392c946807abf7d07615a3c588642 upstream. early_init_dt_alloc_reserved_memory_arch passes end as 0 to __memblock_alloc_base, when limits are not specified. But

[PATCH 4.5 135/238] bcache: cleaned up error handling around register_cache()

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Eric Wheeler commit 9b299728ed777428b3908ac72ace5f8f84b97789 upstream. Fix null pointer dereference by changing register_cache() to return an int instead of being void. This allows it to

[PATCH 4.5 107/238] mtip32xx: Fix broken service thread handling

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Asai Thambi SP commit cfc05bd31384c4898bf2437a4de5557f3cf9803a upstream. Service thread does not detect the need for taskfile error hanlding. Fixed the flag condition to process taskfile

[PATCH 4.5 109/238] mtip32xx: Print exact time when an internal command is interrupted

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Asai Thambi SP commit 5b7e0a8ac85e2dfd83830dc9e0b3554d153a37e3 upstream. Print exact time when an internal command is interrupted. Signed-off-by: Selvan Mani Signed-off-by: Rajesh Kumar

[PATCH 4.5 108/238] mtip32xx: Remove unwanted code from taskfile error handler

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Asai Thambi SP commit e35b94738a2f7caa12017f69ef385cb6b8028965 upstream. Remove setting and clearing MTIP_PF_EH_ACTIVE_BIT flag in mtip_handle_tfe() as they are redundant. Also avoid waking up

[PATCH 4.5 101/238] [media] saa7134: Fix bytesperline not being set correctly for planar formats

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Hans de Goede commit 3e71da19f9dc22e39a755d6ae9678661abb66adc upstream. bytesperline should be the bytesperline for the first plane for planar formats, not that of all planes combined. This

[PATCH 4.5 159/238] xfs: fix two memory leaks in xfs_attr_list.c error paths

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Mateusz Guzik commit 2e83b79b2d6c78bf1b4aa227938a214dcbddc83f upstream. This plugs 2 trivial leaks in xfs_attr_shortform_list and xfs_attr3_leaf_list_int. Signed-off-by: Mateusz Guzik

[PATCH 4.5 120/238] ALSA: hda - fix the mic mute button and led problem for a Lenovo AIO

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 6ef2f68fa38bf415830f67903d87180d933e0f47 upstream. This Lenovo ThinkCentre AIO also uses Line2 as mic mute button and uses GPIO2 to control the mic mute

[PATCH 4.5 110/238] mtip32xx: Fix for rmmod crash when drive is in FTL rebuild

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Asai Thambi SP commit 59cf70e236c96594d9f1e065755d8fce9df5356b upstream. When FTL rebuild is in progress, alloc_disk() initializes the disk but device node will be

[PATCH 4.5 158/238] quota: Fix possible GPF due to uninitialised pointers

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Nikolay Borisov commit ab73ef46398e2c0159f3a71de834586422d2a44a upstream. When dqget() in __dquot_initialize() fails e.g. due to IO error, __dquot_initialize() will pass an

[PATCH 4.5 147/238] net: mvneta: enable change MAC address when interface is up

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Dmitri Epshtein commit 928b6519afeb2a5e2dc61154380b545ed66c476a upstream. Function eth_prepare_mac_addr_change() is called as part of MAC address change. This function check

[PATCH 4.5 106/238] mtip32xx: Avoid issuing standby immediate cmd during FTL rebuild

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Asai Thambi SP commit d8a18d2d8f5de55666c6011ed175939d22c8e3d8 upstream. Prevent standby immediate command from being issued in remove, suspend and shutdown paths,

[PATCH 4.5 158/238] quota: Fix possible GPF due to uninitialised pointers

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Nikolay Borisov commit ab73ef46398e2c0159f3a71de834586422d2a44a upstream. When dqget() in __dquot_initialize() fails e.g. due to IO error, __dquot_initialize() will pass an array of

[PATCH 4.5 147/238] net: mvneta: enable change MAC address when interface is up

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Dmitri Epshtein commit 928b6519afeb2a5e2dc61154380b545ed66c476a upstream. Function eth_prepare_mac_addr_change() is called as part of MAC address change. This function check if interface is

[PATCH 4.5 106/238] mtip32xx: Avoid issuing standby immediate cmd during FTL rebuild

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Asai Thambi SP commit d8a18d2d8f5de55666c6011ed175939d22c8e3d8 upstream. Prevent standby immediate command from being issued in remove, suspend and shutdown paths, while drive is in FTL

[PATCH 4.5 120/238] ALSA: hda - fix the mic mute button and led problem for a Lenovo AIO

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Hui Wang commit 6ef2f68fa38bf415830f67903d87180d933e0f47 upstream. This Lenovo ThinkCentre AIO also uses Line2 as mic mute button and uses GPIO2 to control the mic mute led, so applying this

[PATCH 4.5 110/238] mtip32xx: Fix for rmmod crash when drive is in FTL rebuild

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Asai Thambi SP commit 59cf70e236c96594d9f1e065755d8fce9df5356b upstream. When FTL rebuild is in progress, alloc_disk() initializes the disk but device node will be created by add_disk() only

[PATCH 4.5 168/238] fuse: Add reference counting for fuse_io_priv

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Seth Forshee commit 744742d692e37ad5c20630e57d526c8f2e2fe3c9 upstream. The 'reqs' member of fuse_io_priv serves two purposes. First is to track the number of

[PATCH 4.5 168/238] fuse: Add reference counting for fuse_io_priv

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Seth Forshee commit 744742d692e37ad5c20630e57d526c8f2e2fe3c9 upstream. The 'reqs' member of fuse_io_priv serves two purposes. First is to track the number of oustanding async requests to the

[PATCH 4.5 150/238] vfs: show_vfsstat: do not ignore errors from show_devname method

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry V. Levin commit 5f8d498d4364f544fee17125787a47553db02afa upstream. Explicitly check show_devname method return code and bail out in case of an error. This fixes

[PATCH 4.5 150/238] vfs: show_vfsstat: do not ignore errors from show_devname method

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Dmitry V. Levin commit 5f8d498d4364f544fee17125787a47553db02afa upstream. Explicitly check show_devname method return code and bail out in case of an error. This fixes regression introduced

[PATCH 4.5 161/238] md/raid5: Compare apples to apples (or sectors to sectors)

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jes Sorensen commit e7597e69dec59b65c5525db1626b9d34afdfa678 upstream. 'max_discard_sectors' is in sectors, while 'stripe' is in bytes. This fixes the problem where

[PATCH 4.5 161/238] md/raid5: Compare apples to apples (or sectors to sectors)

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jes Sorensen commit e7597e69dec59b65c5525db1626b9d34afdfa678 upstream. 'max_discard_sectors' is in sectors, while 'stripe' is in bytes. This fixes the problem where DISCARD would get disabled

[PATCH 4.5 162/238] RAID5: check_reshape() shouldnt call mddev_suspend

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit 27a353c026a879a1001e5eac4bda75b16262c44a upstream. check_reshape() is called from raid5d thread. raid5d thread shouldn't call mddev_suspend(), because

[PATCH 4.5 162/238] RAID5: check_reshape() shouldnt call mddev_suspend

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit 27a353c026a879a1001e5eac4bda75b16262c44a upstream. check_reshape() is called from raid5d thread. raid5d thread shouldn't call mddev_suspend(), because mddev_suspend() waits

[PATCH 4.5 164/238] raid10: include bio_end_io_list in nr_queued to prevent freeze_array hang

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit 23ddba80ebe836476bb2fa1f5ef305dd1c63dc0b upstream. This is the raid10 counterpart of the bug fixed by Nate (raid1: include bio_end_io_list in nr_queued to

[PATCH 4.5 136/238] bcache: fix race of writeback thread starting before complete initialization

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Eric Wheeler commit 07cc6ef8edc47f8b4fc1e276d31127a0a5863d4d upstream. The bch_writeback_thread might BUG_ON in read_dirty() if dc->sb==BDEV_STATE_DIRTY and

Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732

2016-04-10 Thread Rik van Riel
On Sun, 2016-04-10 at 17:39 +0200, Mike Galbraith wrote: > On Sat, 2016-04-09 at 14:31 +0200, Rafael J. Wysocki wrote: > > > > On Sat, Apr 9, 2016 at 1:07 PM, Peter Zijlstra > g> > > wrote: > > > > > > On Fri, Apr 08, 2016 at 10:59:59PM +0200, Rafael J. Wysocki > > >

[PATCH 4.5 171/238] rapidio/rionet: fix deadlock on SMP

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Aurelien Jacquiot commit 36915976eca58f2eefa040ba8f9939672564df61 upstream. Fix deadlocking during concurrent receive and transmit operations on SMP platforms caused by the

[PATCH 4.5 160/238] raid1: include bio_end_io_list in nr_queued to prevent freeze_array hang

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Nate Dailey commit ccfc7bf1f09d6190ef86693ddc761d5fe3fa47cb upstream. If raid1d is handling a mix of read and write errors, handle_read_error's call to freeze_array

[PATCH 4.5 164/238] raid10: include bio_end_io_list in nr_queued to prevent freeze_array hang

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit 23ddba80ebe836476bb2fa1f5ef305dd1c63dc0b upstream. This is the raid10 counterpart of the bug fixed by Nate (raid1: include bio_end_io_list in nr_queued to prevent

[PATCH 4.5 136/238] bcache: fix race of writeback thread starting before complete initialization

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Eric Wheeler commit 07cc6ef8edc47f8b4fc1e276d31127a0a5863d4d upstream. The bch_writeback_thread might BUG_ON in read_dirty() if dc->sb==BDEV_STATE_DIRTY and bch_sectors_dirty_init has not yet

Re: [regression] cross core scheduling frequency drop bisected to 0c313cb20732

2016-04-10 Thread Rik van Riel
On Sun, 2016-04-10 at 17:39 +0200, Mike Galbraith wrote: > On Sat, 2016-04-09 at 14:31 +0200, Rafael J. Wysocki wrote: > > > > On Sat, Apr 9, 2016 at 1:07 PM, Peter Zijlstra > g> > > wrote: > > > > > > On Fri, Apr 08, 2016 at 10:59:59PM +0200, Rafael J. Wysocki > > > wrote: > > > > > > > > On

[PATCH 4.5 171/238] rapidio/rionet: fix deadlock on SMP

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Aurelien Jacquiot commit 36915976eca58f2eefa040ba8f9939672564df61 upstream. Fix deadlocking during concurrent receive and transmit operations on SMP platforms caused by the use of incorrect

[PATCH 4.5 160/238] raid1: include bio_end_io_list in nr_queued to prevent freeze_array hang

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Nate Dailey commit ccfc7bf1f09d6190ef86693ddc761d5fe3fa47cb upstream. If raid1d is handling a mix of read and write errors, handle_read_error's call to freeze_array can get stuck. This can

[PATCH 4.5 167/238] fuse: do not use iocb after it may have been freed

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Robert Doebbelin commit 7cabc61e01a0a8b663bd2b4c982aa53048218734 upstream. There's a race in fuse_direct_IO(), whereby is_sync_kiocb() is called on an iocb that could have

[PATCH 4.5 170/238] fs/coredump: prevent fsuid=0 dumps into user-controlled directories

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jann Horn commit 378c6520e7d29280f400ef2ceaf155c86f05a71a upstream. This commit fixes the following security hole affecting systems where all of the following conditions are

[PATCH 4.5 104/238] [media] coda: fix first encoded frame payload

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Philipp Zabel commit 74dc385cb450089b28c28be2c8a0baca296b95f9 upstream. During the recent vb2_buffer restructuring, the calculation of the buffer payload reported to

[PATCH 4.5 165/238] md/raid5: preserve STRIPE_PREREAD_ACTIVE in break_stripe_batch_list

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 550da24f8d62fe81f3c13e3ec27602d6e44d43dc upstream. break_stripe_batch_list breaks up a batch and copies some flags from the batch head to the members,

[PATCH 4.5 167/238] fuse: do not use iocb after it may have been freed

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Robert Doebbelin commit 7cabc61e01a0a8b663bd2b4c982aa53048218734 upstream. There's a race in fuse_direct_IO(), whereby is_sync_kiocb() is called on an iocb that could have been freed if async

[PATCH 4.5 170/238] fs/coredump: prevent fsuid=0 dumps into user-controlled directories

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jann Horn commit 378c6520e7d29280f400ef2ceaf155c86f05a71a upstream. This commit fixes the following security hole affecting systems where all of the following conditions are fulfilled: - The

[PATCH 4.5 104/238] [media] coda: fix first encoded frame payload

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Philipp Zabel commit 74dc385cb450089b28c28be2c8a0baca296b95f9 upstream. During the recent vb2_buffer restructuring, the calculation of the buffer payload reported to userspace was accidentally

[PATCH 4.5 165/238] md/raid5: preserve STRIPE_PREREAD_ACTIVE in break_stripe_batch_list

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit 550da24f8d62fe81f3c13e3ec27602d6e44d43dc upstream. break_stripe_batch_list breaks up a batch and copies some flags from the batch head to the members, preserving others. It

[PATCH 4.5 163/238] RAID5: revert e9e4c377e2f563 to fix a livelock

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit 6ab2a4b806ae21b6c3e47c5ff1285ec06d505325 upstream. Revert commit e9e4c377e2f563(md/raid5: per hash value and exclusive wait_for_stripe) The problem is

[PATCH 4.5 163/238] RAID5: revert e9e4c377e2f563 to fix a livelock

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Shaohua Li commit 6ab2a4b806ae21b6c3e47c5ff1285ec06d505325 upstream. Revert commit e9e4c377e2f563(md/raid5: per hash value and exclusive wait_for_stripe) The problem is

[PATCH 4.5 181/238] tracing: Fix crash from reading trace_pipe with sendfile

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (Red Hat) commit a29054d9478d0435ab01b7544da4f674ab13f533 upstream. If tracing contains data and the trace_pipe file is read with sendfile(), then it can

[PATCH 4.5 175/238] drm/radeon: rework fbdev handling on chips with no connectors

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit e5f243bd2edd95c6cc1d90c1878f821068e83fba upstream. Move all the logic to radeon_fb.c and add checks to functions called frome elsewhere. bug:

[PATCH 4.5 225/238] ocfs2: o2hb: fix double free bug

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Junxiao Bi commit 9e13f1f9de1cb143fbae6f1170f26c8544b64cff upstream. This is a regression issue and caused the following kernel panic when do ocfs2 multiple test.

[PATCH 4.5 223/238] Input: ims-pcu - sanity check against missing interfaces

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit a0ad220c96692eda76b2e3fd7279f3dcd1d8a8ff upstream. A malicious device missing interface can make the driver oops. Add sanity checking. Signed-off-by:

[PATCH 4.5 224/238] Input: ati_remote2 - fix crashes on detecting device with invalid descriptor

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Vladis Dronov commit 950336ba3e4a1ffd2ca60d29f6ef386dd2c7351d upstream. The ati_remote2 driver expects at least two interfaces with one endpoint each. If given malicious

[PATCH 4.5 176/238] drm/radeon/mst: fix regression in lane/link handling.

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Dave Airlie commit b36f7d26a7fdc0b07b1217368ee09bb8560269f8 upstream. The function this used changed in 092c96a8ab9d1bd60ada2ed385cc364ce084180e drm/radeon: fix dp

[PATCH 4.5 151/238] splice: handle zero nr_pages in splice_to_pipe()

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Rabin Vincent commit d6785d9152147596f60234157da2b02540c3e60f upstream. Running the following command: busybox cat /sys/kernel/debug/tracing/trace_pipe > /dev/null with any

[PATCH 4.5 166/238] md: multipath: dont hardcopy bio in .make_request path

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit fafcde3ac1a418688a734365203a12483b83907a upstream. Inside multipath_make_request(), multipath maps the incoming bio into low level device's bio, but it

[PATCH 4.5 181/238] tracing: Fix crash from reading trace_pipe with sendfile

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Steven Rostedt (Red Hat) commit a29054d9478d0435ab01b7544da4f674ab13f533 upstream. If tracing contains data and the trace_pipe file is read with sendfile(), then it can trigger a NULL pointer

[PATCH 4.5 175/238] drm/radeon: rework fbdev handling on chips with no connectors

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Alex Deucher commit e5f243bd2edd95c6cc1d90c1878f821068e83fba upstream. Move all the logic to radeon_fb.c and add checks to functions called frome elsewhere. bug:

[PATCH 4.5 225/238] ocfs2: o2hb: fix double free bug

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Junxiao Bi commit 9e13f1f9de1cb143fbae6f1170f26c8544b64cff upstream. This is a regression issue and caused the following kernel panic when do ocfs2 multiple test. BUG: unable to handle

[PATCH 4.5 223/238] Input: ims-pcu - sanity check against missing interfaces

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Oliver Neukum commit a0ad220c96692eda76b2e3fd7279f3dcd1d8a8ff upstream. A malicious device missing interface can make the driver oops. Add sanity checking. Signed-off-by: Oliver Neukum

[PATCH 4.5 224/238] Input: ati_remote2 - fix crashes on detecting device with invalid descriptor

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Vladis Dronov commit 950336ba3e4a1ffd2ca60d29f6ef386dd2c7351d upstream. The ati_remote2 driver expects at least two interfaces with one endpoint each. If given malicious descriptor that

[PATCH 4.5 176/238] drm/radeon/mst: fix regression in lane/link handling.

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Dave Airlie commit b36f7d26a7fdc0b07b1217368ee09bb8560269f8 upstream. The function this used changed in 092c96a8ab9d1bd60ada2ed385cc364ce084180e drm/radeon: fix dp link rate selection

[PATCH 4.5 151/238] splice: handle zero nr_pages in splice_to_pipe()

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Rabin Vincent commit d6785d9152147596f60234157da2b02540c3e60f upstream. Running the following command: busybox cat /sys/kernel/debug/tracing/trace_pipe > /dev/null with any tracing enabled

[PATCH 4.5 166/238] md: multipath: dont hardcopy bio in .make_request path

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit fafcde3ac1a418688a734365203a12483b83907a upstream. Inside multipath_make_request(), multipath maps the incoming bio into low level device's bio, but it is totally wrong to copy

[PATCH 4.5 198/238] mmc: sdhci: fix data timeout (part 2)

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 7f05538af71c7d30b5fc821cbe9f318edc645961 upstream. The calculation for the timeout based on the number of card clocks is incorrect. The

[PATCH 4.5 169/238] scripts/gdb: account for changes in module data structure

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kiszka commit ad4db3b24a93e52a92ad8f9b0273a9416f202c23 upstream. Commit 7523e4dc5057 ("module: use a structure to encapsulate layout.") factored out the

[PATCH 4.5 198/238] mmc: sdhci: fix data timeout (part 2)

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Russell King commit 7f05538af71c7d30b5fc821cbe9f318edc645961 upstream. The calculation for the timeout based on the number of card clocks is incorrect. The calculation assumed:

[PATCH 4.5 169/238] scripts/gdb: account for changes in module data structure

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jan Kiszka commit ad4db3b24a93e52a92ad8f9b0273a9416f202c23 upstream. Commit 7523e4dc5057 ("module: use a structure to encapsulate layout.") factored out the module_layout structure. Adjust

[PATCH 4.5 219/238] ACPI / PM: Runtime resume devices when waking from hibernate

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner commit fbda4b38fa3995aa0777fe9cbbdcb223c6292083 upstream. Commit 58a1fbbb2ee8 ("PM / PCI / ACPI: Kick devices that might have been reset by firmware") added a

[PATCH 4.5 230/238] intel_idle: prevent SKL-H boot failure when C8+C9+C10 enabled

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Len Brown commit d70e28f57e14a481977436695b0c9ba165472431 upstream. Some SKL-H configurations require "intel_idle.max_cstate=7" to boot. While that is an effective

[PATCH 4.5 221/238] writeback, cgroup: fix use of the wrong bdi_writeback which mismatches the inode

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit aaf2559332ba272671bb870464a99b909b29a3a1 upstream. When cgroup writeback is in use, there can be multiple wb's (bdi_writeback's) per bdi and an inode may

[PATCH 4.5 226/238] ocfs2/dlm: fix race between convert and recovery

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Joseph Qi commit ac7cf246dfdbec3d8fed296c7bf30e16f5099dac upstream. There is a race window between dlmconvert_remote and dlm_move_lockres_to_recovery_list, which will

[PATCH 4.5 233/238] sched/cputime: Fix steal time accounting vs. CPU hotplug

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit e9532e69b8d1d1284e8ecf8d2586de34aec61244 upstream. On CPU hotplug the steal time accounting can keep a stale rq->prev_steal_time value over CPU down

[PATCH 4.5 227/238] ocfs2/dlm: fix BUG in dlm_move_lockres_to_recovery_list

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Joseph Qi commit be12b299a83fc807bbaccd2bcb8ec50cbb0cb55c upstream. When master handles convert request, it queues ast first and then returns status. This may happen

[PATCH 4.5 218/238] ARM: dts: at91: sama5d4 Xplained: dont disable hsmci regulator

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Ludovic Desroches commit b02acd4e62602a6ab307da84388a16bf60106c48 upstream. If enabling the hsmci regulator on card detection, the board can reboot on sd card

[PATCH 4.5 229/238] mtd: onenand: fix deadlock in onenand_block_markbad

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Aaro Koskinen commit 5e64c29e98bfbba1b527b0a164f9493f3db9e8cb upstream. Commit 5942ddbc500d ("mtd: introduce mtd_block_markbad interface") incorrectly changed

[PATCH 4.5 219/238] ACPI / PM: Runtime resume devices when waking from hibernate

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Lukas Wunner commit fbda4b38fa3995aa0777fe9cbbdcb223c6292083 upstream. Commit 58a1fbbb2ee8 ("PM / PCI / ACPI: Kick devices that might have been reset by firmware") added a runtime resume for

[PATCH 4.5 230/238] intel_idle: prevent SKL-H boot failure when C8+C9+C10 enabled

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Len Brown commit d70e28f57e14a481977436695b0c9ba165472431 upstream. Some SKL-H configurations require "intel_idle.max_cstate=7" to boot. While that is an effective workaround, it disables C10.

[PATCH 4.5 221/238] writeback, cgroup: fix use of the wrong bdi_writeback which mismatches the inode

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit aaf2559332ba272671bb870464a99b909b29a3a1 upstream. When cgroup writeback is in use, there can be multiple wb's (bdi_writeback's) per bdi and an inode may switch among them

[PATCH 4.5 226/238] ocfs2/dlm: fix race between convert and recovery

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Joseph Qi commit ac7cf246dfdbec3d8fed296c7bf30e16f5099dac upstream. There is a race window between dlmconvert_remote and dlm_move_lockres_to_recovery_list, which will cause a lock with

[PATCH 4.5 233/238] sched/cputime: Fix steal time accounting vs. CPU hotplug

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Thomas Gleixner commit e9532e69b8d1d1284e8ecf8d2586de34aec61244 upstream. On CPU hotplug the steal time accounting can keep a stale rq->prev_steal_time value over CPU down and up. So after the

[PATCH 4.5 227/238] ocfs2/dlm: fix BUG in dlm_move_lockres_to_recovery_list

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Joseph Qi commit be12b299a83fc807bbaccd2bcb8ec50cbb0cb55c upstream. When master handles convert request, it queues ast first and then returns status. This may happen that the ast is sent

[PATCH 4.5 218/238] ARM: dts: at91: sama5d4 Xplained: dont disable hsmci regulator

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Ludovic Desroches commit b02acd4e62602a6ab307da84388a16bf60106c48 upstream. If enabling the hsmci regulator on card detection, the board can reboot on sd card insertion. Keeping the regulator

[PATCH 4.5 229/238] mtd: onenand: fix deadlock in onenand_block_markbad

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Aaro Koskinen commit 5e64c29e98bfbba1b527b0a164f9493f3db9e8cb upstream. Commit 5942ddbc500d ("mtd: introduce mtd_block_markbad interface") incorrectly changed onenand_block_markbad() to call

[PATCH 4.5 228/238] mm/page_alloc: prevent merging between isolated and other pageblocks

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Vlastimil Babka commit d9dddbf556674bf125ecd925b24e43a5cf2a568a upstream. Hanjun Guo has reported that a CMA stress test causes broken accounting of CMA and free pages: >

[PATCH 4.5 232/238] scsi_common: do not clobber fixed sense information

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Hannes Reinecke commit ba08311647892cc7912de74525fd78416caf544a upstream. For fixed sense the information field is 32 bits, to we need to truncate the information field to avoid

[PATCH 4.5 220/238] writeback, cgroup: fix premature wb_put() in locked_inode_to_wb_and_lock_list()

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 614a4e3773148a31f58dc174bbf578ceb63510c2 upstream. locked_inode_to_wb_and_lock_list() wb_get()'s the wb associated with the target inode, unlocks inode, locks

[PATCH 4.5 217/238] ARM: dts: at91: sama5d3 Xplained: dont disable hsmci regulator

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Ludovic Desroches commit ae3fc8ea08e405682f1fa959f94b6e4126afbc1b upstream. If enabling the hsmci regulator on card detection, the board can reboot on sd card

[PATCH 4.5 228/238] mm/page_alloc: prevent merging between isolated and other pageblocks

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Vlastimil Babka commit d9dddbf556674bf125ecd925b24e43a5cf2a568a upstream. Hanjun Guo has reported that a CMA stress test causes broken accounting of CMA and free pages: > Before the test, I

[PATCH 4.5 232/238] scsi_common: do not clobber fixed sense information

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Hannes Reinecke commit ba08311647892cc7912de74525fd78416caf544a upstream. For fixed sense the information field is 32 bits, to we need to truncate the information field to avoid clobbering the

[PATCH 4.5 220/238] writeback, cgroup: fix premature wb_put() in locked_inode_to_wb_and_lock_list()

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Tejun Heo commit 614a4e3773148a31f58dc174bbf578ceb63510c2 upstream. locked_inode_to_wb_and_lock_list() wb_get()'s the wb associated with the target inode, unlocks inode, locks the wb's

[PATCH 4.5 217/238] ARM: dts: at91: sama5d3 Xplained: dont disable hsmci regulator

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Ludovic Desroches commit ae3fc8ea08e405682f1fa959f94b6e4126afbc1b upstream. If enabling the hsmci regulator on card detection, the board can reboot on sd card insertion. Keeping the regulator

[PATCH 4.5 202/238] mmc: sdhci: Fix override of timeout clk wrt max_busy_timeout

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit 995136247915c5cee633d55ba23f6eebf67aa567 upstream. Normally the timeout clock frequency is read from the capabilities register. It is also

[PATCH 4.4 001/210] s390/cpumf: Fix lpp detection

2016-04-10 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Christian Borntraeger commit 7a76aa95f6f6682db5629449d763251d1c9f8c4e upstream. we have to check bit 40 of the facility list before issuing LPP and not bit 48.

[PATCH 4.5 201/238] mmc: tegra: properly disable card clock

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Lucas Stach commit 3491b69045b1926a198ba70dc1296ca253f2fbdd upstream. The new code to do the clock rate setting externally to the SDMMC module has a shortcut to not propagate

[PATCH 4.5 238/238] perf/x86/intel: Fix PEBS data source interpretation on Nehalem/Westmere

2016-04-10 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Andi Kleen commit 5e3f4cbd906c178510dccfed1131b007c96255ff upstream. Jiri reported some time ago that some entries in the PEBS data source table in perf do not agree with

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