[PATCH 4.18 059/145] dm crypt: dont decrease device limits

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit bc9e9cf0401f18e33b78d4c8a518661b8346baf7 upstream. dm-crypt should only increase device limits, it should not decrease them. This fixes a bug where the user could

[PATCH 4.18 055/145] dm integrity: change suspending variable from bool to int

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit c21b16392701543d61e366dca84e15fe7f0cf0cf upstream. Early alpha processors can't write a byte or short atomically - they read 8 bytes, modify the byte or two bytes in

[PATCH 4.18 053/145] net/9p/client.c: version pointer uninitialized

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Tomas Bortoli commit 7913690dcc5e18e235769fd87c34143072f5dbea upstream. The p9_client_version() does not initialize the version pointer. If the call to p9pdu_readf() returns an error and

[PATCH 4.18 048/145] ib_srpt: Fix a use-after-free in __srpt_close_all_ch()

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 14d15c2b278011056482eb015dff89f9cbf2b841 upstream. BUG: KASAN: use-after-free in srpt_set_enabled+0x1a9/0x1e0 [ib_srpt] Read of size 4 at addr 8801269d23f8 by task

[PATCH 4.18 050/145] 9p: fix multiple NULL-pointer-dereferences

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Tomas Bortoli commit 10aa14527f458e9867cf3d2cc6b8cb0f6704448b upstream. Added checks to prevent GPFs from raising. Link: http://lkml.kernel.org/r/20180727110558.5479-1-tomasbort...@gmail.com

[PATCH 4.18 031/145] powerpc/pkeys: key allocation/deallocation must not change pkey registers

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Ram Pai commit 4a4a5e5d2aadc793be95024f454cf511d115b62d upstream. Key allocation and deallocation has the side effect of programming the UAMOR/AMR/IAMR registers. This is wrong, since its the

[PATCH 4.18 053/145] net/9p/client.c: version pointer uninitialized

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Tomas Bortoli commit 7913690dcc5e18e235769fd87c34143072f5dbea upstream. The p9_client_version() does not initialize the version pointer. If the call to p9pdu_readf() returns an error and

[PATCH 4.18 048/145] ib_srpt: Fix a use-after-free in __srpt_close_all_ch()

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 14d15c2b278011056482eb015dff89f9cbf2b841 upstream. BUG: KASAN: use-after-free in srpt_set_enabled+0x1a9/0x1e0 [ib_srpt] Read of size 4 at addr 8801269d23f8 by task

[PATCH 4.18 050/145] 9p: fix multiple NULL-pointer-dereferences

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Tomas Bortoli commit 10aa14527f458e9867cf3d2cc6b8cb0f6704448b upstream. Added checks to prevent GPFs from raising. Link: http://lkml.kernel.org/r/20180727110558.5479-1-tomasbort...@gmail.com

[PATCH 4.18 031/145] powerpc/pkeys: key allocation/deallocation must not change pkey registers

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Ram Pai commit 4a4a5e5d2aadc793be95024f454cf511d115b62d upstream. Key allocation and deallocation has the side effect of programming the UAMOR/AMR/IAMR registers. This is wrong, since its the

[PATCH 4.18 052/145] 9p/virtio: fix off-by-one error in sg list bounds check

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: jiangyiwen commit 23cba9cbde0bba05d772b335fe5f66aa82b9ad19 upstream. Because the value of limit is VIRTQUEUE_NUM, if index is equal to limit, it will cause sg array out of bounds, so correct

[PATCH 4.18 052/145] 9p/virtio: fix off-by-one error in sg list bounds check

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: jiangyiwen commit 23cba9cbde0bba05d772b335fe5f66aa82b9ad19 upstream. Because the value of limit is VIRTQUEUE_NUM, if index is equal to limit, it will cause sg array out of bounds, so correct

[PATCH 4.18 049/145] RDMA/rxe: Set wqe->status correctly if an unexpected response is received

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 61b717d041b1976530f68f8b539b2e3a7dd8e39c upstream. Every function that returns COMPST_ERROR must set wqe->status to another value than IB_WC_SUCCESS before returning

