[PATCH 08/13] sh: sh4a: convert to SPDX identifiers

2018-12-05 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch updates license to use SPDX-License-Identifier instead of verbose license text. Signed-off-by: Kuninori Morimoto Reviewed-by: Simon Horman --- arch/sh/kernel/cpu/sh4a/clock-sh7343.c | 14 +- arch/sh/kernel/cpu/sh4a/clock-sh7366.c | 14

[PATCH] arm64: dts: sdm845: Add lpasscc node

2018-12-05 Thread Taniya Das
This adds the low pass audio clock controller node to sdm845 based on the example in the bindings. Signed-off-by: Taniya Das --- arch/arm64/boot/dts/qcom/sdm845-mtp.dts | 4 +++- arch/arm64/boot/dts/qcom/sdm845.dtsi| 8 2 files changed, 11 insertions(+), 1 deletion(-) diff --git

[PATCH 06/13] sh: sh3: convert to SPDX identifiers

2018-12-05 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch updates license to use SPDX-License-Identifier instead of verbose license text. Signed-off-by: Kuninori Morimoto Reviewed-by: Simon Horman --- arch/sh/kernel/cpu/sh3/clock-sh3.c | 5 + arch/sh/kernel/cpu/sh3/clock-sh7705.c | 5 +

[PATCH 07/13] sh: sh4: convert to SPDX identifiers

2018-12-05 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch updates license to use SPDX-License-Identifier instead of verbose license text, excepting ${LINUX}/arch/sh/kernel/cpu/sh4/softfloat.c which is not GPL license Signed-off-by: Kuninori Morimoto Reviewed-by: Simon Horman ---

[PATCH 09/13] sh: sh5: convert to SPDX identifiers

2018-12-05 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch updates license to use SPDX-License-Identifier instead of verbose license text. Signed-off-by: Kuninori Morimoto Reviewed-by: Simon Horman --- arch/sh/kernel/cpu/sh5/clock-sh5.c | 5 + arch/sh/kernel/cpu/sh5/entry.S | 7 ++-

Re: [PATCH v3 2/8] mfd / platform: cros_ec: move lightbar attributes to its own driver.

2018-12-05 Thread Lee Jones
On Tue, 04 Dec 2018, Guenter Roeck wrote: > On Tue, Dec 4, 2018 at 3:52 AM Enric Balletbo i Serra > wrote: > > On 4/12/18 10:21, Lee Jones wrote: > > > On Mon, 03 Dec 2018, Enric Balletbo i Serra wrote: > > >> On 3/12/18 11:36, Lee Jones wrote: > > >>> On Tue, 27 Nov 2018, Enric Balletbo i Serra

Re: [PATCH 2/2] ARM: Wrap '--pic-veneer' with ld-option

2018-12-05 Thread Ard Biesheuvel
(+ Arnd) On Wed, 5 Dec 2018 at 09:06, Nathan Chancellor wrote: > > On Wed, Dec 05, 2018 at 08:37:05AM +0100, Ard Biesheuvel wrote: > > On Wed, 5 Dec 2018 at 02:42, Nathan Chancellor > > wrote: > > > > > > This flag is not supported by lld: > > > > > > ld.lld: error: unknown argument:

Re: [PATCH 1/2] staging: greybus: Align function call parameters to parenthesis

2018-12-05 Thread Greg Kroah-Hartman
On Tue, Dec 04, 2018 at 09:58:14PM +0100, Cristian Sicilia wrote: > Aligned some parameters to the previous parenthesis. > > Signed-off-by: Cristian Sicilia > --- > drivers/staging/greybus/loopback.c | 10 ++ > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git

Re: [PATCH linux-next v3 7/7] clk: renesas: Add binding document for ADG

2018-12-05 Thread Kuninori Morimoto
Hi Jiada > Add device tree bindings for Audio Clock Generator (ADG) > of R-Car Socs. > > Signed-off-by: Jiada Wang > --- > .../clock/renesas,rcar-adg-clocks.txt | 24 +++ > 1 file changed, 24 insertions(+) > create mode 100644 >

Re: [PATCH 1/3] mfd: cros_ec: Add commands to control codec

2018-12-05 Thread Cheng-yi Chiang
Hi Lee, I tried to apply this patch based on for-mfd-next branch of mfd tree ( git://git.kernel.org/pub/scm/linux/kernel/git/lee/mfd.git ) Then, I tried to compile all modules by ARCH=x86_64 make allyesconfig ARCH=x86_64 make -j64 There was no error. Could you please let me know what was the

Re: [PATCH 4.14 000/146] 4.14.86-stable review

2018-12-05 Thread Jon Hunter
On 04/12/2018 10:48, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.86 release. > There are 146 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 4.9 00/50] 4.9.143-stable review

2018-12-05 Thread Jon Hunter
On 04/12/2018 10:49, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.143 release. > There are 50 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

[PATCH AUTOSEL 4.14 06/69] ARM: OMAP1: ams-delta: Fix possible use of uninitialized field

2018-12-05 Thread Sasha Levin
From: Janusz Krzysztofik [ Upstream commit cec83ff1241ec98113a19385ea9e9cfa9aa4125b ] While playing with initialization order of modem device, it has been discovered that under some circumstances (early console init, I believe) its .pm() callback may be called before the uart_port->private_data

[PATCH AUTOSEL 4.14 01/69] ARM: OMAP2+: prm44xx: Fix section annotation on omap44xx_prm_enable_io_wakeup

2018-12-05 Thread Sasha Levin
From: Nathan Chancellor [ Upstream commit eef3dc34a1e0b01d53328b88c25237bcc7323777 ] When building the kernel with Clang, the following section mismatch warning appears: WARNING: vmlinux.o(.text+0x38b3c): Section mismatch in reference from the function omap44xx_prm_late_init() to the function

