[PATCH net-next, 4/4] hv_netvsc: Fix the channel limit in netvsc_set_rxfh()

2017-09-01 Thread Haiyang Zhang
From: Haiyang Zhang The limit of setting receive indirection table value should be the current number of channels, not the VRSS_CHANNEL_MAX. Signed-off-by: Haiyang Zhang --- drivers/net/hyperv/netvsc_drv.c | 2 +- 1 file changed, 1 insertion(+),

[PATCH net-next, 2/4] hv_netvsc: Simplify num_chn checking in rndis_filter_device_add()

2017-09-01 Thread Haiyang Zhang
From: Haiyang Zhang The minus one and assignment to a local variable is not necessary. This patch simplifies it. Signed-off-by: Haiyang Zhang --- drivers/net/hyperv/rndis_filter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff

[PATCH net-next, 4/4] hv_netvsc: Fix the channel limit in netvsc_set_rxfh()

2017-09-01 Thread Haiyang Zhang
From: Haiyang Zhang The limit of setting receive indirection table value should be the current number of channels, not the VRSS_CHANNEL_MAX. Signed-off-by: Haiyang Zhang --- drivers/net/hyperv/netvsc_drv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH net-next, 2/4] hv_netvsc: Simplify num_chn checking in rndis_filter_device_add()

2017-09-01 Thread Haiyang Zhang
From: Haiyang Zhang The minus one and assignment to a local variable is not necessary. This patch simplifies it. Signed-off-by: Haiyang Zhang --- drivers/net/hyperv/rndis_filter.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/net/hyperv/rndis_filter.c

[PATCH 1/6] perf tools: Use ARRAY_SIZE macro

2017-09-01 Thread Thomas Meyer
Found by a coccinelle run with: make coccicheck MODE=patch COCCI=scripts/coccinelle/misc/array_size.cocci Signed-off-by: Thomas Meyer --- tools/perf/tests/bpf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/tests/bpf.c b/tools/perf/tests/bpf.c

[PATCH 1/6] perf tools: Use ARRAY_SIZE macro

2017-09-01 Thread Thomas Meyer
Found by a coccinelle run with: make coccicheck MODE=patch COCCI=scripts/coccinelle/misc/array_size.cocci Signed-off-by: Thomas Meyer --- tools/perf/tests/bpf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/tests/bpf.c b/tools/perf/tests/bpf.c index

[PATCH net-next, 1/4] hv_netvsc: Clean up an unused parameter in rndis_filter_set_rss_param()

2017-09-01 Thread Haiyang Zhang
From: Haiyang Zhang This patch removes the parameter, num_queue in rndis_filter_set_rss_param(), which is no longer in use. Signed-off-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h | 2 +- drivers/net/hyperv/netvsc_drv.c | 2 +-

[PATCH net-next, 0/4] cleanups and fixes of channel settings

2017-09-01 Thread Haiyang Zhang
From: Haiyang Zhang This patch set cleans up some unused variables, unnecessary checks. Also fixed some limit checking of channel number. Haiyang Zhang (4): hv_netvsc: Clean up an unused parameter in rndis_filter_set_rss_param() hv_netvsc: Simplify num_chn checking

[PATCH net-next, 1/4] hv_netvsc: Clean up an unused parameter in rndis_filter_set_rss_param()

2017-09-01 Thread Haiyang Zhang
From: Haiyang Zhang This patch removes the parameter, num_queue in rndis_filter_set_rss_param(), which is no longer in use. Signed-off-by: Haiyang Zhang --- drivers/net/hyperv/hyperv_net.h | 2 +- drivers/net/hyperv/netvsc_drv.c | 2 +- drivers/net/hyperv/rndis_filter.c | 5 ++--- 3 files

[PATCH net-next, 0/4] cleanups and fixes of channel settings

2017-09-01 Thread Haiyang Zhang
From: Haiyang Zhang This patch set cleans up some unused variables, unnecessary checks. Also fixed some limit checking of channel number. Haiyang Zhang (4): hv_netvsc: Clean up an unused parameter in rndis_filter_set_rss_param() hv_netvsc: Simplify num_chn checking in

[PATCH 2/6] perf dwarf: Use ARRAY_SIZE macro

2017-09-01 Thread Thomas Meyer
Found by a coccinelle run with: make coccicheck MODE=patch COCCI=scripts/coccinelle/misc/array_size.cocci Signed-off-by: Thomas Meyer --- tools/perf/arch/x86/util/dwarf-regs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH 2/6] perf dwarf: Use ARRAY_SIZE macro

2017-09-01 Thread Thomas Meyer
Found by a coccinelle run with: make coccicheck MODE=patch COCCI=scripts/coccinelle/misc/array_size.cocci Signed-off-by: Thomas Meyer --- tools/perf/arch/x86/util/dwarf-regs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/perf/arch/x86/util/dwarf-regs.c

[PATCH 3/6] ia64: Use ARRAY_SIZE macro

