[PATCH 4.5 156/200] drivers/misc/ad525x_dpot: AD5274 fix RDAC read back errors

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Michael Hennerich commit f3df53e4d70b5736368a8fe8aa1bb70c1cb1f577 upstream. Fix RDAC read back errors caused by a typo. Value must shift by 2. Fixes: a4bd394956f2

[PATCH 4.5 157/200] perf evlist: Reference count the cpu and thread maps at set_maps()

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Arnaldo Carvalho de Melo commit a55e5663761366fb883f6f25375dd68bc958b9db upstream. We were dropping the reference we possibly held but not obtaining one for the new maps, which we will drop at

[PATCH 4.5 154/200] rtc: rx8025: remove rv8803 id

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Alexandre Belloni commit aaa3cee5deffa28415a6e1852c5afae0f5d210e2 upstream. The rv8803 has its own driver that should be used. Remove its id from the

[PATCH 4.5 139/200] spi/rockchip: Make sure spi clk is on in rockchip_spi_set_cs

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Huibin Hong commit b920cc3191d7612f26f36ee494e05b5ffd9044c0 upstream. Rockchip_spi_set_cs could be called by spi_setup, but spi_setup may be called by device driver

[PATCH 4.5 154/200] rtc: rx8025: remove rv8803 id

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Alexandre Belloni commit aaa3cee5deffa28415a6e1852c5afae0f5d210e2 upstream. The rv8803 has its own driver that should be used. Remove its id from the rx8025 driver. Fixes:

[PATCH 4.5 139/200] spi/rockchip: Make sure spi clk is on in rockchip_spi_set_cs

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Huibin Hong commit b920cc3191d7612f26f36ee494e05b5ffd9044c0 upstream. Rockchip_spi_set_cs could be called by spi_setup, but spi_setup may be called by device driver after runtime suspend. Then

[PATCH 4.5 099/200] drm/i915: Fixup the free space logic in ring_prepare

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Akash Goel commit d43f3ebf12f59c57782ec652da65ef61c2662b40 upstream. Currently for the case where there is enough space at the end of Ring buffer for accommodating only

[PATCH 4.5 143/200] paride: make verbose parameter an int again

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit dec63a4dec2d6d01346fd5d96062e67c0636852b upstream. gcc-6.0 found an ancient bug in the paride driver, which had a "module_param(verbose, bool, 0);" since

[PATCH 4.5 099/200] drm/i915: Fixup the free space logic in ring_prepare

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Akash Goel commit d43f3ebf12f59c57782ec652da65ef61c2662b40 upstream. Currently for the case where there is enough space at the end of Ring buffer for accommodating only the base request, the

[PATCH 4.5 143/200] paride: make verbose parameter an int again

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit dec63a4dec2d6d01346fd5d96062e67c0636852b upstream. gcc-6.0 found an ancient bug in the paride driver, which had a "module_param(verbose, bool, 0);" since before 2.6.12,

[PATCH 4.5 159/200] spi: rockchip: modify DMA max burst to 1

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Addy Ke commit 80abf8880cc6e1594c11b7c417f22dde60e25312 upstream. Generic dma controller on Rockchips' platform cannot support DMAFLUSHP instruction which make dma to

[PATCH 4.5 164/200] f2fs: cover large section in sanity check of super

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jaegeuk Kim commit fd694733d523df1e0a583cf5c4c08e41d7bf9fa3 upstream. This patch fixes the bug which does not cover a large section case when checking the sanity of

[PATCH 4.5 151/200] rtc: hym8563: fix invalid year calculation

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Kochetkov commit d5861262210067fc01b2fb4f7af2fd85a3453f15 upstream. Year field must be in BCD format, according to hym8563 datasheet. Due to the bug year 2016

[PATCH 4.5 159/200] spi: rockchip: modify DMA max burst to 1

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Addy Ke commit 80abf8880cc6e1594c11b7c417f22dde60e25312 upstream. Generic dma controller on Rockchips' platform cannot support DMAFLUSHP instruction which make dma to flush the req of

[PATCH 4.5 164/200] f2fs: cover large section in sanity check of super

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jaegeuk Kim commit fd694733d523df1e0a583cf5c4c08e41d7bf9fa3 upstream. This patch fixes the bug which does not cover a large section case when checking the sanity of superblock. If f2fs detects