[PATCH AUTOSEL 4.19 113/123] test_hexdump: use memcpy instead of strncpy

2018-12-05 Thread Sasha Levin
From: Linus Torvalds [ Upstream commit b1286ed7158e9b62787508066283ab0b8850b518 ] New versions of gcc reasonably warn about the odd pattern of strncpy(p, q, strlen(q)); which really doesn't make sense: the strncpy() ends up being just a slow and odd way to write memcpy() in this case.

[PATCH AUTOSEL 4.14 07/69] sysv: return 'err' instead of 0 in __sysv_write_inode

2018-12-05 Thread Sasha Levin
From: YueHaibing [ Upstream commit c4b7d1ba7d263b74bb72e9325262a67139605cde ] Fixes gcc '-Wunused-but-set-variable' warning: fs/sysv/inode.c: In function '__sysv_write_inode': fs/sysv/inode.c:239:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] __sysv_write_inode

Re: [PATCH] mm/alloc: fallback to first node if the wanted node offline

2018-12-05 Thread Michal Hocko
On Wed 05-12-18 17:29:31, Pingfan Liu wrote: > On Wed, Dec 5, 2018 at 5:21 PM Michal Hocko wrote: > > > > On Wed 05-12-18 13:38:17, Pingfan Liu wrote: > > > On Tue, Dec 4, 2018 at 4:56 PM Michal Hocko wrote: > > > > > > > > On Tue 04-12-18 16:20:32, Pingfan Liu wrote: > > > > > On Tue, Dec 4,

[PATCH AUTOSEL 4.14 02/69] ASoC: rsnd: fixup clock start checker

2018-12-05 Thread Sasha Levin
From: Kuninori Morimoto [ Upstream commit 3ee9a76a8c5a10e1bfb04b81db767c6d562ddaf3 ] commit 4d230d12710646 ("ASoC: rsnd: fixup not to call clk_get/set under non-atomic") fixuped clock start timing. But it exchanged clock start checker from ssi->usrcnt to ssi->rate. Current

[PATCH AUTOSEL 4.19 123/123] ocfs2: fix potential use after free

2018-12-05 Thread Sasha Levin
From: Pan Bian [ Upstream commit 164f7e586739d07eb56af6f6d66acebb11f315c8 ] ocfs2_get_dentry() calls iput(inode) to drop the reference count of inode, and if the reference count hits 0, inode is freed. However, in this function, it then reads inode->i_generation, which may result in a use

[PATCH AUTOSEL 4.19 122/123] initramfs: clean old path before creating a hardlink

2018-12-05 Thread Sasha Levin
From: Li Zhijian [ Upstream commit 7c0950d455d6ab610d2990a13120f935b75abf2c ] sys_link() can fail due to the new path already existing. This case ofen occurs when we use a concated initrd, for example: 1) prepare a basic rootfs, it contains a regular files rc.local

[PATCH AUTOSEL 4.14 04/69] staging: rtl8723bs: Fix the return value in case of error in 'rtw_wx_read32()'