2017-09-01 Thread Thomas Meyer
Found by a coccinelle run with: make coccicheck MODE=patch COCCI=scripts/coccinelle/misc/array_size.cocci Signed-off-by: Thomas Meyer --- arch/ia64/kernel/perfmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ia64/kernel/perfmon.c

[PATCH 4/6] skd: Use ARRAY_SIZE macro

2017-09-01 Thread Thomas Meyer
Found by a coccinelle run with: make coccicheck MODE=patch COCCI=scripts/coccinelle/misc/array_size.cocci Signed-off-by: Thomas Meyer --- drivers/block/skd_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/skd_main.c

[PATCH 3/6] ia64: Use ARRAY_SIZE macro

2017-09-01 Thread Thomas Meyer
Found by a coccinelle run with: make coccicheck MODE=patch COCCI=scripts/coccinelle/misc/array_size.cocci Signed-off-by: Thomas Meyer --- arch/ia64/kernel/perfmon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/ia64/kernel/perfmon.c b/arch/ia64/kernel/perfmon.c index

[PATCH 4/6] skd: Use ARRAY_SIZE macro

2017-09-01 Thread Thomas Meyer
Found by a coccinelle run with: make coccicheck MODE=patch COCCI=scripts/coccinelle/misc/array_size.cocci Signed-off-by: Thomas Meyer --- drivers/block/skd_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/block/skd_main.c b/drivers/block/skd_main.c index

[PATCH 5/6] powerpc/xmon: Use ARRAY_SIZE macro

2017-09-01 Thread Thomas Meyer
Found by a coccinelle run with: make coccicheck MODE=patch COCCI=scripts/coccinelle/misc/array_size.cocci Signed-off-by: Thomas Meyer --- arch/powerpc/xmon/ppc-opc.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/arch/powerpc/xmon/ppc-opc.c

[PATCH 5/6] powerpc/xmon: Use ARRAY_SIZE macro

2017-09-01 Thread Thomas Meyer
Found by a coccinelle run with: make coccicheck MODE=patch COCCI=scripts/coccinelle/misc/array_size.cocci Signed-off-by: Thomas Meyer --- arch/powerpc/xmon/ppc-opc.c | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/arch/powerpc/xmon/ppc-opc.c

Re: [PATCH 2/2] Bluetooth: btqcomsmd: BD address setup

2017-09-01 Thread Rob Herring
On Fri, Sep 1, 2017 at 3:47 PM, Marcel Holtmann wrote: > Hi Bjorn, > >> Bluetooth BD address can be retrieved in the same way as >> for wcnss-wlan MAC address. This patch mainly stores the >> local-mac-address property and sets the BD address during >> hci device setup. >> >>

Re: [PATCH 2/2] Bluetooth: btqcomsmd: BD address setup

2017-09-01 Thread Rob Herring
On Fri, Sep 1, 2017 at 3:47 PM, Marcel Holtmann wrote: > Hi Bjorn, > >> Bluetooth BD address can be retrieved in the same way as >> for wcnss-wlan MAC address. This patch mainly stores the >> local-mac-address property and sets the BD address during >> hci device setup. >> >> Signed-off-by: Loic

Re: [RFC][PATCH] perf: Rewrite enabled/running timekeeping

2017-09-01 Thread Vince Weaver
On Thu, 31 Aug 2017, Peter Zijlstra wrote: > So the below completely rewrites timekeeping (and probably breaks > world) but does away with the need to touch events that don't get > scheduled. > > Esp the cgroup stuff is entirely untested since I simply don't know how > to operate that. I did run

Re: [RFC][PATCH] perf: Rewrite enabled/running timekeeping

2017-09-01 Thread Vince Weaver
On Thu, 31 Aug 2017, Peter Zijlstra wrote: > So the below completely rewrites timekeeping (and probably breaks > world) but does away with the need to touch events that don't get > scheduled. > > Esp the cgroup stuff is entirely untested since I simply don't know how > to operate that. I did run

Re: [PATCH iproute2 0/2] fix "ip link show dev ..." for NICs with many VFs

2017-09-01 Thread Stephen Hemminger
On Fri, 1 Sep 2017 18:39:06 +0200 (CEST) Michal Kubecek wrote: > Two of our customers recently encountered problems with processing of large > messages produced by kernel in response to "ip link show" for NICs with > many (120-128) virtual functions. While some of them have

Re: [PATCH iproute2 0/2] fix "ip link show dev ..." for NICs with many VFs

2017-09-01 Thread Stephen Hemminger
On Fri, 1 Sep 2017 18:39:06 +0200 (CEST) Michal Kubecek wrote: > Two of our customers recently encountered problems with processing of large > messages produced by kernel in response to "ip link show" for NICs with > many (120-128) virtual functions. While some of them have been already >

Re: [RFC PATCH 02/11] refcount: Implement inc/decrement-and-return functions