[PATCH 4.18 051/145] fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: piaojun commit 3111784bee81591ea2815011688d28b65df03627 upstream. In my testing, v9fs_fid_xattr_set will return successfully even if the backend ext4 filesystem has no space to store xattr

[PATCH 4.18 049/145] RDMA/rxe: Set wqe->status correctly if an unexpected response is received

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 61b717d041b1976530f68f8b539b2e3a7dd8e39c upstream. Every function that returns COMPST_ERROR must set wqe->status to another value than IB_WC_SUCCESS before returning

[PATCH 4.18 051/145] fs/9p/xattr.c: catch the error of p9_client_clunk when setting xattr failed

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: piaojun commit 3111784bee81591ea2815011688d28b65df03627 upstream. In my testing, v9fs_fid_xattr_set will return successfully even if the backend ext4 filesystem has no space to store xattr

[PATCH 4.18 000/145] 4.18.7-stable review

2018-09-07 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.18.7 release. There are 145 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 Sep 9 21:08:26 UTC 2018. Anything

[PATCH 4.18 046/145] RDMA/mlx5: Fix shift overflow in mlx5_ib_create_wq

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Leon Romanovsky commit 0dfe452241f4904de497aef01ad2f609ccb9be90 upstream. [ 61.182439] UBSAN: Undefined behaviour in drivers/infiniband/hw/mlx5/qp.c:5366:34 [ 61.183673] shift exponent

[PATCH 4.18 039/145] ocxl: Fix page fault handler in case of fault on dying process

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Frederic Barrat commit d497ebf5fb3a026c0817f8c96cde578787f24093 upstream. If a process exits without doing proper cleanup, there's a window where an opencapi device can try to access the

[PATCH 4.18 039/145] ocxl: Fix page fault handler in case of fault on dying process

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Frederic Barrat commit d497ebf5fb3a026c0817f8c96cde578787f24093 upstream. If a process exits without doing proper cleanup, there's a window where an opencapi device can try to access the

[PATCH 4.18 000/145] 4.18.7-stable review

2018-09-07 Thread Greg Kroah-Hartman
This is the start of the stable review cycle for the 4.18.7 release. There are 145 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 Sep 9 21:08:26 UTC 2018. Anything

[PATCH 4.18 046/145] RDMA/mlx5: Fix shift overflow in mlx5_ib_create_wq

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Leon Romanovsky commit 0dfe452241f4904de497aef01ad2f609ccb9be90 upstream. [ 61.182439] UBSAN: Undefined behaviour in drivers/infiniband/hw/mlx5/qp.c:5366:34 [ 61.183673] shift exponent

[PATCH 4.18 045/145] overflow.h: Add arithmetic shift helper

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Jason Gunthorpe commit 0c66847793d1982d1083dc6f7adad60fa265ce9c upstream. Add shift_overflow() helper to assist driver authors in ensuring that shift operations don't cause overflows or other

[PATCH 4.18 047/145] ib_srpt: Fix a use-after-free in srpt_close_ch()

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 995250959d22fc341b5424e3343b0ce5df672461 upstream. Avoid that KASAN reports the following: BUG: KASAN: use-after-free in srpt_close_ch+0x4f/0x1b0 [ib_srpt] Read of

[PATCH 4.18 030/145] powerpc/pkeys: Deny read/write/execute by default

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Ram Pai commit de113256f8c1c24d8c79ae388bf2a5abd70f7577 upstream. Deny all permissions on all keys, with some exceptions. pkey-0 must allow all permissions, or else everything comes to a

[PATCH 4.18 047/145] ib_srpt: Fix a use-after-free in srpt_close_ch()

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 995250959d22fc341b5424e3343b0ce5df672461 upstream. Avoid that KASAN reports the following: BUG: KASAN: use-after-free in srpt_close_ch+0x4f/0x1b0 [ib_srpt] Read of

[PATCH 4.18 030/145] powerpc/pkeys: Deny read/write/execute by default

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Ram Pai commit de113256f8c1c24d8c79ae388bf2a5abd70f7577 upstream. Deny all permissions on all keys, with some exceptions. pkey-0 must allow all permissions, or else everything comes to a

