Re: [LKP] [btrfs] 05a37c4860: kmsg.BTRFS_error(device_vdd):failed_to_verify_dev_extents_against_chunks

2019-01-11 Thread Qu Wenruo
On 2019/1/11 下午10:03, kernel test robot wrote: > FYI, we noticed the following commit (built with gcc-7): > > commit: 05a37c48604c19b50873fd9663f9140c150469d1 ("btrfs: volumes: Make sure > no dev extent is beyond device boundary") >

[PATCH 4.19 122/148] PCI / PM: Allow runtime PM without callback functions

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Jarkko Nikula commit c5eb1190074cfb14c5d9cac692f1912eecf1a5e4 upstream. a9c8088c7988 ("i2c: i801: Don't restore config registers on runtime PM") nullified the runtime PM suspend/resume

[PATCH 4.19 105/148] ALSA: usb-audio: Avoid access before bLength check in build_audio_procunit()

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit f4351a199cc120ff9d59e06d02e8657d08e6cc46 upstream. The parser for the processing unit reads bNrInPins field before the bLength sanity check, which may lead to an

[PATCH 4.19 121/148] selinux: policydb - fix byte order and alignment issues

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Ondrej Mosnacek commit 5df275cd4cf51c86d49009f1397132f284ba515e upstream. Do the LE conversions before doing the Infiniband-related range checks. The incorrect checks are otherwise causing a

Re: [PATCH 1/4] dt-bindings: Add vendor prefix for "GlobalTop Technology, Inc."

2019-01-11 Thread Rob Herring
On Fri, Dec 28, 2018 at 11:50:32AM +0100, Loys Ollivier wrote: > Add globaltop vendor definition. > > Signed-off-by: Loys Ollivier > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git

[PATCH 4.19 123/148] lockd: Show pid of lockd for remote locks

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Coddington commit b8eee0e90f9797b747113638bc75e739b192ad38 upstream. Commit 9d5b86ac13c5 ("fs/locks: Remove fl_nspid and use fs-specific l_pid for remote locks") specified that the

[PATCH 4.19 130/148] iio: dac: ad5686: fix bit shift read register

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Mircea Caprioru commit 0e76df5c978338f3051e5126fc0c4245c57a307a upstream. This patch solves the register readback issue with the bit shift. When the dac resolution was lower than the register

[PATCH 4.19 136/148] ceph: dont update importing caps mseq when handing cap export

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Yan, Zheng commit 3c1392d4c49962a31874af14ae9ff289cb2b3851 upstream. Updating mseq makes client think importer mds has accepted all prior cap messages and importer mds knows what caps client

[PATCH 4.19 135/148] sched/fair: Fix infinite loop in update_blocked_averages() by reverting a9e7f6544b9c

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit c40f7d74c741a907cfaeb73a7697081881c497d0 upstream. Zhipeng Xie, Xie XiuQi and Sargun Dhillon reported lockups in the scheduler under high loads, starting at around the

[PATCH 4.20 50/65] iommu/vt-d: Handle domain agaw being less than iommu agaw

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Sohil Mehta commit 3569dd07aaad71920c5ea4da2d5cc9a167c1ffd4 upstream. The Intel IOMMU driver opportunistically skips a few top level page tables from the domain paging directory while

Re: [PATCH v3 3/5] dt-bindings: display: bridge: thc63lvdm83d: use standard powerdown-gpios

2019-01-11 Thread Rob Herring
On Sat, 29 Dec 2018 07:07:31 +, Peter Rosin wrote: > The name powerdown-gpios is the standard property name for the > functionality covered by the previous pwdn-gpios name. This rename > should be safe to do since the linux driver supporting the binding > (lvds-encoder.c) never implemented the

[PATCH 4.19 142/148] of: of_node_get()/of_node_put() nodes held in phandle cache

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Frank Rowand commit b8a9ac1a5b99a2fcbed19fd29d2d59270c281a31 upstream. The phandle cache contains struct device_node pointers. The refcount of the pointers was not incremented while in the