2017-09-01 Thread David Howells
Peter Zijlstra wrote: > > unsigned int refcount_dec_return(refcount_t *r); > > unsigned int refcount_inc_return(refcount_t *r); > > > > I'm not immediately seeing how wanting 1 to mean unused leads to > requiring these two functions. Did you read the other other

Re: [RFC PATCH 02/11] refcount: Implement inc/decrement-and-return functions

2017-09-01 Thread David Howells
Peter Zijlstra wrote: > > unsigned int refcount_dec_return(refcount_t *r); > > unsigned int refcount_inc_return(refcount_t *r); > > > > I'm not immediately seeing how wanting 1 to mean unused leads to > requiring these two functions. Did you read the other other part of the

Re: [PATCH 1/3] mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE

2017-09-01 Thread Kees Cook
On Thu, Aug 31, 2017 at 4:32 AM, Vlastimil Babka wrote: > On 08/31/2017 03:40 AM, Joonsoo Kim wrote: >> On Tue, Aug 29, 2017 at 11:16:18AM +0200, Vlastimil Babka wrote: >>> On 08/24/2017 08:36 AM, js1...@gmail.com wrote: From: Joonsoo Kim 0.

Re: [PATCH 1/3] mm/cma: manage the memory of the CMA area by using the ZONE_MOVABLE

2017-09-01 Thread Kees Cook
On Thu, Aug 31, 2017 at 4:32 AM, Vlastimil Babka wrote: > On 08/31/2017 03:40 AM, Joonsoo Kim wrote: >> On Tue, Aug 29, 2017 at 11:16:18AM +0200, Vlastimil Babka wrote: >>> On 08/24/2017 08:36 AM, js1...@gmail.com wrote: From: Joonsoo Kim 0. History This patchset is the

Re: [PATCH] remoteproc: Introduce rproc handle accessor for children

2017-09-01 Thread Suman Anna
Hi Bjorn, On 08/28/2017 12:34 AM, Bjorn Andersson wrote: > In certain circumstances rpmsg devices needs to acquire a handle to the > ancestor remoteproc instance, e.g. to invoke rproc_report_crash() when a > fatal error is detected. Introduce an interface that walks the device > tree in search

Re: [PATCH] remoteproc: Introduce rproc handle accessor for children

2017-09-01 Thread Suman Anna
Hi Bjorn, On 08/28/2017 12:34 AM, Bjorn Andersson wrote: > In certain circumstances rpmsg devices needs to acquire a handle to the > ancestor remoteproc instance, e.g. to invoke rproc_report_crash() when a > fatal error is detected. Introduce an interface that walks the device > tree in search

[PATCH v7] arm64: allwinner: h5: add NanoPi NEO Plus2 DT support

2017-09-01 Thread Antony Antony
Add initial DT for NanoPi NEO Plus2 by FriendlyARM - Allwinner quad core H5 Cortex A53 with an ARM Mali-450MP GPU - 1 GB DDR3 RAM - 8GB eMMC flash (Samsung KLM8G1WEPD-B031) - micro SD card slot - Gigabit Ethernet (external RTL8211E-VB-CG chip) - 802.11 b/g/n WiFi, Bluetooth 4.0 (Ampak AP6212A

[PATCH v7] arm64: allwinner: h5: add NanoPi NEO Plus2 DT support

2017-09-01 Thread Antony Antony
Add initial DT for NanoPi NEO Plus2 by FriendlyARM - Allwinner quad core H5 Cortex A53 with an ARM Mali-450MP GPU - 1 GB DDR3 RAM - 8GB eMMC flash (Samsung KLM8G1WEPD-B031) - micro SD card slot - Gigabit Ethernet (external RTL8211E-VB-CG chip) - 802.11 b/g/n WiFi, Bluetooth 4.0 (Ampak AP6212A

Re: [PATCH 1/2] Bluetooth: make baswap src const

2017-09-01 Thread Marcel Holtmann
Hi Bjorn, > Signed-off-by: Loic Poulain > Signed-off-by: Bjorn Andersson > --- > include/net/bluetooth/bluetooth.h | 2 +- > net/bluetooth/lib.c | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) patch has been applied

Re: [PATCH 1/2] Bluetooth: make baswap src const

2017-09-01 Thread Marcel Holtmann
Hi Bjorn, > Signed-off-by: Loic Poulain > Signed-off-by: Bjorn Andersson > --- > include/net/bluetooth/bluetooth.h | 2 +- > net/bluetooth/lib.c | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) patch has been applied to bluetooth-next tree. Regards Marcel

Re: [PATCH 02/13] thermal/drivers/hisi: Remove the multiple sensors support

2017-09-01 Thread Daniel Lezcano
On 01/09/2017 16:05, Leo Yan wrote: > Hi Daniel, > > On Wed, Aug 30, 2017 at 10:47:26AM +0200, Daniel Lezcano wrote: >> By essence, the tsensor does not really support multiple sensor at the same >> time. It allows to set a sensor and use it to get the temperature, another >> sensor could be

Re: [PATCH 02/13] thermal/drivers/hisi: Remove the multiple sensors support

