Re: [PATCH 0/4] uapi, vfs: Change the mount API UAPI [ver #2]

2019-05-16 Thread Christian Brauner
On May 16, 2019 10:23:31 PM GMT+02:00, "Dmitry V. Levin" wrote: >[looks like linux-abi is a typo, Cc'ed linux-api instead] > >On Thu, May 16, 2019 at 05:50:22PM +0100, Al Viro wrote: >> [linux-abi cc'd] >> >> On Thu, May 16, 2019 at 06:31:52PM +0200, Christian Brauner wrote: >> > On Thu, May 16,

[PATCH] s390: mark __cpacf_check_opcode() and cpacf_query_func() as __always_inline

2019-05-16 Thread Masahiro Yamada
Commit e60fb8bf68d4 ("s390/cpacf: mark scpacf_query() as __always_inline") was not enough to make sure to meet the 'i' (immediate) constraint for the asm operands. With CONFIG_OPTIMIZE_INLINING enabled, Laura Abbott reported error with gcc 9.1.1: In file included from arch/s390/crypto/prng.c:29

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

2019-05-16 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 #include

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

2019-05-16 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 as

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

2019-05-16 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 (v4.4.179-267-gbe75

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

2019-05-16 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; catalin.mari...@a

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

2019-05-16 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-16 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-16 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 '==' (ctx:Vx

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

2019-05-16 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 know

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

2019-05-16 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. Signed-off-

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

2019-05-16 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 know

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

2019-05-16 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 > Cha

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

2019-05-16 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. Requ

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

2019-05-16 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 gi

[PATCH] jbd2: fix some print format mistakes

2019-05-16 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 --- a/fs/jbd2/jour

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

2019-05-16 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 w

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

2019-05-16 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 f

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

2019-05-16 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 FAST_DEC_

[PATCH V4 1/2] soc: imx: Add SCU SoC info driver support

2019-05-16 Thread Anson Huang
Add i.MX SCU SoC info driver to support i.MX8QXP SoC, introduce driver dependency into Kconfig as CONFIG_IMX_SCU must be selected to support i.MX SCU SoC driver, also need to use platform driver model to make sure IMX_SCU driver is probed before i.MX SCU SoC driver. With this patch, SoC info can b

[PATCH V4 2/2] arm64: defconfig: Add i.MX SCU SoC info driver

2019-05-16 Thread Anson Huang
This patch selects CONFIG_IMX_SCU_SOC by default to support i.MX system controller unit SoC info driver. Signed-off-by: Anson Huang --- No changes. --- arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig ind

Re: [PATCH v2] kbuild: check uniqueness of module names

2019-05-16 Thread Lucas De Marchi
On Thu, May 16, 2019 at 10:37 PM Greg KH wrote: > > On Fri, May 17, 2019 at 01:45:11PM +0900, Masahiro Yamada wrote: > > On Fri, May 17, 2019 at 1:29 PM Masahiro Yamada > > wrote: > > > > > > In the recent build test of linux-next, Stephen saw a build error > > > caused by a broken .tmp_versions/

Re: [PATCH] dax: Fix last_page check in __bdev_dax_supported()

2019-05-16 Thread Vaibhav Jain
Dan Williams writes: > On Wed, May 15, 2019 at 10:55 PM Vaibhav Jain wrote: >> >> Presently __bdev_dax_supported() checks if first sector of last >> page ( last_page ) on the block device is aligned to page >> boundary. However the code to compute 'last_page' assumes that there >> are 8 sectors/

Re: [PATCH v2] kbuild: check uniqueness of module names

2019-05-16 Thread Greg KH
On Fri, May 17, 2019 at 01:45:11PM +0900, Masahiro Yamada wrote: > On Fri, May 17, 2019 at 1:29 PM Masahiro Yamada > wrote: > > > > In the recent build test of linux-next, Stephen saw a build error > > caused by a broken .tmp_versions/*.mod file: > > > > https://lkml.org/lkml/2019/5/13/991 > > >

Re: [PATCH v2] kbuild: check uniqueness of module names

2019-05-16 Thread Stephen Rothwell
Hi Masahiro, Thanks for this, looks good to me. Just a nit below. On Fri, 17 May 2019 13:27:53 +0900 Masahiro Yamada wrote: > > diff --git a/scripts/modules-check.sh b/scripts/modules-check.sh > new file mode 100755 > index ..c875f6eab01e > --- /dev/null > +++ b/scripts/modules-ch

[PATCH v4] arm64: dts: ls1028a: Add USB dt nodes

2019-05-16 Thread Ran Wang
This patch adds USB dt nodes for LS1028A. Signed-off-by: Ran Wang --- Changes in v4: - Move nodes to follow rule of unit-address in the address. - Use macro to replace 'interrupts' values. Changes in v3: - Add space between label and node name. - Add spcae with properties and '='. - Ad

Re: Linux 4.19 and GCC 9

2019-05-16 Thread Greg KH
On Thu, May 16, 2019 at 08:14:25PM -0700, Ivan Babrou wrote: > We are building the upstream kernel. There are a few patches, but > nothing related to objtool. > > Unless you mean mainline/stable by upstream, I haven't tried that. We > stick to LTS. Please work and all of these issues fixed up in

[PATCH v2] arm64: dts: ls1028a: Fix CPU idle fail.

2019-05-16 Thread Ran Wang
PSCI spec define 1st parameter's bit 16 of function CPU_SUSPEND to indicate CPU State Type: 0 for standby, 1 for power down. In this case, we want to select standby for CPU idle feature. But current setting wrongly select power down and cause CPU SUSPEND fail every time. Need this fix. Fixes: 8897

[PATCH] bsr: "foo * bar" should be "foo *bar"

2019-05-16 Thread parna . naveenkumar
From: Naveen Kumar Parna Fixed the checkpatch error. Used "foo *bar" instead of "foo * bar" Signed-off-by: Naveen Kumar Parna --- drivers/char/bsr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/char/bsr.c b/drivers/char/bsr.c index a6cef548e01e..d16ba62d03a0 1006

Re: [PATCH] memcg: make it work on sparse non-0-node systems

2019-05-16 Thread Jiri Slaby
On 16. 05. 19, 15:59, Michal Hocko wrote: >> However, I tend to agree with Michal that (ab)using node[0].memcg_lrus >> to check if a list_lru is memcg aware looks confusing. I guess we could >> simply add a bool flag to list_lru instead. Something like this, may be: > > Yes, this makes much more s

Re: [PATCH] mm, memory-failure: clarify error message

2019-05-16 Thread Anshuman Khandual
On 05/17/2019 09:38 AM, Jane Chu wrote: > Some user who install SIGBUS handler that does longjmp out What the longjmp about ? Are you referring to the mechanism of catching the signal which was registered ? > therefore keeping the process alive is confused by the error > message > "[188988.7

Re: [PATCH v2] kbuild: check uniqueness of module names

2019-05-16 Thread Masahiro Yamada
On Fri, May 17, 2019 at 1:29 PM Masahiro Yamada wrote: > > In the recent build test of linux-next, Stephen saw a build error > caused by a broken .tmp_versions/*.mod file: > > https://lkml.org/lkml/2019/5/13/991 > > drivers/net/phy/asix.ko and drivers/net/usb/asix.ko have the same > basename, an

drivers/soc/Kconfig:23: 'menu' in different file than 'menu'

2019-05-16 Thread kbuild test robot
Hi Patrick, FYI, the error/warning still remains. tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 0d74471924f2a01dcd32d154510c0500780b531a commit: 524feb799408e5d45c6aa82763a9f52489d1e19f soc: add aspeed folder and misc drivers date: 3 weeks ago confi

[PATCH] char: misc: Move EXPORT_SYMBOL immediately next to the functions/varibles

2019-05-16 Thread parna . naveenkumar
From: Naveen Kumar Parna According to checkpatch: EXPORT_SYMBOL(foo); should immediately follow its function/variable. This patch fixes the following checkpatch.pl issues in drivers/char/misc.c: WARNING: EXPORT_SYMBOL(foo); should immediately follow its function/variable Signed-off-by: Naveen K

Re: [PATCH] sched: introduce configurable delay before entering idle

2019-05-16 Thread Ankur Arora
On 2019-05-15 1:43 p.m., Marcelo Tosatti wrote: On Wed, May 15, 2019 at 11:42:56AM -0700, Ankur Arora wrote: On 5/14/19 6:50 AM, Marcelo Tosatti wrote: On Mon, May 13, 2019 at 05:20:37PM +0800, Wanpeng Li wrote: On Wed, 8 May 2019 at 02:57, Marcelo Tosatti wrote: Certain workloads perform

[PATCH v2] kbuild: check uniqueness of module names

2019-05-16 Thread Masahiro Yamada
In the recent build test of linux-next, Stephen saw a build error caused by a broken .tmp_versions/*.mod file: https://lkml.org/lkml/2019/5/13/991 drivers/net/phy/asix.ko and drivers/net/usb/asix.ko have the same basename, and there is a race in generating .tmp_versions/asix.mod Kbuild has not

Re: [PATCH v2 05/18] Documentation: fpga: dfl: add descriptions for virtualization and new interfaces.

2019-05-16 Thread Wu Hao
On Thu, May 16, 2019 at 12:53:00PM -0500, Alan Tull wrote: > On Thu, May 16, 2019 at 12:36 PM Alan Tull wrote: > > > > On Mon, Apr 29, 2019 at 4:12 AM Wu Hao wrote: > > Hi Hao, > > Most of this patchset looks ready to go upstream or nearly so with > pretty straightforward changes . Patches 17

Re: [RESEND PATCH v3 04/11] s390/cpacf: mark scpacf_query() as __always_inline

2019-05-16 Thread Masahiro Yamada
On Fri, May 17, 2019 at 8:01 AM Laura Abbott wrote: > > On 4/22/19 8:49 PM, Masahiro Yamada wrote: > > This prepares to move CONFIG_OPTIMIZE_INLINING from x86 to a common > > place. We need to eliminate potential issues beforehand. > > > > If it is enabled for s390, the following error is reported

linux-next: Tree for May 17

2019-05-16 Thread Stephen Rothwell
Hi all, Please do not add any v5.3 material to your linux-next included trees/branches until after v5.2-rc1 has been released. Changes since 20190516: The kvm tree gained conflicts against Linus' tree. Non-merge commits (relative to Linus' tree): 1023 1119 files changed, 27058

Re: [RESEND PATCH v3 10/11] powerpc/mm/radix: mark as __tlbie_pid() and friends as__always_inline

2019-05-16 Thread Masahiro Yamada
Hi Laura, On Fri, May 17, 2019 at 7:55 AM Laura Abbott wrote: > What gcc version was this tested with? I use kernel.org toolchains https://mirrors.edge.kernel.org/pub/tools/crosstool/ It is GCC 8.1 > We're still seeing errors on > Fedora rawhide with gcc 9.1.1 on a version > (8c05f3b965da1

[PATCH] mm, memory-failure: clarify error message

2019-05-16 Thread Jane Chu
Some user who install SIGBUS handler that does longjmp out therefore keeping the process alive is confused by the error message "[188988.765862] Memory failure: 0x1840200: Killing cellsrv:33395 due to hardware memory corruption" Slightly modify the error message to improve clarity. Signed-off

Re: [PATCH v2 04/18] fpga: dfl: fme: support 512bit data width PR

2019-05-16 Thread Wu Hao
On Thu, May 16, 2019 at 12:35:27PM -0500, Alan Tull wrote: > On Mon, Apr 29, 2019 at 4:12 AM Wu Hao wrote: > > It looks like this addressed the review comments. Adding my Ack. Is > there anything else on this patch? Nothing else, just addressed the review comments. : ) Thanks for the review a

[PATCH v2 2/2] arm64: dts: rockchip: Enable SPI1 on Ficus

2019-05-16 Thread Manivannan Sadhasivam
Enable SPI1 exposed on both Low and High speed expansion connectors of Ficus. SPI1 has 3 different chip selects wired as below: CS0 - Serial Flash (unpopulated) CS1 - Low Speed expansion CS2 - High Speed expansion Signed-off-by: Manivannan Sadhasivam --- Changes in v2: * Used pin constants ins

[PATCH v2 1/2] arm64: dts: rockchip: Enable SPI0 and SPI4 on Rock960

2019-05-16 Thread Manivannan Sadhasivam
Enable SPI0 and SPI4 exposed on the Low and High speed expansion connectors of Rock960. Signed-off-by: Manivannan Sadhasivam --- Changes in v2: * Dropped the label property since it is not part of SPI binding arch/arm64/boot/dts/rockchip/rk3399-rock960.dts | 10 ++ 1 file changed, 10

Re: [PATCH v2 18/18] fpga: dfl: fme: add performance reporting support

2019-05-16 Thread Wu Hao
On Thu, May 16, 2019 at 12:28:08PM -0500, Alan Tull wrote: > On Mon, Apr 29, 2019 at 4:13 AM Wu Hao wrote: > > Hi Hao, > > > > > This patch adds support for performance reporting private feature > > for FPGA Management Engine (FME). Actually it supports 4 categories > > performance counters, 'cl

[GIT PULL] KVM changes for 5.2 merge window

2019-05-16 Thread Paolo Bonzini
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 git repository at: https://git.kernel.org/pub/scm/virt/kvm/kvm.git tags/for-li

Re: [PATCH v2 1/3] dt-bindings: arm: stm32: Document Avenger96 devicetree binding

2019-05-16 Thread Manivannan Sadhasivam
Hi Rob, On Mon, May 13, 2019 at 01:02:46PM -0500, Rob Herring wrote: > On Mon, May 06, 2019 at 03:35:32PM +0530, Manivannan Sadhasivam wrote: > > Document devicetree binding for Avenger96 board. > > > > Signed-off-by: Manivannan Sadhasivam > > --- > > Documentation/devicetree/bindings/arm/stm32

mainline/master boot bisection: v5.1-12065-g8c05f3b965da on meson-g12a-x96-max

2019-05-16 Thread kernelci.org bot
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This automated bisection report was sent to you on the basis * * that you may be involved with the breaking commit it has * * found. No manual investigation has been done to verify it, * * and the root cause of the problem

Re: [RFC PATCH] kbuild: check uniqueness of basename of modules

2019-05-16 Thread Masahiro Yamada
Hi Kees, On Thu, May 16, 2019 at 3:38 AM Kees Cook wrote: > > On Thu, May 16, 2019 at 02:55:02AM +0900, Masahiro Yamada wrote: > > > > On Thu, May 16, 2019 at 1:20 AM Kees Cook wrote: > > > > > > On Wed, May 15, 2019 at 04:53:15PM +0900, Masahiro Yamada wrote: > > > > On Wed, May 15, 2019 at 4:4

[PATCH V2 2/3] Documentation: dt: binding: fsl: Add 'little-endian' and update Chassis define

2019-05-16 Thread Ran Wang
By default, QorIQ SoC's RCPM register block is Big Endian. But there are some exceptions, such as LS1088A and LS2088A, are Little Endian. So add this optional property to help identify them. Actually LS2021A and other Layerscapes won't totally follow Chassis 2.1, so separate them from powerpc SoC.

[PATCH V2 3/3] soc: fsl: add RCPM driver

2019-05-16 Thread Ran Wang
The NXP's QorIQ Processors based on ARM Core have RCPM module (Run Control and Power Management), which performs all device-level tasks associated with power management such as wakeup source control. This driver depends on PM wakeup source framework which help to collect wake information. Signed-

[PATCH V2 1/3] PM: wakeup: Add routine to help fetch wakeup source object.

2019-05-16 Thread Ran Wang
Some user might want to go through all registered wakeup sources and doing things accordingly. For example, SoC PM driver might need to do HW programming to prevent powering down specific IP which wakeup source depending on. And is user's responsibility to identify if this wakeup source he is inter

Re: [RFC PATCH] kbuild: check uniqueness of basename of modules

2019-05-16 Thread Masahiro Yamada
Hi Kees, On Thu, May 16, 2019 at 3:31 AM Kees Cook wrote: > > On Thu, May 16, 2019 at 03:07:54AM +0900, Masahiro Yamada wrote: > > On Wed, May 15, 2019 at 4:40 PM Masahiro Yamada > > wrote: > > > > > $(Q)$(AWK) '!x[$$0]++' $^ > $(objtree)/modules.builtin > > > diff --git a/scripts/module

Re: [PATCH v6 08/12] soc: mediatek: cmdq: define the instruction struct

2019-05-16 Thread CK Hu
Hi, Bibby: On Thu, 2019-05-16 at 17:02 +0800, Bibby Hsieh wrote: > Define a instruction structure for gce driver to append command. > This structure can make the client's code more readability. > > Signed-off-by: Bibby Hsieh > --- > drivers/soc/mediatek/mtk-cmdq-helper.c | 113 +++

[PATCH V2] ASoC: cs42xx8: Add regcache mask dirty

2019-05-16 Thread S.j. Wang
Add regcache_mark_dirty before regcache_sync for power of codec may be lost at suspend, then all the register need to be reconfigured. Fixes: 0c516b4ff85c ("ASoC: cs42xx8: Add codec driver support for CS42448/CS42888") Cc: Signed-off-by: Shengjiu Wang --- Changs in V2 - Don't split Fixes tag.

RE: [EXT] Re: [PATCH 2/3] arm64: dts: ls1028a: Add PCIe controller DT nodes

2019-05-16 Thread Xiaowei Bao
Hi Arnd, -Original Message- From: Arnd Bergmann Sent: 2019年5月15日 16:05 To: Xiaowei Bao Cc: Bjorn Helgaas ; Rob Herring ; Mark Rutland ; Shawn Guo ; Leo Li ; Kishon ; Lorenzo Pieralisi ; gregkh ; M.h. Lian ; Mingkai Hu ; Roy Zang ; Kate Stewart ; Philippe Ombredanne ; Shawn Lin ;

Re: [PATCH V3 4/4] arm64/mm: Enable memory hot remove

2019-05-16 Thread Anshuman Khandual
On 05/16/2019 04:27 PM, Mark Rutland wrote: > On Thu, May 16, 2019 at 11:04:48AM +0530, Anshuman Khandual wrote: >> On 05/15/2019 05:19 PM, Mark Rutland wrote: >>> On Tue, May 14, 2019 at 02:30:07PM +0530, Anshuman Khandual wrote: Memory removal from an arch perspective involves tearing dow

Re: Linux 4.19 and GCC 9

2019-05-16 Thread Ivan Babrou
We are building the upstream kernel. There are a few patches, but nothing related to objtool. Unless you mean mainline/stable by upstream, I haven't tried that. We stick to LTS. On Thu, May 16, 2019 at 7:04 PM Josh Poimboeuf wrote: > > On Thu, May 16, 2019 at 11:20:54PM +0200, Miguel Ojeda wrote

RE: [alsa-devel] [PATCH] ASoC: cs42xx8: Add regcache mask dirty

2019-05-16 Thread S.j. Wang
Hi > Add regcache_mark_dirty before regcache_sync for power of codec may be > lost at suspend, then all the register need to be reconfigured. > > Fixes: 0c516b4ff85c ("ASoC: cs42xx8: Add codec driver support for > CS42448/CS42888") The Fixes tag is split, will send v2. Best regards Wang shengji

[git pull] vfs.git mount followups

2019-05-16 Thread Al Viro
Propagation of new syscalls to other architectures + cosmetical change from Christian (fscontext didn't follow the convention for anon inode names). What is _not_ included is cloexec changes - I really don't see the benefits for the cloexec-by-default for new syscalls, when there's

[PATCH] ASoC: fsl_esai: fix the channel swap issue after xrun

2019-05-16 Thread S.j. Wang
There is chip errata ERR008000, the reference doc is (https://www.nxp.com/docs/en/errata/IMX6DQCE.pdf), The issue is "While using ESAI transmit or receive and an underrun/overrun happens, channel swap may occur. The only recovery mechanism is to reset the ESAI." In this commit add a tasklet to ha

Re: [GIT PULL] RISC-V Patches for the 5.2 Merge Window, Part 1 v2

2019-05-16 Thread Palmer Dabbelt
On Thu, 16 May 2019 19:17:17 PDT (-0700), Linus Torvalds wrote: On Thu, May 16, 2019 at 5:27 PM Palmer Dabbelt wrote: git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux.git tags/riscv-for-linus-5.2-mw1 Oh no no no. You're creating a binary file from your build or something

[PATCH 2/3] Documentation: dt: binding: fsl: Add 'little-endian' and update Chassis define

2019-05-16 Thread Ran Wang
By default, QorIQ SoC's RCPM register block is Big Endian. But there are some exceptions, such as LS1088A and LS2088A, are Little Endian. So add this optional property to help identify them. Actually LS2021A and other Layerscapes won't totally follow Chassis 2.1, so separate them from powerpc SoC.

[PATCH 3/3] soc: fsl: add RCPM driver

2019-05-16 Thread Ran Wang
The NXP's QorIQ Processors based on ARM Core have RCPM module (Run Control and Power Management), which performs all device-level tasks associated with power management such as wakeup source control. This driver depends on PM wakeup source framework which help to collect wake information. Signed-

[PATCH 1/3] PM: wakeup: Add routine to help fetch wakeup source object.

2019-05-16 Thread Ran Wang
Some user might want to go through all registered wakeup sources and doing things accordingly. For example, SoC PM driver might need to do HW programming to prevent powering down specific IP which wakeup source depending on. And is user's responsibility to identify if this wakeup source he is inter

Re: [PATCH] KVM: selftests: Compile code with warnings enabled

2019-05-16 Thread Peter Xu
Hi, Thomas, On Thu, May 16, 2019 at 03:02:57PM +0200, Thomas Huth wrote: > So far the KVM selftests are compiled without any compiler warnings > enabled. That's quite bad, since we miss a lot of possible bugs this > way. Let's enable at least "-Wall" and some other useful warning flags > now. > >

Re: [PATCH RESEND] firmware: imx: SCU irq should ONLY be enabled after SCU IPC is ready

2019-05-16 Thread Shawn Guo
On Sun, May 12, 2019 at 08:38:22AM +, Anson Huang wrote: > The imx_scu_irq_group_enable() is normally called during module driver > probe phase to enable SCU group irq, if SCU IPC is NOT ready, below > dump will show out: > > [0.933001] Hardware name: Freescale i.MX8QXP MEK (DT) > [0.9

RE: linux-next: Fixes tag needs some work in the sound-asoc tree

2019-05-16 Thread S.j. Wang
Hi Do I need to resend the patch? Best regards Wang shengjiu > > In commit > > b06c58c2a1ee ("ASoC: fsl_asrc: Fix the issue about unsupported rate") > > Fixes tag > > Fixes: fff6e03c7b65 ("ASoC: fsl_asrc: add support for 8-30kHz > > has these problem(s): > > - Subject has leading

Re: [PATCH] Input: walkera0701 - Fix possible NULL pointer dereference in walkera0701_detach

2019-05-16 Thread YueHaibing
ping... On 2019/4/23 22:56, Yue Haibing wrote: > From: YueHaibing > > KASAN report this: > > walkera0701: failed to allocate input device > kasan: CONFIG_KASAN_INLINE enabled > kasan: GPF could be caused by NULL-ptr deref or user memory access > general protection fault: [#1] SMP KASAN PTI

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

2019-05-16 Thread Shawn Guo
On Thu, May 09, 2019 at 03:06:57PM +0800, Chuanhua Han wrote: > ls1028a platform uses sp805 watchdog, and use 1/16 platform clock as > timer clock, this patch fix device tree node. > > Signed-off-by: Zhang Ying-22455 > Signed-off-by: Chuanhua Han > --- > .../arm64/boot/dts/freescale/fsl-ls1028a

Re: [PATCH v2 1/3] dt-bindings: Add pixart vendor

2019-05-16 Thread Rob Herring
On Tue, Apr 23, 2019 at 5:40 AM Alexandre Mergnat wrote: > > PixArt Imaging Inc. is expertized in CMOS image sensors (CIS), > capacitive touch controllers and related imaging application development. > > Signed-off-by: Alexandre Mergnat > --- > Documentation/devicetree/bindings/vendor-prefixes.t

Re: [PATCH 2/2] add dts file to enable support for ls1046afrwy board.

2019-05-16 Thread Shawn Guo
On Wed, May 08, 2019 at 01:53:10PM +, Pramod Kumar wrote: > ls1046afrwy board is based on nxp ls1046a SoC. > > Signed-off-by: Vabhav Sharma > Signed-off-by: Pramod Kumar Please have a subject prefix like 'arm64: dts: ...' Shawn > --- > arch/arm64/boot/dts/freescale/Makefile| 1

Re: [PATCH 1/2] dt-bindings: arm: fsl: Add device tree binding for ls1046a-frwy board

2019-05-16 Thread Shawn Guo
On Wed, May 08, 2019 at 01:53:08PM +, Pramod Kumar wrote: > Add "fsl,ls1046a-frwy" bindings for ls1046afrwy board based on ls1046a SoC > > Signed-off-by: Vabhav Sharma > Signed-off-by: Pramod Kumar Sorry. I do not take patch from message using base64 encoding. Shawn > --- > Documentation

Re: [PATCH v2 1/2] dt-bindings: Add vendor prefix for HopeRun

2019-05-16 Thread Rob Herring
On Wed, May 15, 2019 at 11:35 AM Fabrizio Castro wrote: > > Add "Jiangsu HopeRun Software Co., Ltd." to the list of devicetree > vendor prefixes as "hoperun". > > Website: http://www.hoperun.com/en > > Signed-off-by: Fabrizio Castro > Reviewed-by: Chris Paterson > > --- > v1->v2: > * No change >

Re: [PATCH v12 3/4] dt-bindings: Add an entry for Purism SPC

2019-05-16 Thread Rob Herring
On Tue, May 14, 2019 at 8:28 AM Angus Ainslie (Purism) wrote: > > Add an entry for Purism, SPC > > Signed-off-by: Angus Ainslie (Purism) > Reviewed-by: Rob Herring > --- > Documentation/devicetree/bindings/vendor-prefixes.txt | 1 + > 1 file changed, 1 insertion(+) I've converted this file to

Re: [GIT PULL] One more clk change for the merge window

2019-05-16 Thread pr-tracker-bot
The pull request you sent on Thu, 16 May 2019 16:04:29 -0700: > https://git.kernel.org/pub/scm/linux/kernel/git/clk/linux.git > tags/clk-for-linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/815d469d8c9a3360ee0a8b7857dd95352a6c7bde Thank you! -- Deet-doot-dot, I

Re: [GIT PULL] Kselftest second update for Linux 5.2-rc1

2019-05-16 Thread pr-tracker-bot
The pull request you sent on Thu, 16 May 2019 15:52:38 -0600: > git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest > tags/linux-kselftest-5.2-rc1-2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/4c7b63a32d54850a31a00f22131db417face70e4 Thank you! --

Re: [GIT PULL] Devicetree vendor prefix schema for 5.2

2019-05-16 Thread pr-tracker-bot
The pull request you sent on Thu, 16 May 2019 15:43:27 -0500: > git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux.git > tags/devicetree-for-5.2-part2 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/9cbda1bddb4c561f3a7360d36ce13a73bb02bfeb Thank you! -- Deet-d

Re: [GIT PULL] cgroup fix for v5.2-rc1

2019-05-16 Thread pr-tracker-bot
The pull request you sent on Thu, 16 May 2019 15:38:10 -0700: > git://git.kernel.org/pub/scm/linux/kernel/git/tj/cgroup.git for-5.2-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/5f3ab27b9eb7f1b97e6d4460ac4e494588e09f0c Thank you! -- Deet-doot-dot, I am a bot.

Re: [GIT PULL] RISC-V Patches for the 5.2 Merge Window, Part 1 v2

2019-05-16 Thread Linus Torvalds
On Thu, May 16, 2019 at 5:27 PM Palmer Dabbelt wrote: > > > git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux.git > tags/riscv-for-linus-5.2-mw1 Oh no no no. You're creating a binary file from your build or something like that: > modules.builtin.modinfo

Re: [PATCH v3] arm64: dts: ls1028a: Add USB dt nodes

2019-05-16 Thread Shawn Guo
On Wed, May 08, 2019 at 06:46:37AM +, Ran Wang wrote: > This patch adds USB dt nodes for LS1028A. > > Signed-off-by: Ran Wang > --- > Changes in v3: > - Add space between label and node name. > - Add spcae with properties and '='. > - Add SoC specific compatible. > > Changes in v2: >

Re: [PATCH] sched: introduce configurable delay before entering idle

2019-05-16 Thread Ankur Arora
On 2019-05-15 6:07 p.m., Wanpeng Li wrote: On Thu, 16 May 2019 at 02:42, Ankur Arora wrote: On 5/14/19 6:50 AM, Marcelo Tosatti wrote: On Mon, May 13, 2019 at 05:20:37PM +0800, Wanpeng Li wrote: On Wed, 8 May 2019 at 02:57, Marcelo Tosatti wrote: Certain workloads perform poorly on KVM c

Re: Linux 4.19 and GCC 9

2019-05-16 Thread Josh Poimboeuf
On Thu, May 16, 2019 at 11:20:54PM +0200, Miguel Ojeda wrote: > > mm/slub.o: warning: objtool: init_cache_random_seq()+0x36: sibling > > call from callable instruction with modified stack frame > > mm/slub.o: warning: objtool: slab_out_of_memory()+0x3b: sibling call > > from callable instruction wi

Re: [PATCH v6 03/12] dt-binding: gce: add binding for gce subsys property

2019-05-16 Thread CK Hu
Hi, Bibby: On Thu, 2019-05-16 at 17:02 +0800, Bibby Hsieh wrote: > tcmdq driver provide a function that get the relationship What is 'tcmdq'? > of sub system number from device node for client. > add specification for #subsys-cells, mediatek,gce-subsys. The property name is mediatek,gce-client-

[PATCH] arm64: dts: qcom: sdm845-cheza: add initial cheza dt

2019-05-16 Thread Rob Clark
From: Rob Clark This is essentialy a squash of a bunch of history of cheza dt updates from chromium kernel, some of which were themselves squashes of history from older chromium kernels. I don't claim any credit other than wanting to more easily boot upstream kernel on cheza to have an easier wa

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

2019-05-16 Thread Chenxi Mao
FAST_DEC_LOOP was introduced from LZ4 1.9[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, however clang compiler has downgrade if FAST_DEC_LOOP enabled. So FAST_DEC_LOOP only

Re: [PATCH v6 10/12] soc: mediatek: cmdq: add cmdq_dev_get_subsys function

2019-05-16 Thread CK Hu
Hi, Bibby: On Thu, 2019-05-16 at 17:02 +0800, Bibby Hsieh wrote: > GCE cannot know the register base address, this function > can help cmdq client to get the relationship of subsys > and register base address. > > Signed-off-by: Bibby Hsieh > --- > drivers/soc/mediatek/mtk-cmdq-helper.c | 25 ++

Re: [PATCH] arm64: dts: ls1028a: Fix CPU idle fail.

2019-05-16 Thread Shawn Guo
On Tue, May 07, 2019 at 07:43:37AM +, Ran Wang wrote: > PSCI spec define 1st parameter's bit 16 of function CPU_SUSPEND to > indicate CPU State Type: 0 for standby, 1 for power down. In this > case, we want to select standby for CPU idle feature. But current > setting wrongly select power down

Re: [PATCH 0/2] public key: IMA signer logging: Log public key of IMA Signature signer in IMA log

2019-05-16 Thread Lakshmi
On 5/16/19 7:34 AM, Ken Goldman wrote: But outside the client machine this key id is not sufficient to uniquely determine which key the signature corresponds to. Why is this not sufficient? In my implementation, I create a lookup table at the attestation service that maps the 4-byte IMA log

Re: SGX vs LSM (Re: [PATCH v20 00/28] Intel SGX1 support)

2019-05-16 Thread Andy Lutomirski
On Thu, May 16, 2019 at 6:06 PM Xing, Cedric wrote: > > > From: Andy Lutomirski [mailto:l...@kernel.org] > > > > On Thu, May 16, 2019 at 3:23 PM Xing, Cedric > > wrote: > > > > > > Hi Andy, > > > > > > > > SIGSTRUCT isn't necessarily stored on disk so may not always have > > a fd. > > > > How abo

linux-next: manual merge of the kvm tree with Linus' tree

2019-05-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in: tools/testing/selftests/kvm/dirty_log_test.c between commit: 76d58e0f07ec ("KVM: fix KVM_CLEAR_DIRTY_LOG for memory slots of unaligned size") from Linus' tree and commit: 65c4189de8c1 ("KVM: fix KVM_CLEAR_DIRTY_LOG for

Re: [PATCH RESEND 1/2] ARM: dts: imx6sl: Assign corresponding clocks instead of dummy clock

2019-05-16 Thread Shawn Guo
On Sun, May 12, 2019 at 10:02:10AM +, Anson Huang wrote: > i.MX6SL's KPP and WDOG use IMX6SL_CLK_IPG as clock root, > assign IMX6SL_CLK_IPG to them instead of IMX6SL_CLK_DUMMY. > > Signed-off-by: Anson Huang > Reviewed-by: Dong Aisheng Applied both ,thanks.

Re: [PATCH] igb: add parameter to ignore nvm checksum validation

2019-05-16 Thread Daniel Walker
On Thu, May 16, 2019 at 03:02:18PM -0700, Florian Fainelli wrote: > On 5/16/19 12:55 PM, Nikunj Kela (nkela) wrote: > > > > > > On 5/16/19, 12:35 PM, "Jeff Kirsher" wrote: > > > > On Wed, 2019-05-08 at 23:14 +, Nikunj Kela wrote: > >>> Some of the broken NICs don't have EEPROM progr

linux-next: manual merge of the kvm tree with Linus' tree

2019-05-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in: arch/x86/kvm/paging_tmpl.h between commit: 73b0140bf0fe ("mm/gup: change GUP fast to use flags rather than a write 'bool'") from Linus' tree and commit: bd53cb35a3e9 ("X86/KVM: Handle PFNs outside of kernel reach when

RE: SGX vs LSM (Re: [PATCH v20 00/28] Intel SGX1 support)

2019-05-16 Thread Xing, Cedric
> From: Andy Lutomirski [mailto:l...@kernel.org] > > On Thu, May 16, 2019 at 3:23 PM Xing, Cedric > wrote: > > > > Hi Andy, > > > > > > SIGSTRUCT isn't necessarily stored on disk so may not always have > a fd. > > > How about the following? > > > > void *ss_pointer = mmap(sigstruct_fd, PROT_READ,

linux-next: manual merge of the kvm tree with Linus' tree

2019-05-16 Thread Stephen Rothwell
Hi all, Today's linux-next merge of the kvm tree got a conflict in: Documentation/virtual/kvm/api.txt between commit: dbcdae185a70 ("Documentation: kvm: fix dirty log ioctl arch lists") from Linus' tree and commit: d7547c55cbe7 ("KVM: Introduce KVM_CAP_MANUAL_DIRTY_LOG_PROTECT2") from

[PATCH] libnvdimm/pmem: Bypass CONFIG_HARDENED_USERCOPY overhead

2019-05-16 Thread Dan Williams
Jeff discovered that performance improves from ~375K iops to ~519K iops on a simple psync-write fio workload when moving the location of 'struct page' from the default PMEM location to DRAM. This result is surprising because the expectation is that 'struct page' for dax is only needed for third par

Re: SGX vs LSM (Re: [PATCH v20 00/28] Intel SGX1 support)

2019-05-16 Thread Andy Lutomirski
On Thu, May 16, 2019 at 3:23 PM Xing, Cedric wrote: > > Hi Andy, > > > > SIGSTRUCT isn't necessarily stored on disk so may not always have a fd. > > How about the following? > > > void *ss_pointer = mmap(sigstruct_fd, PROT_READ,...); > > > ioctl(enclave_fd, SGX_INIT_THE_ENCLAVE, ss_pointer); > > >

[GIT PULL] RISC-V Patches for the 5.2 Merge Window, Part 1 v2

2019-05-16 Thread Palmer Dabbelt
The following changes since commit 085b7755808aa11f78ab9377257e1dad2e6fa4bb: Linux 5.1-rc6 (2019-04-21 10:45:57 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/palmer/riscv-linux.git tags/riscv-for-linus-5.2-mw1 for you to fetch changes up to 81

Re: SGX vs LSM (Re: [PATCH v20 00/28] Intel SGX1 support)

2019-05-16 Thread Andy Lutomirski
On Thu, May 16, 2019 at 5:03 PM Sean Christopherson wrote: > > On Wed, May 15, 2019 at 11:27:04AM -0700, Andy Lutomirski wrote: > > Here's a very vague proposal that's kind of like what I've been > > thinking over the past few days. The SGX inode could track, for each > > page, a "safe-to-execute

  1   2   3   4   5   6   7   8   9   >