[PATCH 4.19 134/148] iommu/vt-d: Handle domain agaw being less than iommu agaw

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Sohil Mehta commit 3569dd07aaad71920c5ea4da2d5cc9a167c1ffd4 upstream. The Intel IOMMU driver opportunistically skips a few top level page tables from the domain paging directory while

[PATCH 4.14 098/105] iommu/vt-d: Handle domain agaw being less than iommu agaw

2019-01-11 Thread Greg Kroah-Hartman
4.14-stable review patch. If anyone has any objections, please let me know. -- From: Sohil Mehta commit 3569dd07aaad71920c5ea4da2d5cc9a167c1ffd4 upstream. The Intel IOMMU driver opportunistically skips a few top level page tables from the domain paging directory while

[PATCH 4.20 01/65] scsi: zfcp: fix posting too many status read buffers leading to adapter shutdown

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Steffen Maier commit 60a161b7e5b2a252ff0d4c622266a7d8da1120ce upstream. Suppose adapter (open) recovery is between opened QDIO queues and before (the end of) initial posting of status read

Re: [PATCH v3 1/5] dt-bindings: display: bridge: fork out ti,ds90c185 from lvds-transmitter

2019-01-11 Thread Rob Herring
On Sat, Dec 29, 2018 at 07:07:19AM +, Peter Rosin wrote: > DS90C185 has a shutdown pin which does not fit in the lvds-transmitter > binding, which is meant to be generic. > > The sister chip DS90C187 is similar to DS90C185, describe it here as well. > > Signed-off-by: Peter Rosin > --- >

[PATCH 4.19 110/148] driver core: Add missing dev->bus->need_parent_lock checks

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Rafael J. Wysocki commit e121a833745b4708b660e3fe6776129c2956b041 upstream. __device_release_driver() has to check dev->bus->need_parent_lock before dropping the parent lock and acquiring it

[PATCH 4.19 143/148] of: __of_detach_node() - remove node from phandle cache

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Frank Rowand commit 5801169a2ed20003f771acecf3ac00574cf10a38 upstream. Non-overlay dynamic devicetree node removal may leave the node in the phandle cache. Subsequent calls to

[PATCH 4.19 145/148] drm/nouveau/drm/nouveau: Check rc from drm_dp_mst_topology_mgr_resume()

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Lyude Paul commit b89fdf7ae8500feae1100d8b283176a44d31d698 upstream. We need to actually make sure we check this on resume since otherwise we won't know whether or not the topology is still

[PATCH 4.19 112/148] block: deactivate blk_stat timer in wbt_disable_default()

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit 544fbd16a461a318cd80537d1331c0df5c6cf930 upstream. rwb_enabled() can't be changed when there is any inflight IO. wbt_disable_default() may set rwb->wb_normal as zero, however

[PATCH 4.9 58/63] iommu/vt-d: Handle domain agaw being less than iommu agaw

2019-01-11 Thread Greg Kroah-Hartman
4.9-stable review patch. If anyone has any objections, please let me know. -- From: Sohil Mehta commit 3569dd07aaad71920c5ea4da2d5cc9a167c1ffd4 upstream. The Intel IOMMU driver opportunistically skips a few top level page tables from the domain paging directory while

[PATCH 4.19 148/148] drm/amd/display: Fix unintialized max_bpc state values

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Kazlauskas commit 49f1c44b581b08e3289127ffe58bd208c3166701 upstream. [Why] If the "max bpc" isn't explicitly set in the atomic state then it have a value of 0. This has the correct

[PATCH 4.20 16/65] mm, swap: fix swapoff with KSM pages

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Huang Ying commit 7af7a8e19f0c5425ff639b0f0d2d244c2a647724 upstream. KSM pages may be mapped to the multiple VMAs that cannot be reached from one anon_vma. So during swapin, a new copy of

[PATCH 4.20 19/65] ALSA: usb-audio: Avoid access before bLength check in build_audio_procunit()

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit f4351a199cc120ff9d59e06d02e8657d08e6cc46 upstream. The parser for the processing unit reads bNrInPins field before the bLength sanity check, which may lead to an