2017-09-01 Thread Daniel Lezcano
On 01/09/2017 16:05, Leo Yan wrote: > Hi Daniel, > > On Wed, Aug 30, 2017 at 10:47:26AM +0200, Daniel Lezcano wrote: >> By essence, the tsensor does not really support multiple sensor at the same >> time. It allows to set a sensor and use it to get the temperature, another >> sensor could be

Re: Status of reverted Linux patch "tty: Fix ldisc crash on reopened tty", Linux 4.9 kernel frequent crashes

2017-09-01 Thread Mikulas Patocka
On Thu, 31 Aug 2017, Greg Kroah-Hartman wrote: > On Wed, Aug 30, 2017 at 11:10:14PM +0300, Pasi Kärkkäinen wrote: > > Hello everyone, > > > > Recently Nathan March reported on centos-virt list he's getting frequent > > Linux kernel crashes with Linux 4.9 LTS kernel because of the missing

Re: Status of reverted Linux patch "tty: Fix ldisc crash on reopened tty", Linux 4.9 kernel frequent crashes

2017-09-01 Thread Mikulas Patocka
On Thu, 31 Aug 2017, Greg Kroah-Hartman wrote: > On Wed, Aug 30, 2017 at 11:10:14PM +0300, Pasi Kärkkäinen wrote: > > Hello everyone, > > > > Recently Nathan March reported on centos-virt list he's getting frequent > > Linux kernel crashes with Linux 4.9 LTS kernel because of the missing

Re: [PATCH 2/2] Bluetooth: btqcomsmd: BD address setup

2017-09-01 Thread Marcel Holtmann
Hi Bjorn, > Bluetooth BD address can be retrieved in the same way as > for wcnss-wlan MAC address. This patch mainly stores the > local-mac-address property and sets the BD address during > hci device setup. > > Signed-off-by: Loic Poulain > Signed-off-by: Bjorn

Re: [PATCH 2/2] Bluetooth: btqcomsmd: BD address setup

2017-09-01 Thread Marcel Holtmann
Hi Bjorn, > Bluetooth BD address can be retrieved in the same way as > for wcnss-wlan MAC address. This patch mainly stores the > local-mac-address property and sets the BD address during > hci device setup. > > Signed-off-by: Loic Poulain > Signed-off-by: Bjorn Andersson > --- >

[PATCH 1/2] Bluetooth: make baswap src const

2017-09-01 Thread Bjorn Andersson
From: Loic Poulain Signed-off-by: Loic Poulain Signed-off-by: Bjorn Andersson --- include/net/bluetooth/bluetooth.h | 2 +- net/bluetooth/lib.c | 4 ++-- 2 files changed, 3 insertions(+), 3

[PATCH 1/2] Bluetooth: make baswap src const

2017-09-01 Thread Bjorn Andersson
From: Loic Poulain Signed-off-by: Loic Poulain Signed-off-by: Bjorn Andersson --- include/net/bluetooth/bluetooth.h | 2 +- net/bluetooth/lib.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/net/bluetooth/bluetooth.h

[PATCH 2/2] Bluetooth: btqcomsmd: BD address setup

2017-09-01 Thread Bjorn Andersson
From: Loic Poulain Bluetooth BD address can be retrieved in the same way as for wcnss-wlan MAC address. This patch mainly stores the local-mac-address property and sets the BD address during hci device setup. Signed-off-by: Loic Poulain

[PATCH 2/2] Bluetooth: btqcomsmd: BD address setup

2017-09-01 Thread Bjorn Andersson
From: Loic Poulain Bluetooth BD address can be retrieved in the same way as for wcnss-wlan MAC address. This patch mainly stores the local-mac-address property and sets the BD address during hci device setup. Signed-off-by: Loic Poulain Signed-off-by: Bjorn Andersson ---

[PATCH 0/2] btqcomsmd: Allow specifying board mac address

2017-09-01 Thread Bjorn Andersson
The btqcomsmd hardware lacks persistent storage of its mac address, so this needs to be configured during initialization. The second patch in this series reads the mac address from DT and does this, allowing the boot loader to populate this board specific information. Loic Poulain (2):

[PATCH 0/2] btqcomsmd: Allow specifying board mac address

2017-09-01 Thread Bjorn Andersson
The btqcomsmd hardware lacks persistent storage of its mac address, so this needs to be configured during initialization. The second patch in this series reads the mac address from DT and does this, allowing the boot loader to populate this board specific information. Loic Poulain (2):

[PATCH v4 2/2] media:imx274 V4l2 driver for Sony imx274 CMOS sensor

2017-09-01 Thread Leon Luo
The imx274 is a Sony CMOS image sensor that has 1/2.5 image size. It supports up to 3840x2160 (4K) 60fps, 1080p 120fps. The interface is 4-lane MIPI CSI-2 running at 1.44Gbps each. This driver has been tested on Xilinx ZCU102 platform with a Leopard LI-IMX274MIPI-FMC camera board. Support for