[PATCH 4.18 045/145] overflow.h: Add arithmetic shift helper

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Jason Gunthorpe commit 0c66847793d1982d1083dc6f7adad60fa265ce9c upstream. Add shift_overflow() helper to assist driver authors in ensuring that shift operations don't cause overflows or other

[PATCH 4.18 041/145] IB/mlx5: Fix leaking stack memory to userspace

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Jason Gunthorpe commit 0625b4ba1a5d4703c7fb01c497bd6c156908af00 upstream. mlx5_ib_create_qp_resp was never initialized and only the first 4 bytes were written. Fixes: 41d902cb7c32

[PATCH 4.18 042/145] IB/srpt: Fix srpt_cm_req_recv() error path (1/2)

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 847462de3a0aabc5343a1e338537f69a03bb61af upstream. Once a target session has been allocated, if an error occurs, the session must be freed. Since it is not safe to call

[PATCH 4.18 040/145] IB/mlx5: Honor cnt_set_id_valid flag instead of set_id

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Parav Pandit commit 921c0f5ba58e4064deb18b4985a202508fc5527f upstream. It is incorrect to depend on set_id value to know if counters were allocated or not. set_id_valid field is set to true

[PATCH 4.18 044/145] IB/srpt: Support HCAs with more than two ports

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit e620ebfc228dcbef7519e3d16f43c6c6f1a1d0cb upstream. Since there are adapters that have four ports, increase the size of the srpt_device.port[] array. This patch avoids

[PATCH 4.18 043/145] IB/srpt: Fix srpt_cm_req_recv() error path (2/2)

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 6869e0004fe16184acd6488f0c637e0081a84a8a upstream. If a login request was received through the RDMA/CM and if an error occurs during login, clear rdma_cm_id->context

[PATCH 4.18 043/145] IB/srpt: Fix srpt_cm_req_recv() error path (2/2)

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 6869e0004fe16184acd6488f0c637e0081a84a8a upstream. If a login request was received through the RDMA/CM and if an error occurs during login, clear rdma_cm_id->context

[PATCH 4.18 041/145] IB/mlx5: Fix leaking stack memory to userspace

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Jason Gunthorpe commit 0625b4ba1a5d4703c7fb01c497bd6c156908af00 upstream. mlx5_ib_create_qp_resp was never initialized and only the first 4 bytes were written. Fixes: 41d902cb7c32

[PATCH 4.18 042/145] IB/srpt: Fix srpt_cm_req_recv() error path (1/2)

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 847462de3a0aabc5343a1e338537f69a03bb61af upstream. Once a target session has been allocated, if an error occurs, the session must be freed. Since it is not safe to call

[PATCH 4.18 040/145] IB/mlx5: Honor cnt_set_id_valid flag instead of set_id

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Parav Pandit commit 921c0f5ba58e4064deb18b4985a202508fc5527f upstream. It is incorrect to depend on set_id value to know if counters were allocated or not. set_id_valid field is set to true

[PATCH 4.18 044/145] IB/srpt: Support HCAs with more than two ports

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit e620ebfc228dcbef7519e3d16f43c6c6f1a1d0cb upstream. Since there are adapters that have four ports, increase the size of the srpt_device.port[] array. This patch avoids

[PATCH 4.18 007/145] spi: spi-fsl-dspi: Fix imprecise abort on VF500 during probe

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit d8ffee2f551a627ffb7b216e2da322cb9a037f77 upstream. Registers of DSPI should not be accessed before enabling its clock. On Toradex Colibri VF50 on Iris carrier

[PATCH 4.18 007/145] spi: spi-fsl-dspi: Fix imprecise abort on VF500 during probe

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Krzysztof Kozlowski commit d8ffee2f551a627ffb7b216e2da322cb9a037f77 upstream. Registers of DSPI should not be accessed before enabling its clock. On Toradex Colibri VF50 on Iris carrier