[PATCH 4.20 14/65] mm, hmm: replace hmm_devmem_pages_create() with devm_memremap_pages()

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit bbecd94e6c514a1559fc1a7749a62715958137b1 upstream. Commit e8d513483300 ("memremap: change devm_memremap_pages interface to use struct dev_pagemap") refactored

[PATCH 4.20 10/65] sunrpc: fix cache_head leak due to queued request

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit 4ecd55ea074217473f94cfee21bb72864d39f8d7 upstream. After commit d202cce8963d, an expired cache_head can be removed from the cache_detail's hash. However, the expired

Re: [PATCH 4.4 72/88] block: dont deal with discard limit in blkdev_issue_discard()

2019-01-11 Thread Greg Kroah-Hartman
On Fri, Jan 11, 2019 at 09:25:39AM -0500, Mike Snitzer wrote: > On Fri, Jan 11 2019 at 9:08am -0500, > Greg Kroah-Hartman wrote: > > > 4.4-stable review patch. If anyone has any objections, please let me know. > > > > -- > > > > From: Ming Lei > > > > commit

Re: [GIT PULL v3] Hyper-V commits for 5.0

2019-01-11 Thread Greg KH
On Fri, Jan 11, 2019 at 09:10:12AM -0500, Sasha Levin wrote: > On Fri, Jan 11, 2019 at 10:15:52AM +0100, Greg KH wrote: > > On Thu, Jan 10, 2019 at 10:24:31AM -0500, Sasha Levin wrote: > > > -BEGIN PGP SIGNED MESSAGE- > > > Hash: SHA512 > > > > > > The following changes since commit > >

Re: [PATCH 4.4 88/88] vhost/vsock: fix uninitialized vhost_vsock->guest_cid

2019-01-11 Thread Greg Kroah-Hartman
On Fri, Jan 11, 2019 at 03:08:57PM +0100, Greg Kroah-Hartman wrote: > 4.4-stable review patch. If anyone has any objections, please let me know. > > -- > > From: Stefan Hajnoczi > > commit a72b69dc083a931422cc8a5e33841aff7d5312f2 upstream. Sorry, this patch got stuck at the

[PATCH 4.4 83/88] iommu/vt-d: Handle domain agaw being less than iommu agaw

2019-01-11 Thread Greg Kroah-Hartman
4.4-stable review patch. If anyone has any objections, please let me know. -- From: Sohil Mehta commit 3569dd07aaad71920c5ea4da2d5cc9a167c1ffd4 upstream. The Intel IOMMU driver opportunistically skips a few top level page tables from the domain paging directory while

[PATCH v5 3/3] drm: Complete remove drm_mode_object dependency

2019-01-11 Thread Shayenne Moura
This patch finalizes the KMS cleanup task dependency from drm_display_mode. It removes the use of drm_mode_object from drm_display_mode struct and it removes the use of base.id and base.type from drm_display_mode struct print string. Signed-off-by: Shayenne Moura Reviewed-by: Daniel Vetter ---

[PATCH 4.20 02/65] scsi: lpfc: do not set queue->page_count to 0 if pc_sli4_params.wqpcnt is invalid

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Ewan D. Milne commit 4e87eb2f46ea547d12a276b2e696ab934d16cfb6 upstream. Certain older adapters such as the OneConnect OCe10100 may not have a valid wqpcnt value. In this case, do not set

[PATCH 4.20 29/65] dlm: fixed memory leaks after failed ls_remove_names allocation

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit b982896cdb6e6a6b89d86dfb39df489d9df51e14 upstream. If allocation fails on last elements of array need to free already allocated elements. v2: just move existing

[PATCH 4.20 03/65] fork: record start_time late

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: David Herrmann commit 7b55851367136b1efd84d98fea81ba57a98304cf upstream. This changes the fork(2) syscall to record the process start_time after initializing the basic task structure but

[PATCH 4.20 27/65] block: mq-deadline: Fix write completion handling

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Damien Le Moal commit 7211aef86f79583e59b88a0aba0bc830566f7e8e upstream. For a zoned block device using mq-deadline, if a write request for a zone is received while another write was already