[PATCH v4 2/2] media:imx274 V4l2 driver for Sony imx274 CMOS sensor

2017-09-01 Thread Leon Luo
The imx274 is a Sony CMOS image sensor that has 1/2.5 image size. It supports up to 3840x2160 (4K) 60fps, 1080p 120fps. The interface is 4-lane MIPI CSI-2 running at 1.44Gbps each. This driver has been tested on Xilinx ZCU102 platform with a Leopard LI-IMX274MIPI-FMC camera board. Support for

[PATCH v4 1/2] media:imx274 device tree binding file

2017-09-01 Thread Leon Luo
The binding file for imx274 CMOS sensor V4l2 driver Signed-off-by: Leon Luo --- v4: - no changes v3: - remove redundant properties and references - document 'reg' property v2: - no changes --- .../devicetree/bindings/media/i2c/imx274.txt | 32

[PATCH v4 1/2] media:imx274 device tree binding file

2017-09-01 Thread Leon Luo
The binding file for imx274 CMOS sensor V4l2 driver Signed-off-by: Leon Luo --- v4: - no changes v3: - remove redundant properties and references - document 'reg' property v2: - no changes --- .../devicetree/bindings/media/i2c/imx274.txt | 32 ++ 1 file changed, 32

Re: WARNING: possible circular locking dependency detected

2017-09-01 Thread Peter Zijlstra
On Thu, Aug 31, 2017 at 11:24:13PM +0200, Thomas Gleixner wrote: > On Thu, 31 Aug 2017, Thomas Gleixner wrote: > > On Thu, 31 Aug 2017, Peter Zijlstra wrote: > > > > > On Thu, Aug 31, 2017 at 09:55:57AM +0200, Thomas Gleixner wrote: > > > > > Arghh!!! > > > > > > > > > > And allowing us to

Re: WARNING: possible circular locking dependency detected

2017-09-01 Thread Peter Zijlstra
On Thu, Aug 31, 2017 at 11:24:13PM +0200, Thomas Gleixner wrote: > On Thu, 31 Aug 2017, Thomas Gleixner wrote: > > On Thu, 31 Aug 2017, Peter Zijlstra wrote: > > > > > On Thu, Aug 31, 2017 at 09:55:57AM +0200, Thomas Gleixner wrote: > > > > > Arghh!!! > > > > > > > > > > And allowing us to

Re: [PATCH v2] clk: mb86s7x: Drop non-building driver

2017-09-01 Thread Stephen Boyd
On 08/25, Andreas Färber wrote: > It fails to build once we introduce the ARCH_MB86S7X Kconfig symbol: > > drivers/clk/clk-mb86s7x.c:27:10: fatal error: soc/mb86s7x/scb_mhu.h: No > such file or directory >#include > ^~~ > compilation terminated. > > And

Re: [PATCH v2] clk: mb86s7x: Drop non-building driver

2017-09-01 Thread Stephen Boyd
On 08/25, Andreas Färber wrote: > It fails to build once we introduce the ARCH_MB86S7X Kconfig symbol: > > drivers/clk/clk-mb86s7x.c:27:10: fatal error: soc/mb86s7x/scb_mhu.h: No > such file or directory >#include > ^~~ > compilation terminated. > > And

Re: [PATCH 2/2] arm64: dts: hi6220: enable watchdog

2017-09-01 Thread Stephen Boyd
On 09/01, Wei Xu wrote: > Hi Stephen, > > On 2017/9/1 2:32, Stephen Boyd wrote: > > On 08/29, Leo Yan wrote: > >> From: Dmitry Shmidt > >> > >> This patch is to add watchdog binding for Hi6220 on Hikey board. > >> > >> Signed-off-by: Dmitry Shmidt >

Re: [PATCH 2/2] arm64: dts: hi6220: enable watchdog

2017-09-01 Thread Stephen Boyd
On 09/01, Wei Xu wrote: > Hi Stephen, > > On 2017/9/1 2:32, Stephen Boyd wrote: > > On 08/29, Leo Yan wrote: > >> From: Dmitry Shmidt > >> > >> This patch is to add watchdog binding for Hi6220 on Hikey board. > >> > >> Signed-off-by: Dmitry Shmidt > >> --- > > > > This will go through arm-soc?

Re: [PATCH V2] clk: qcom: Add spmi_pmic clock divider support

2017-09-01 Thread Stephen Boyd
On 08/31, Tirupathi Reddy wrote: > diff --git a/Documentation/devicetree/bindings/clock/clk-spmi-pmic-div.txt > b/Documentation/devicetree/bindings/clock/clk-spmi-pmic-div.txt > new file mode 100644 > index 000..48cb2f7 > --- /dev/null > +++

Re: [PATCH V2] clk: qcom: Add spmi_pmic clock divider support

