[PATCH v2] netlink: do not set cb_running if dump's start() errs

2017-10-09 Thread Jason A. Donenfeld
It turns out that multiple places can call netlink_dump(), which means it's still possible to dereference partially initialized values in dump() that were the result of a faulty returned start(). This fixes the issue by calling start() _before_ setting cb_running to true, so that there's no chance

Re: [PATCH] cpufreq: dt-platdev: drop socionext,uniphier-ld6b from whitelist

2017-10-09 Thread Masahiro Yamada
Hi Rafael, 2017-09-15 6:26 GMT+09:00 Viresh Kumar : > On 30-08-17, 00:37, Masahiro Yamada wrote: >> As you see arch/arm/boot/dts/uniphier-ld6b.dtsi, it includes >> uniphier-pxs2.dtsi, which uses "operating-points-v2" property >> and whose cpufreq device is automatically created. >> >> Signed-off-

[PATCH] sh: clkfwk: use '"%s:", __func__' instead of function name.

2017-10-09 Thread Arvind Yadav
The script "checkpatch.pl" pointed information out like the following. WARNING: Prefer using '"%s...", __func__' to using 'sh_clk_init_parent', this function's name, in a string. pr_err() strings should end with newlines. Add '\n' to fix this. Signed-off-by: Arvind Yadav --- drivers/sh/clk/cpg.

Re: [PATCH -v2 15/18] sched/fair: Align PELT windows between cfs_rq and its se

2017-10-09 Thread Peter Zijlstra
On Mon, Oct 09, 2017 at 01:15:04PM +0100, Dietmar Eggemann wrote: > I can't see right now how a task group can get attached with > se->load.weight < 1024 (32 bit)/1048576 (64 bit)? Do I miss something? Ah, I think I made a think-o, I think I considered migration for group entities, but those don't

Re: [PATCH] nvmem: sunxi-sid: add support for A64/H5's SID controller

2017-10-09 Thread Srinivas Kandagatla
On 19/09/17 09:20, Maxime Ripard wrote: On Mon, Sep 18, 2017 at 11:42:04PM +0800, Icenowy Zheng wrote: Allwinner A64/H5 SoCs come with a SID controller like the one in H3, but without the silicon bug that makes the initial value at 0x200 wrong, so the value at 0x200 can be directly read. Add

Re: [lockdep] b09be676e0 BUG: unable to handle kernel NULL pointer dereference at 000001f2

2017-10-09 Thread Fengguang Wu
On Mon, Oct 09, 2017 at 12:50:55PM +0200, Peter Zijlstra wrote: Fengguang, if you're still listening, could you please rerun the tests on top of ce07a9415f26, with the attached patches also applied? Ping!? it would be very good to get feedback on this asap. Sorry for the delay! From e7840ad

KGDB/KDB treats WARN*() as Oops on x86 since 4.12

2017-10-09 Thread Ilya Dryomov
Hi Jason, Starting with 4.12, WARN*() is implemented with ud0, generating an Invalid Opcode exception. KGDB/KDB gets entered as if it were an Oops, making KGDB/KDB rather hard to use, particularly on testing kernels. Alexander posted a fix a while back, but Peter seems to be waiting for your ack

[PATCH 2/2] media: venus: venc: fix bytesused v4l2_plane field