[PATCH 4.20 05/65] hwpoison, memory_hotplug: allow hwpoisoned pages to be offlined

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Michal Hocko commit b15c87263a69272423771118c653e9a1d0672caa upstream. We have received a bug report that an injected MCE about faulty memory prevents memory offline to succeed on 4.4 base

[PATCH 4.20 07/65] mm, devm_memremap_pages: kill mapping "System RAM" support

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 06489cfbd915ff36c8e36df27f1c2dc60f97ca56 upstream. Given the fact that devm_memremap_pages() requires a percpu_ref that is torn down by devm_memremap_pages_release() the

[PATCH 4.20 08/65] mm, devm_memremap_pages: fix shutdown handling

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit a95c90f1e2c253b280385ecf3d4ebfe476926b28 upstream. The last step before devm_memremap_pages() returns success is to allocate a release action,

[PATCH 4.20 44/65] iio: dac: ad5686: fix bit shift read register

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Mircea Caprioru commit 0e76df5c978338f3051e5126fc0c4245c57a307a upstream. This patch solves the register readback issue with the bit shift. When the dac resolution was lower than the register

[PATCH 4.20 00/65] 4.20.2-stable review

2019-01-11 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.20.2 release. There are 65 patches in this series, all will be posted as a response to this one. If anyone has any issues with these being applied, please let me know. Responses should be made by Sun Jan 13 13:10:14 UTC 2019. Anything

[PATCH 4.20 09/65] memcg, oom: notify on oom killer invocation from the charge path

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Michal Hocko commit 7056d3a37d2c6b10c13e8e69adc67ec1fc65 upstream. Burt Holzman has noticed that memcg v1 doesn't notify about OOM events via eventfd anymore. The reason is that

[PATCH 4.20 42/65] powerpc/tm: Set MSR[TS] just prior to recheckpoint

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Breno Leitao commit e1c3743e1a20647c53b719dbf28b48f45d23f2cd upstream. On a signal handler return, the user could set a context with MSR[TS] bits set, and these bits would be copied to task

[PATCH 4.20 48/65] RDMA/srpt: Fix a use-after-free in the channel release code

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit ed041919f0d23c109d52cde8da6ddc211c52d67e upstream. This patch avoids that KASAN sporadically reports the following: BUG: KASAN: use-after-free in

[PATCH 4.20 47/65] stm class: Fix a module refcount leak in policy creation error path

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Shishkin commit c18614a1a11276837bdd44403d84d207c9951538 upstream. Commit c7fd62bc69d0 ("stm class: Introduce framing protocol drivers") adds a bug into the error path of policy

[PATCH 4.20 45/65] 9p/net: put a lower bound on msize

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Dominique Martinet commit 574d356b7a02c7e1b01a1d9cba8a26b3c2888f45 upstream. If the requested msize is too small (either from command line argument or from the server version reply), we won't

[PATCH 4.20 33/65] gfs2: Get rid of potential double-freeing in gfs2_create_inode

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Gruenbacher commit 6ff9b09e00a441599f3aacdf577254455a048bc9 upstream. In gfs2_create_inode, after setting and releasing the acl / default_acl, the acl / default_acl pointers are not

[PATCH 4.20 52/65] ceph: dont update importing caps mseq when handing cap export

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Yan, Zheng commit 3c1392d4c49962a31874af14ae9ff289cb2b3851 upstream. Updating mseq makes client think importer mds has accepted all prior cap messages and importer mds knows what caps client

Re: [PATCH 2/4] dt-bindings: gnss: add gtop binding

2019-01-11 Thread Rob Herring
On Fri, Dec 28, 2018 at 11:50:33AM +0100, Loys Ollivier wrote: > Add binding for GlobalTop GNSS receivers. > > Signed-off-by: Loys Ollivier > --- > Documentation/devicetree/bindings/gnss/gtop.txt | 33 > + > 1 file changed, 33 insertions(+) > create mode 100644

[PATCH v5 2/3] drm: Remove use of drm_mode_object