[PATCH 4.18 008/145] spi: cadence: Change usleep_range() to udelay(), for atomic context

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Janek Kotas commit 931c4e9a72ae91d59c5332ffb6812911a749da8e upstream. The path "spi: cadence: Add usleep_range() for cdns_spi_fill_tx_fifo()" added a usleep_range() function call, which

[PATCH 4.18 009/145] mmc: block: Fix unsupported parallel dispatch of requests

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit 26caddf274cf1e89fd4ce44ab2b8dbc7a7f97681 upstream. The mmc block driver does not support parallel dispatch of requests. In normal circumstances, all requests are anyway

[PATCH 4.18 008/145] spi: cadence: Change usleep_range() to udelay(), for atomic context

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Janek Kotas commit 931c4e9a72ae91d59c5332ffb6812911a749da8e upstream. The path "spi: cadence: Add usleep_range() for cdns_spi_fill_tx_fifo()" added a usleep_range() function call, which

[PATCH 4.18 009/145] mmc: block: Fix unsupported parallel dispatch of requests

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Adrian Hunter commit 26caddf274cf1e89fd4ce44ab2b8dbc7a7f97681 upstream. The mmc block driver does not support parallel dispatch of requests. In normal circumstances, all requests are anyway

[PATCH 4.18 004/145] 9p/net: Fix zero-copy path in the 9p virtio transport

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Chirantan Ekbote commit d28c756caee6e414d9ba367d0b92da24145af2a8 upstream. The zero-copy optimization when reading or writing large chunks of data is quite useful. However, the 9p messages

[PATCH 4.18 004/145] 9p/net: Fix zero-copy path in the 9p virtio transport

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Chirantan Ekbote commit d28c756caee6e414d9ba367d0b92da24145af2a8 upstream. The zero-copy optimization when reading or writing large chunks of data is quite useful. However, the 9p messages

[PATCH 4.18 003/145] net: mac802154: tx: expand tailroom if necessary

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Aring commit f9c52831133050c6b82aa8b6831c92da2bbf2a0b upstream. This patch is necessary if case of AF_PACKET or other socket interface which I am aware of it and didn't allocated

[PATCH 4.18 005/145] spi: davinci: fix a NULL pointer dereference

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Bartosz Golaszewski commit 563a53f3906a6b43692498e5b3ae891fac93a4af upstream. On non-OF systems spi->controlled_data may be NULL. This causes a NULL pointer derefence on dm365-evm.

[PATCH 4.18 006/145] spi: pxa2xx: Add support for Intel Ice Lake

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Mika Westerberg commit 22d71a5097ec7059b6cbbee678a4f88484695941 upstream. Intel Ice Lake SPI host controller follows the Intel Cannon Lake but the PCI IDs are different. Add the new PCI IDs

[PATCH 4.18 003/145] net: mac802154: tx: expand tailroom if necessary

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Aring commit f9c52831133050c6b82aa8b6831c92da2bbf2a0b upstream. This patch is necessary if case of AF_PACKET or other socket interface which I am aware of it and didn't allocated

[PATCH 4.18 005/145] spi: davinci: fix a NULL pointer dereference

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Bartosz Golaszewski commit 563a53f3906a6b43692498e5b3ae891fac93a4af upstream. On non-OF systems spi->controlled_data may be NULL. This causes a NULL pointer derefence on dm365-evm.

[PATCH 4.18 006/145] spi: pxa2xx: Add support for Intel Ice Lake

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Mika Westerberg commit 22d71a5097ec7059b6cbbee678a4f88484695941 upstream. Intel Ice Lake SPI host controller follows the Intel Cannon Lake but the PCI IDs are different. Add the new PCI IDs

[PATCH 4.18 027/145] powerpc/64s: Fix page table fragment refcount race vs speculative references

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Piggin commit 4231aba000f5a4583dd9f67057aadb68c3eca99d upstream. The page table fragment allocator uses the main page refcount racily with respect to speculative references. A

[PATCH 4.18 028/145] powerpc/pseries: Fix endianness while restoring of r3 in MCE handler.

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Mahesh Salgaonkar commit cd813e1cd7122f2c261dce5b54d1e0c97f80e1a5 upstream. During Machine Check interrupt on pseries platform, register r3 points RTAS extended event log passed by

