[PATCH 3.16 084/294] KVM: async_pf: make rcu irq exit if not triggered from idle task

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Wanpeng Li commit 337c017ccdf2653d0040099433fc1a2b1beb5926 upstream. WARNING: CPU: 5 PID: 1242 at kernel/rcu/tree_plugin.h:323 rcu_note_context_switch+0x207/0x6b0

[PATCH 3.16 110/294] mm: migrate: prevent racy access to tlb_flush_pending

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Nadav Amit commit 16af97dc5a8975371a83d9e30a64038b48f40a2d upstream. Patch series "fixes of TLB batching races", v6. It turns out that Linux TLB batching mechanism

[PATCH 3.16 084/294] KVM: async_pf: make rcu irq exit if not triggered from idle task

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Wanpeng Li commit 337c017ccdf2653d0040099433fc1a2b1beb5926 upstream. WARNING: CPU: 5 PID: 1242 at kernel/rcu/tree_plugin.h:323 rcu_note_context_switch+0x207/0x6b0 CPU: 5 PID: 1242 Comm:

[PATCH 3.16 110/294] mm: migrate: prevent racy access to tlb_flush_pending

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Nadav Amit commit 16af97dc5a8975371a83d9e30a64038b48f40a2d upstream. Patch series "fixes of TLB batching races", v6. It turns out that Linux TLB batching mechanism suffers from various

[PATCH 3.16 109/294] usb: quirks: Add no-lpm quirk for Moshi USB to Ethernet Adapter

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit 7496cfe5431f21da5d27a8388c326397e3f0a5db upstream. Moshi USB to Ethernet Adapter internally uses a Genesys Logic hub to connect to Realtek

[PATCH 3.16 108/294] USB: Check for dropped connection before switching to full speed

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 94c43b9897abf4ea366ed4dba027494e080c7050 upstream. Some buggy USB disk adapters disconnect and reconnect multiple times during the enumeration

Re: IPv6 issue in next-20171102 - lockdep and BUG handling RA packet.

2017-11-06 Thread Eric Dumazet
On Mon, Nov 6, 2017 at 4:29 PM, David Ahern wrote: > On 11/7/17 5:56 AM, valdis.kletni...@vt.edu wrote: >> I've hit this 6 times now, across 3 boots: >> >> Nov 3 11:04:54 turing-police kernel: [ 547.814748] BUG: sleeping function >> called from invalid context at

[PATCH 3.16 109/294] usb: quirks: Add no-lpm quirk for Moshi USB to Ethernet Adapter

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Kai-Heng Feng commit 7496cfe5431f21da5d27a8388c326397e3f0a5db upstream. Moshi USB to Ethernet Adapter internally uses a Genesys Logic hub to connect to Realtek r8153. The Realtek r8153

[PATCH 3.16 108/294] USB: Check for dropped connection before switching to full speed

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Alan Stern commit 94c43b9897abf4ea366ed4dba027494e080c7050 upstream. Some buggy USB disk adapters disconnect and reconnect multiple times during the enumeration procedure. This may lead to a

Re: IPv6 issue in next-20171102 - lockdep and BUG handling RA packet.

2017-11-06 Thread Eric Dumazet
On Mon, Nov 6, 2017 at 4:29 PM, David Ahern wrote: > On 11/7/17 5:56 AM, valdis.kletni...@vt.edu wrote: >> I've hit this 6 times now, across 3 boots: >> >> Nov 3 11:04:54 turing-police kernel: [ 547.814748] BUG: sleeping function >> called from invalid context at mm/slab.h:422 >> >> Nov 3

[PATCH 3.16 022/294] libceph: potential NULL dereference in ceph_msg_data_create()

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 7c40b22f6f84c98a1d36e6d0a4346e58f05e45d8 upstream. If kmem_cache_zalloc() returns NULL then the INIT_LIST_HEAD(>links); will Oops. The callers