2017-09-01 Thread Stephen Boyd
On 08/31, Tirupathi Reddy wrote: > diff --git a/Documentation/devicetree/bindings/clock/clk-spmi-pmic-div.txt > b/Documentation/devicetree/bindings/clock/clk-spmi-pmic-div.txt > new file mode 100644 > index 000..48cb2f7 > --- /dev/null > +++

[PATCH] locking/refcounts, x86/asm: Use unique .text section for refcount exceptions

2017-09-01 Thread Kees Cook
Using .text.unlikely for refcount exceptions isn't safe because gcc may move entire functions into .text.unlikely (e.g. in6_dev_get()), which would cause any uses of a protected refcount_t function to stay inline with the function, triggering the protection unconditionally: .section

[PATCH] locking/refcounts, x86/asm: Use unique .text section for refcount exceptions

2017-09-01 Thread Kees Cook
Using .text.unlikely for refcount exceptions isn't safe because gcc may move entire functions into .text.unlikely (e.g. in6_dev_get()), which would cause any uses of a protected refcount_t function to stay inline with the function, triggering the protection unconditionally: .section

Re: printk: what is going on with additional newlines?

2017-09-01 Thread Linus Torvalds
On Fri, Sep 1, 2017 at 10:32 AM, Joe Perches wrote: > > Yes, it's a poor name. At least keep using a pr_ prefix. I'd suggest perhaps just "pr_line()". And instead of having those "err/info/cont" variations, the severity level should just be set at initialization time. Not

Re: printk: what is going on with additional newlines?

2017-09-01 Thread Linus Torvalds
On Fri, Sep 1, 2017 at 10:32 AM, Joe Perches wrote: > > Yes, it's a poor name. At least keep using a pr_ prefix. I'd suggest perhaps just "pr_line()". And instead of having those "err/info/cont" variations, the severity level should just be set at initialization time. Not different versions

[PATCH] docs: fix location of document that got moved

2017-09-01 Thread Henning Schild
9d85025b0418 renamed the document mentioned in the header. Adjust the link to point to the right place. Signed-off-by: Henning Schild --- fs/binfmt_misc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c index

[PATCH] docs: fix location of document that got moved

2017-09-01 Thread Henning Schild
9d85025b0418 renamed the document mentioned in the header. Adjust the link to point to the right place. Signed-off-by: Henning Schild --- fs/binfmt_misc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fs/binfmt_misc.c b/fs/binfmt_misc.c index f4718098ac31..b0cc07fbadef

Re: [PATCH 13/31] timer: Remove meaningless .data/.function assignments

2017-09-01 Thread Jens Axboe
On 08/31/2017 05:29 PM, Kees Cook wrote: > Several timer users needlessly reset their .function/.data fields during > their timer callback, but nothing else changes them. Some users do not > use their .data field at all. Each instance is removed here. For amiflop: Acked-by: Jens Axboe

Re: [PATCH 13/31] timer: Remove meaningless .data/.function assignments

2017-09-01 Thread Jens Axboe
On 08/31/2017 05:29 PM, Kees Cook wrote: > Several timer users needlessly reset their .function/.data fields during > their timer callback, but nothing else changes them. Some users do not > use their .data field at all. Each instance is removed here. For amiflop: Acked-by: Jens Axboe -- Jens

[PATCH] media: net.h: add kernel-doc and use it at Documentation/

2017-09-01 Thread Mauro Carvalho Chehab
As we did with frontend.h, ca.h and dmx.h, move the struct definition to net.h. That should help to keep it updated, as more stuff gets added there. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/net-add-if.rst | 34 -

[PATCH] media: net.h: add kernel-doc and use it at Documentation/

2017-09-01 Thread Mauro Carvalho Chehab
As we did with frontend.h, ca.h and dmx.h, move the struct definition to net.h. That should help to keep it updated, as more stuff gets added there. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/net-add-if.rst | 34 -

[PATCH 4/4] [media] sp2: Adjust three null pointer checks in sp2_exit()

2017-09-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Sep 2017 21:16:06 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script “checkpatch.pl” pointed information out like the following. Comparison to NULL could be written !… Thus

[PATCH 4/4] [media] sp2: Adjust three null pointer checks in sp2_exit()

2017-09-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Sep 2017 21:16:06 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The script “checkpatch.pl” pointed information out like the following. Comparison to NULL could be written !… Thus fix the affected source code

Re: RFC: Revert move default dialect from CIFS to to SMB3

2017-09-01 Thread Linus Torvalds
On Fri, Sep 1, 2017 at 11:23 AM, L. A. Walsh wrote: >Why be incompatible with the majority of Windows installations? > I.e. If you really want to up security from 1.0 (not adverse to that), > then why not go to 2.1 as used by Win7? Win7 is still in support > from MS --

Re: RFC: Revert move default dialect from CIFS to to SMB3

2017-09-01 Thread Linus Torvalds
On Fri, Sep 1, 2017 at 11:23 AM, L. A. Walsh wrote: >Why be incompatible with the majority of Windows installations? > I.e. If you really want to up security from 1.0 (not adverse to that), > then why not go to 2.1 as used by Win7? Win7 is still in support > from MS -- and they haven't