[PATCH 4.5 151/200] rtc: hym8563: fix invalid year calculation

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Kochetkov commit d5861262210067fc01b2fb4f7af2fd85a3453f15 upstream. Year field must be in BCD format, according to hym8563 datasheet. Due to the bug year 2016 became 2010. Fixes:

[PATCH 4.5 165/200] ext4/fscrypto: avoid RCU lookup in d_revalidate

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jaegeuk Kim commit 03a8bb0e53d9562276045bdfcf2b5de2e4cff5a1 upstream. As Al pointed, d_revalidate should return RCU lookup before using d_inode. This was originally

[PATCH 4.5 165/200] ext4/fscrypto: avoid RCU lookup in d_revalidate

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jaegeuk Kim commit 03a8bb0e53d9562276045bdfcf2b5de2e4cff5a1 upstream. As Al pointed, d_revalidate should return RCU lookup before using d_inode. This was originally introduced by: commit

[PATCH 4.5 166/200] f2fs: do f2fs_balance_fs when block is allocated

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jaegeuk Kim commit 3c082b7b5b28be606ed9ef11e4741df7c722c92e upstream. We should consider data block allocation to trigger f2fs_balance_fs. Signed-off-by: Jaegeuk Kim

[PATCH 4.5 167/200] f2fs: dont need to call set_page_dirty for io error

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jaegeuk Kim commit e3ef18762f5757d3fb86f75ca59315db6d17d719 upstream. If end_io gets an error, we don't need to set the page as dirty, since we already set

[PATCH 4.5 166/200] f2fs: do f2fs_balance_fs when block is allocated

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jaegeuk Kim commit 3c082b7b5b28be606ed9ef11e4741df7c722c92e upstream. We should consider data block allocation to trigger f2fs_balance_fs. Signed-off-by: Jaegeuk Kim Signed-off-by: Greg

[PATCH 4.5 167/200] f2fs: dont need to call set_page_dirty for io error

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jaegeuk Kim commit e3ef18762f5757d3fb86f75ca59315db6d17d719 upstream. If end_io gets an error, we don't need to set the page as dirty, since we already set f2fs_stop_checkpoint which will not

Re: [PATCH 1/1] gpio: xgene: Enable ACPI support for X-Gene GFC GPIO driver

2016-05-02 Thread Duc Dang
On Sun, May 1, 2016 at 1:25 AM, Linus Walleij wrote: > On Sat, Apr 30, 2016 at 10:49 PM, Duc Dang wrote: > >> This patch enables ACPI support for X-Gene GFC GPIO driver. >> >> Signed-off-by: Duc Dang > > Patch applied. Thanks, Linus. >

Re: [PATCH 1/1] gpio: xgene: Enable ACPI support for X-Gene GFC GPIO driver

2016-05-02 Thread Duc Dang
On Sun, May 1, 2016 at 1:25 AM, Linus Walleij wrote: > On Sat, Apr 30, 2016 at 10:49 PM, Duc Dang wrote: > >> This patch enables ACPI support for X-Gene GFC GPIO driver. >> >> Signed-off-by: Duc Dang > > Patch applied. Thanks, Linus. > > Duc do you have a datasheet for this GPIO controller? >

[PATCH 4.5 170/200] bus: uniphier-system-bus: fix condition of overlap check

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Kunihiko Hayashi commit 3de7beebddf8d56dcaa17b41c723d602dd0c513c upstream. This patch fixes condition whether the specified address ranges overlap each other.

[PATCH 4.5 138/200] locking/mcs: Fix mcs_spin_lock() ordering

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 920c720aa5aa3900a7f1689228fdfc2580a91e7e upstream. Similar to commit b4b29f94856a ("locking/osq: Fix ordering of node initialisation in osq_lock")

[PATCH 4.5 104/200] perf intel-pt: Fix segfault tracing transactions

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit 1342e0b7a6c1a060c593037fbac9f4b717f1cb3b upstream. Tracing a workload that uses transactions gave a seg fault as follows: perf record -e