[PATCH 3.16 050/294] RDMA/uverbs: Fix the check for port number

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: "Ismail, Mustafa" commit 5a7a88f1b488e4ee49eb3d5b82612d4d9ffdf2c3 upstream. The port number is only valid if IB_QP_PORT is set in the mask. So only check port number

[PATCH 3.16 022/294] libceph: potential NULL dereference in ceph_msg_data_create()

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 7c40b22f6f84c98a1d36e6d0a4346e58f05e45d8 upstream. If kmem_cache_zalloc() returns NULL then the INIT_LIST_HEAD(>links); will Oops. The callers aren't really prepared for

[PATCH 3.16 050/294] RDMA/uverbs: Fix the check for port number

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: "Ismail, Mustafa" commit 5a7a88f1b488e4ee49eb3d5b82612d4d9ffdf2c3 upstream. The port number is only valid if IB_QP_PORT is set in the mask. So only check port number if it is valid to prevent

[PATCH 3.16 075/294] uas: Add US_FL_IGNORE_RESIDUE for Initio Corporation INIC-3069

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Alan Swanson commit 89f23d51defcb94a5026d4b5da13faf4e1150a6f upstream. Similar to commit d595259fbb7a ("usb-storage: Add ignore-residue quirk for Initio INIC-3619")

[PATCH 3.16 075/294] uas: Add US_FL_IGNORE_RESIDUE for Initio Corporation INIC-3069

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Alan Swanson commit 89f23d51defcb94a5026d4b5da13faf4e1150a6f upstream. Similar to commit d595259fbb7a ("usb-storage: Add ignore-residue quirk for Initio INIC-3619") for INIC-3169 in

[PATCH 3.16 168/294] i2c: ismt: Return EMSGSIZE for block reads with bogus length

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Stephen Douthit commit ba201c4f5ebe13d7819081756378777d8153f23e upstream. Compare the number of bytes actually seen on the wire to the byte count field returned

[PATCH 3.16 143/294] perf/core: Fix group {cpu,task} validation

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Mark Rutland commit 64aee2a965cf2954a038b5522f11d2cd2f0f8f3e upstream. Regardless of which events form a group, it does not make sense for the events to target different

[PATCH 3.16 168/294] i2c: ismt: Return EMSGSIZE for block reads with bogus length

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Stephen Douthit commit ba201c4f5ebe13d7819081756378777d8153f23e upstream. Compare the number of bytes actually seen on the wire to the byte count field returned by the slave device.

[PATCH 3.16 143/294] perf/core: Fix group {cpu,task} validation

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Mark Rutland commit 64aee2a965cf2954a038b5522f11d2cd2f0f8f3e upstream. Regardless of which events form a group, it does not make sense for the events to target different tasks and/or CPUs, as

[PATCH 3.16 100/294] scsi: st: fix blk_get_queue usage

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Bodo Stroesser commit 180efde0a3f43dbe533e4be203c2918793482d4e upstream. If blk_queue_get() in st_probe fails, disk->queue must not be set to SDp->request_queue, as

[PATCH 3.16 120/294] netxen: fix incorrect loop counter decrement

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Colin Ian King commit a120d9ab65354727559b9db75ded8071b7ef19e2 upstream. The loop counter k is currently being decremented from zero which is incorrect. Fix this by

[PATCH 3.16 100/294] scsi: st: fix blk_get_queue usage

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Bodo Stroesser commit 180efde0a3f43dbe533e4be203c2918793482d4e upstream. If blk_queue_get() in st_probe fails, disk->queue must not be set to SDp->request_queue, as that would result in

[PATCH 3.16 120/294] netxen: fix incorrect loop counter decrement

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Colin Ian King commit a120d9ab65354727559b9db75ded8071b7ef19e2 upstream. The loop counter k is currently being decremented from zero which is incorrect. Fix this by incrementing k instead

[PATCH 3.16 039/294] xhci: Fix NULL pointer dereference when cleaning up streams for removed host

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit 4b895868bb2da60a386a17cde3bf9ecbc70c79f4 upstream. This off by one in stream_id indexing caused NULL pointer dereference and soft lockup on