[PATCH 3/4] [media] sp2: Adjust a jump target in sp2_probe()

2017-09-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Sep 2017 21:08:38 +0200 * Adjust a jump target so that a null pointer will not be passed to a call of the function "kfree". * Move this function call into an if branch. Signed-off-by: Markus Elfring

[PATCH 3/4] [media] sp2: Adjust a jump target in sp2_probe()

2017-09-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Sep 2017 21:08:38 +0200 * Adjust a jump target so that a null pointer will not be passed to a call of the function "kfree". * Move this function call into an if branch. Signed-off-by: Markus Elfring --- drivers/media/dvb-frontends/sp2.c | 13 +++--

Re: [patch 17/29] lockup_detector: Get rid of the thread teardown/setup dance

2017-09-01 Thread Thomas Gleixner
On Fri, 1 Sep 2017, Don Zickus wrote: > On Thu, Aug 31, 2017 at 09:16:15AM +0200, Thomas Gleixner wrote: > > The lockup detector reconfiguration tears down all watchdog threads when > > the watchdog is disabled and sets them up again when its enabled. > > > > That's a pointless exercise. The

Re: [patch 17/29] lockup_detector: Get rid of the thread teardown/setup dance

2017-09-01 Thread Thomas Gleixner
On Fri, 1 Sep 2017, Don Zickus wrote: > On Thu, Aug 31, 2017 at 09:16:15AM +0200, Thomas Gleixner wrote: > > The lockup detector reconfiguration tears down all watchdog threads when > > the watchdog is disabled and sets them up again when its enabled. > > > > That's a pointless exercise. The

[PATCH 2/4] [media] sp2: Improve a size determination in sp2_probe()

2017-09-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Sep 2017 20:46:18 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style

[PATCH 2/4] [media] sp2: Improve a size determination in sp2_probe()

2017-09-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Sep 2017 20:46:18 +0200 Replace the specification of a data structure by a pointer dereference as the parameter for the operator "sizeof" to make the corresponding size determination a bit safer according to the Linux coding style convention. This issue was

[PATCH 1/4] [media] sp2: Delete an error message for a failed memory allocation in sp2_probe()

2017-09-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Sep 2017 20:44:05 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH 1/4] [media] sp2: Delete an error message for a failed memory allocation in sp2_probe()

2017-09-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Sep 2017 20:44:05 +0200 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/media/dvb-frontends/sp2.c | 1 - 1 file changed, 1 deletion(-)

[PATCH 09/14] media: dvbapi.rst: add an entry to DVB revision history

2017-09-01 Thread Mauro Carvalho Chehab
There are several missing items at the API history. Yet, as we're doing a significant change there, add a new entry. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/dvbapi.rst | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

[PATCH 09/14] media: dvbapi.rst: add an entry to DVB revision history

2017-09-01 Thread Mauro Carvalho Chehab
There are several missing items at the API history. Yet, as we're doing a significant change there, add a new entry. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/dvbapi.rst | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git

[PATCH 00/14] Another set of DVB documentation patches

2017-09-01 Thread Mauro Carvalho Chehab
This series should come after this series: [PATCH v2 00/26] Improve DVB documentation and reduce its gap (with actually has 27 patches :-p ) It adds documentation for a dmx.h ioctl (DMX_GET_PES_PIDS) and do a cleanup at the documentation, to make it more coherent with the other

[PATCH 0/4] [media] SP2: Adjustments for two function implementations

2017-09-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Sep 2017 21:31:23 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): Delete an error message for a failed memory allocation Improve a size determination Adjust a jump

[PATCH 00/14] Another set of DVB documentation patches

2017-09-01 Thread Mauro Carvalho Chehab
This series should come after this series: [PATCH v2 00/26] Improve DVB documentation and reduce its gap (with actually has 27 patches :-p ) It adds documentation for a dmx.h ioctl (DMX_GET_PES_PIDS) and do a cleanup at the documentation, to make it more coherent with the other

[PATCH 0/4] [media] SP2: Adjustments for two function implementations

2017-09-01 Thread SF Markus Elfring
From: Markus Elfring Date: Fri, 1 Sep 2017 21:31:23 +0200 A few update suggestions were taken into account from static source code analysis. Markus Elfring (4): Delete an error message for a failed memory allocation Improve a size determination Adjust a jump target Adjust three null

[PATCH 11/14] media: dmx-get-pes-pids.rst: document the ioctl

2017-09-01 Thread Mauro Carvalho Chehab
This ioctl is supported by the DVB core, but was never documented. Add a documentation for it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/dmx-get-pes-pids.rst | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-)

[PATCH 11/14] media: dmx-get-pes-pids.rst: document the ioctl

2017-09-01 Thread Mauro Carvalho Chehab
This ioctl is supported by the DVB core, but was never documented. Add a documentation for it. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/dmx-get-pes-pids.rst | 22 -- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git