[PATCH 4.5 170/200] bus: uniphier-system-bus: fix condition of overlap check

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Kunihiko Hayashi commit 3de7beebddf8d56dcaa17b41c723d602dd0c513c upstream. This patch fixes condition whether the specified address ranges overlap each other. Fixes: 4b7f48d395a7 ("bus:

[PATCH 4.5 138/200] locking/mcs: Fix mcs_spin_lock() ordering

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 920c720aa5aa3900a7f1689228fdfc2580a91e7e upstream. Similar to commit b4b29f94856a ("locking/osq: Fix ordering of node initialisation in osq_lock") the use of

[PATCH 4.5 104/200] perf intel-pt: Fix segfault tracing transactions

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit 1342e0b7a6c1a060c593037fbac9f4b717f1cb3b upstream. Tracing a workload that uses transactions gave a seg fault as follows: perf record -e intel_pt// workload perf

[PATCH 4.5 192/200] btrfs: cleaner_kthread() doesnt need explicit freeze

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Kosina commit 838fe1887765f4cc679febea60d87d2a06bd300e upstream. cleaner_kthread() is not marked freezable, and therefore calling try_to_freeze() in its context is a

[PATCH 4.5 193/200] unbreak allmodconfig KCONFIG_ALLCONFIG=...

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 6b87b70c5339f30e3c5b32085e69625906513dc2 upstream. Prior to 3.13 make allmodconfig KCONFIG_ALLCONFIG=/dev/null used to be equivalent to make

Re: [PATCH] drm/vc4: Return -EBUSY if there's already a pending flip event.

2016-05-02 Thread Eric Anholt
robert.f...@collabora.com writes: > From: Robert Foss > > As per the docs, atomic_commit should return -EBUSY "if an asycnhronous > update is requested and there is an earlier update pending". Note: docs cited here are drm_crtc.h, and the whole quote is: *

[PATCH 4.5 194/200] thermal: rockchip: fix a impossible condition caused by the warning

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Caesar Wang commit 43b4eb9fe719b107c8e5d49d1edbff0c135a42cb upstream. As the Dan report the smatch check the thermal driver warning: drivers/thermal/rockchip_thermal.c:551

[PATCH 4.5 192/200] btrfs: cleaner_kthread() doesnt need explicit freeze

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jiri Kosina commit 838fe1887765f4cc679febea60d87d2a06bd300e upstream. cleaner_kthread() is not marked freezable, and therefore calling try_to_freeze() in its context is a pointless no-op. In

[PATCH 4.5 193/200] unbreak allmodconfig KCONFIG_ALLCONFIG=...

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Al Viro commit 6b87b70c5339f30e3c5b32085e69625906513dc2 upstream. Prior to 3.13 make allmodconfig KCONFIG_ALLCONFIG=/dev/null used to be equivalent to make allmodconfig; these days it

Re: [PATCH] drm/vc4: Return -EBUSY if there's already a pending flip event.

2016-05-02 Thread Eric Anholt
robert.f...@collabora.com writes: > From: Robert Foss > > As per the docs, atomic_commit should return -EBUSY "if an asycnhronous > update is requested and there is an earlier update pending". Note: docs cited here are drm_crtc.h, and the whole quote is: * - -EBUSY, if an

[PATCH 4.5 194/200] thermal: rockchip: fix a impossible condition caused by the warning

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Caesar Wang commit 43b4eb9fe719b107c8e5d49d1edbff0c135a42cb upstream. As the Dan report the smatch check the thermal driver warning: drivers/thermal/rockchip_thermal.c:551

[PATCH 4.5 169/200] f2fs crypto: make sure the encryption info is initialized on opendir(2)

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Chao Yu commit ed3360abbc0412f32c398e1c58887d74f3d04225 upstream. This patch syncs f2fs with commit 6bc445e0ff44 ("ext4 crypto: make sure the encryption info is

[PATCH 4.5 168/200] f2fs crypto: handle unexpected lack of encryption keys

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Chao Yu commit ae1086686487f13130937918ca91d920c1daafcb upstream. This patch syncs f2fs with commit abdd438b26b4 ("ext4 crypto: handle unexpected lack of encryption

[PATCH 4.5 169/200] f2fs crypto: make sure the encryption info is initialized on opendir(2)

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Chao Yu commit ed3360abbc0412f32c398e1c58887d74f3d04225 upstream. This patch syncs f2fs with commit 6bc445e0ff44 ("ext4 crypto: make sure the encryption info is initialized on opendir(2)")

[PATCH 4.5 168/200] f2fs crypto: handle unexpected lack of encryption keys

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Chao Yu commit ae1086686487f13130937918ca91d920c1daafcb upstream. This patch syncs f2fs with commit abdd438b26b4 ("ext4 crypto: handle unexpected lack of encryption keys") from ext4. Fix up

[PATCH 4.4 032/163] ALSA: hda - add PCI ID for Intel Broxton-T

2016-05-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Lu, Han commit 9859a971ca228725425238756ee89c6133306ec8 upstream. Add HD Audio Device PCI ID for the Intel Broxton-T platform. It is an HDA Intel PCH controller.

[PATCH 4.5 046/200] futex: Handle unlock_pi race gracefully

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit 89e9e66ba1b3bde9d8ea90566c2aee20697ad681 upstream. If userspace calls UNLOCK_PI unconditionally without trying the TID -> 0 transition

[PATCH 4.4 032/163] ALSA: hda - add PCI ID for Intel Broxton-T

2016-05-02 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Lu, Han commit 9859a971ca228725425238756ee89c6133306ec8 upstream. Add HD Audio Device PCI ID for the Intel Broxton-T platform. It is an HDA Intel PCH controller. Signed-off-by: Lu, Han

[PATCH 4.5 046/200] futex: Handle unlock_pi race gracefully

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior commit 89e9e66ba1b3bde9d8ea90566c2aee20697ad681 upstream. If userspace calls UNLOCK_PI unconditionally without trying the TID -> 0 transition in user space first then

[PATCH 4.5 041/200] ALSA: hda - add PCI ID for Intel Broxton-T

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Lu, Han commit 9859a971ca228725425238756ee89c6133306ec8 upstream. Add HD Audio Device PCI ID for the Intel Broxton-T platform. It is an HDA Intel PCH controller.

[PATCH 4.5 038/200] ALSA: hda - Dont trust the reported actual power state

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 50fd4987c4f3c3ebf0ce94d932732011bbdc7c71 upstream. We've got a regression report that the recording on Mac with a cirrus codec doesn't work any longer. This

[PATCH 4.5 041/200] ALSA: hda - add PCI ID for Intel Broxton-T

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Lu, Han commit 9859a971ca228725425238756ee89c6133306ec8 upstream. Add HD Audio Device PCI ID for the Intel Broxton-T platform. It is an HDA Intel PCH controller. Signed-off-by: Lu, Han

[PATCH 4.5 038/200] ALSA: hda - Dont trust the reported actual power state

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 50fd4987c4f3c3ebf0ce94d932732011bbdc7c71 upstream. We've got a regression report that the recording on Mac with a cirrus codec doesn't work any longer. This turned out to

[PATCH 4.5 153/200] rtc: ds1685: passing bogus values to irq_restore

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 8c09b9fdecab1f4a289f07b46e2ad174b6641928 upstream. We call spin_lock_irqrestore with "flags" set to zero instead of to the value from

[PATCH 4.5 171/200] mtd: spi-nor: remove micron_quad_enable()

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Cyrille Pitchen commit 3b5394a3ccffbfa1d1d448d48742853a862822c4 upstream. This patch remove the micron_quad_enable() function which force the Quad SPI mode. However,

[PATCH 4.5 144/200] scsi_dh: force modular build if SCSI is a module

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 0c994c03c926d26ce48e6bbabbbe60366044fcae upstream. When the scsi_dh core was moved into the scsi core module, CONFIG_SCSI_DH became a 'bool' option, and now

[PATCH 4.5 153/200] rtc: ds1685: passing bogus values to irq_restore

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 8c09b9fdecab1f4a289f07b46e2ad174b6641928 upstream. We call spin_lock_irqrestore with "flags" set to zero instead of to the value from spin_lock_irqsave(). Fixes:

[PATCH 4.5 171/200] mtd: spi-nor: remove micron_quad_enable()

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Cyrille Pitchen commit 3b5394a3ccffbfa1d1d448d48742853a862822c4 upstream. This patch remove the micron_quad_enable() function which force the Quad SPI mode. However, once this mode is enabled,

[PATCH 4.5 144/200] scsi_dh: force modular build if SCSI is a module

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 0c994c03c926d26ce48e6bbabbbe60366044fcae upstream. When the scsi_dh core was moved into the scsi core module, CONFIG_SCSI_DH became a 'bool' option, and now anything

[PATCH 4.5 172/200] mtd: brcmnand: Fix v7.1 register offsets

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli commit d267aefc54a28efc5bda7f009598dc83b5f98734 upstream. The BRCMNAND controller revision 7.1 is almost 100% compatible with the previous v6.0 register

[PATCH 4.5 177/200] perf stat: Document --detailed option

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Borislav Petkov commit f594bae08183fb6b57db55387794ece3e1edf6f6 upstream. I'm surprised this remained undocumented since at least 2011. And it is actually a very useful switch,

Re: [RESEND PATCH]nbd: fix might_sleep warning on socket shutdown

2016-05-02 Thread Greg KH
On Mon, May 02, 2016 at 08:58:34AM +0530, Pranay Srivastava wrote: > Hi, > > Can the following patch be reviewed? I'm working on some more changes > on top of this change, > so it'll be really helpful if someone can review this patch and let me > know of shortcomings/issues > with this. > > >

[PATCH 4.5 172/200] mtd: brcmnand: Fix v7.1 register offsets

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli commit d267aefc54a28efc5bda7f009598dc83b5f98734 upstream. The BRCMNAND controller revision 7.1 is almost 100% compatible with the previous v6.0 register offset layout, except

[PATCH 4.5 177/200] perf stat: Document --detailed option

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Borislav Petkov commit f594bae08183fb6b57db55387794ece3e1edf6f6 upstream. I'm surprised this remained undocumented since at least 2011. And it is actually a very useful switch, as Steve and I

Re: [RESEND PATCH]nbd: fix might_sleep warning on socket shutdown

2016-05-02 Thread Greg KH
On Mon, May 02, 2016 at 08:58:34AM +0530, Pranay Srivastava wrote: > Hi, > > Can the following patch be reviewed? I'm working on some more changes > on top of this change, > so it'll be really helpful if someone can review this patch and let me > know of shortcomings/issues > with this. > > >

[PATCH 4.5 197/200] tpm: fix checks for policy digest existence in tpm2_seal_trusted()

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jarkko Sakkinen commit f3c82ade7c59303167d56b0be3e0707751fc45e2 upstream. In my original patch sealing with policy was done with dynamically allocated buffer

[PATCH 4.5 197/200] tpm: fix checks for policy digest existence in tpm2_seal_trusted()

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jarkko Sakkinen commit f3c82ade7c59303167d56b0be3e0707751fc45e2 upstream. In my original patch sealing with policy was done with dynamically allocated buffer that I changed later into an array

[PATCH 4.5 198/200] tpm: fix: set continueSession attribute for the unseal operation

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jarkko Sakkinen commit c0b5eed110dcf520aadafefbcc40658cbdd18b95 upstream. It's better to set the continueSession attribute for the unseal operation so that the

[PATCH 4.5 198/200] tpm: fix: set continueSession attribute for the unseal operation

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Jarkko Sakkinen commit c0b5eed110dcf520aadafefbcc40658cbdd18b95 upstream. It's better to set the continueSession attribute for the unseal operation so that the session object is not removed as

[PATCH 4.5 189/200] ARM: dts: am437x: Fix GPMC dma properties

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Franklin S Cooper Jr commit 883cbc901b570625f54250a37b008d3635f1fbda upstream. This patch updates the GPMC's DT DMA property to reflect the updated eDMA bindings. Fixes:

[PATCH 4.5 189/200] ARM: dts: am437x: Fix GPMC dma properties

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Franklin S Cooper Jr commit 883cbc901b570625f54250a37b008d3635f1fbda upstream. This patch updates the GPMC's DT DMA property to reflect the updated eDMA bindings. Fixes: cce1ee000187 ("ARM:

[PATCH 4.5 180/200] perf/core: Dont leak event in the syscall error path

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Shishkin commit 201c2f85bd0bc13b712d9c0b3d11251b182e06ae upstream. In the error path, event_file not being NULL is used to determine whether the

[PATCH 4.5 196/200] megaraid_sas: add missing curly braces in ioctl handler

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 3deb9438d34a09f6796639b652a01d110aca9f75 upstream. gcc-6 found a dubious indentation in the megasas_mgmt_fw_ioctl function:

[PATCH 4.5 179/200] NTB: Remove _addr functions from ntb_hw_amd

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Allen Hubbe commit 4f1b50c3e3082b31c94cee2b897bd9f5d0f3e7c8 upstream. Kernel zero day testing warned about address space confusion. A virtual iomem address was used where

[PATCH 4.5 195/200] sunrpc/cache: drop reference when sunrpc_cache_pipe_upcall() detects a race

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit a6ab1e8126d205238defbb55d23661a3a5c6a0d8 upstream. sunrpc_cache_pipe_upcall() can detect a race if CACHE_PENDING is no longer set. In this case it aborts the

[PATCH 4.5 180/200] perf/core: Dont leak event in the syscall error path

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Shishkin commit 201c2f85bd0bc13b712d9c0b3d11251b182e06ae upstream. In the error path, event_file not being NULL is used to determine whether the event itself still needs to be

[PATCH 4.5 196/200] megaraid_sas: add missing curly braces in ioctl handler

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 3deb9438d34a09f6796639b652a01d110aca9f75 upstream. gcc-6 found a dubious indentation in the megasas_mgmt_fw_ioctl function: drivers/scsi/megaraid/megaraid_sas_base.c: In

[PATCH 4.5 179/200] NTB: Remove _addr functions from ntb_hw_amd

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Allen Hubbe commit 4f1b50c3e3082b31c94cee2b897bd9f5d0f3e7c8 upstream. Kernel zero day testing warned about address space confusion. A virtual iomem address was used where a physical address

[PATCH 4.5 195/200] sunrpc/cache: drop reference when sunrpc_cache_pipe_upcall() detects a race

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: NeilBrown commit a6ab1e8126d205238defbb55d23661a3a5c6a0d8 upstream. sunrpc_cache_pipe_upcall() can detect a race if CACHE_PENDING is no longer set. In this case it aborts the queuing of the

[PATCH 4.5 178/200] ntb: perf test: fix address space confusion

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 1985a88107b5330b2a911ad4d279e1bd7e4deb24 upstream. The ntb driver assigns between pointers an __iomem tokens, and also casts them to 64-bit integers, which

[PATCH 4.5 178/200] ntb: perf test: fix address space confusion

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit 1985a88107b5330b2a911ad4d279e1bd7e4deb24 upstream. The ntb driver assigns between pointers an __iomem tokens, and also casts them to 64-bit integers, which results in

[PATCH 4.5 186/200] ARM: dts: armada-375: use armada-370-sata for SATA

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Lior Amsalem commit b3a7f31eb7375633cd6a742f19488fc5a4208b36 upstream. The Armada 375 has the same SATA IP as Armada 370 and Armada XP, which requires the PHY speed to be

[PATCH 4.5 186/200] ARM: dts: armada-375: use armada-370-sata for SATA

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Lior Amsalem commit b3a7f31eb7375633cd6a742f19488fc5a4208b36 upstream. The Armada 375 has the same SATA IP as Armada 370 and Armada XP, which requires the PHY speed to be set in the LP_PHY_CTL

[PATCH 4.5 185/200] ARM: EXYNOS: select THERMAL_OF

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit dc7eb9d589e595954792cc192bcbb92932e5c2ff upstream. We cannot select a symbol that has disabled dependencies, so we get a warning if we ever enable

[PATCH 4.5 185/200] ARM: EXYNOS: select THERMAL_OF

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit dc7eb9d589e595954792cc192bcbb92932e5c2ff upstream. We cannot select a symbol that has disabled dependencies, so we get a warning if we ever enable EXYNOS_THERMAL without

[PATCH 4.5 145/200] fbdev: da8xx-fb: fix videomodes of lcd panels

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Sushaanth Srirangapathi commit 713fced8d10fa1c759c8fb6bf9aaa681bae68cad upstream. Commit 028cd86b794f4a ("video: da8xx-fb: fix the polarities of the hsync/vsync pulse")

[PATCH 4.5 145/200] fbdev: da8xx-fb: fix videomodes of lcd panels

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Sushaanth Srirangapathi commit 713fced8d10fa1c759c8fb6bf9aaa681bae68cad upstream. Commit 028cd86b794f4a ("video: da8xx-fb: fix the polarities of the hsync/vsync pulse") fixes polarities of

[PATCH 4.5 184/200] ARM: prima2: always enable reset controller

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit ef2b1d777d643af227a22309d8b79898b90b123c upstream. The atlas7 clock controller driver registers a reset controller for itself, which causes a link error

[PATCH 4.5 182/200] perf hists: Fix determination of a callchain nodes childlessness

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Andres Freund commit 909890355507e92bdaf648e73870f6b5df606da8 upstream. The 4b3a3212233a ("perf hists browser: Support flat callchains") commit over-aggressively tried to

[PATCH 4.5 184/200] ARM: prima2: always enable reset controller

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Arnd Bergmann commit ef2b1d777d643af227a22309d8b79898b90b123c upstream. The atlas7 clock controller driver registers a reset controller for itself, which causes a link error when the subsystem

[PATCH 4.5 182/200] perf hists: Fix determination of a callchain nodes childlessness

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Andres Freund commit 909890355507e92bdaf648e73870f6b5df606da8 upstream. The 4b3a3212233a ("perf hists browser: Support flat callchains") commit over-aggressively tried to optimize

Re: [PATCH] clk: fix comment of devm_clk_hw_register()

2016-05-02 Thread Stephen Boyd
On 05/01, Masahiro Yamada wrote: > Unlike devm_clk_register(), devm_clk_hw_register() returns integer. > So, the statement "Clocks returned from this function ..." sounds > odd. Adjust the comment for this new API. > > Signed-off-by: Masahiro Yamada > --- Applied

[PATCH 4.5 140/200] irqchip/sunxi-nmi: Fix error check of of_io_request_and_map()

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Vladimir Zapolskiy commit cfe199afefe6201e998ddc07102fc1fdb55f196c upstream. The of_io_request_and_map() returns a valid pointer in iomem region or ERR_PTR(), check for NULL

[PATCH 4.5 181/200] perf/core: Fix time tracking bug with multiplexing

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 8fdc65391c6ad16461526a685f03262b3b01bfde upstream. Stephane reported that commit: 3cbaa5906967 ("perf: Fix ctx time tracking by introducing

Re: [PATCH] clk: fix comment of devm_clk_hw_register()

2016-05-02 Thread Stephen Boyd
On 05/01, Masahiro Yamada wrote: > Unlike devm_clk_register(), devm_clk_hw_register() returns integer. > So, the statement "Clocks returned from this function ..." sounds > odd. Adjust the comment for this new API. > > Signed-off-by: Masahiro Yamada > --- Applied to clk-next -- Qualcomm

[PATCH 4.5 140/200] irqchip/sunxi-nmi: Fix error check of of_io_request_and_map()

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Vladimir Zapolskiy commit cfe199afefe6201e998ddc07102fc1fdb55f196c upstream. The of_io_request_and_map() returns a valid pointer in iomem region or ERR_PTR(), check for NULL always fails and

[PATCH 4.5 181/200] perf/core: Fix time tracking bug with multiplexing

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit 8fdc65391c6ad16461526a685f03262b3b01bfde upstream. Stephane reported that commit: 3cbaa5906967 ("perf: Fix ctx time tracking by introducing EVENT_TIME") introduced a

[PATCH 4.5 148/200] misc: mic/scif: fix wrap around tests

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 7b64dbf849abdd7e769820e25120758f956a7f13 upstream. Signed integer overflow is undefined. Also I added a check for "(offset < 0)" in

[PATCH 4.5 146/200] lib/mpi: Endianness fix

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Michal Marek commit 3ee0cb5fb5eea2110db1b5cb7f67029b7be8a376 upstream. The limbs are integers in the host endianness, so we can't simply iterate over the individual bytes. The

[PATCH 4.5 148/200] misc: mic/scif: fix wrap around tests

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 7b64dbf849abdd7e769820e25120758f956a7f13 upstream. Signed integer overflow is undefined. Also I added a check for "(offset < 0)" in scif_unregister() because that makes

[PATCH 4.5 146/200] lib/mpi: Endianness fix

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Michal Marek commit 3ee0cb5fb5eea2110db1b5cb7f67029b7be8a376 upstream. The limbs are integers in the host endianness, so we can't simply iterate over the individual bytes. The current code

[PATCH 4.5 188/200] ARM: dts: am33xx: Fix GPMC dma properties

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Franklin S Cooper Jr commit a2abf904a6b594b93c0e73a36c98ecbaa7388463 upstream. This patch updates the GPMC's DT DMA property to reflect the updated eDMA bindings. Fixes:

[PATCH 4.5 187/200] ARM: dts: pxa: fix dma engine node to pxa3xx-nand

2016-05-02 Thread Greg Kroah-Hartman
4.5-stable review patch. If anyone has any objections, please let me know. -- From: Robert Jarzmik commit 07c6b2d01d351f0512ed7145625265e435ab3240 upstream. Since the switch from mmp_pdma to pxa_dma driver for pxa architectures, the pxa_dma requires 2

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