2019-01-11 Thread Shayenne Moura
This patch removes the drm_mode_object prints, evaluation and use from drm_display_mode objects used in drm files. It removes dependency from drm_mode_object. Signed-off-by: Shayenne Moura Reviewed-by: Daniel Vetter --- drivers/gpu/drm/drm_crtc_helper.c | 5 ++--- drivers/gpu/drm/drm_modes.c

[PATCH 4.20 34/65] gfs2: Fix loop in gfs2_rbm_find

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Andreas Gruenbacher commit 2d29f6b96d8f80322ed2dd895bca590491c38d34 upstream. Fix the resource group wrap-around logic in gfs2_rbm_find that commit e579ed4f44 broke. The bug can lead to

[PATCH v5 0/3] drm: Remove drm_mode_object dependency from drm_display_mode

2019-01-11 Thread Shayenne Moura
This patch serie removes drm_mode_object dependency from drm_display_mode struct. This is part of KMS cleanup. --- Changes in v2: - Make alterations suggested by Daniel and commit messages clear Changes in v3: - Solve typo in first patch in v2 Changes in v4: - Remove patches already

[PATCH 4.20 57/65] genwqe: Fix size check

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Christian Borntraeger commit fdd669684655c07dacbdb0d753fd13833de69a33 upstream. Calling the test program genwqe_cksum with the default buffer size of 2MB triggers the following kernel warning

[PATCH 4.20 61/65] of: __of_detach_node() - remove node from phandle cache

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Frank Rowand commit 5801169a2ed20003f771acecf3ac00574cf10a38 upstream. Non-overlay dynamic devicetree node removal may leave the node in the phandle cache. Subsequent calls to