[PATCH 4.18 027/145] powerpc/64s: Fix page table fragment refcount race vs speculative references

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Nicholas Piggin commit 4231aba000f5a4583dd9f67057aadb68c3eca99d upstream. The page table fragment allocator uses the main page refcount racily with respect to speculative references. A

[PATCH 4.18 028/145] powerpc/pseries: Fix endianness while restoring of r3 in MCE handler.

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Mahesh Salgaonkar commit cd813e1cd7122f2c261dce5b54d1e0c97f80e1a5 upstream. During Machine Check interrupt on pseries platform, register r3 points RTAS extended event log passed by

[PATCH 4.18 026/145] powerpc/fadump: handle crash memory ranges array index overflow

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Hari Bathini commit 1bd6a1c4b80a28d975287630644e6b47d0f977a5 upstream. Crash memory ranges is an array of memory ranges of the crashing kernel to be exported as a dump via /proc/vmcore file.

[PATCH 4.18 026/145] powerpc/fadump: handle crash memory ranges array index overflow

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Hari Bathini commit 1bd6a1c4b80a28d975287630644e6b47d0f977a5 upstream. Crash memory ranges is an array of memory ranges of the crashing kernel to be exported as a dump via /proc/vmcore file.

[PATCH 4.18 023/145] mailbox: xgene-slimpro: Fix potential NULL pointer dereference

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo A. R. Silva commit 3512a18cbd8d09e22a790540cb9624c3c49827ba upstream. There is a potential execution path in which function platform_get_resource() returns NULL. If this happens, we

[PATCH 4.18 022/145] media: Revert "[media] tvp5150: fix pad format frame height"

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Javier Martinez Canillas commit 1831af092308aa5a59ae61e47494e441c8be6b93 upstream. This reverts commit 0866df8dffd514185bfab0d205db76e4c02cf1e4. The v4l uAPI documentation [0] makes clear

[PATCH 4.18 021/145] libertas: fix suspend and resume for SDIO connected cards

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Mack commit 7444a8092906ed44c09459780c56ba57043e39b1 upstream. Prior to commit 573185cc7e64 ("mmc: core: Invoke sdio func driver's PM callbacks from the sdio bus"), the MMC core used

[PATCH 4.18 024/145] Replace magic for trusting the secondary keyring with #define

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Yannik Sembritzki commit 817aef260037f33ee0f44c17fe341323d3aebd6d upstream. Replace the use of a magic number that indicates that verify_*_signature() should use the secondary keyring with a

[PATCH 4.18 002/145] net: 6lowpan: fix reserved space for single frames

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Aring commit ac74f87c789af40936a80131c4759f3e72579c3a upstream. This patch fixes patch add handling to take care tail and headroom for single 6lowpan frames. We need to be sure we

[PATCH 4.18 023/145] mailbox: xgene-slimpro: Fix potential NULL pointer dereference

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Gustavo A. R. Silva commit 3512a18cbd8d09e22a790540cb9624c3c49827ba upstream. There is a potential execution path in which function platform_get_resource() returns NULL. If this happens, we

[PATCH 4.18 022/145] media: Revert "[media] tvp5150: fix pad format frame height"

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Javier Martinez Canillas commit 1831af092308aa5a59ae61e47494e441c8be6b93 upstream. This reverts commit 0866df8dffd514185bfab0d205db76e4c02cf1e4. The v4l uAPI documentation [0] makes clear

[PATCH 4.18 021/145] libertas: fix suspend and resume for SDIO connected cards

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Daniel Mack commit 7444a8092906ed44c09459780c56ba57043e39b1 upstream. Prior to commit 573185cc7e64 ("mmc: core: Invoke sdio func driver's PM callbacks from the sdio bus"), the MMC core used

[PATCH 4.18 024/145] Replace magic for trusting the secondary keyring with #define

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Yannik Sembritzki commit 817aef260037f33ee0f44c17fe341323d3aebd6d upstream. Replace the use of a magic number that indicates that verify_*_signature() should use the secondary keyring with a