[PATCH 3.16 091/294] ocfs2: don't clear SGID when inheriting ACLs

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 19ec8e48582670c021e998b9deb88e39a842ff45 upstream. When new directory 'DIR1' is created in a directory 'DIR0' with SGID bit set, DIR1 is expected to have SGID

[PATCH 3.16 039/294] xhci: Fix NULL pointer dereference when cleaning up streams for removed host

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Mathias Nyman commit 4b895868bb2da60a386a17cde3bf9ecbc70c79f4 upstream. This off by one in stream_id indexing caused NULL pointer dereference and soft lockup on machines with USB attached

[PATCH 3.16 091/294] ocfs2: don't clear SGID when inheriting ACLs

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 19ec8e48582670c021e998b9deb88e39a842ff45 upstream. When new directory 'DIR1' is created in a directory 'DIR0' with SGID bit set, DIR1 is expected to have SGID bit set (and

[PATCH 3.16 074/294] USB: hcd: Mark secondary HCD as dead if the primary one died

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: "Rafael J. Wysocki" commit cd5a6a4fdaba150089af2afc220eae0fef74878a upstream. Make usb_hc_died() clear the HCD_FLAG_RH_RUNNING flag for the shared HCD and set

[PATCH 3.16 074/294] USB: hcd: Mark secondary HCD as dead if the primary one died

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: "Rafael J. Wysocki" commit cd5a6a4fdaba150089af2afc220eae0fef74878a upstream. Make usb_hc_died() clear the HCD_FLAG_RH_RUNNING flag for the shared HCD and set HCD_FLAG_DEAD for it, in analogy

[PATCH 3.16 105/294] crypto: x86/sha1 - Fix reads beyond the number of blocks passed

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: "megha@linux.intel.com" commit 8861249c740fc4af9ddc5aee321eafefb960d7c6 upstream. It was reported that the sha1 AVX2 function(sha1_transform_avx2) is reading

[PATCH 3.16 105/294] crypto: x86/sha1 - Fix reads beyond the number of blocks passed

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: "megha@linux.intel.com" commit 8861249c740fc4af9ddc5aee321eafefb960d7c6 upstream. It was reported that the sha1 AVX2 function(sha1_transform_avx2) is reading ahead beyond its intended

[PATCH 3.16 088/294] gpio: tegra: fix unbalanced chained_irq_enter/exit

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Michał Mirosław commit 9e9509e38fbe034782339eb09c915f0b5765ff69 upstream. When more than one GPIO IRQs are triggered simultaneously, tegra_gpio_irq_handler() called

[PATCH 3.16 088/294] gpio: tegra: fix unbalanced chained_irq_enter/exit

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Michał Mirosław commit 9e9509e38fbe034782339eb09c915f0b5765ff69 upstream. When more than one GPIO IRQs are triggered simultaneously, tegra_gpio_irq_handler() called chained_irq_exit()

[PATCH 3.16 121/294] mm/mempolicy: fix use after free when calling get_mempolicy

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: zhong jiang commit 73223e4e2e3867ebf033a5a8eb2e5df0158ccc99 upstream. I hit a use after free issue when executing trinity and repoduced it with KASAN enabled. The

[PATCH 3.16 053/294] perf/core: Invert perf_read_group() loops

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit fa8c269353d560b7c28119ad7617029f92e40b15 upstream. In order to enable the use of perf_event_read(.group = true), we need to invert the

[PATCH 3.16 121/294] mm/mempolicy: fix use after free when calling get_mempolicy

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: zhong jiang commit 73223e4e2e3867ebf033a5a8eb2e5df0158ccc99 upstream. I hit a use after free issue when executing trinity and repoduced it with KASAN enabled. The related call trace is as

[PATCH 3.16 053/294] perf/core: Invert perf_read_group() loops

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Peter Zijlstra commit fa8c269353d560b7c28119ad7617029f92e40b15 upstream. In order to enable the use of perf_event_read(.group = true), we need to invert the sibling-child loop nesting of

[PATCH 3.16 077/294] pinctrl: sunxi: add a missing function of A10/A20 pinctrl driver

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Icenowy Zheng commit d81ece747d8727bb8b1cfc9a20dbe62f09a4e35a upstream. The PH16 pin has a function with mux id 0x5, which is the DET pin of the "sim" (smart card reader) IP

[PATCH 3.16 077/294] pinctrl: sunxi: add a missing function of A10/A20 pinctrl driver

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Icenowy Zheng commit d81ece747d8727bb8b1cfc9a20dbe62f09a4e35a upstream. The PH16 pin has a function with mux id 0x5, which is the DET pin of the "sim" (smart card reader) IP block. This

Re: [PATCH] coccinelle: fix verbose message about .cocci file being run

2017-11-06 Thread Masahiro Yamada
2017-10-26 16:22 GMT+09:00 Nicolas Palix (LIG) : > Le 26/10/17 à 06:55, Masahiro Yamada a écrit : >> >> If you run coccicheck with V=1 and COCCI=, you will see a strange >> path to the semantic patch file. For example, run the following: >> >> $ make V=1

Re: [PATCH] coccinelle: fix verbose message about .cocci file being run

2017-11-06 Thread Masahiro Yamada
2017-10-26 16:22 GMT+09:00 Nicolas Palix (LIG) : > Le 26/10/17 à 06:55, Masahiro Yamada a écrit : >> >> If you run coccicheck with V=1 and COCCI=, you will see a strange >> path to the semantic patch file. For example, run the following: >> >> $ make V=1 COCCI=scripts/coccinelle/free/kfree.cocci

[PATCH 3.16 104/294] net: avoid skb_warn_bad_offload false positives on UFO

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn commit 8d63bee643f1fb53e472f0e135cae4eb99d62d19 upstream. skb_warn_bad_offload triggers a warning when an skb enters the GSO stack at __skb_gso_segment

[PATCH 3.16 104/294] net: avoid skb_warn_bad_offload false positives on UFO

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Willem de Bruijn commit 8d63bee643f1fb53e472f0e135cae4eb99d62d19 upstream. skb_warn_bad_offload triggers a warning when an skb enters the GSO stack at __skb_gso_segment that does not have

[PATCH 3.16 072/294] powerpc/boot: Fix 64-bit boot wrapper build with non-biarch compiler

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman commit 65c5ec11c25eff6ba6e9b1cbfff014875fddd1e0 upstream. Historically the boot wrapper was always built 32-bit big endian, even for 64-bit kernels. That

[PATCH 3.16 056/294] IB/ipoib: Prevent setting negative values to max_nonsrq_conn_qp

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Alex Vesker commit 11f74b40359b19f760964e71d04882a6caf530cc upstream. Don't allow negative values to max_nonsrq_conn_qp. There is no functional impact on a negative value

[PATCH 3.16 076/294] batman-adv: fix TT sync flag inconsistencies

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Linus Lüssing commit 54e22f265e872ae140755b3318521d400a094605 upstream. This patch fixes an issue in the translation table code potentially leading to a TT Request +

[PATCH 3.16 056/294] IB/ipoib: Prevent setting negative values to max_nonsrq_conn_qp

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Alex Vesker commit 11f74b40359b19f760964e71d04882a6caf530cc upstream. Don't allow negative values to max_nonsrq_conn_qp. There is no functional impact on a negative value but it is

[PATCH 3.16 076/294] batman-adv: fix TT sync flag inconsistencies

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Linus Lüssing commit 54e22f265e872ae140755b3318521d400a094605 upstream. This patch fixes an issue in the translation table code potentially leading to a TT Request + Response storm. The issue

[PATCH 3.16 072/294] powerpc/boot: Fix 64-bit boot wrapper build with non-biarch compiler

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Michael Ellerman commit 65c5ec11c25eff6ba6e9b1cbfff014875fddd1e0 upstream. Historically the boot wrapper was always built 32-bit big endian, even for 64-bit kernels. That was because old

[PATCH 3.16 155/294] l2tp: initialise session's refcount before making it reachable

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault commit 9ee369a405c57613d7c83a3967780c3e30c52ecc upstream. Sessions must be fully initialised before calling l2tp_session_add_to_tunnel(). Otherwise,

[PATCH 3.16 122/294] staging: rtl8188eu: add RNX-N150NUB support

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Charles Milette commit f299aec6ebd747298e35934cff7709c6b119ca52 upstream. Add support for USB Device Rosewill RNX-N150NUB. VendorID: 0x0bda, ProductID: 0xffef

[PATCH 3.16 066/294] iommu/amd: Fix schedule-while-atomic BUG in initialization code

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Joerg Roedel commit 74ddda71f44c84af62f736a77fb9fcebe5bb436a upstream. The register_syscore_ops() function takes a mutex and might sleep. In the IOMMU initialization code it

[PATCH 3.16 155/294] l2tp: initialise session's refcount before making it reachable

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault commit 9ee369a405c57613d7c83a3967780c3e30c52ecc upstream. Sessions must be fully initialised before calling l2tp_session_add_to_tunnel(). Otherwise, there's a short time frame

[PATCH 3.16 122/294] staging: rtl8188eu: add RNX-N150NUB support

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Charles Milette commit f299aec6ebd747298e35934cff7709c6b119ca52 upstream. Add support for USB Device Rosewill RNX-N150NUB. VendorID: 0x0bda, ProductID: 0xffef Signed-off-by: Charles Milette

[PATCH 3.16 066/294] iommu/amd: Fix schedule-while-atomic BUG in initialization code

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Joerg Roedel commit 74ddda71f44c84af62f736a77fb9fcebe5bb436a upstream. The register_syscore_ops() function takes a mutex and might sleep. In the IOMMU initialization code it is invoked during

[PATCH 3.16 046/294] RDMA/ocrdma: Fix an error code in ocrdma_alloc_pd()

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit dd75cfa6d3216c79c695f5af13e52208afe374ad upstream. We should preserve the original "status" error code instead of resetting it to zero.

[PATCH 3.16 059/294] KVM: PPC: Book3S HV: Enable TM before accessing TM registers

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit e47057151422a67ce08747176fa21cb3b526a2c9 upstream. Commit 46a704f8409f ("KVM: PPC: Book3S HV: Preserve userspace HTM state properly", 2017-06-15)

[PATCH 3.16 046/294] RDMA/ocrdma: Fix an error code in ocrdma_alloc_pd()

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit dd75cfa6d3216c79c695f5af13e52208afe374ad upstream. We should preserve the original "status" error code instead of resetting it to zero. Returning ERR_PTR(0) is the same

[PATCH 3.16 059/294] KVM: PPC: Book3S HV: Enable TM before accessing TM registers

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Paul Mackerras commit e47057151422a67ce08747176fa21cb3b526a2c9 upstream. Commit 46a704f8409f ("KVM: PPC: Book3S HV: Preserve userspace HTM state properly", 2017-06-15) added code to read

[PATCH 3.16 102/294] net: reduce skb_warn_bad_offload() noise

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit b2504a5dbef3305ef41988ad270b0e8ec289331c upstream. Dmitry reported warnings occurring in __skb_gso_segment() [1] All SKB_GSO_DODGY producers can

[PATCH 3.16 119/294] ALSA: usb-audio: Add mute TLV for playback volumes on C-Media devices

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 0f174b3525a43bd51f9397394763925e0ebe7bc7 upstream. C-Media devices (at least some models) mute the playback stream when volumes are set to the minimum

[PATCH 3.16 102/294] net: reduce skb_warn_bad_offload() noise

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet commit b2504a5dbef3305ef41988ad270b0e8ec289331c upstream. Dmitry reported warnings occurring in __skb_gso_segment() [1] All SKB_GSO_DODGY producers can allow user space to feed

[PATCH 3.16 119/294] ALSA: usb-audio: Add mute TLV for playback volumes on C-Media devices

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Takashi Iwai commit 0f174b3525a43bd51f9397394763925e0ebe7bc7 upstream. C-Media devices (at least some models) mute the playback stream when volumes are set to the minimum value. But this

[PATCH 3.16 032/294] netfilter: ipt_CLUSTERIP: fix use-after-free of proc entry

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca commit 3840538ad384fb7891adeeaf36624f870c51fc0e upstream. When we delete a netns with a CLUSTERIP rule, clusterip_net_exit() is called first, removing

[PATCH 3.16 079/294] xtensa: don't limit csum_partial export by CONFIG_NET

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit 7f81e55c737a8fa82c71f290945d729a4902f8d2 upstream. csum_partial and csum_partial_copy_generic are defined unconditionally and are available even when

[PATCH 3.16 032/294] netfilter: ipt_CLUSTERIP: fix use-after-free of proc entry

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca commit 3840538ad384fb7891adeeaf36624f870c51fc0e upstream. When we delete a netns with a CLUSTERIP rule, clusterip_net_exit() is called first, removing /proc/net/ipt_CLUSTERIP.

[PATCH 3.16 079/294] xtensa: don't limit csum_partial export by CONFIG_NET

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit 7f81e55c737a8fa82c71f290945d729a4902f8d2 upstream. csum_partial and csum_partial_copy_generic are defined unconditionally and are available even when CONFIG_NET is

[PATCH 3.16 058/294] IB/ipoib: Remove double pointer assigning

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Leon Romanovsky commit 1b355094b308f3377c8f574ce86135ee159c6285 upstream. There is no need to assign "p" pointer twice. This patch fixes the following smatch warning:

[PATCH 3.16 058/294] IB/ipoib: Remove double pointer assigning

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Leon Romanovsky commit 1b355094b308f3377c8f574ce86135ee159c6285 upstream. There is no need to assign "p" pointer twice. This patch fixes the following smatch warning:

[PATCH 3.16 080/294] xtensa: mm/cache: add missing EXPORT_SYMBOLs

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit bc652eb6a0d5cffaea7dc8e8ad488aab2a1bf1ed upstream. Functions clear_user_highpage, copy_user_highpage, flush_dcache_page, local_flush_cache_range and

[PATCH 3.16 080/294] xtensa: mm/cache: add missing EXPORT_SYMBOLs

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Max Filippov commit bc652eb6a0d5cffaea7dc8e8ad488aab2a1bf1ed upstream. Functions clear_user_highpage, copy_user_highpage, flush_dcache_page, local_flush_cache_range and local_flush_cache_page

[PATCH 3.16 025/294] ASoC: do not close shared backend dailink

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Banajit Goswami commit b1cd2e34c69a2f3988786af451b6e17967c293a0 upstream. Multiple frontend dailinks may be connected to a backend dailink at the same time. When one

[PATCH 3.16 029/294] usb: renesas_usbhs: gadget: Fix NULL pointer dereference in usbhsg_ep_dequeue()

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit c9eb29503e9655e70448bbbf3697d08a56d24854 upstream. This patch fixes an issue that NULL pointer dereference happens when a gadget

[PATCH 3.16 029/294] usb: renesas_usbhs: gadget: Fix NULL pointer dereference in usbhsg_ep_dequeue()

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Yoshihiro Shimoda commit c9eb29503e9655e70448bbbf3697d08a56d24854 upstream. This patch fixes an issue that NULL pointer dereference happens when a gadget driver calls usb_ep_dequeue() for ep0

[PATCH 3.16 025/294] ASoC: do not close shared backend dailink

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Banajit Goswami commit b1cd2e34c69a2f3988786af451b6e17967c293a0 upstream. Multiple frontend dailinks may be connected to a backend dailink at the same time. When one of frontend dailinks is

[PATCH 3.16 083/294] drm/msm: fix an integer overflow test

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 65e93108891e571f177c202add9288eda9ac4100 upstream. We recently added an integer overflow check but it needs an additional tweak to work properly

[PATCH 3.16 063/294] powerpc/pseries: Fix of_node_put() underflow during reconfig remove

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Laurent Vivier commit 4fd1bd443e80b12f0a01a45fb9a793206b41cb72 upstream. As for commit 68baf692c435 ("powerpc/pseries: Fix of_node_put() underflow during DLPAR remove"),

[PATCH 3.16 111/294] xfs: fix inobt inode allocation search optimization

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Omar Sandoval commit c44245b3d5435f533ca8346ece65918f84c057f9 upstream. When we try to allocate a free inode by searching the inobt, we try to find the inode nearest the

[PATCH 3.16 083/294] drm/msm: fix an integer overflow test

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 65e93108891e571f177c202add9288eda9ac4100 upstream. We recently added an integer overflow check but it needs an additional tweak to work properly on 32 bit systems. The

[PATCH 3.16 063/294] powerpc/pseries: Fix of_node_put() underflow during reconfig remove

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Laurent Vivier commit 4fd1bd443e80b12f0a01a45fb9a793206b41cb72 upstream. As for commit 68baf692c435 ("powerpc/pseries: Fix of_node_put() underflow during DLPAR remove"), the call to

[PATCH 3.16 111/294] xfs: fix inobt inode allocation search optimization

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Omar Sandoval commit c44245b3d5435f533ca8346ece65918f84c057f9 upstream. When we try to allocate a free inode by searching the inobt, we try to find the inode nearest the parent inode by

[PATCH 3.16 044/294] cxgb4: Fix error codes in c4iw_create_cq()

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 6ebedacbb44602d4dec3348dee5ec31dd9b09521 upstream. If one of these kmalloc() calls fails then we return ERR_PTR(0) which is NULL. It results in

[PATCH 3.16 026/294] drm/vmwgfx: Fix gcc-7.1.1 warning

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Sinclair Yeh commit fcfffdd8f98ac305285dca568b5065ef86be6458 upstream. The current code does not look correct, and the reason for it is probably lost. Since this now

[PATCH 3.16 044/294] cxgb4: Fix error codes in c4iw_create_cq()

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 6ebedacbb44602d4dec3348dee5ec31dd9b09521 upstream. If one of these kmalloc() calls fails then we return ERR_PTR(0) which is NULL. It results in a NULL dereference in the

[PATCH 3.16 026/294] drm/vmwgfx: Fix gcc-7.1.1 warning

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Sinclair Yeh commit fcfffdd8f98ac305285dca568b5065ef86be6458 upstream. The current code does not look correct, and the reason for it is probably lost. Since this now generates a compiler

Re: [PATCH v10 2/9] PCI: remove unused __weak attribute in pci_register_io_range()

2017-11-06 Thread Bjorn Helgaas
On Fri, Oct 27, 2017 at 05:11:20PM +0100, Gabriele Paoloni wrote: > From: gabriele paoloni > > Currently pci_register_io_range() has only one definition; > therefore there is no use of the __weak attribute. > > Signed-off-by: Gabriele Paoloni

Re: [PATCH v10 2/9] PCI: remove unused __weak attribute in pci_register_io_range()

2017-11-06 Thread Bjorn Helgaas
On Fri, Oct 27, 2017 at 05:11:20PM +0100, Gabriele Paoloni wrote: > From: gabriele paoloni > > Currently pci_register_io_range() has only one definition; > therefore there is no use of the __weak attribute. > > Signed-off-by: Gabriele Paoloni > Acked-by: Bjorn Helgaas Also, I normally use

[PATCH 3.16 069/294] sctp: fix the check for _sctp_walk_params and _sctp_walk_errors

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Xin Long commit 6b84202c946cd3da3a8daa92c682510e9ed80321 upstream. Commit b1f5bfc27a19 ("sctp: don't dereference ptr before leaving _sctp_walk_{params, errors}()") tried

[PATCH 3.16 069/294] sctp: fix the check for _sctp_walk_params and _sctp_walk_errors

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Xin Long commit 6b84202c946cd3da3a8daa92c682510e9ed80321 upstream. Commit b1f5bfc27a19 ("sctp: don't dereference ptr before leaving _sctp_walk_{params, errors}()") tried to fix the issue that

[PATCH 3.16 085/294] b44: Initialize 64-bit stats seqcount

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli commit e43c9f23efadade684773a855675c99da278c862 upstream. On 32-bit hosts and with CONFIG_DEBUG_LOCK_ALLOC we should be seeing a lockdep splat

Re: [PATCH] Coccinelle: make DEBUG_FILE option more useful

2017-11-06 Thread Masahiro Yamada
2017-10-26 13:02 GMT+09:00 Julia Lawall : > > > On Thu, 26 Oct 2017, Masahiro Yamada wrote: > >> Hi Julia, >> >> >> 2017-10-15 18:55 GMT+09:00 Julia Lawall : >> > Make coccicheck checked for the existence of DEBUG_FILE on each semantic >> > patch, and

[PATCH 3.16 085/294] b44: Initialize 64-bit stats seqcount

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Florian Fainelli commit e43c9f23efadade684773a855675c99da278c862 upstream. On 32-bit hosts and with CONFIG_DEBUG_LOCK_ALLOC we should be seeing a lockdep splat indicating this seqcount is not

Re: [PATCH] Coccinelle: make DEBUG_FILE option more useful

2017-11-06 Thread Masahiro Yamada
2017-10-26 13:02 GMT+09:00 Julia Lawall : > > > On Thu, 26 Oct 2017, Masahiro Yamada wrote: > >> Hi Julia, >> >> >> 2017-10-15 18:55 GMT+09:00 Julia Lawall : >> > Make coccicheck checked for the existence of DEBUG_FILE on each semantic >> > patch, and bailed if it already existed. This meant that

[PATCH 3.16 057/294] IB/ipoib: Set IPOIB_NEIGH_TBL_FLUSH after flushed completion initialization

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Feras Daoud commit d2e46fccc3e3d73a741efe433f00960331280696 upstream. Set IPOIB_NEIGH_TBL_FLUSH bit after initializing the neighbor flushed completion, otherwise the

[PATCH 3.16 057/294] IB/ipoib: Set IPOIB_NEIGH_TBL_FLUSH after flushed completion initialization

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Feras Daoud commit d2e46fccc3e3d73a741efe433f00960331280696 upstream. Set IPOIB_NEIGH_TBL_FLUSH bit after initializing the neighbor flushed completion, otherwise the garbage collector may

[PATCH 3.16 045/294] IB/cxgb3: Fix error codes in iwch_alloc_mr()

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 9064d6055c14f700aa13f7c72fd3e63d12bee643 upstream. We accidentally don't set the error code on some error paths. It means return ERR_PTR(0)

[PATCH 3.16 045/294] IB/cxgb3: Fix error codes in iwch_alloc_mr()

2017-11-06 Thread Ben Hutchings
3.16.50-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 9064d6055c14f700aa13f7c72fd3e63d12bee643 upstream. We accidentally don't set the error code on some error paths. It means return ERR_PTR(0) which is NULL and results in

Re: [PATCH 17/17] coresight perf: Add ETR backend support for etm-perf

2017-11-06 Thread Mathieu Poirier
On Thu, Oct 19, 2017 at 06:15:53PM +0100, Suzuki K Poulose wrote: > Add necessary support for using ETR as a sink in ETM perf tracing. > We try make the best use of the available modes of buffers to > try and avoid software double buffering. > > We can use the perf ring buffer for ETR directly if

Re: [PATCH 17/17] coresight perf: Add ETR backend support for etm-perf

2017-11-06 Thread Mathieu Poirier
On Thu, Oct 19, 2017 at 06:15:53PM +0100, Suzuki K Poulose wrote: > Add necessary support for using ETR as a sink in ETM perf tracing. > We try make the best use of the available modes of buffers to > try and avoid software double buffering. > > We can use the perf ring buffer for ETR directly if

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