[PATCH 4.20 35/65] b43: Fix error in cordic routine

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Larry Finger commit 8ea3819c0bbef57a51d8abe579e211033e861677 upstream. The cordic routine for calculating sines and cosines that was added in commit 6f98e62a9f1b ("b43: update cordic code to

[PATCH 4.20 38/65] lockd: Show pid of lockd for remote locks

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Benjamin Coddington commit b8eee0e90f9797b747113638bc75e739b192ad38 upstream. Commit 9d5b86ac13c5 ("fs/locks: Remove fl_nspid and use fs-specific l_pid for remote locks") specified that the

[PATCH 4.20 65/65] drm/rockchip: psr: do not dereference encoder before it is null checked.

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Enric Balletbo i Serra commit 4eda776c3cefcb1f01b2d85bd8753f67606282b5 upstream. 'encoder' is dereferenced before it is null sanity checked, hence we potentially have a null pointer

[PATCH v5 1/3] drm: armada: Cleanup drm_display_mode print str

2019-01-11 Thread Shayenne Moura
This patch adjust the print string of drm_display_mode object to remove drm_mode_object dependency in armada files. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/armada/armada_crtc.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git

[PATCH 4.20 36/65] selinux: policydb - fix byte order and alignment issues

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Ondrej Mosnacek commit 5df275cd4cf51c86d49009f1397132f284ba515e upstream. Do the LE conversions before doing the Infiniband-related range checks. The incorrect checks are otherwise causing a

[PATCH 4.20 37/65] PCI / PM: Allow runtime PM without callback functions

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Jarkko Nikula commit c5eb1190074cfb14c5d9cac692f1912eecf1a5e4 upstream. a9c8088c7988 ("i2c: i801: Don't restore config registers on runtime PM") nullified the runtime PM suspend/resume

[PATCH 4.20 31/65] dlm: lost put_lkb on error path in receive_convert() and receive_unlock()

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit c0174726c3976e67da8649ac62cae43220ae173a upstream. Fixes 6d40c4a708e0 ("dlm: improve error and debug messages") Cc: sta...@kernel.org # 3.5 Signed-off-by: Vasily Averin

[PATCH 4.20 40/65] nfsd4: zero-length WRITE should succeed

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: J. Bruce Fields commit fdec6114ee1f0f43b1ad081ad8d46b23ba126d70 upstream. Zero-length writes are legal; from 5661 section 18.32.3: "If the count is zero, the WRITE will succeed and return a

[PATCH 4.20 39/65] xprtrdma: Yet another double DMA-unmap

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Chuck Lever commit e2f34e26710bfaa545a9d9cd0c70137406401467 upstream. While chasing yet another set of DMAR fault reports, I noticed that the frwr recycler conflates whether or not an MR has

[PATCH 4.20 64/65] drm/vc4: Set ->is_yuv to false when num_planes == 1

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Boris Brezillon commit 2b02a05bdc3a62d36e0d0b015351897109e25991 upstream. When vc4_plane_state is duplicated ->is_yuv is left assigned to its previous value, and we never set it back to false

[PATCH 4.20 63/65] drm/nouveau/drm/nouveau: Check rc from drm_dp_mst_topology_mgr_resume()

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Lyude Paul commit b89fdf7ae8500feae1100d8b283176a44d31d698 upstream. We need to actually make sure we check this on resume since otherwise we won't know whether or not the topology is still

[PATCH 4.20 59/65] power: supply: olpc_battery: correct the temperature units

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Lubomir Rintel commit ed54ffbe554f0902689fd6d1712bbacbacd11376 upstream. According to [1] and [2], the temperature values are in tenths of degree Celsius. Exposing the Celsius value makes the

[PATCH 4.20 62/65] lib: fix build failure in CONFIG_DEBUG_VIRTUAL test

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Leroy commit 10fdf838e5f540beca466e9d1325999c072e5d3f upstream. On several arches, virt_to_phys() is in io.h Build fails without it: CC lib/test_debug_virtual.o

[PATCH 4.20 60/65] of: of_node_get()/of_node_put() nodes held in phandle cache

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Frank Rowand commit b8a9ac1a5b99a2fcbed19fd29d2d59270c281a31 upstream. The phandle cache contains struct device_node pointers. The refcount of the pointers was not incremented while in the

[PATCH 4.20 56/65] selftests: Fix test errors related to lib.mk khdr target

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Shuah Khan commit 211929fd3f7c8de4d541b1cc243b82830e5ea1e8 upstream. Commit b2d35fa5fc80 ("selftests: add headers_install to lib.mk") added khdr target to run headers_install target from the

[PATCH 4.20 58/65] intel_th: msu: Fix an off-by-one in attribute store

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Shishkin commit ec5b5ad6e272d8d6b92d1007f79574919862a2d2 upstream. The 'nr_pages' attribute of the 'msc' subdevices parses a comma-separated list of window sizes, passed from

[PATCH 4.20 55/65] powerpc/4xx/ocm: Fix compilation error due to PAGE_KERNEL usage

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Christian Lamparter commit d0757237d7b18b1ce74293be7c077d86f7a732e8 upstream. This patch fixes a recent compilation regression in ocm: ocm.c: In function ‘ocm_init_node’: ocm.c:182:18:

[PATCH 4.20 54/65] drivers/perf: hisi: Fixup one DDRC PMU register offset

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Shaokun Zhang commit eb4f5213251833567570df1a09803f895653274d upstream. For DDRC PMU, each PMU counter is fixed-purpose. There is a mismatch between perf list and driver definition on rw_chg

[PATCH 4.20 53/65] video: fbdev: pxafb: Fix "WARNING: invalid free of devm_ allocated data"

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: YueHaibing commit 2607391882fca37463187e7f2a9c76dec286947e upstream. 'info->modes' got allocated with devm_kcalloc in of_get_pxafb_display. This gives this error message:

[PATCH 4.20 46/65] rxe: fix error completion wr_id and qp_num

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Sagi Grimberg commit e48d8ed9c6193502d849b35767fd18e20bbd7ba2 upstream. Error completions must still contain a valid wr_id and qp_num such that the consumer can rely on. Correctly fill these

[PATCH 4.20 49/65] RDMA/iwcm: Dont copy past the end of dev_name() string

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Steve Wise commit d53ec8af56d5163f8a42e961ece3aeb5c560e79d upstream. We now use dev_name(_device->dev) instead of ib_device->name in iwpm messages. The name field in struct device is a const

[PATCH 4.20 32/65] dlm: memory leaks on error path in dlm_user_request()

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit d47b41aceeadc6b58abc9c7c6485bef7cfb75636 upstream. According to comment in dlm_user_request() ua should be freed in dlm_free_lkb() after successful attach to lkb.

[PATCH 4.20 43/65] iio: adc: qcom-spmi-adc5: Initialize prescale properly

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Evan Green commit db23d88756abd38e0995ea8449d0025b3de4b26b upstream. adc5_get_dt_data uses a local, prop, feeds it to adc5_get_dt_channel_data, and then puts the result into adc->chan_props.

[PATCH 4.20 51/65] sched/fair: Fix infinite loop in update_blocked_averages() by reverting a9e7f6544b9c

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Linus Torvalds commit c40f7d74c741a907cfaeb73a7697081881c497d0 upstream. Zhipeng Xie, Xie XiuQi and Sargun Dhillon reported lockups in the scheduler under high loads, starting at around the

[PATCH 4.20 41/65] Revert "powerpc/tm: Unset MSR[TS] if not recheckpointing"

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Greg Kroah-Hartman This reverts commit d412deb85a4aada382352a8202beb7af8921cd53 which is commit 6f5b9f018f4c7686fd944d920209d1382d320e4e upstream. It breaks the powerpc build, so drop it from

[PATCH 4.20 30/65] dlm: possible memory leak on error path in create_lkb()

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit 23851e978f31eda8b2d01bd410d3026659ca06c7 upstream. Fixes 3d6aa675fff9 ("dlm: keep lkbs in idr") Cc: sta...@kernel.org # 3.1 Signed-off-by: Vasily Averin Signed-off-by:

[PATCH 4.20 06/65] mm, devm_memremap_pages: mark devm_memremap_pages() EXPORT_SYMBOL_GPL

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 808153e1187fa77ac7d7dad261ff476888dcf398 upstream. devm_memremap_pages() is a facility that can create struct page entries for any arbitrary range and give drivers the

[PATCH 4.20 04/65] zram: fix double free backing device

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Minchan Kim commit 5547932dc67a48713eece4fa4703bfdf0cfcb818 upstream. If blkdev_get fails, we shouldn't do blkdev_put. Otherwise, kernel emits below log. This patch fixes it. WARNING:

[PATCH 4.20 25/65] Fix failure path in alloc_pid()

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Matthew Wilcox commit 1a80dade010c7a7f4885a4c4c2a7ac22cc7b34df upstream. The failure path removes the allocated PIDs from the wrong namespace. This could lead to us inadvertently reusing PIDs

[PATCH 4.20 18/65] ALSA: cs46xx: Potential NULL dereference in probe

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 1524f4e47f90b27a3ac84efbdd94c63172246a6f upstream. The "chip->dsp_spos_instance" can be NULL on some of the ealier error paths in snd_cs46xx_create(). Reported-by:

[PATCH 4.20 24/65] driver core: Add missing dev->bus->need_parent_lock checks

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Rafael J. Wysocki commit e121a833745b4708b660e3fe6776129c2956b041 upstream. __device_release_driver() has to check dev->bus->need_parent_lock before dropping the parent lock and acquiring it

[PATCH 4.20 26/65] block: deactivate blk_stat timer in wbt_disable_default()

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Ming Lei commit 544fbd16a461a318cd80537d1331c0df5c6cf930 upstream. rwb_enabled() can't be changed when there is any inflight IO. wbt_disable_default() may set rwb->wb_normal as zero, however

[PATCH 4.20 28/65] dm: do not allow readahead to limit IO size

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Jaegeuk Kim commit c6d6e9b0f6b4201c77f2cea3964dd122697e3543 upstream. Update DM to set the bdi's io_pages. This fixes reads to be capped at the device's max request size (even if user's read

[PATCH 4.20 22/65] ALSA: usb-audio: Always check descriptor sizes in parser code

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 3e96d7280f16e2f787307f695a31296b9e4a1cd7 upstream. There are a few places where we access the data without checking the actual object size from the USB audio descriptor.

[PATCH 4.20 21/65] ALSA: usb-audio: Fix an out-of-bound read in create_composite_quirks

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Hui Peng commit cbb2ebf70daf7f7d97d3811a2ff8e39655b8c184 upstream. In `create_composite_quirk`, the terminating condition of for loops is `quirk->ifnum < 0`. So any composite quirks should

[PATCH 4.20 23/65] srcu: Lock srcu_data structure in srcu_gp_start()

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Dennis Krein commit eb4c2382272ae7ae5d81fdfa5b7a6c86146eaaa4 upstream. The srcu_gp_start() function is called with the srcu_struct structure's ->lock held, but not with the srcu_data

[PATCH 4.20 17/65] media: cx23885: only reset DMA on problematic CPUs

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Brad Love commit 4bd46aa0353e022c2401a258e93b107880a66533 upstream. It is reported that commit 95f408bbc4e4 ("media: cx23885: Ryzen DMA related RiSC engine stall fixes") caused regresssions

[PATCH 4.20 12/65] mm, devm_memremap_pages: add MEMORY_DEVICE_PRIVATE support

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 69324b8f48339de2f90fdf2f774687fc6c47629a upstream. In preparation for consolidating all ZONE_DEVICE enabling via devm_memremap_pages(), teach it how to handle the

[PATCH 4.20 15/65] mm, hmm: mark hmm_devmem_{add, add_resource} EXPORT_SYMBOL_GPL

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 02917e9f8676207a4c577d4d94eae12bf348e9d7 upstream. At Maintainer Summit, Greg brought up a topic I proposed around EXPORT_SYMBOL_GPL usage. The motivation was

[PATCH 4.20 20/65] ALSA: usb-audio: Check mixer unit descriptors more strictly

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 0bfe5e434e6665b3590575ec3c5e4f86a1ce51c9 upstream. We've had some sanity checks of the mixer unit descriptors but they are too loose and some corner cases are overlooked.

[PATCH 4.20 13/65] mm, hmm: use devm semantics for hmm_devmem_{add, remove}

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Dan Williams commit 58ef15b765af0d2cbe6799ec564f1dc485010ab8 upstream. devm semantics arrange for resources to be torn down when device-driver-probe fails or when device-driver-release

[PATCH 4.19 144/148] lib: fix build failure in CONFIG_DEBUG_VIRTUAL test

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Christophe Leroy commit 10fdf838e5f540beca466e9d1325999c072e5d3f upstream. On several arches, virt_to_phys() is in io.h Build fails without it: CC lib/test_debug_virtual.o

[PATCH 4.20 11/65] sunrpc: use SVC_NET() in svcauth_gss_* functions

2019-01-11 Thread Greg Kroah-Hartman
4.20-stable review patch. If anyone has any objections, please let me know. -- From: Vasily Averin commit b8be5674fa9a6f3677865ea93f7803c4212f3e10 upstream. Signed-off-by: Vasily Averin Cc: sta...@vger.kernel.org Signed-off-by: J. Bruce Fields Signed-off-by: Greg

[PATCH 4.19 147/148] drm/rockchip: psr: do not dereference encoder before it is null checked.

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Enric Balletbo i Serra commit 4eda776c3cefcb1f01b2d85bd8753f67606282b5 upstream. 'encoder' is dereferenced before it is null sanity checked, hence we potentially have a null pointer

[PATCH 4.19 146/148] drm/vc4: Set ->is_yuv to false when num_planes == 1

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Boris Brezillon commit 2b02a05bdc3a62d36e0d0b015351897109e25991 upstream. When vc4_plane_state is duplicated ->is_yuv is left assigned to its previous value, and we never set it back to false

[PATCH 4.19 141/148] power: supply: olpc_battery: correct the temperature units

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Lubomir Rintel commit ed54ffbe554f0902689fd6d1712bbacbacd11376 upstream. According to [1] and [2], the temperature values are in tenths of degree Celsius. Exposing the Celsius value makes the

[PATCH 4.19 108/148] ALSA: usb-audio: Always check descriptor sizes in parser code

2019-01-11 Thread Greg Kroah-Hartman
4.19-stable review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 3e96d7280f16e2f787307f695a31296b9e4a1cd7 upstream. There are a few places where we access the data without checking the actual object size from the USB audio descriptor.

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