[PATCH 13/14] media: intro.rst: don't assume audio and video codecs to be MPEG2

2017-09-01 Thread Mauro Carvalho Chehab
Originally, when DVB was introduced, all codecs would be part of MPEG2 standard. That's not true anymore, as there are a large number of codec standards used on digital TV nowadays. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/intro.rst | 9

[PATCH 13/14] media: intro.rst: don't assume audio and video codecs to be MPEG2

2017-09-01 Thread Mauro Carvalho Chehab
Originally, when DVB was introduced, all codecs would be part of MPEG2 standard. That's not true anymore, as there are a large number of codec standards used on digital TV nowadays. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/intro.rst | 9 - 1 file changed, 4

[PATCH 05/14] media: ca-fopen.rst: Fixes the device node name for CA

2017-09-01 Thread Mauro Carvalho Chehab
The device node name for CA is wrong since ever. I suspect that the name there was before DVBv3 (with was the first API introduced at the Kernel). Anyway, use the right name there. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/ca-fopen.rst | 4

[PATCH 05/14] media: ca-fopen.rst: Fixes the device node name for CA

2017-09-01 Thread Mauro Carvalho Chehab
The device node name for CA is wrong since ever. I suspect that the name there was before DVBv3 (with was the first API introduced at the Kernel). Anyway, use the right name there. Signed-off-by: Mauro Carvalho Chehab --- Documentation/media/uapi/dvb/ca-fopen.rst | 4 ++-- 1 file changed, 2

[PATCH 06/14] media: dvb uAPI docs: Prefer use "Digital TV instead of "DVB"

2017-09-01 Thread Mauro Carvalho Chehab
The usage of the term "DVB" at the dvb API docs is confusing, as, right now, it can refer to either the European digital TV standard or to the subsystem. So, prefer calling it as "Digital TV" on most places, to avoid ambiguity. Signed-off-by: Mauro Carvalho Chehab ---

[PATCH 06/14] media: dvb uAPI docs: Prefer use "Digital TV instead of "DVB"

2017-09-01 Thread Mauro Carvalho Chehab
The usage of the term "DVB" at the dvb API docs is confusing, as, right now, it can refer to either the European digital TV standard or to the subsystem. So, prefer calling it as "Digital TV" on most places, to avoid ambiguity. Signed-off-by: Mauro Carvalho Chehab ---

[PATCH 04/14] media: dvb uAPI docs: adjust return value ioctl descriptions

2017-09-01 Thread Mauro Carvalho Chehab
There are several issues on the return value for ioctls: - Text is confusing; - Some error codes don't exist; - The non-generic error codes should come before the text that points to the generic error codes; - Tables don't contain column size hints; - Some references are not marked as such.

[PATCH 04/14] media: dvb uAPI docs: adjust return value ioctl descriptions

2017-09-01 Thread Mauro Carvalho Chehab
There are several issues on the return value for ioctls: - Text is confusing; - Some error codes don't exist; - The non-generic error codes should come before the text that points to the generic error codes; - Tables don't contain column size hints; - Some references are not marked as such.

Re: tip -ENOBOOT - bisected to locking/refcounts, x86/asm: Implement fast refcount overflow protection

2017-09-01 Thread Kees Cook
On Fri, Sep 1, 2017 at 11:58 AM, Kees Cook wrote: > On Fri, Sep 1, 2017 at 10:52 AM, Mike Galbraith wrote: >> On Fri, 2017-09-01 at 10:12 -0700, Kees Cook wrote: >>> On Fri, Sep 1, 2017 at 6:09 AM, Mike Galbraith wrote: >>> > On Fri,

Re: tip -ENOBOOT - bisected to locking/refcounts, x86/asm: Implement fast refcount overflow protection

2017-09-01 Thread Kees Cook
On Fri, Sep 1, 2017 at 11:58 AM, Kees Cook wrote: > On Fri, Sep 1, 2017 at 10:52 AM, Mike Galbraith wrote: >> On Fri, 2017-09-01 at 10:12 -0700, Kees Cook wrote: >>> On Fri, Sep 1, 2017 at 6:09 AM, Mike Galbraith wrote: >>> > On Fri, 2017-09-01 at 08:57 +0200, Mike Galbraith wrote: >>> >> On

[PATCH 10/14] media: dvb uAPI docs: minor editorial changes

2017-09-01 Thread Mauro Carvalho Chehab
Do minor editorial changes to improve documentation readability: - mark literals as such; - add table markups to hint sizes; - define what PES means; - instead of hardcoding devnode numbers to zero (like adapter0/) use a question mark, to indicate that multiple devnodes may exist; - add

[PATCH 10/14] media: dvb uAPI docs: minor editorial changes

2017-09-01 Thread Mauro Carvalho Chehab
Do minor editorial changes to improve documentation readability: - mark literals as such; - add table markups to hint sizes; - define what PES means; - instead of hardcoding devnode numbers to zero (like adapter0/) use a question mark, to indicate that multiple devnodes may exist; - add

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