2018-12-05 Thread Sasha Levin
From: Christophe JAILLET [ Upstream commit c3e43d8b958bd6849817393483e805d8638a8ab7 ] We return 0 unconditionally in 'rtw_wx_read32()'. However, 'ret' is set to some error codes in several error handling paths. Return 'ret' instead to propagate the error code. Fixes: 554c0a3abf216 ("staging:

[PATCH AUTOSEL 3.18 04/26] s390/cpum_cf: Reject request for sampling in event initialization

2018-12-05 Thread Sasha Levin
From: Thomas Richter [ Upstream commit 613a41b0d16e617f46776a93b975a1eeea96417c ] On s390 command perf top fails [root@s35lp76 perf] # ./perf top -F10 --stdio Error: cycles: PMU Hardware doesn't support sampling/overflow-interrupts. Try 'perf stat' [root@s35lp76 perf] #

[PATCH AUTOSEL 4.4 06/33] ASoC: dapm: Recalculate audio map forcely when card instantiated

2018-12-05 Thread Sasha Levin
From: Tzung-Bi Shih [ Upstream commit 882eab6c28d23a970ae73b7eb831b169a672d456 ] Audio map are possible in wrong state before card->instantiated has been set to true. Imaging the following examples: time 1: at the beginning in:-1in:-1in:-1in:-1 out:-1 out:-1 out:-1

Re: [PATCH 1/3] tty/serial: Add RISC-V SBI earlycon support

2018-12-05 Thread Greg Kroah-Hartman
On Tue, Dec 04, 2018 at 07:25:05PM +0530, Anup Patel wrote: > In RISC-V, the M-mode runtime firmware provide SBI calls for > debug prints. This patch adds earlycon support using RISC-V > SBI console calls. To enable it, just pass "earlycon=sbi" in > kernel parameters. > > Signed-off-by: Anup

[PATCH AUTOSEL 4.4 10/33] ASoC: omap-mcpdm: Add pm_qos handling to avoid under/overruns with CPU_IDLE

2018-12-05 Thread Sasha Levin
From: Peter Ujfalusi [ Upstream commit 373a500e34aea97971c9d71e45edad458d3da98f ] We need to block sleep states which would require longer time to leave than the time the DMA must react to the DMA request in order to keep the FIFO serviced without under of overrun. Signed-off-by: Peter

[PATCH AUTOSEL 4.4 11/33] ASoC: omap-dmic: Add pm_qos handling to avoid overruns with CPU_IDLE

2018-12-05 Thread Sasha Levin
From: Peter Ujfalusi [ Upstream commit ffdcc3638c58d55a6fa68b6e5dfd4fb4109652eb ] We need to block sleep states which would require longer time to leave than the time the DMA must react to the DMA request in order to keep the FIFO serviced without overrun. Signed-off-by: Peter Ujfalusi

[PATCH AUTOSEL 4.4 05/33] hwmon: (ina2xx) Fix current value calculation

2018-12-05 Thread Sasha Levin
From: Nicolin Chen [ Upstream commit 38cd989ee38c16388cde89db5b734f9d55b905f9 ] The current register (04h) has a sign bit at MSB. The comments for this calculation also mention that it's a signed register. However, the regval is unsigned type so result of calculation turns out to be an

[PATCH AUTOSEL 4.19 015/123] arm64: dts: sdm845-mtp: Reserve reserved gpios

2018-12-05 Thread Sasha Levin
From: Bjorn Andersson [ Upstream commit 5f8d3ab136d0ccb59c4d628d8f85e0d8f2761d07 ] With the introduction of commit 3edfb7bd76bd ("gpiolib: Show correct direction from the beginning") the gpiolib will attempt to read the direction of all pins, which triggers a read from protected register

[PATCH AUTOSEL 4.19 019/123] netfilter: nf_conncount: fix unexpected permanent node of list.

2018-12-05 Thread Sasha Levin
From: Taehee Yoo [ Upstream commit 3c5cdb17c3be76714dfd0d03e384f70579545614 ] When list->count is 0, the list is deleted by GC. But list->count is never reached 0 because initial count value is 1 and it is increased when node is inserted. So that initial value of list->count should be 0.

[PATCH AUTOSEL 4.19 026/123] s390/cio: Fix cleanup when unsupported IDA format is used

2018-12-05 Thread Sasha Levin
From: Eric Farman [ Upstream commit b89e242eee8d4cd8261d8d821c62c5d1efc454d0 ] Direct returns from within a loop are rude, but it doesn't mean it gets to avoid releasing the memory acquired beforehand. Signed-off-by: Eric Farman Message-Id: <20181109023937.96105-3-far...@linux.ibm.com>

Re: [PATCH 2/2] staging: greybus: Added space between string concatenated

2018-12-05 Thread Bryan O'Donoghue
On 04/12/2018 20:58, Cristian Sicilia wrote: Some concatenated strings are now spaced. Signed-off-by: Cristian Sicilia --- drivers/staging/greybus/loopback.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/staging/greybus/loopback.c

[PATCH AUTOSEL 4.19 011/123] ARM: dts: am3517-som: Fix WL127x Wifi interrupt

2018-12-05 Thread Sasha Levin
From: Adam Ford [ Upstream commit 419b194cdedc76d0d3cd5b0900db0fa8177c4a52 ] At the same time the AM3517 EVM was gaining WiFi support, separate patches were introduced to move the interrupt from HIGH to RISING. Because they overlapped, this was not done to the AM3517-EVM. This patch fixes

[PATCH AUTOSEL 4.19 025/123] s390/cio: Fix cleanup of pfn_array alloc failure

2018-12-05 Thread Sasha Levin
From: Eric Farman [ Upstream commit 806212f91c874b24cf9eb4a9f180323671b6c5ed ] If pfn_array_alloc fails somehow, we need to release the pfn_array_table that was malloc'd earlier. Signed-off-by: Eric Farman Message-Id: <20181109023937.96105-2-far...@linux.ibm.com> Acked-by: Halil Pasic

Re: [LKP] [mm] ac5b2c1891: vm-scalability.throughput -61.3% regression

2018-12-05 Thread Michal Hocko
On Tue 04-12-18 16:07:27, David Rientjes wrote: > On Tue, 4 Dec 2018, Michal Hocko wrote: > > > The thing I am really up to here is that reintroduction of > > __GFP_THISNODE, which you are pushing for, will conflate madvise mode > > resp. defrag=always with a numa placement policy because the

Re: [PATCH] binder: fix sparse warnings on locking context

2018-12-05 Thread Greg KH
On Mon, Dec 03, 2018 at 12:24:54PM -0800, Todd Kjos wrote: > Add __acquire()/__release() annnotations to fix warnings > in sparse context checking > > There is one case where the warning was due to a lack of > a "default:" case in a switch statement where a lock was > being released in each of

Re: [PATCH v3 5/5] clk: samsung: exynos5433: add imem clocks

2018-12-05 Thread Sylwester Nawrocki
On 12/4/18 19:40, Stephen Boyd wrote: > Quoting Kamil Konieczny (2018-12-04 08:52:48) >> + >> +static const unsigned long imem_clk_regs[] __initconst = { >> + ENABLE_ACLK_IMEM, >> + ENABLE_ACLK_IMEM_INT_MEM, >> + ENABLE_ACLK_IMEM_SSS, >> + ENABLE_ACLK_IMEM_SLIMSSS, >> +

Re: [PATCH] binder: fix use-after-free due to fdget() optimization

2018-12-05 Thread Greg KH
On Mon, Dec 03, 2018 at 12:24:57PM -0800, Todd Kjos wrote: > 44d8047f1d87a ("binder: use standard functions to allocate fds") > exposed a pre-existing issue in the binder driver. > > fdget() is used in ksys_ioctl() as a performance optimization. > One of the rules associated with fdget() is that

Re: [PATCH] binder: fix kerneldoc header for struct binder_buffer

2018-12-05 Thread Greg KH
On Mon, Dec 03, 2018 at 12:24:55PM -0800, Todd Kjos wrote: > Fix the incomplete kerneldoc header for struct binder_buffer. > > Change-Id: If3ca10cf6d90f605a0c078e4cdce28f02a475877 No need for this here :)

[PATCH 01/13] sh: boards: convert to SPDX identifiers

2018-12-05 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch updates license to use SPDX-License-Identifier instead of verbose license text. Signed-off-by: Kuninori Morimoto Reviewed-by: Simon Horman --- arch/sh/boards/board-apsh4a3a.c | 5 + arch/sh/boards/board-apsh4ad0a.c| 5

[PATCH 03/13] sh: include: convert to SPDX identifiers

2018-12-05 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch updates license to use SPDX-License-Identifier instead of verbose license text. Signed-off-by: Kuninori Morimoto Reviewed-by: Simon Horman --- arch/sh/include/asm/Kbuild | 1 + arch/sh/include/asm/addrspace.h

[PATCH 04/13] sh: sh2: convert to SPDX identifiers

2018-12-05 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch updates license to use SPDX-License-Identifier instead of verbose license text. Signed-off-by: Kuninori Morimoto Reviewed-by: Simon Horman --- arch/sh/kernel/cpu/sh2/Makefile | 1 + arch/sh/kernel/cpu/sh2/clock-sh7619.c | 5 +

[PATCH 05/13] sh: sh2a: convert to SPDX identifiers

2018-12-05 Thread Kuninori Morimoto
From: Kuninori Morimoto This patch updates license to use SPDX-License-Identifier instead of verbose license text. Signed-off-by: Kuninori Morimoto Reviewed-by: Simon Horman --- arch/sh/kernel/cpu/sh2a/clock-sh7201.c | 5 + arch/sh/kernel/cpu/sh2a/clock-sh7203.c | 5 +

[PATCH v2 4/4] arm: dts: mt2701: add uart APDMA to device tree

2018-12-05 Thread Long Cheng
1. add uart APDMA controller device node 2. add uart 0/1/2/3/4/5 DMA function Signed-off-by: Long Cheng --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 50 + 1 file changed, 50 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi

Re: [PATCH v1 10/12] hikey960: Support usb functionality of Hikey960

2018-12-05 Thread Andy Shevchenko
On Wed, Dec 5, 2018 at 3:57 AM Chen Yu wrote: > On 2018/12/5 1:47, Andy Shevchenko wrote: > > On Tue, Dec 4, 2018 at 3:40 AM Chen Yu wrote: > >> On 2018/12/3 17:23, Andy Shevchenko wrote: > >>> On Mon, Dec 3, 2018 at 5:47 AM Yu Chen wrote: > > > + .of_match_table =

[PATCH v2 0/4] add uart DMA function

2018-12-05 Thread Long Cheng
In Mediatek SOCs, the uart can support DMA function. Base on DMA engine formwork, we add the DMA code to support uart. And put the code under drivers/dma. This series contains document bindings, Kconfig to control the function enable or not, device tree including interrupt and dma device node,

Re: [PATCH 1/2] staging: emxx_udc: Align parameter with parenthesis

2018-12-05 Thread Greg Kroah-Hartman
On Tue, Nov 27, 2018 at 09:57:16PM +0100, Cristian Sicilia wrote: > Align parameters with parenthesis and removed > open parenthesis at the end of line. > > > Signed-off-by: Cristian Sicilia > --- > drivers/staging/emxx_udc/emxx_udc.c | 270 > ++-- > 1 file

[PATCH v2 1/4] dt-bindings: dma: uart: add uart dma bindings

2018-12-05 Thread Long Cheng
add uart dma bindings Signed-off-by: Long Cheng Reviewed-by: Rob Herring --- .../devicetree/bindings/dma/8250_mtk_dma.txt | 33 1 file changed, 33 insertions(+) create mode 100644 Documentation/devicetree/bindings/dma/8250_mtk_dma.txt diff --git

Re: [PATCH 1/3] mm/memcg: Fix min/low usage in propagate_protected_usage()

2018-12-05 Thread Xunlei Pang
Hi Roman, On 2018/12/4 AM 2:00, Roman Gushchin wrote: > On Mon, Dec 03, 2018 at 04:01:17PM +0800, Xunlei Pang wrote: >> When usage exceeds min, min usage should be min other than 0. >> Apply the same for low. >> >> Signed-off-by: Xunlei Pang >> --- >> mm/page_counter.c | 12 ++-- >> 1

Re: [LKP] [mm] ac5b2c1891: vm-scalability.throughput -61.3% regression

2018-12-05 Thread Michal Hocko
On Tue 04-12-18 16:47:23, David Rientjes wrote: > On Tue, 4 Dec 2018, Mel Gorman wrote: > > > What should also be kept in mind is that we should avoid conflating > > locality preferences with THP preferences which is separate from THP > > allocation latencies. The whole __GFP_THISNODE approach is

[PATCH 3/3] ARM: dts: imx6qdl-sabresd: add accelerometer sensor support

2018-12-05 Thread Anson Huang
Add accelerometer sensor mma8451 support on i2c1 bus. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index

[PATCH 1/3] ARM: dts: imx6qdl-sabresd: add light sensor support

2018-12-05 Thread Anson Huang
Add isl29023 light sensor support on i2c3 bus, the light sensor's power is controlled by a fixed regulator, since the isl29023 driver and most of other sensors on same board like mag3110 and mma8451 do NOT support regulator operation currently, they are all controlled by this regulator, so this

[PATCH 2/3] ARM: dts: imx6qdl-sabresd: add magnetometer sensor support

2018-12-05 Thread Anson Huang
Add magnetometer sensor mag3110 support on i2c3 bus. Signed-off-by: Anson Huang --- arch/arm/boot/dts/imx6qdl-sabresd.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm/boot/dts/imx6qdl-sabresd.dtsi b/arch/arm/boot/dts/imx6qdl-sabresd.dtsi index f96ae54..141550a

[PATCH AUTOSEL 4.19 008/123] ARM: dts: am3517: Fix pinmuxing for CD on MMC1

2018-12-05 Thread Sasha Levin
From: Adam Ford [ Upstream commit e7f4a972db4820c23ff9831a6a4f3f6d8cc5 ] The MMC1 is active low, not active high. For some reason, this worked with different combination of U-Boot and kernels, but it's supposed to be active low and is currently broken. Fixes: cfaa856a2510 ("ARM: dts:

[PATCH AUTOSEL 4.19 009/123] ARM: dts: LogicPD Torpedo: Fix mmc3_dat1 interrupt

2018-12-05 Thread Sasha Levin
From: Adam Ford [ Upstream commit 6809564d64ff1301d44c13334cc0e8369e825a20 ] When the Torpedo was first introduced back at Kernel 4.2, the interrupt extended flag has been set incorrectly. It was subsequently moved, so this patch corrects Kernel 4.18+ Fixes: a38867305203 ("ARM: dts: Move move

[PATCH AUTOSEL 4.19 007/123] staging: rtl8723bs: Fix the return value in case of error in 'rtw_wx_read32()'

2018-12-05 Thread Sasha Levin
From: Christophe JAILLET [ Upstream commit c3e43d8b958bd6849817393483e805d8638a8ab7 ] We return 0 unconditionally in 'rtw_wx_read32()'. However, 'ret' is set to some error codes in several error handling paths. Return 'ret' instead to propagate the error code. Fixes: 554c0a3abf216 ("staging:

[PATCH AUTOSEL 4.19 016/123] sysv: return 'err' instead of 0 in __sysv_write_inode

2018-12-05 Thread Sasha Levin
From: YueHaibing [ Upstream commit c4b7d1ba7d263b74bb72e9325262a67139605cde ] Fixes gcc '-Wunused-but-set-variable' warning: fs/sysv/inode.c: In function '__sysv_write_inode': fs/sysv/inode.c:239:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] __sysv_write_inode

[PATCH AUTOSEL 4.19 017/123] netfilter: nf_conncount: use spin_lock_bh instead of spin_lock

2018-12-05 Thread Sasha Levin
From: Taehee Yoo [ Upstream commit fd3e71a9f71e232181a225301a75936373636ccc ] conn_free() holds lock with spin_lock() and it is called by both nf_conncount_lookup() and nf_conncount_gc_list(). nf_conncount_lookup() is called from bottom-half context and nf_conncount_gc_list() from process

[PATCH AUTOSEL 4.19 014/123] ASoC: sun8i-codec: fix crash on module removal

2018-12-05 Thread Sasha Levin
From: Vasily Khoruzhick [ Upstream commit 278df5e5527b633f4882f1680ad58b62a7c07bfe ] drvdata is actually sun8i_codec, not snd_soc_card, so it crashes when calling snd_soc_card_get_drvdata(). Drop card and scodec vars anyway since we don't need to disable/unprepare clocks - it's already done by

[PATCH AUTOSEL 4.19 004/123] iio:st_magn: Fix enable device after trigger

2018-12-05 Thread Sasha Levin
From: Martin Kelly [ Upstream commit fe5192ac81ad0d4dfe1395d11f393f0513c15f7f ] Currently, we enable the device before we enable the device trigger. At high frequencies, this can cause interrupts that don't yet have a poll function associated with them and are thus treated as spurious. At high

[PATCH AUTOSEL 4.19 001/123] ARM: OMAP2+: prm44xx: Fix section annotation on omap44xx_prm_enable_io_wakeup

2018-12-05 Thread Sasha Levin
From: Nathan Chancellor [ Upstream commit eef3dc34a1e0b01d53328b88c25237bcc7323777 ] When building the kernel with Clang, the following section mismatch warning appears: WARNING: vmlinux.o(.text+0x38b3c): Section mismatch in reference from the function omap44xx_prm_late_init() to the function

[PATCH AUTOSEL 4.19 010/123] ARM: dts: logicpd-somlv: Fix interrupt on mmc3_dat1

2018-12-05 Thread Sasha Levin
From: Adam Ford [ Upstream commit 3d8b804bc528d3720ec0c39c212af92dafaf6e84 ] The interrupt on mmc3_dat1 is wrong which prevents this from appearing in /proc/interrupts. Fixes: ab8dd3aed011 ("ARM: DTS: Add minimal Support for Logic PD DM3730 SOM-LV") #Kernel 4.9+ Signed-off-by: Adam Ford

[PATCH AUTOSEL 4.19 002/123] spi: uniphier: fix incorrect property items

2018-12-05 Thread Sasha Levin
From: Keiji Hayashibara [ Upstream commit 3511ba7d4ca6f39e2d060bb94e42a41ad1fee7bf ] This commit fixes incorrect property because it was different from the actual. The parameters of '#address-cells' and '#size-cells' were removed, and 'interrupts', 'pinctrl-names' and 'pinctrl-0' were added.

[PATCH AUTOSEL 4.9 01/45] ARM: OMAP2+: prm44xx: Fix section annotation on omap44xx_prm_enable_io_wakeup

2018-12-05 Thread Sasha Levin
From: Nathan Chancellor [ Upstream commit eef3dc34a1e0b01d53328b88c25237bcc7323777 ] When building the kernel with Clang, the following section mismatch warning appears: WARNING: vmlinux.o(.text+0x38b3c): Section mismatch in reference from the function omap44xx_prm_late_init() to the function

Re: [PATCH v2 00/15] Cedrus H5 and A64 support with A33 and H3 updates

2018-12-05 Thread Chen-Yu Tsai
On Wed, Dec 5, 2018 at 5:25 PM Paul Kocialkowski wrote: > > This series adds support for the Allwinner H5 and A64 platforms to the > cedrus stateless video codec driver, with minor updates to the A33 and > H3 platforms. > > It requires changes to the SRAM driver bindings and driver, to properly >

[PATCH AUTOSEL 4.9 02/45] iio:st_magn: Fix enable device after trigger

2018-12-05 Thread Sasha Levin
From: Martin Kelly [ Upstream commit fe5192ac81ad0d4dfe1395d11f393f0513c15f7f ] Currently, we enable the device before we enable the device trigger. At high frequencies, this can cause interrupts that don't yet have a poll function associated with them and are thus treated as spurious. At high

[PATCH AUTOSEL 4.9 06/45] selftests: add script to stress-test nft packet path vs. control plane

2018-12-05 Thread Sasha Levin
From: Florian Westphal [ Upstream commit 25d8bcedbf4329895dbaf9dd67baa6f18dad918c ] Start flood ping for each cpu while loading/flushing rulesets to make sure we do not access already-free'd rules from nf_tables evaluation loop. Also add this to TARGETS so 'make run_tests' in selftest dir runs

[PATCH AUTOSEL 4.9 19/45] exportfs: do not read dentry after free

2018-12-05 Thread Sasha Levin
From: Pan Bian [ Upstream commit 2084ac6c505a58f7efdec13eba633c6aaa085ca5 ] The function dentry_connected calls dput(dentry) to drop the previously acquired reference to dentry. In this case, dentry can be released. After that, IS_ROOT(dentry) checks the condition (dentry == dentry->d_parent),

[PATCH AUTOSEL 4.9 15/45] RDMA/mlx5: Fix fence type for IB_WR_LOCAL_INV WR

2018-12-05 Thread Sasha Levin
From: Majd Dibbiny [ Upstream commit 074fca3a18e7e1e0d4d7dcc9d7badc43b90232f4 ] Currently, for IB_WR_LOCAL_INV WR, when the next fence is None, the current fence will be SMALL instead of Normal Fence. Without this patch krping doesn't work on CX-5 devices and throws following error: The error

[PATCH AUTOSEL 4.9 16/45] uprobes: Fix handle_swbp() vs. unregister() + register() race once more

2018-12-05 Thread Sasha Levin
From: Andrea Parri [ Upstream commit 09d3f015d1e1b4fee7e9bbdcf54201d239393391 ] Commit: 142b18ddc8143 ("uprobes: Fix handle_swbp() vs unregister() + register() race") added the UPROBE_COPY_INSN flag, and corresponding smp_wmb() and smp_rmb() memory barriers, to ensure that handle_swbp()

[PATCH AUTOSEL 4.9 18/45] ASoC: omap-dmic: Add pm_qos handling to avoid overruns with CPU_IDLE

2018-12-05 Thread Sasha Levin
From: Peter Ujfalusi [ Upstream commit ffdcc3638c58d55a6fa68b6e5dfd4fb4109652eb ] We need to block sleep states which would require longer time to leave than the time the DMA must react to the DMA request in order to keep the FIFO serviced without overrun. Signed-off-by: Peter Ujfalusi

[PATCH AUTOSEL 4.9 17/45] ASoC: omap-mcpdm: Add pm_qos handling to avoid under/overruns with CPU_IDLE

2018-12-05 Thread Sasha Levin
From: Peter Ujfalusi [ Upstream commit 373a500e34aea97971c9d71e45edad458d3da98f ] We need to block sleep states which would require longer time to leave than the time the DMA must react to the DMA request in order to keep the FIFO serviced without under of overrun. Signed-off-by: Peter

[PATCH AUTOSEL 4.9 05/45] sysv: return 'err' instead of 0 in __sysv_write_inode

2018-12-05 Thread Sasha Levin
From: YueHaibing [ Upstream commit c4b7d1ba7d263b74bb72e9325262a67139605cde ] Fixes gcc '-Wunused-but-set-variable' warning: fs/sysv/inode.c: In function '__sysv_write_inode': fs/sysv/inode.c:239:6: warning: variable 'err' set but not used [-Wunused-but-set-variable] __sysv_write_inode

[PATCH AUTOSEL 4.9 04/45] ARM: OMAP1: ams-delta: Fix possible use of uninitialized field

2018-12-05 Thread Sasha Levin
From: Janusz Krzysztofik [ Upstream commit cec83ff1241ec98113a19385ea9e9cfa9aa4125b ] While playing with initialization order of modem device, it has been discovered that under some circumstances (early console init, I believe) its .pm() callback may be called before the uart_port->private_data

Re: [PATCH RFC 12/15] inotify: replace **** with a hug

2018-12-05 Thread Jan Kara
On Sat 01-12-18 08:40:25, Amir Goldstein wrote: > On Fri, Nov 30, 2018 at 9:27 PM Jarkko Sakkinen > wrote: > > > > In order to comply with the CoC, replace with a hug. > > > > Signed-off-by: Jarkko Sakkinen > > --- > > fs/notify/inotify/inotify_user.c | 2 +- > > 1 file changed, 1

[PATCH AUTOSEL 3.18 20/26] fscache, cachefiles: remove redundant variable 'cache'

2018-12-05 Thread Sasha Levin
From: Colin Ian King [ Upstream commit 31ffa563833576bd49a8bf53120568312755e6e2 ] Variable 'cache' is being assigned but is never used hence it is redundant and can be removed. Cleans up clang warning: warning: variable 'cache' set but not used [-Wunused-but-set-variable] Signed-off-by: Colin

[PATCH AUTOSEL 3.18 25/26] debugobjects: avoid recursive calls with kmemleak

2018-12-05 Thread Sasha Levin
From: Qian Cai [ Upstream commit 8de456cf87ba863e028c4dd01bae44255ce3d835 ] CONFIG_DEBUG_OBJECTS_RCU_HEAD does not play well with kmemleak due to recursive calls. fill_pool kmemleak_ignore make_black_object put_object __call_rcu (kernel/rcu/tree.c)

[PATCH AUTOSEL 3.18 24/26] hfsplus: do not free node before using

2018-12-05 Thread Sasha Levin
From: Pan Bian [ Upstream commit c7d7d620dcbd2a1c595092280ca943f2fced7bbd ] hfs_bmap_free() frees node via hfs_bnode_put(node). However it then reads node->this when dumping error message on an error path, which may result in a use-after-free bug. This patch frees node only when it is never

[PATCH AUTOSEL 3.18 26/26] ocfs2: fix potential use after free

2018-12-05 Thread Sasha Levin
From: Pan Bian [ Upstream commit 164f7e586739d07eb56af6f6d66acebb11f315c8 ] ocfs2_get_dentry() calls iput(inode) to drop the reference count of inode, and if the reference count hits 0, inode is freed. However, in this function, it then reads inode->i_generation, which may result in a use

[PATCH AUTOSEL 4.14 21/69] objtool: Fix double-free in .cold detection error path

2018-12-05 Thread Sasha Levin
From: Artem Savkov [ Upstream commit 0b9301fb632f7111a3293a30cc5b20f1b82ed08d ] If read_symbols() fails during second list traversal (the one dealing with ".cold" subfunctions) it frees the symbol, but never deletes it from the list/hash_table resulting in symbol being freed again in

[tip:timers/core] timekeeping: Use proper seqcount initializer

2018-12-05 Thread tip-bot for Bart Van Assche
Commit-ID: ce10a5b3954f2514af726beb78ed8d7350c5e41c Gitweb: https://git.kernel.org/tip/ce10a5b3954f2514af726beb78ed8d7350c5e41c Author: Bart Van Assche AuthorDate: Wed, 28 Nov 2018 15:43:09 -0800 Committer: Thomas Gleixner CommitDate: Wed, 5 Dec 2018 11:00:09 +0100 timekeeping: Use

[PATCH AUTOSEL 4.14 22/69] objtool: Fix segfault in .cold detection with -ffunction-sections

2018-12-05 Thread Sasha Levin
From: Artem Savkov [ Upstream commit 22566c1603030f0a036ad564634b064ad1a55db2 ] Because find_symbol_by_name() traverses the same lists as read_symbols(), changing sym->name in place without copying it affects the result of find_symbol_by_name(). In the case where a ".cold" function precedes

[PATCH AUTOSEL 4.14 03/69] iio:st_magn: Fix enable device after trigger

2018-12-05 Thread Sasha Levin
From: Martin Kelly [ Upstream commit fe5192ac81ad0d4dfe1395d11f393f0513c15f7f ] Currently, we enable the device before we enable the device trigger. At high frequencies, this can cause interrupts that don't yet have a poll function associated with them and are thus treated as spurious. At high

[PATCH AUTOSEL 4.19 111/123] nvme-rdma: fix double freeing of async event data

2018-12-05 Thread Sasha Levin
From: Prabhath Sajeepa [ Upstream commit 6344d02dc8f886b6bbcd922ae1a17e4a41500f2d ] Some error paths in configuration of admin queue free data buffer associated with async request SQE without resetting the data buffer pointer to NULL, This buffer is also freed up again if the controller is

[PATCH AUTOSEL 4.14 05/69] ARM: dts: logicpd-somlv: Fix interrupt on mmc3_dat1

2018-12-05 Thread Sasha Levin
From: Adam Ford [ Upstream commit 3d8b804bc528d3720ec0c39c212af92dafaf6e84 ] The interrupt on mmc3_dat1 is wrong which prevents this from appearing in /proc/interrupts. Fixes: ab8dd3aed011 ("ARM: DTS: Add minimal Support for Logic PD DM3730 SOM-LV") #Kernel 4.9+ Signed-off-by: Adam Ford

Re: [PATCH] platform/x86: convert to DEFINE_SHOW_ATTRIBUTE

2018-12-05 Thread Andy Shevchenko
On Wed, Dec 5, 2018 at 10:56 AM Rajneesh Bhardwaj wrote: > Hi Andy, i was thinking of having it split into two patches as it touches > two unrelated files. What is your opinion? If it is the case, I agree with you. Since patch didn't applied clearly I even had no chance to look at it closer. >

Re: use generic DMA mapping code in powerpc V4

2018-12-05 Thread Christian Zigotzky
On 04 December 2018 at 3:24PM, Christoph Hellwig wrote: On Tue, Dec 04, 2018 at 10:53:39AM +0100, Christian Zigotzky wrote: I don't know why this kernel doesn't recognize the hard disks connected to my physical P5020 board and why the onboard ethernet on my PASEMI board doesn't work.

[PATCH AUTOSEL 4.19 045/123] PCI: imx6: Fix link training status detection in link up check

2018-12-05 Thread Sasha Levin
From: Trent Piepho [ Upstream commit 68bc10bf992180f269816ff3d22eb30383138577 ] This bug was introduced in the interaction for two commits on either branch of the merge commit 562df5c8521e ("Merge branch 'pci/host-designware' into next"). Commit 4d107d3b5a68 ("PCI: imx6: Move link up check

[PATCH AUTOSEL 4.19 053/123] RDMA/mlx5: Fix fence type for IB_WR_LOCAL_INV WR

2018-12-05 Thread Sasha Levin
From: Majd Dibbiny [ Upstream commit 074fca3a18e7e1e0d4d7dcc9d7badc43b90232f4 ] Currently, for IB_WR_LOCAL_INV WR, when the next fence is None, the current fence will be SMALL instead of Normal Fence. Without this patch krping doesn't work on CX-5 devices and throws following error: The error

[PATCH AUTOSEL 4.19 041/123] aio: fix failure to put the file pointer

2018-12-05 Thread Sasha Levin
From: Jens Axboe [ Upstream commit 53fffe29a9e664a999dd3787e4428da8c30533e0 ] If the ioprio capability check fails, we return without putting the file pointer. Fixes: d9a08a9e616b ("fs: Add aio iopriority support") Signed-off-by: Jens Axboe Signed-off-by: Al Viro Signed-off-by: Sasha Levin

[PATCH AUTOSEL 4.19 044/123] perf tools: Restore proper cwd on return from mnt namespace

2018-12-05 Thread Sasha Levin
From: Jiri Olsa [ Upstream commit b01c1f69c8660eaeab7d365cd570103c5c073a02 ] When reporting on 'record' server we try to retrieve/use the mnt namespace of the profiled tasks. We use following API with cookie to hold the return namespace, roughly: nsinfo__mountns_enter(struct nsinfo *nsi,

[PATCH AUTOSEL 4.19 056/123] RDMA/bnxt_re: Avoid accessing the device structure after it is freed

2018-12-05 Thread Sasha Levin
From: Selvin Xavier [ Upstream commit a6c66d6a08b88cc10aca9d3f65cfae31e7652a99 ] When bnxt_re_ib_reg returns failure, the device structure gets freed. Driver tries to access the device pointer after it is freed. [ 4871.034744] Failed to register with netedev: 0xffa1 [ 4871.034765]

[PATCH AUTOSEL 4.19 033/123] s390/cpum_cf: Reject request for sampling in event initialization

2018-12-05 Thread Sasha Levin
From: Thomas Richter [ Upstream commit 613a41b0d16e617f46776a93b975a1eeea96417c ] On s390 command perf top fails [root@s35lp76 perf] # ./perf top -F10 --stdio Error: cycles: PMU Hardware doesn't support sampling/overflow-interrupts. Try 'perf stat' [root@s35lp76 perf] #

Re: [RFC PATCH 02/14] mm/hms: heterogenenous memory system (HMS) documentation

2018-12-05 Thread Mike Rapoport
On Mon, Dec 03, 2018 at 06:34:57PM -0500, jgli...@redhat.com wrote: > From: Jérôme Glisse > > Add documentation to what is HMS and what it is for (see patch content). > > Signed-off-by: Jérôme Glisse > Cc: Rafael J. Wysocki > Cc: Ross Zwisler > Cc: Dan Williams > Cc: Dave Hansen > Cc:

Re: [PATCH] Fonts: New Terminus large console font

2018-12-05 Thread Greg KH
On Mon, Nov 26, 2018 at 04:21:15AM -0500, Amanoel Dawod wrote: > This patch adds an option to compile-in a high resolution and large > Terminus (ter16x32) bitmap console font for use with HiDPI and Retina screens. > > The font was convereted from standard Terminus ter-i32b.psf (size 16x32) > with

drivers/mfd/madera-core.c:158:2-3: Unneeded semicolon

2018-12-05 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0072a0c14d5b7cb72c611d396f143f5dcd73ebe2 commit: b04e68d16605dcde1c21b5df5f86a5372e53ae97 mfd: madera: Don't use regmap_read_poll_timeout to poll for BOOT_DONE date: 6 weeks ago coccinelle warnings:

Re: [PATCH] thermal: tegra: add get_trend ops

2018-12-05 Thread Wei Ni
Hi Daniel, It seems no more comments, could this patch be approved? Thanks. Wei. On 30/11/2018 11:07 AM, Wei Ni wrote: > > > On 30/11/2018 1:01 AM, Eduardo Valentin wrote: >> On Wed, Nov 21, 2018 at 02:36:10PM +0800, Wei Ni wrote: >>> >>> >>> On 20/11/2018 11:38 PM, Thierry Reding wrote:

RE: [PATCH 1/3] ALSA: hda/realtek: ALC294 mic and headset-mode fixups for ASUS X542UN

2018-12-05 Thread Kailang
Hi Jian-Hong, Could you test to change the model to ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC? .chain_id = ALC256_FIXUP_ASUS_HEADSET_MODE ==> change to ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC BR, Kailang -Original Message- From: Jian-Hong Pan Sent: Wednesday, December 5, 2018 3:42 PM To:

[PATCH AUTOSEL 4.19 066/123] fsi: master-ast-cf: select GENERIC_ALLOCATOR

2018-12-05 Thread Sasha Levin
From: Arnd Bergmann [ Upstream commit 64999fa7aa2c076ec6d05aee481f11f5296ceb8c ] In randconfig builds without CONFIG_GENERIC_ALLOCATOR, this driver fails to link: ERROR: "gen_pool_alloc_algo" [drivers/fsi/fsi-master-ast-cf.ko] undefined! ERROR: "gen_pool_fixed_alloc"

[PATCH AUTOSEL 4.19 054/123] RDMA/core: Add GIDs while changing MAC addr only for registered ndev

2018-12-05 Thread Sasha Levin
From: Parav Pandit [ Upstream commit d52ef88a9f4be523425730da3239cf87bee936da ] Currently when MAC address is changed, regardless of the netdev reg_state, GID entries are removed and added to reflect the new MAC address and new default GID entries. When a bonding device is used and the

[PATCH AUTOSEL 4.19 051/123] ARM: dts: at91: sama5d2: use the divided clock for SMC

2018-12-05 Thread Sasha Levin
From: Romain Izard [ Upstream commit 4ab7ca092c3c7ac8b16aa28eba723a8868f82f14 ] The SAMA5D2 is different from SAMA5D3 and SAMA5D4, as there are two different clocks for the peripherals in the SoC. The Static Memory controller is connected to the divided master clock. Unfortunately, the device

  1   2   3   4   5   6   7   8   9   10   >