[PATCH 4.18 002/145] net: 6lowpan: fix reserved space for single frames

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Alexander Aring commit ac74f87c789af40936a80131c4759f3e72579c3a upstream. This patch fixes patch add handling to take care tail and headroom for single 6lowpan frames. We need to be sure we

[PATCH 4.18 019/145] apparmor: fix bad debug check in apparmor_secid_to_secctx()

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: John Johansen commit edf4e7b7b9104b58fddfcd073bd7dcc1585d5326 upstream. apparmor_secid_to_secctx() has a bad debug statement tripping on a condition handle by the code. When kconfig

[PATCH 4.18 019/145] apparmor: fix bad debug check in apparmor_secid_to_secctx()

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: John Johansen commit edf4e7b7b9104b58fddfcd073bd7dcc1585d5326 upstream. apparmor_secid_to_secctx() has a bad debug statement tripping on a condition handle by the code. When kconfig

[PATCH 4.18 017/145] block: Introduce blk_exit_queue()

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 4cf6324b17e96b7b7ab4021c6929500934d46750 upstream. This patch does not change any functionality. Signed-off-by: Bart Van Assche Reviewed-by: Johannes Thumshirn Cc:

[PATCH 4.18 001/145] rcu: Make expedited GPs handle CPU 0 being offline

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Boqun Feng commit fcc63543650150629c8a873cbef3578770acecd9 upstream. Currently, the parallelized initialization of expedited grace periods uses the workqueue associated with each rcu_node

[PATCH 4.18 013/145] block: fix infinite loop if the device loses discard capability

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit b88aef36b87c9787a4db724923ec4f57dfd513f3 upstream. If __blkdev_issue_discard is in progress and a device mapper device is reloaded with a table that doesn't support

[PATCH 4.18 017/145] block: Introduce blk_exit_queue()

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Bart Van Assche commit 4cf6324b17e96b7b7ab4021c6929500934d46750 upstream. This patch does not change any functionality. Signed-off-by: Bart Van Assche Reviewed-by: Johannes Thumshirn Cc:

[PATCH 4.18 001/145] rcu: Make expedited GPs handle CPU 0 being offline

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Boqun Feng commit fcc63543650150629c8a873cbef3578770acecd9 upstream. Currently, the parallelized initialization of expedited grace periods uses the workqueue associated with each rcu_node

[PATCH 4.18 013/145] block: fix infinite loop if the device loses discard capability

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Mikulas Patocka commit b88aef36b87c9787a4db724923ec4f57dfd513f3 upstream. If __blkdev_issue_discard is in progress and a device mapper device is reloaded with a table that doesn't support