2017-10-09 Thread Stanimir Varbanov
This fixes wrongly filled bytesused field of v4l2_plane structure by include data_offset in the plane, Also fill data_offset and bytesused for capture type of buffers only. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/venc.c | 9 + 1 file changed, 5 insertions(+

[PATCH 1/2] media: venus: fix wrong size on dma_free

2017-10-09 Thread Stanimir Varbanov
This change will fix an issue with dma_free size found with DMA API debug enabled. Signed-off-by: Stanimir Varbanov --- drivers/media/platform/qcom/venus/hfi_venus.c | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/drivers/media/platform/qcom/venus/hfi_venus.c b/

Re: [PATCH] x86/tsc: Append description for 'tsc=unstable' boot parameter

2017-10-09 Thread Pavel Tatashin
Hi Dou, Have you tested tsc=unstable with your DR setup? Is it working as expected? I mean instead of previous "notsc"? Reviewed-by: Pavel Tatashin Thank you, Pavel On Mon, Oct 9, 2017 at 5:03 AM, Dou Liyang wrote: > Commit 8309f86cd41e ("x86/tsc: Provide 'tsc=unstable' boot parameter") adds

Re: [PATCH] netlink: do not set cb_running if dump's start() errs

2017-10-09 Thread Johannes Berg
Just decided to take another look: On Mon, 2017-10-09 at 13:58 +0200, Johannes Berg wrote: > On Mon, 2017-10-09 at 13:56 +0200, Jason A. Donenfeld wrote: > > > @@ -2266,16 +2266,17 @@ int __netlink_dump_start(struct sock *ssk, > > struct sk_buff *skb, > > cb->min_dump_alloc = control->min_dum

[PATCH] ANDROID: binder: call poll_wait() unconditionally.

2017-10-09 Thread Martijn Coenen
Because we're not guaranteed that subsequent calls to poll() will have a poll_table_struct parameter with _qproc set. When _qproc is not set, poll_wait() is a noop, and we won't be woken up correctly. Signed-off-by: Martijn Coenen --- drivers/android/binder.c | 11 +-- 1 file changed, 1

Re: [PATCH v2] netlink: do not set cb_running if dump's start() errs

2017-10-09 Thread Johannes Berg
On Mon, 2017-10-09 at 14:14 +0200, Jason A. Donenfeld wrote: > It turns out that multiple places can call netlink_dump(), which > means > it's still possible to dereference partially initialized values in > dump() that were the result of a faulty returned start(). > > This fixes the issue by calli

Re: [PATCH 2/2] media: venus: venc: fix bytesused v4l2_plane field

2017-10-09 Thread Hans Verkuil
On 09/10/17 14:24, Stanimir Varbanov wrote: > This fixes wrongly filled bytesused field of v4l2_plane structure > by include data_offset in the plane, Also fill data_offset and > bytesused for capture type of buffers only. > > Signed-off-by: Stanimir Varbanov > --- > drivers/media/platform/qcom/

Re: [PATCH] thermal/intel_powerclamp: pr_err()/pr_info() strings should end with newlines

2017-10-09 Thread Daniel Lezcano
On 09/10/2017 13:51, Arvind Yadav wrote: > pr_err()/pr_info() messages should end with a new-line to avoid > other messages being concatenated. > > Signed-off-by: Arvind Yadav > --- > drivers/thermal/intel_powerclamp.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a

Re: [PATCH] scsi: libiscsi: fix shifting of DID_REQUEUE host byte

2017-10-09 Thread Steffen Maier
Use wrapper functions to advertize their use in an attempt to avoid wrong shifting in the future? On 10/09/2017 01:33 PM, Johannes Thumshirn wrote: The SCSI host byte should be shifted left by 16 in order to have scsi_decide_disposition() do the right thing (.i.e. requeue the command). Signed-

Re: [PATCH v3 5/6] iio: Add dummy counter driver

2017-10-09 Thread Benjamin Gaignard
2017-10-08 15:41 GMT+02:00 Jonathan Cameron : > On Thu, 5 Oct 2017 14:14:38 -0400 > William Breathitt Gray wrote: > >> This patch introduces the dummy counter driver. The dummy counter driver >> serves as a reference implementation of a driver that utilizes the >> Generic Counter interface. > > T

Re: [PATCH] ANDROID: binder: call poll_wait() unconditionally.

2017-10-09 Thread Greg KH
On Mon, Oct 09, 2017 at 02:26:56PM +0200, Martijn Coenen wrote: > Because we're not guaranteed that subsequent calls > to poll() will have a poll_table_struct parameter > with _qproc set. When _qproc is not set, poll_wait() > is a noop, and we won't be woken up correctly. > > Signed-off-by: Martij

Re: [RFC] workqueue: Fix irq inversion deadlock in manage_workers()

2017-10-09 Thread Boqun Feng
On Mon, Oct 09, 2017 at 09:40:43AM +, Lai Jiangshan wrote: [...] > > Reported-by: Josef Bacik > > Signed-off-by: Boqun Feng > > Cc: Peter Zijlstra > > --- > > kernel/workqueue.c | 35 ++- > > 1 file changed, 34 insertions(+), 1 deletion(-) > > > > diff --git

Re: usb/sound/line6: trying to register non-static key in podhd_disconnect

2017-10-09 Thread Andrey Konovalov
On Mon, Oct 9, 2017 at 2:31 PM, Takashi Iwai wrote: > On Mon, 09 Oct 2017 12:58:59 +0200, > Andrey Konovalov wrote: >> >> On Tue, Oct 3, 2017 at 9:41 AM, Takashi Iwai wrote: >> > On Mon, 25 Sep 2017 14:40:08 +0200, >> > Andrey Konovalov wrote: >> >> >> >> Hi! >> >> >> >> I've got the following re

[PATCH] rpmsg: glink: fix memory leak on intent and intent->data

2017-10-09 Thread Colin King
From: Colin Ian King Detected by CoverityScan, CID#1455255 ("Resource Leak") Fixes: 933b45da5d1d ("rpmsg: glink: Add support for TX intents") Signed-off-by: Colin Ian King --- drivers/rpmsg/qcom_glink_native.c | 11 --- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/driv

Re: [tip:x86/urgent] x86/mm/64: Fix reboot interaction with CR4.PCIDE

2017-10-09 Thread Steven Rostedt
On Mon, 9 Oct 2017 04:36:01 -0700 tip-bot for Andy Lutomirski wrote: > Commit-ID: 924c6b900cfdf376b07bccfd80e62b21914f8a5a > Gitweb: > https://git.kernel.org/tip/924c6b900cfdf376b07bccfd80e62b21914f8a5a > Author: Andy Lutomirski > AuthorDate: Sun, 8 Oct 2017 21:53:05 -0700 > Committer:

Re: [PATCH v11 0/4] Add Rockchip RGA V4l2 support

2017-10-09 Thread Hans Verkuil
Hi Jacob, A patch adding an entry to MAINTAINERS is still missing. Just post a separate patch for that. Regards, Hans On 09/10/17 11:04, Jacob Chen wrote: > change in V11: > - fix compile warning > > change in V10: > - move to rockchip/rga > - changes according to comments > - some st

[PATCH 3.16 019/192] kvm: x86: Guest BNDCFGS requires guest MPX support

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Jim Mattson commit 4439af9f911ae0243ffe4e2dfc12bace49605d8b upstream. The BNDCFGS MSR should only be exposed to the guest if the guest supports MPX. (cf. the TSC_AUX MSR and RDTSCP.) Fixes: 0

[PATCH 3.16 007/192] mwifiex: fixup error cases in mwifiex_add_virtual_intf()

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Brian Norris commit 8535107aa4ef92520cbb9a4739563b389c5f8e2c upstream. If we fail to add an interface in mwifiex_add_virtual_intf(), we might hit a BUG_ON() in the networking code, because we

[PATCH 3.2 37/74] cfg80211: Check if PMKID attribute is of expected size

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Srinivas Dasari commit 9361df14d1cbf966409d5d6f48bb334384fbe138 upstream. nla policy checks for only maximum length of the attribute data when the attribute type is NLA_BINARY. If userspace sen

[PATCH 3.2 71/74] m32r: add io*_rep helpers

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Sudip Mukherjee commit 92a8ed4c7643809123ef0a65424569eaacc5c6b0 upstream. m32r allmodconfig was failing with the error: error: implicit declaration of function 'read' On checking io.h it tu

Re: [PATCH] scsi: libiscsi: fix shifting of DID_REQUEUE host byte

2017-10-09 Thread Johannes Thumshirn
On Mon, Oct 09, 2017 at 02:35:06PM +0200, Steffen Maier wrote: > Use wrapper functions to advertize their use in an attempt to avoid wrong > shifting in the future? Not sure, converting all the users would be a lot of churn for relatively low benefit: linux (master)$ git grep "result = DID_" driv

[PATCH 3.2 63/74] xfs: XFS_IS_REALTIME_INODE() should be false if no rt device present

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Richard Wareing commit b31ff3cdf540110da4572e3e29bd172087af65cc upstream. If using a kernel with CONFIG_XFS_RT=y and we set the RHINHERIT flag on a directory in a filesystem that does not have

[PATCH 3.16 105/192] iscsi-target: Add login_keys_workaround attribute for non RFC initiators

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Nicholas Bellinger commit 138d351eefb727ab9e41a3dc5f112ceb4f6e59f2 upstream. This patch re-introduces part of a long standing login workaround that was recently dropped by: commit 1c99de981

Re: [PATCH] ANDROID: binder: call poll_wait() unconditionally.

2017-10-09 Thread Martijn Coenen
On Mon, Oct 9, 2017 at 2:37 PM, Greg KH wrote: > Does this need to get into 4.14-final, or is 4.15-rc1 ok? I'm a bit > lost as to which patches I applied to what tree... This fixes a race that is somewhat hard to hit, I've only ever seen it with test code that creates the right conditions. But w

[PATCH 3.16 077/192] PCI/PM: Restore the status of PCI devices across hibernation

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Chen Yu commit e60514bd4485c0c7c5a7cf779b200ce0b95c70d6 upstream. Currently we saw a lot of "No irq handler" errors during hibernation, which caused the system hang finally: ata4.00: qc tim

[PATCH 3.16 078/192] scsi: ses: do not add a device to an enclosure if enclosure_add_links() fails.

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Maurizio Lombardi commit 62e62ffd95539b9220894a7900a619e0f3ef4756 upstream. The enclosure_add_device() function should fail if it can't create the relevant sysfs links. Signed-off-by: Maurizi

[PATCH 3.16 114/192] ubifs: Correctly evict xattr inodes

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 272eda8298dc82eb411ece82bbb2c62911087b24 upstream. UBIFS handles extended attributes just like files, as consequence of that, they also have inodes. Therefore UBIFS d

[PATCH 3.16 088/192] IB/core: Add inline function to validate port

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Yuval Shaia commit 24dc831b77eca9361cf835be59fa69ea0e471afc upstream. Signed-off-by: Yuval Shaia Reviewed-by: Leon Romanovsky Signed-off-by: Doug Ledford [bwh: Backported to 3.16: - Drop i

[PATCH 3.16 108/192] crypto: atmel - only treat EBUSY as transient if backlog

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Gilad Ben-Yossef commit 1606043f214f912a52195293614935811a6e3e53 upstream. The Atmel SHA driver was treating -EBUSY as indication of queueing to backlog without checking that backlog is enable

[PATCH 3.16 107/192] crypto: caam - fix signals handling

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Horia Geantă commit 7459e1d25ffefa2b1be799477fcc1f6c62f6cec7 upstream. Driver does not properly handle the case when signals interrupt wait_for_completion_interruptible(): -it does not check f

[PATCH 3.16 091/192] s390/syscalls: Fix out of bounds arguments access

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Jiri Olsa commit c46fc0424ced3fb71208e72bd597d91b9169a781 upstream. Zorro reported following crash while having enabled syscall tracing (CONFIG_FTRACE_SYSCALLS): Unable to handle kernel poi

Re: [PATCH v11 1/4] rockchip/rga: v4l2 m2m support

2017-10-09 Thread Hans Verkuil
On 09/10/17 11:04, Jacob Chen wrote: > Rockchip RGA is a separate 2D raster graphic acceleration unit. It > accelerates 2D graphics operations, such as point/line drawing, image > scaling, rotation, BitBLT, alpha blending and image blur/sharpness > > The driver supports various operations from the

[PATCH 3.16 095/192] tpm: fix a kernel memory leak in tpm-sysfs.c

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Jarkko Sakkinen commit 13b47cfcfc60495cde216eef4c01040d76174cbe upstream. While cleaning up sysfs callback that prints EK we discovered a kernel memory leak. This commit fixes the issue by zer

[PATCH 3.16 115/192] ubifs: Don't leak kernel memory to the MTD

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 4acadda74ff8b949c448c0282765ae747e088c87 upstream. When UBIFS prepares data structures which will be written to the MTD it ensues that their lengths are multiple of 8

Re: [PATCH v2 0/5] Switch arm64 over to qrwlock

2017-10-09 Thread Yury Norov
On Mon, Oct 09, 2017 at 10:59:36AM +0100, Will Deacon wrote: > Hi Yury, > > On Mon, Oct 09, 2017 at 12:30:52AM +0300, Yury Norov wrote: > > On Fri, Oct 06, 2017 at 02:34:37PM +0100, Will Deacon wrote: > > > This is version two of the patches I posted yesterday: > > > > > > > > > http://lists.i

Re: [PATCH v3 19/33] tracing: Add variable reference handling to hist triggers

2017-10-09 Thread Namhyung Kim
On Fri, Sep 22, 2017 at 02:59:59PM -0500, Tom Zanussi wrote: > Add the necessary infrastructure to allow the variables defined on one > event to be referenced in another. This allows variables set by a > previous event to be referenced and used in expressions combining the > variable values saved

[PATCH 3.16 094/192] rtc: rtc-nuc900: fix loop timeout test

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit d0a67c372df410b579197ea818596001fe20070d upstream. We should change this post-op to a pre-op because we want the loop to exit with "timeout" set to zero. Fixes: 0a89b5536

[PATCH 3.16 110/192] PM / QoS: return -EINVAL for bogus strings

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 2ca30331c156ca9e97643ad05dd8930b8fe78b01 upstream. In the current code, if the user accidentally writes a bogus command to this sysfs file, then we set the latency toleran

[PATCH 3.16 104/192] MIPS: Negate error syscall return in trace

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: James Hogan commit 4f32a39d49b25eaa66d2420f1f03d371ea4cd906 upstream. The sys_exit trace event takes a single return value for the system call, which MIPS passes the value of the $v0 (result)

[PATCH 3.16 102/192] fs/dcache.c: fix spin lockup issue on nlru->lock

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Sahitya Tummala commit b17c070fb624cf10162cf92ea5e1ec25cd8ac176 upstream. __list_lru_walk_one() acquires nlru spin lock (nlru->lock) for longer duration if there are more number of items in th

[PATCH 3.16 096/192] target: Fix COMPARE_AND_WRITE caw_sem leak during se_cmd quiesce

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Jiang Yi commit 1d6ef276594a781686058802996e09c8550fd767 upstream. This patch addresses a COMPARE_AND_WRITE se_device->caw_sem leak, that would be triggered during normal se_cmd shutdown or ab

[PATCH 3.16 092/192] crypto: sha1-ssse3 - Disable avx2

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Herbert Xu commit b82ce24426a4071da9529d726057e4e642948667 upstream. It has been reported that sha1-avx2 can cause page faults by reading beyond the end of the input. This patch disables it u

[PATCH 3.16 081/192] parisc: Report SIGSEGV instead of SIGBUS when running out of stack

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Helge Deller commit 247462316f85a9e0479445c1a4223950b68ffac1 upstream. When a process runs out of stack the parisc kernel wrongly faults with SIGBUS instead of the expected SIGSEGV signal. Th

[PATCH 3.16 090/192] net: reflect mark on tcp syn ack packets

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Jamal Hadi Salim commit e05a90ec9e1680952454ea9510da9a761a5baac9 upstream. SYN-ACK responses on a server in response to a SYN from a client did not get the injected skb mark that was tagged on

[PATCH 3.16 079/192] scsi: Add STARGET_CREATED_REMOVE state to scsi_target_state

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: "Ewan D. Milne" commit f9279c968c257ee39b0d7bd2571a4d231a67bcc1 upstream. The addition of the STARGET_REMOVE state had the side effect of introducing a race condition that can cause a crash.

[PATCH 3.16 080/192] parisc: use compat_sys_keyctl()

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit b0f94efd5aa8daa8a07d7601714c2573266cd4c9 upstream. Architectures with a compat syscall table must put compat_sys_keyctl() in it, not sys_keyctl(). The parisc architecture

Re: [PATCH v11 1/4] rockchip/rga: v4l2 m2m support

2017-10-09 Thread Heiko Stübner
Hi Hans, Am Montag, 9. Oktober 2017, 14:48:13 CEST schrieb Hans Verkuil: > On 09/10/17 11:04, Jacob Chen wrote: > > Rockchip RGA is a separate 2D raster graphic acceleration unit. It > > accelerates 2D graphics operations, such as point/line drawing, image > > scaling, rotation, BitBLT, alpha blen

Re: [PATCH] [media] ov5645: I2C address change

2017-10-09 Thread Laurent Pinchart
Hello, On Monday, 9 October 2017 12:34:26 EEST Sakari Ailus wrote: > On Mon, Oct 09, 2017 at 11:36:01AM +0300, Todor Tomov wrote: > > On 4.10.2017 13:47, Laurent Pinchart wrote: > >> CC'ing the I2C mainling list and the I2C maintainer. > >> > >> On Wednesday, 4 October 2017 13:30:08 EEST Sakari

Re: [ANNOUNCE] fsperf: a simple fs/block performance testing framework

2017-10-09 Thread Theodore Ts'o
On Mon, Oct 09, 2017 at 02:54:34PM +0800, Eryu Guan wrote: > I have no problem either if python is really needed, after all this is a > very useful infrastructure improvement. But the python version problem > brought up by Ted made me a bit nervous, we need to work that round > carefully. > > OTOH

[PATCH 3.16 086/192] parisc: DMA API: return error instead of BUG_ON for dma ops on non dma devs

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Thomas Bogendoerfer commit 33f9e02495d15a061f0c94ef46f5103a2d0c20f3 upstream. Enabling parport pc driver on a B2600 (and probably other 64bit PARISC systems) produced following BUG: CPU: 0 PI

[PATCH 3.16 083/192] ipv6: dad: don't remove dynamic addresses if link is down

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca commit ec8add2a4c9df723c94a863b8fcd6d93c472deed upstream. Currently, when the link for $DEV is down, this command succeeds but the address is removed immediately by DAD (1):

[PATCH 3.2 11/74] udf: Fix races with i_size changes during readpage

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Jan Kara commit 9795e0e8ac0d6a3ee092f1b555b284b57feef99e upstream. __udf_adinicb_readpage() uses i_size several times. When truncate changes i_size while the function is running, it can observe

Re: [lockdep] b09be676e0 BUG: unable to handle kernel NULL pointer dereference at 000001f2

2017-10-09 Thread Peter Zijlstra
On Mon, Oct 09, 2017 at 08:21:13PM +0800, Fengguang Wu wrote: > > > From e7840ad76515f0b5061fcdd098b57b7c01b61482 Mon Sep 17 00:00:00 2001 > > > Message-Id: > > > > > > From: Josh Poimboeuf > > > Date: Thu, 5 Oct 2017 09:43:59 -0500 > > > Subject: [PATCH 1/2] unwinder fixes > > > > > > --- > >

Re: [ANNOUNCE] fsperf: a simple fs/block performance testing framework

2017-10-09 Thread Josef Bacik
On Sun, Oct 08, 2017 at 11:43:35PM -0400, Theodore Ts'o wrote: > On Sun, Oct 08, 2017 at 10:25:10PM -0400, Josef Bacik wrote: > > > > Probably should have led with that shouldn't I have? There's nothing > > keeping me > > from doing it, but I didn't want to try and shoehorn in a python thing int

[PATCH 3.16 093/192] CIFS: fix circular locking dependency

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Rabin Vincent commit 966681c9f029afd5decee069b7658bb58ad0a863 upstream. When a CIFS filesystem is mounted with the forcemand option and the following command is run on it, lockdep warns about

Re: [lockdep] b09be676e0 BUG: unable to handle kernel NULL pointer dereference at 000001f2

2017-10-09 Thread Fengguang Wu
On Mon, Oct 09, 2017 at 08:21:13PM +0800, Fengguang Wu wrote: On Mon, Oct 09, 2017 at 12:50:55PM +0200, Peter Zijlstra wrote: Fengguang, if you're still listening, could you please rerun the tests on top of ce07a9415f26, with the attached patches also applied? Ping!? it would be very good to g

Re: [PATCH net-next] net: mvpp2: phylink support

2017-10-09 Thread Antoine Tenart
Hi Russell, On Mon, Sep 25, 2017 at 11:55:14AM +0200, Antoine Tenart wrote: > On Fri, Sep 22, 2017 at 12:07:31PM +0100, Russell King - ARM Linux wrote: > > On Thu, Sep 21, 2017 at 03:45:22PM +0200, Antoine Tenart wrote: > > > > +static int mvpp2_phylink_mac_link_state(struct net_device *dev, > >

[PATCH 3.16 087/192] IB/core: Create common start/end port functions

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Ira Weiny commit 0cf18d7723055709faf51b50f5a33253b480637f upstream. Previously start_port and end_port were defined in 2 places, cache.c and device.c and this prevented their use in other modu

[PATCH 3.2 16/74] scsi: sun_esp: fix device reference leaks

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Johan Hovold commit f62f9ffdb5ef683ef8cffb43932fa72cc3713e94 upstream. Make sure to drop the reference to the dma device taken by of_find_device_by_node() on probe errors and on driver unbind.

Re: [PATCH v3 15/33] tracing: Add simple expression support to hist triggers

2017-10-09 Thread Namhyung Kim
On Fri, Sep 22, 2017 at 02:59:55PM -0500, Tom Zanussi wrote: > Add support for simple addition, subtraction, and unary expressions > (-(expr) and expr, where expr = b-a, a+b, a+b+c) to hist triggers, in > order to support a minimal set of useful inter-event calculations. > > These operations are n

Re: [PATCH v3 2/6] iio: Introduce the generic counter interface

2017-10-09 Thread Benjamin Gaignard
2017-10-08 16:30 GMT+02:00 Jonathan Cameron : > On Thu, 5 Oct 2017 14:13:44 -0400 > William Breathitt Gray wrote: > >> This patch introduces the IIO generic counter interface for supporting >> counter devices. The generic counter interface serves as a catch-all to >> enable rudimentary support fo

[PATCH 3.2 15/74] scsi: bnx2i: missing error code in bnx2i_ep_connect()

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit 1d32a62c74b3bcb69822b0f4745af5410cfec3a7 upstream. If bnx2i_map_ep_dbell_regs() then we accidentally return NULL instead of an error pointer. It results in a NULL derefere

[PATCH 3.16 082/192] ipv6: always add flag an address that failed DAD with DADFAILED

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Lubomir Rintel commit 3d171f3907329d4b1ce31d5ec9c852c5f0269578 upstream. The userspace needs to know why is the address being removed so that it can perhaps obtain a new address. Without the

[PATCH 3.2 23/74] Add USB quirk for HVR-950q to avoid intermittent device resets

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Devin Heitmueller commit 6836796de4019944f4ba4c99a360e8250fd2e735 upstream. The USB core and sysfs will attempt to enumerate certain parameters which are unsupported by the au0828 - causing inc

[PATCH 3.2 28/74] ipv6: always add flag an address that failed DAD with DADFAILED

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Lubomir Rintel commit 3d171f3907329d4b1ce31d5ec9c852c5f0269578 upstream. The userspace needs to know why is the address being removed so that it can perhaps obtain a new address. Without the D

[PATCH 3.16 089/192] RDMA/uverbs: Check port number supplied by user verbs cmds

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Boris Pismenny commit 5ecce4c9b17bed4dc9cb58bfb10447307569b77b upstream. The ib_uverbs_create_ah() ind ib_uverbs_modify_qp() calls receive the port number from user input as part of its attrib

[PATCH 3.2 30/74] drm/i915: Disable MSI for all pre-gen5

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Ville Syrjälä commit ce3f7163e4ce8fd583dcb36b6ee6b81fd1b419ae upstream. We have pretty clear evidence that MSIs are getting lost on g4x and somehow the interrupt logic doesn't seem to recover f

[PATCH 3.2 25/74] PCI/PM: Restore the status of PCI devices across hibernation

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Chen Yu commit e60514bd4485c0c7c5a7cf779b200ce0b95c70d6 upstream. Currently we saw a lot of "No irq handler" errors during hibernation, which caused the system hang finally: ata4.00: qc time

[PATCH 3.2 36/74] tpm: fix a kernel memory leak in tpm-sysfs.c

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Jarkko Sakkinen commit 13b47cfcfc60495cde216eef4c01040d76174cbe upstream. While cleaning up sysfs callback that prints EK we discovered a kernel memory leak. This commit fixes the issue by zero

[PATCH 3.2 34/74] s390/syscalls: Fix out of bounds arguments access

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Jiri Olsa commit c46fc0424ced3fb71208e72bd597d91b9169a781 upstream. Zorro reported following crash while having enabled syscall tracing (CONFIG_FTRACE_SYSCALLS): Unable to handle kernel poin

[PATCH 3.2 33/74] RDMA/uverbs: Check port number supplied by user verbs cmds

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Boris Pismenny commit 5ecce4c9b17bed4dc9cb58bfb10447307569b77b upstream. The ib_uverbs_create_ah() ind ib_uverbs_modify_qp() calls receive the port number from user input as part of its attribu

[PATCH 3.2 27/74] parisc: use compat_sys_keyctl()

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Eric Biggers commit b0f94efd5aa8daa8a07d7601714c2573266cd4c9 upstream. Architectures with a compat syscall table must put compat_sys_keyctl() in it, not sys_keyctl(). The parisc architecture w

[PATCH 3.2 38/74] cfg80211: Validate frequencies nested in NL80211_ATTR_SCAN_FREQUENCIES

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Srinivas Dasari commit d7f13f7450369281a5d0ea463cc69890a15923ae upstream. validate_scan_freqs() retrieves frequencies from attributes nested in the attribute NL80211_ATTR_SCAN_FREQUENCIES with

Re: [lockdep] b09be676e0 BUG: unable to handle kernel NULL pointer dereference at 000001f2

2017-10-09 Thread Fengguang Wu
On Mon, Oct 09, 2017 at 02:54:04PM +0200, Peter Zijlstra wrote: On Mon, Oct 09, 2017 at 08:21:13PM +0800, Fengguang Wu wrote: > > From e7840ad76515f0b5061fcdd098b57b7c01b61482 Mon Sep 17 00:00:00 2001 > > Message-Id: > > From: Josh Poimboeuf > > Date: Thu, 5 Oct 2017 09:43:59 -0500 > > Subjec

[PATCH 3.2 22/74] MIPS: Send SIGILL for BPOSGE32 in `__compute_return_epc_for_insn'

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: "Maciej W. Rozycki" commit 7b82c1058ac1f8f8b9f2b8786b1f710a57a870a8 upstream. Fix commit e50c0a8fa60d ("Support the MIPS32 / MIPS64 DSP ASE.") and send SIGILL rather than SIGBUS whenever an uni

[PATCH 3.2 55/74] ext4: Don't clear SGID when inheriting ACLs

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

[PATCH 3.2 29/74] ipv6: dad: don't remove dynamic addresses if link is down

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Sabrina Dubroca commit ec8add2a4c9df723c94a863b8fcd6d93c472deed upstream. Currently, when the link for $DEV is down, this command succeeds but the address is removed immediately by DAD (1):

[PATCH 3.2 31/74] IB/core: Create common start/end port functions

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Ira Weiny commit 0cf18d7723055709faf51b50f5a33253b480637f upstream. Previously start_port and end_port were defined in 2 places, cache.c and device.c and this prevented their use in other modul

Re: [ANNOUNCE] fsperf: a simple fs/block performance testing framework

2017-10-09 Thread Josef Bacik
On Mon, Oct 09, 2017 at 04:17:31PM +1100, Dave Chinner wrote: > On Sun, Oct 08, 2017 at 10:25:10PM -0400, Josef Bacik wrote: > > On Mon, Oct 09, 2017 at 11:51:37AM +1100, Dave Chinner wrote: > > > On Fri, Oct 06, 2017 at 05:09:57PM -0400, Josef Bacik wrote: > > > > Hello, > > > > > > > > One thing

[PATCH 3.2 44/74] ubifs: Correctly evict xattr inodes

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Richard Weinberger commit 272eda8298dc82eb411ece82bbb2c62911087b24 upstream. UBIFS handles extended attributes just like files, as consequence of that, they also have inodes. Therefore UBIFS do

[PATCH 3.2 51/74] ext3: preserve i_mode if ext2_set_acl() fails

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Hutchings Based on Ernesto A. Fernández's fix for ext2 (commit fe26569eb919), from which the following description is taken: > When changing a file's acl mask, ext2_set_acl() will first set

[PATCH 3.2 69/74] perf/x86: Check if user fp is valid

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Arun Sharma commit bc6ca7b342d5ae15c3ba3081fd40271b8039fb25 upstream. Signed-off-by: Arun Sharma Cc: Linus Torvalds Cc: linux-kernel@vger.kernel.org Signed-off-by: Peter Zijlstra Link: http:

[PATCH 3.2 61/74] kvm: nVMX: Don't allow L2 to access the hardware CR8

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Jim Mattson commit 51aa68e7d57e3217192d88ce90fd5b8ef29ec94f upstream. If L1 does not specify the "use TPR shadow" VM-execution control in vmcs12, then L0 must specify the "CR8-load exiting" and

[PATCH 3.2 53/74] reiserfs: preserve i_mode if __reiserfs_set_acl() fails

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Ernesto A. Fernández commit fcea8aed91f53b51f9b943dc01f12d8aa666c720 upstream. When changing a file's acl mask, reiserfs_set_acl() will first set the group bits of i_mode to the value of the m

[PATCH 3.2 59/74] [media] saa7164: fix double fetch PCIe access condition

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Steven Toth commit 6fb05e0dd32e566facb96ea61a48c7488daa5ac3 upstream. Avoid a double fetch by reusing the values from the prior transfer. Originally reported via https://bugzilla.kernel.org/sh

[PATCH 3.2 65/74] Bluetooth: Properly check L2CAP config option output buffer length

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Ben Seri commit e860d2c904d1a9f38a24eb44c9f34b8f915a6ea3 upstream. Validate the output buffer length for L2CAP config requests and responses to avoid overflowing the stack buffer used for build

[PATCH 3.2 35/74] rtc: rtc-nuc900: fix loop timeout test

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Dan Carpenter commit d0a67c372df410b579197ea818596001fe20070d upstream. We should change this post-op to a pre-op because we want the loop to exit with "timeout" set to zero. Fixes: 0a89b55364

Re: [lockdep] b09be676e0 BUG: unable to handle kernel NULL pointer dereference at 000001f2

2017-10-09 Thread Josh Poimboeuf
On Mon, Oct 09, 2017 at 02:54:04PM +0200, Peter Zijlstra wrote: > On Mon, Oct 09, 2017 at 08:21:13PM +0800, Fengguang Wu wrote: > > > > From e7840ad76515f0b5061fcdd098b57b7c01b61482 Mon Sep 17 00:00:00 2001 > > > > Message-Id: > > > > > > > > From: Josh Poimboeuf > > > > Date: Thu, 5 Oct 2017 09

[PATCH 3.2 26/74] scsi: ses: do not add a device to an enclosure if enclosure_add_links() fails.

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Maurizio Lombardi commit 62e62ffd95539b9220894a7900a619e0f3ef4756 upstream. The enclosure_add_device() function should fail if it can't create the relevant sysfs links. Signed-off-by: Maurizio

[PATCH 3.2 32/74] IB/core: Add inline function to validate port

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Yuval Shaia commit 24dc831b77eca9361cf835be59fa69ea0e471afc upstream. Signed-off-by: Yuval Shaia Reviewed-by: Leon Romanovsky Signed-off-by: Doug Ledford [bwh: Backported to 3.2: - Drop ina

[PATCH 3.2 52/74] reiserfs: Don't clear SGID when inheriting ACLs

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

[PATCH 3.2 43/74] Input: i8042 - fix crash at boot time

2017-10-09 Thread Ben Hutchings
3.2.94-rc1 review patch. If anyone has any objections, please let me know. -- From: Chen Hong commit 340d394a789518018f834ff70f7534fc463d3226 upstream. The driver checks port->exists twice in i8042_interrupt(), first when trying to assign temporary "serio" variable, and second

[PATCH 3.16 010/192] f2fs: try to freeze in gc and discard threads

2017-10-09 Thread Ben Hutchings
3.16.49-rc1 review patch. If anyone has any objections, please let me know. -- From: Jaegeuk Kim commit 1d7be2708277edfef95171d52fb65ee26eaa076b upstream. This allows to freeze gc and discard threads. Signed-off-by: Jaegeuk Kim [bwh: Backported to 3.16: drop changes to disca

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