RE: my test code and result///[PATCH] mm/mmap: fix the adjusted length error

2019-05-17 Thread chenjianhong (A)
[test code] The following is my test code. /* * first, we allocat large virtual memory; * second, we allocate hugepage memory by shmat, and release one * of the hugepage memory block; * third, we allocate hugepage memory by shmat again, this will fail. */ #include #include #include

[PATCH] s390: add unreachable() to dump_fault_info() to fix -Wmaybe-uninitialized

2019-05-17 Thread Masahiro Yamada
When CONFIG_OPTIMIZE_INLINING is enabled for s390, I see this warning: arch/s390/mm/fault.c:127:15: warning: 'asce' may be used uninitialized in this function [-Wmaybe-uninitialized] switch (asce & _ASCE_TYPE_MASK) { arch/s390/mm/fault.c:177:16: note: 'asce' was declared here unsigned long

Re: [PATCH 4.4 000/266] 4.4.180-stable review

2019-05-17 Thread Greg Kroah-Hartman
On Thu, May 16, 2019 at 03:47:25PM -0700, Kevin Hilman wrote: > Greg Kroah-Hartman writes: > > > On Wed, May 15, 2019 at 07:47:45AM -0700, kernelci.org bot wrote: > >> stable-rc/linux-4.4.y boot: 98 boots: 1 failed, 92 passed with 3 offline, > >> 1 untried/unknown, 1 conflict

RE: [PATCH V12 2/5] thermal: of-thermal: add API for getting sensor ID from DT

2019-05-17 Thread Anson Huang
> -Original Message- > From: Daniel Lezcano [mailto:daniel.lezc...@linaro.org] > Sent: Thursday, May 16, 2019 5:39 PM > To: Anson Huang ; robh...@kernel.org; > mark.rutl...@arm.com; shawn...@kernel.org; s.ha...@pengutronix.de; > ker...@pengutronix.de; feste...@gmail.com;

Re: [PATCH 1/1] LZ4: Port LZ4 1.9.x FAST_DEC_LOOP and enable it on x86 and ARM64

2019-05-17 Thread Gao Xiang
Hi Chenxi, Some words about the patch format.. not important tho. One suggestion is that the subject line should be better written as "[PATCH v2/v3/...] title" since it's more clear to know which patch is the latest patch among these emails. On 2019/5/17 13:56, Chenxi Mao wrote: > FAST_DEC_LOOP

Re: [PATCH 5.1 00/46] 5.1.3-stable review

2019-05-17 Thread Kelsey Skunberg
On Wed, May 15, 2019 at 12:56:24PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.1.3 release. > There are 46 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.

[PATCH] sound: open brace should be on the previous line

2019-05-17 Thread parna . naveenkumar
From: Naveen Kumar Parna Resolved open brace { should be on the previous line checkpatch.pl error. While addressing this error, also corrected the affected code for below mentioned checkpatch errors. ERROR: spaces required around that '<' (ctx:VxV) ERROR: spaces required around that '=='

Re: [PATCH 4.9 00/51] 4.9.177-stable review

2019-05-17 Thread Kelsey Skunberg
On Wed, May 15, 2019 at 12:55:35PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.177 release. > There are 51 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

[PATCH v2] mtd: rawnand: Add Macronix NAND read retry support

2019-05-17 Thread Mason Yang
Add support for Macronix NAND read retry. Macronix NANDs support specific read operation for data recovery, which can be enabled/disabled with a SET/GET_FEATURE. Driver checks byte 167 of Vendor Blocks in ONFI parameter page table to see if this high-reliability function is supported.

Re: [PATCH 5.0 000/137] 5.0.17-stable review

2019-05-17 Thread Kelsey Skunberg
On Wed, May 15, 2019 at 12:54:41PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 5.0.17 release. > There are 137 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

Re: [PATCH 2/2] ledtrig-gpio: 0 is a valid GPIO number

2019-05-17 Thread Uwe Kleine-König
On Thu, May 16, 2019 at 02:42:09PM -0700, Kun Yi wrote: > GPIO number 0 is a valid case to handle. Use -1 as initial value > and use gpio_is_valid() to determine validity of the GPIO > number. I think it's more sensible to convert to gpiod instead. Best regards Uwe > Signed-off-by: Kun Yi >

Re: [PATCH 1/2] ledtrig-gpio: Request user input pin as GPIO

2019-05-17 Thread Uwe Kleine-König
Cc: += linux-g...@vger.kernel.org On Thu, May 16, 2019 at 02:42:08PM -0700, Kun Yi wrote: > The ledtrig-gpio logic assumes the input pin can be directly converted > to IRQ using gpio_to_irq. This is problematic since there is no > guarantee on the pinmux function nor the direction of the pin.

Re: [GIT PULL] KVM changes for 5.2 merge window

2019-05-17 Thread Nathan Chancellor
On Fri, May 17, 2019 at 05:59:36AM +0200, Paolo Bonzini wrote: > Linus, > > The following changes since commit 7a223e06b1a411cef6c4cd7a9b9a33c8d225b10e: > > KVM: x86: avoid misreporting level-triggered irqs as edge-triggered in > tracing (2019-04-16 15:38:08 +0200) > > are available in the

[PATCH] jbd2: fix some print format mistakes

2019-05-17 Thread Gaowei Pu
There are some print format mistakes in debug messages. Fix them. Signed-off-by: Gaowei Pu --- fs/jbd2/journal.c | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/fs/jbd2/journal.c b/fs/jbd2/journal.c index 37e16d969925..565e99b67b30 100644 ---

RE: [EXT] Re: [PATCH] arm64: dts: ls1028a: fix watchdog device node

2019-05-17 Thread Chuanhua Han
> -Original Message- > From: Shawn Guo > Sent: 2019年5月17日 10:38 > To: Chuanhua Han > Cc: Leo Li ; mark.rutl...@arm.com; > linux-arm-ker...@lists.infradead.org; devicet...@vger.kernel.org; > linux-kernel@vger.kernel.org; Ying Zhang > Subject: [EXT] Re: [PATCH] arm64: dts: ls1028a: fix

[PATCH] mm/mmap: fix the adjusted length error

2019-05-17 Thread jianhong chen
In linux version 4.4, a 32-bit process may fail to allocate 64M hugepage memory by function shmat even though there is a 64M memory gap in the process. It is the adjusted length that causes the problem, introduced from commit db4fbfb9523c935 ("mm: vm_unmapped_area() lookup function"). Accounting

[PATCH 1/1] LZ4: Port LZ4 1.9.x FAST_DEC_LOOP and enable it on x86 and ARM64

2019-05-17 Thread Chenxi Mao
FAST_DEC_LOOP was introduced from LZ4 1.9.0[1] This change would be introduce 10% on decompress operation according to LZ4 benchmark result on X86 devices. Meanwhile, LZ4 with FAST_DEC_LOOP could get improvements on ARM64, however clang compiler has downgrade if FAST_DEC_LOOP enabled. So

<    2   3   4   5   6   7