[PATCH 4.18 010/145] mmc: renesas_sdhi_internal_dmac: mask DMAC interrupts

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Sergei Shtylyov commit d2332f887ddfba50fee93b8e1736376517c2df0c upstream. I have encountered an interrupt storm during the eMMC chip probing (and the chip finally didn't get detected). It

[PATCH 4.18 011/145] mmc: renesas_sdhi_internal_dmac: fix #define RST_RESERVED_BITS

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Sergei Shtylyov commit 9faf870e559a710c44e747ba20383ea82d8ac5d2 upstream. The DM_CM_RST register actually has bits 0-31 defaulting to 1s and bits 32-63 defaulting to 0s -- fix off-by-one in

[PATCH 4.18 011/145] mmc: renesas_sdhi_internal_dmac: fix #define RST_RESERVED_BITS

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Sergei Shtylyov commit 9faf870e559a710c44e747ba20383ea82d8ac5d2 upstream. The DM_CM_RST register actually has bits 0-31 defaulting to 1s and bits 32-63 defaulting to 0s -- fix off-by-one in

[PATCH 4.18 010/145] mmc: renesas_sdhi_internal_dmac: mask DMAC interrupts

2018-09-07 Thread Greg Kroah-Hartman
4.18-stable review patch. If anyone has any objections, please let me know. -- From: Sergei Shtylyov commit d2332f887ddfba50fee93b8e1736376517c2df0c upstream. I have encountered an interrupt storm during the eMMC chip probing (and the chip finally didn't get detected). It

Re: [PATCH v4 2/2] x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation

2018-09-07 Thread Thomas Gleixner
On Thu, 6 Sep 2018, Jiri Kosina wrote: > +/* > + * The read-modify-write of the MSR doesn't need any race protection here, > + * as we're running in atomic context. > + */ > +static void enable_stibp(void *info) > +{ > + u64 mask; > + rdmsrl(MSR_IA32_SPEC_CTRL, mask); > + mask |=

Re: [PATCH v4 2/2] x86/speculation: Enable cross-hyperthread spectre v2 STIBP mitigation

2018-09-07 Thread Thomas Gleixner
On Thu, 6 Sep 2018, Jiri Kosina wrote: > +/* > + * The read-modify-write of the MSR doesn't need any race protection here, > + * as we're running in atomic context. > + */ > +static void enable_stibp(void *info) > +{ > + u64 mask; > + rdmsrl(MSR_IA32_SPEC_CTRL, mask); > + mask |=

Re: [RFC][PATCH 2/8] x86/mm: break out kernel address space handling

2018-09-07 Thread Sean Christopherson
On Fri, 2018-09-07 at 12:48 -0700, Dave Hansen wrote: > From: Dave Hansen > > The page fault handler (__do_page_fault())  basically has two sections: > one for handling faults in the kernel porttion of the address space > and another for faults in the user porttion of the address space.

Re: [RFC][PATCH 2/8] x86/mm: break out kernel address space handling

2018-09-07 Thread Sean Christopherson
On Fri, 2018-09-07 at 12:48 -0700, Dave Hansen wrote: > From: Dave Hansen > > The page fault handler (__do_page_fault())  basically has two sections: > one for handling faults in the kernel porttion of the address space > and another for faults in the user porttion of the address space.

Re: [RFC][PATCH 5/8] x86/mm: fix exception table comments

2018-09-07 Thread Sean Christopherson
On Fri, 2018-09-07 at 12:49 -0700, Dave Hansen wrote: > From: Dave Hansen > > The comments here are wrong.  They are too absolute about where > faults can occur when running in the kernel.  The comments are > also a bit hard to match up with the code. > > Trim down the comments, and make them

Re: [RFC][PATCH 5/8] x86/mm: fix exception table comments

2018-09-07 Thread Sean Christopherson
On Fri, 2018-09-07 at 12:49 -0700, Dave Hansen wrote: > From: Dave Hansen > > The comments here are wrong.  They are too absolute about where > faults can occur when running in the kernel.  The comments are > also a bit hard to match up with the code. > > Trim down the comments, and make them

[PATCH RT 02/24] locallock: provide {get,put}_locked_ptr() variants

2018-09-07 Thread Steven Rostedt
4.14.63-rt41-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Julia Cartwright [ Upstream commit 3d45cf23db4f76cd356ebb0aa4cdaa7d92d1a64e ] Provide a set of locallocked accessors for pointers to per-CPU data; this is useful for

[PATCH RT 00/24] Linux 4.14.63-rt41-rc2

2018-09-07 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 4.14.63-rt41-rc2. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release

[PATCH RT 02/24] locallock: provide {get,put}_locked_ptr() variants

2018-09-07 Thread Steven Rostedt
4.14.63-rt41-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Julia Cartwright [ Upstream commit 3d45cf23db4f76cd356ebb0aa4cdaa7d92d1a64e ] Provide a set of locallocked accessors for pointers to per-CPU data; this is useful for

[PATCH RT 00/24] Linux 4.14.63-rt41-rc2

2018-09-07 Thread Steven Rostedt
Dear RT Folks, This is the RT stable review cycle of patch 4.14.63-rt41-rc2. Please scream at me if I messed something up. Please test the patches too. The -rc release will be uploaded to kernel.org and will be deleted when the final release is out. This is just a review release (or release

[PATCH RT 01/24] sched/fair: Fix CFS bandwidth control lockdep DEADLOCK report

2018-09-07 Thread Steven Rostedt
4.14.63-rt41-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith [ Upstream commit df7e8acc0c9a84979a448d215b8ef889efe4ac5a ] CFS bandwidth control yields the inversion gripe below, moving handling quells it.

[PATCH RT 01/24] sched/fair: Fix CFS bandwidth control lockdep DEADLOCK report

2018-09-07 Thread Steven Rostedt
4.14.63-rt41-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Mike Galbraith [ Upstream commit df7e8acc0c9a84979a448d215b8ef889efe4ac5a ] CFS bandwidth control yields the inversion gripe below, moving handling quells it.

[PATCH RT 09/24] Revert "timer: delay waking softirqs from the jiffy tick"

2018-09-07 Thread Steven Rostedt
4.14.63-rt41-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Anna-Maria Gleixner [ Upstream commit b5b16907c58280e015d5673dca4c6bd3fde0c348 ] This patch was required as long as RT tasks where accounted to CFS load but this was only a work

Re: [PATCH 1/2] of/fdt: Allow architectures to override CONFIG_CMDLINE logic

2018-09-07 Thread Paul Burton
Hi Rob, On Fri, Sep 07, 2018 at 03:29:03PM -0500, Rob Herring wrote: > On Fri, Sep 7, 2018 at 1:55 PM Paul Burton wrote: > > The CONFIG_CMDLINE-related logic in early_init_dt_scan_chosen() falls > > back to copying CONFIG_CMDLINE into boot_command_line/data if the DT has > > a /chosen node but

[PATCH RT 05/24] PM / wakeup: Make events_lock a RAW_SPINLOCK

2018-09-07 Thread Steven Rostedt
4.14.63-rt41-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior [ Upstream commit 1debb85a1d7d5c7655b4574f5b0ddf5f7c84873e ] The `events_lock' is acquired during suspend while interrupts are disabled even on RT. The

[PATCH RT 03/24] squashfs: make use of local lock in multi_cpu decompressor

2018-09-07 Thread Steven Rostedt
4.14.63-rt41-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Julia Cartwright [ Upstream commit c160736542d7b3d67da32848d2f028b8e35730e5 ] Currently, the squashfs multi_cpu decompressor makes use of get_cpu_ptr()/put_cpu_ptr(), which

[PATCH RT 05/24] PM / wakeup: Make events_lock a RAW_SPINLOCK

2018-09-07 Thread Steven Rostedt
4.14.63-rt41-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Sebastian Andrzej Siewior [ Upstream commit 1debb85a1d7d5c7655b4574f5b0ddf5f7c84873e ] The `events_lock' is acquired during suspend while interrupts are disabled even on RT. The

[PATCH RT 03/24] squashfs: make use of local lock in multi_cpu decompressor

2018-09-07 Thread Steven Rostedt
4.14.63-rt41-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Julia Cartwright [ Upstream commit c160736542d7b3d67da32848d2f028b8e35730e5 ] Currently, the squashfs multi_cpu decompressor makes use of get_cpu_ptr()/put_cpu_ptr(), which

[PATCH RT 09/24] Revert "timer: delay waking softirqs from the jiffy tick"

2018-09-07 Thread Steven Rostedt
4.14.63-rt41-rc2 stable review patch. If anyone has any objections, please let me know. -- From: Anna-Maria Gleixner [ Upstream commit b5b16907c58280e015d5673dca4c6bd3fde0c348 ] This patch was required as long as RT tasks where accounted to CFS load but this was only a work

Re: [PATCH 1/2] of/fdt: Allow architectures to override CONFIG_CMDLINE logic

2018-09-07 Thread Paul Burton
Hi Rob, On Fri, Sep 07, 2018 at 03:29:03PM -0500, Rob Herring wrote: > On Fri, Sep 7, 2018 at 1:55 PM Paul Burton wrote: > > The CONFIG_CMDLINE-related logic in early_init_dt_scan_chosen() falls > > back to copying CONFIG_CMDLINE into boot_command_line/data if the DT has > > a /chosen node but

<    5   6   7   8   9   10   11   12   13   14   >