Re: [PATCHv4 0/3] Salted build ids via linker sections

2018-06-11 Thread Michael Ellerman
Laura Abbott writes: > Hi, > > This is v4 of the series to allow unique build ids in the kernel. As a > reminder of the context: > > "" > In Fedora, the debug information is packaged separately (foo-debuginfo) and > can be installed separately. There's been a long standing issue where only one > v

Re: [PATCH v13 0/3] Fix issues with huge mapping in ioremap for ARM64

2018-06-11 Thread Chintan Pandya
Hi Andrew, On 6/6/2018 9:15 PM, Will Deacon wrote: [...] On Wed, Jun 06, 2018 at 12:31:18PM +0530, Chintan Pandya wrote: This series of patches re-bring huge vmap back for arm64. Patch 1/3 has been taken by Toshi in his series of patches by name "[PATCH v3 0/3] fix free pmd/pte page handling

Re: [PATCH v2 2/2] ALSA: hda: add dock and led support for HP ProBook 640 G4

2018-06-11 Thread Takashi Iwai
On Tue, 12 Jun 2018 07:11:11 +0200, Dennis Wassenberg wrote: > > This patch adds missing initialisation for HP 2013 UltraSlim Dock > Line-In/Out PINs and activates keyboard mute/micmute leds > for HP ProBook 640 G4 > > Signed-off-by: Dennis Wassenberg Applied, thanks. Takashi

Re: [PATCH] ALSA: lx6464es: add error handling for pci_ioremap_bar

2018-06-11 Thread Takashi Iwai
On Tue, 12 Jun 2018 05:23:14 +0200, Zhouyang Jia wrote: > > When pci_ioremap_bar fails, the lack of error-handling code may > cause unexpected results. > > This patch adds error-handling code after calling pci_ioremap_bar. > > Signed-off-by: Zhouyang Jia This patch makes no sense, sorry. The

Re: [PATCH v2 1/2] ALSA: hda: add dock and led support for HP EliteBook 830 G5

2018-06-11 Thread Takashi Iwai
On Tue, 12 Jun 2018 07:10:59 +0200, Dennis Wassenberg wrote: > > This patch adds missing initialisation for HP 2013 UltraSlim Dock > Line-In/Out PINs and activates keyboard mute/micmute leds > for HP EliteBook 830 G5 > > Signed-off-by: Dennis Wassenberg Applied, thanks. Takashi

RE: [PATCH 03/11] spi: Add a driver for the Freescale/NXP QuadSPI controller

2018-06-11 Thread Yogesh Narayan Gaur
Hi Boris, -Original Message- From: linux-mtd [mailto:linux-mtd-boun...@lists.infradead.org] On Behalf Of Yogesh Narayan Gaur Sent: Monday, June 11, 2018 3:51 PM To: Boris Brezillon Cc: rich...@nod.at; Prabhakar Kushwaha ; Han Xu ; linux-kernel@vger.kernel.org; linux-...@vger.kernel.org;

Re: [PATCH v3 5/7] dt-bindings: power: Add qcom rpmh power domain driver bindings

2018-06-11 Thread Rajendra Nayak
On 06/12/2018 11:09 AM, Bjorn Andersson wrote: > On Mon 11 Jun 21:40 PDT 2018, Rajendra Nayak wrote: > >> Add DT bindings to describe the rpmh powerdomains found on Qualcomm >> Technologies, Inc. SoCs. These power domains communicate a performance >> state to RPMh, which then translates it into

Re: [PATCH] ipc: Limit sysctl value to IPCMNI

2018-06-11 Thread Takashi Iwai
On Tue, 12 Jun 2018 01:18:45 +0200, Andrew Morton wrote: > > On Sat, 09 Jun 2018 08:48:48 +0200 Takashi Iwai wrote: > > > On Fri, 08 Jun 2018 23:16:59 +0200, > > Andrew Morton wrote: > > > > > > On Fri, 8 Jun 2018 15:49:49 +0200 Takashi Iwai wrote: > > > > > > > Currently shmmni proc entry a

Re: [PATCH] ipc: Limit sysctl value to IPCMNI

2018-06-11 Thread Takashi Iwai
On Mon, 11 Jun 2018 23:27:08 +0200, Waiman Long wrote: > > On 06/08/2018 05:16 PM, Andrew Morton wrote: > > On Fri, 8 Jun 2018 15:49:49 +0200 Takashi Iwai wrote: > > > >> Currently shmmni proc entry accepts all entered integer values, but > >> the practical limit is IPCMNI (32768). This confuse

Re: [PATCH] staging: lustre: add error handling for try_module_get

2018-06-11 Thread Greg Kroah-Hartman
On Tue, Jun 12, 2018 at 12:49:26PM +0800, Zhouyang Jia wrote: > When try_module_get fails, the lack of error-handling code may > cause unexpected results. > > This patch adds error-handling code after calling try_module_get. > > Signed-off-by: Zhouyang Jia > --- > drivers/staging/lustre/lnet/kl

Re: [PATCH] staging: speakup: refactor synths array to use a list

2018-06-11 Thread Samuel Thibault
Gregory Nowak, le lun. 11 juin 2018 16:51:22 -0700, a ecrit: > On Tue, Jun 12, 2018 at 12:57:03AM +0200, Samuel Thibault wrote: > > Anybody up for testing please? > > > > If people want to see speakup get mainlined instead of staging, please > > help. > > If I understand right, this patch changes

Re: [PATCH] mmc: Move the mmc driver init earlier

2018-06-11 Thread Ulf Hansson
On 8 June 2018 at 11:51, Feng Tang wrote: > When doing some boot time optimization for an eMMC rootfs NUCs, > we found the rootfs may spend around 100 microseconds waiting > for eMMC card to be initialized, then the rootfs could be > mounted. > [1.216561] Waiting for root device /dev/m

Re: [GIT PULL] FSI updates

2018-06-11 Thread Greg Kroah-Hartman
On Tue, Jun 12, 2018 at 02:14:25PM +1000, Benjamin Herrenschmidt wrote: > Hi Greg ! > > There are a first round of updates of the FSI stack, aiming at > reducing/removing > the gap with the OpenBMC tree and a first step in getting dependent drivers > upstream. > > These changes significantly imp

Re: [PATCH] proc: Fix parsing of mount parameters.

2018-06-11 Thread Alistair Strachan
On Mon, Jun 11, 2018 at 6:22 PM Eric W. Biederman wrote: > > Alistair Strachan writes: > > > In commit e94591d0d90c "proc: Convert proc_mount to use mount_ns" > > the parsing of mount parameters for the proc filesystem was broken. > > > > The SB_KERNMOUNT for procfs happens via: > > > > start_k

Re: [PATCHv4 1/3] scripts: Preprocess module-common.lds

2018-06-11 Thread Michael Ellerman
kbuild test robot writes: > Hi Laura, > > I love your patch! Yet something to improve: > > [auto build test ERROR on linus/master] > [also build test ERROR on v4.17 next-20180608] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > > url:

Re: [PATCH v2 1/2] gpio: davinci: Shuffle IRQ resource fetching from DT to beginning of probe

2018-06-11 Thread Alexander Stein
On Tuesday, June 12, 2018, 7:27:52 AM CEST Keerthy wrote: > This is needed in case of PROBE_DEFER if IRQ resource is not yet ready. > > Signed-off-by: Keerthy > --- > [...] > --- a/drivers/gpio/gpio-davinci.c > +++ b/drivers/gpio/gpio-davinci.c > [...] > @@ -168,7 +168,7 @@ static int davinci_gpi

Re: [PATCH v2 1/2] gpio: davinci: Shuffle IRQ resource fetching from DT to beginning of probe

2018-06-11 Thread Keerthy
On Tuesday 12 June 2018 11:15 AM, Alexander Stein wrote: > On Tuesday, June 12, 2018, 7:27:52 AM CEST Keerthy wrote: >> This is needed in case of PROBE_DEFER if IRQ resource is not yet ready. >> >> Signed-off-by: Keerthy >> --- >> [...] >> --- a/drivers/gpio/gpio-davinci.c >> +++ b/drivers/gpio

uapi headers userspace build results

2018-06-11 Thread Randy Dunlap
Hi, Here is what I have so far. It begins with a makefile and some template files that are added to. There's a good bit of Perl also. I put all of these files in tools/uapi/ and run them from there. There is one .c file generated for each .h file in builddir/usr/include (O=builddir). Out of 8

[PATCH 5/7] tty: serial: lantiq: Convert global lock to per device lock

2018-06-11 Thread Songjun Wu
Previous implementation uses one global lock to protect the resource. If the serial driver have multiple entries, this kind of lock will slow down the performance. Add the lock at device level. This will lock only when the function calling only to the same device. So that it can avoid useless lock

[PATCH 4/7] tty: serial: lantiq: Always use readl()/writel()

2018-06-11 Thread Songjun Wu
Previous implementation uses platform-dependent functions ltq_w32()/ltq_r32() to access registers. Those functions are not available for other SoC which uses the same IP. Change to OS provided readl()/writel() and readb()/writeb(), so that different SoCs can use the same driver. Signed-off-by: Son

[PATCH 3/7] MIPS: intel: Add initial support for Intel MIPS SoCs

2018-06-11 Thread Songjun Wu
From: Hua Ma Add initial support for Intel MIPS interAptiv SoCs made by Intel. This series will add support for the GRX500 family. The series allows booting a minimal system using a initramfs. Signed-off-by: Hua ma Signed-off-by: Songjun Wu --- arch/mips/Kbuild.platforms

[PATCH 6/7] tty: serial: lantiq: Remove unneeded header includes and macros

2018-06-11 Thread Songjun Wu
Update the author list with Intel Corporation. Sort the header includes in alphabetical orders. Remove unneeded header includes and macros. Signed-off-by: Songjun Wu --- drivers/tty/serial/lantiq.c | 29 +++-- 1 file changed, 11 insertions(+), 18 deletions(-) diff --git

Re: [PATCH 2/2] nvmem: Add Spreadtrum SC27XX efuse support

2018-06-11 Thread Baolin Wang
Hi Randy, On 12 June 2018 at 13:27, Randy Dunlap wrote: > On 06/11/2018 10:24 PM, Baolin Wang wrote: >> From: Freeman Liu >> >> This patch add the efuse driver which is embeded in Spreadtrum SC27XX >> series PMICs. The sc27xx efuse contains 32 blocks and each block's >> data width is 16 bits. >>

[PATCH 1/7] MIPS: dts: Add aliases node for lantiq danube serial

2018-06-11 Thread Songjun Wu
Previous implementation uses a hard-coded register value to check if the current serial entity is the console entity. Now the lantiq serial driver uses the aliases for the index of the serial port. The lantiq danube serial dts are updated with aliases to support this. Signed-off-by: Songjun Wu --

[PATCH 7/7] tty: serial: lantiq: Add CCF support

2018-06-11 Thread Songjun Wu
Previous implementation uses platform-dependent API to get the clock. Those functions are not available for other SoC which uses the same IP. The CCF (Common Clock Framework) have an abstraction based APIs for clock. Change to use CCF APIs to get clock and rate. So that different SoCs can use the s

[PATCH 2/7] clk: intel: Add clock driver for GRX500 SoC

2018-06-11 Thread Songjun Wu
From: Yixin Zhu PLL of GRX500 provide clock to DDR, CPU, and peripherals as show below +-+ |--->| LCPLL3 0|--PCIe clk--> XO |+-+ +---| |+-+ ||3|--PAE clk--> |--->| PLL0B

[PATCH 0/7] MIPS: intel: add initial support for Intel MIPS SoCs

2018-06-11 Thread Songjun Wu
This patch series is for adding the support for Intel MIPS interAptiv SoC GRX500 family. It includes CCF support, serial driver optimization and DTS modification. This patch series is applied on top of v4.17.1. Basic verification is performed on GRX500 board. Any comments on this would be apprec

Re: [PATCH v3 5/7] dt-bindings: power: Add qcom rpmh power domain driver bindings

2018-06-11 Thread Bjorn Andersson
On Mon 11 Jun 21:40 PDT 2018, Rajendra Nayak wrote: > Add DT bindings to describe the rpmh powerdomains found on Qualcomm > Technologies, Inc. SoCs. These power domains communicate a performance > state to RPMh, which then translates it into corresponding voltage on > a PMIC rail. > > Signed-off-

Re: [PATCH] fanotify: add error handling for kmem_cache_create

2018-06-11 Thread Amir Goldstein
On Tue, Jun 12, 2018 at 7:19 AM, Zhouyang Jia wrote: > When kmem_cache_create fails, the lack of error-handling code may > cause unexpected results. > > This patch adds error-handling code after calling kmem_cache_create. > > Signed-off-by: Zhouyang Jia > --- > fs/notify/fanotify/fanotify_user.c

RE: [PATCH] Input: add error handling for da9052_reg_write

2018-06-11 Thread Steve Twiss
On 11 June 2018 18:30 wrote Dmitry Torokhov > Subject: Re: [PATCH] Input: add error handling for da9052_reg_write > > Hi Zhouyang, > > On Mon, Jun 11, 2018 at 01:23:39PM +0800, Zhouyang Jia wrote: > > When da9052_reg_write fails, the lack of error-handling code may > > cause unexpected results.

Re: [PATCH] fsnotify: add error handling for kmem_cache_create

2018-06-11 Thread Amir Goldstein
On Tue, Jun 12, 2018 at 7:16 AM, Zhouyang Jia wrote: > When kmem_cache_create fails, the lack of error-handling code may > cause unexpected results. > > This patch adds error-handling code after calling kmem_cache_create. > > Signed-off-by: Zhouyang Jia > --- > fs/notify/dnotify/dnotify.c | 3 ++

[PATCH v2 2/2] gpio: davinci: Do not assume continuous IRQ numbering

2018-06-11 Thread Keerthy
Currently the driver assumes that the interrupts are continuous and does platform_get_irq only once and assumes the rest are continuous, instead call platform_get_irq for all the interrupts and store them in an array for later use. Signed-off-by: Keerthy --- Tested for GPIO Interrupts on da850-l

[PATCH v2 1/2] gpio: davinci: Shuffle IRQ resource fetching from DT to beginning of probe

2018-06-11 Thread Keerthy
This is needed in case of PROBE_DEFER if IRQ resource is not yet ready. Signed-off-by: Keerthy --- Tested for GPIO Interrupts on da850-lcdk and keystone-k2g-evm boards. No Changes in v2 drivers/gpio/gpio-davinci.c | 29 +++-- 1 file changed, 11 insertions(+), 18 deleti

Re: [PATCH 2/2] nvmem: Add Spreadtrum SC27XX efuse support

2018-06-11 Thread Randy Dunlap
On 06/11/2018 10:24 PM, Baolin Wang wrote: > From: Freeman Liu > > This patch add the efuse driver which is embeded in Spreadtrum SC27XX > series PMICs. The sc27xx efuse contains 32 blocks and each block's > data width is 16 bits. > > Signed-off-by: Freeman Liu > Signed-off-by: Baolin Wang > -

Re: [PATCH] staging: lustre: add error handling for try_module_get

2018-06-11 Thread NeilBrown
On Tue, Jun 12 2018, Zhouyang Jia wrote: > When try_module_get fails, the lack of error-handling code may > cause unexpected results. > > This patch adds error-handling code after calling try_module_get. > > Signed-off-by: Zhouyang Jia > --- > drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c

[PATCH 2/2] nvmem: Add Spreadtrum SC27XX efuse support

2018-06-11 Thread Baolin Wang
From: Freeman Liu This patch add the efuse driver which is embeded in Spreadtrum SC27XX series PMICs. The sc27xx efuse contains 32 blocks and each block's data width is 16 bits. Signed-off-by: Freeman Liu Signed-off-by: Baolin Wang --- drivers/nvmem/Kconfig| 11 ++ drivers/nvmem/Mak

[PATCH 1/2] dt-bindings: nvmem: Add Spreadtrum SC27XX efuse controller documentation

2018-06-11 Thread Baolin Wang
This patch adds the binding documentation for Spreadtrum SC27XX series PMICs efuse controller device. Signed-off-by: Baolin Wang --- .../devicetree/bindings/nvmem/sc27xx-efuse.txt | 52 1 file changed, 52 insertions(+) create mode 100644 Documentation/devicetree/bindi

Re: [PATCH 1/2] arm64: dts: qcom: sdm845: Add I2C, SPI, and UART9 nodes

2018-06-11 Thread Doug Anderson
Hi, On Mon, Jun 11, 2018 at 10:01 PM, Bjorn Andersson wrote: > On Thu 07 Jun 13:46 PDT 2018, Douglas Anderson wrote: > >> This adds nodes to SDM845-dtsi for all the I2C ports, all the SPI >> ports, and UART9. Note that I2C / SPI / UART are a bit strange on >> sdm845 because each "serial engine"

Re: [PATCH] proc: add error handling for kmem_cache_create

2018-06-11 Thread kbuild test robot
Hi, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.17 next-20180608] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/comm

[RFC PATCH 2/5] fsi/scom: Whitespace fixes

2018-06-11 Thread Benjamin Herrenschmidt
No functional changes Signed-off-by: Benjamin Herrenschmidt --- drivers/fsi/fsi-scom.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/fsi/fsi-scom.c b/drivers/fsi/fsi-scom.c index 3cba0eb645e1..8a608db0aa07 100644 --- a/drivers/fsi/fsi-scom.c +++ b/drivers/fs

[RFC PATCH 3/5] fsi/scom: Fixup endian annotations

2018-06-11 Thread Benjamin Herrenschmidt
Use the proper annotated type __be32 and fixup the accessor used for get_scom() Signed-off-by: Benjamin Herrenschmidt --- drivers/fsi/fsi-scom.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/fsi/fsi-scom.c b/drivers/fsi/fsi-scom.c index 8a608db0aa07..6ddfb6

[RFC PATCH 4/5] fsi/scom: Add register definitions

2018-06-11 Thread Benjamin Herrenschmidt
Add a few more register and bit definitions, also define and use SCOM_READ_CMD (which is 0 but it makes the code clearer) Signed-off-by: Benjamin Herrenschmidt --- drivers/fsi/fsi-scom.c | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers/fsi/fsi-scom.

[RFC PATCH 5/5] fsi/scom: Major overhaul

2018-06-11 Thread Benjamin Herrenschmidt
This was too hard to split ... this adds a number of features to the SCOM user interface: - Support for indirect SCOMs - read()/write() interface now handle errors and retries - New ioctl() "raw" interface for use by debuggers Signed-off-by: Benjamin Herrenschmidt --- drivers/fsi/fsi-scom.

Re: linux-next: build failure after merge of the drivers-x86 tree

2018-06-11 Thread dvhart
On June 11, 2018 6:23:10 PM PDT, Stephen Rothwell wrote: >Hi all, > >After merging the drivers-x86 tree, today's linux-next build (x86_64 >allmodconfig) failed like this: > >drivers/platform/x86/silead_dmi.c:84:21: error: variable >'chuwi_vi10_data' has initializer but incomplete type > static

[RFC PATCH 1/5] fsi/scom: Add mutex around FSI2PIB accesses

2018-06-11 Thread Benjamin Herrenschmidt
Otherwise, multiple clients can open the driver and attempt to access the PIB at the same time, thus clobbering each other in the process. Signed-off-by: Benjamin Herrenschmidt --- drivers/fsi/fsi-scom.c | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) diff --git

[RFC PATCH 0/5] FSI scom driver overhaul

2018-06-11 Thread Benjamin Herrenschmidt
The current FSI scom driver is a bit too simplistic (and buggy). This fixes a locking bug, cleans a few things up, then overhaul the driver more thoroughly by providing proper support for the different type of SCOM accesses (direct and indirect), handling errors properly in the read/write interface

Re: linux-next: build failure after merge of the drivers-x86 tree

2018-06-11 Thread Darren Hart
On Tue, Jun 12, 2018 at 11:23:10AM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the drivers-x86 tree, today's linux-next build (x86_64 > allmodconfig) failed like this: > > drivers/platform/x86/silead_dmi.c:84:21: error: variable 'chuwi_vi10_data' > has initializer but incomplete t

[PATCH v2 2/2] ALSA: hda: add dock and led support for HP ProBook 640 G4

2018-06-11 Thread Dennis Wassenberg
This patch adds missing initialisation for HP 2013 UltraSlim Dock Line-In/Out PINs and activates keyboard mute/micmute leds for HP ProBook 640 G4 Signed-off-by: Dennis Wassenberg --- sound/pci/hda/patch_conexant.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_conexant.c

[PATCH v2 1/2] ALSA: hda: add dock and led support for HP EliteBook 830 G5

2018-06-11 Thread Dennis Wassenberg
This patch adds missing initialisation for HP 2013 UltraSlim Dock Line-In/Out PINs and activates keyboard mute/micmute leds for HP EliteBook 830 G5 Signed-off-by: Dennis Wassenberg --- sound/pci/hda/patch_conexant.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_conexant

Re: [PATCH] proc: add error handling for kmem_cache_create

2018-06-11 Thread Alexey Dobriyan
On Tue, Jun 12, 2018 at 12:23:52PM +0800, Zhouyang Jia wrote: > When kmem_cache_create fails, the lack of error-handling code may > cause unexpected results. > > This patch adds error-handling code after calling kmem_cache_create. > pde_opener_cache = > kmem_cache_create("pde_

Re: [PATCH 2/2] IB/mad: Use IDR for agent IDs

2018-06-11 Thread jackm
On Mon, 11 Jun 2018 10:19:18 -0600 Jason Gunthorpe wrote: > On Mon, Jun 11, 2018 at 09:19:14AM +0300, jackm wrote: > > On Sun, 10 Jun 2018 22:42:03 -0600 > > Jason Gunthorpe wrote: > > > > > Er, the spec has nothing to do with this. In Linux the TID is made > > > unique because the core code

Re: [PATCH 2/2] arm64: dts: qcom: sdm845: Enable debug UART and I2C10 on sdm845-mtp

2018-06-11 Thread Bjorn Andersson
On Thu 07 Jun 13:46 PDT 2018, Douglas Anderson wrote: > The debug UART is very useful to have. I2C10 is enabled as an example > of a I2C port we can talk on for now. Eventually we'll want to put > peripherals under it. > > Signed-off-by: Douglas Anderson Reviewed-by: Bjorn Andersson Tested-b

Re: [PATCH 1/2] arm64: dts: qcom: sdm845: Add I2C, SPI, and UART9 nodes

2018-06-11 Thread Bjorn Andersson
On Thu 07 Jun 13:46 PDT 2018, Douglas Anderson wrote: > This adds nodes to SDM845-dtsi for all the I2C ports, all the SPI > ports, and UART9. Note that I2C / SPI / UART are a bit strange on > sdm845 because each "serial engine" has 4 pins associated with it and > depending on which firmware has b

Re: [intel-sgx-kernel-dev] [PATCH v11 13/13] intel_sgx: in-kernel launch enclave

2018-06-11 Thread Andy Lutomirski
On Mon, Jun 11, 2018 at 4:52 AM Neil Horman wrote: > > On Sun, Jun 10, 2018 at 10:17:13PM -0700, Andy Lutomirski wrote: > > > On Jun 9, 2018, at 10:39 PM, Andy Lutomirski wrote: > > > > > > On Fri, Jun 8, 2018 at 10:32 AM Jarkko Sakkinen > > > wrote: > > >> > > >> The Launch Enclave (LE) generat

Re: [PATCH 2/2] fs/lock: show locks taken by processes from another pidns

2018-06-11 Thread Andrey Vagin
On Fri, Jun 08, 2018 at 05:27:12PM +0300, Konstantin Khorenko wrote: > Currently if we face a lock taken by a process invisible in the current > pidns we skip the lock completely, but this > > 1) makes the output not that nice > (root@vz7)/: cat /proc/${PID_A2}/fdinfo/3 > pos:4 > f

[PATCH] staging: lustre: add error handling for try_module_get

2018-06-11 Thread Zhouyang Jia
When try_module_get fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling try_module_get. Signed-off-by: Zhouyang Jia --- drivers/staging/lustre/lnet/klnds/socklnd/socklnd.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-

Re: [PATCH v2 2/2] tpm: add support for nonblocking operation

2018-06-11 Thread Tadeusz Struk
On 06/11/2018 07:53 PM, kbuild test robot wrote: > Hi Tadeusz, > > Thank you for the patch! Yet something to improve: > > [auto build test ERROR on char-misc/char-misc-testing] > [also build test ERROR on next-20180608] > [cannot apply to v4.17] Hi, Thanks for the report. This patch should go on

[PATCH v3 4/7] arm64: dts: msm8996: Add rpmpd device node

2018-06-11 Thread Rajendra Nayak
Add rpmpd device node and its OPP table Signed-off-by: Rajendra Nayak Signed-off-by: Viresh Kumar --- arch/arm64/boot/dts/qcom/msm8996.dtsi | 34 +++ 1 file changed, 34 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/msm8996.dtsi b/arch/arm64/boot/dts/qcom/msm8996.

[PATCH v3 2/7] soc: qcom: rpmpd: Add a Power domain driver to model corners

2018-06-11 Thread Rajendra Nayak
The Power domains for corners just pass the performance state set by the consumers to the RPM (Remote Power manager) which then takes care of setting the appropriate voltage on the corresponding rails to meet the performance needs. We add all Power domain data needed on msm8996 here. This driver c

[PATCH v3 7/7] soc: qcom: rpmpd/rpmhpd: Add a max vote on all corners at init

2018-06-11 Thread Rajendra Nayak
As we move from no clients/consumers in kernel voting on corners, to *some* voting and some not voting, we might end up in a situation where the clients which remove votes can adversly impact others who still don't have a way to vote. To avoid this situation, have a max vote on all corners at init

[PATCH v3 5/7] dt-bindings: power: Add qcom rpmh power domain driver bindings

2018-06-11 Thread Rajendra Nayak
Add DT bindings to describe the rpmh powerdomains found on Qualcomm Technologies, Inc. SoCs. These power domains communicate a performance state to RPMh, which then translates it into corresponding voltage on a PMIC rail. Signed-off-by: Rajendra Nayak --- .../devicetree/bindings/power/qcom,rpmhp

[PATCH v3 3/7] soc: qcom: rpmpd: Add support for get/set performance state

2018-06-11 Thread Rajendra Nayak
Add support for the .set_performace_state() and .opp_to_performance_state() callbacks in the rpmpd driver. Signed-off-by: Rajendra Nayak Signed-off-by: Viresh Kumar --- drivers/soc/qcom/rpmpd.c | 46 1 file changed, 46 insertions(+) diff --git a/drivers

[PATCH v3 6/7] soc: qcom: Add RPMh Power domain driver

2018-06-11 Thread Rajendra Nayak
The RPMh Power domain driver aggregates the corner votes from various consumers for the ARC resources and communicates it to RPMh. We also add data for all power domains on sdm845 SoC as part of the patch. The driver can be extended to support other SoCs which support RPMh Signed-off-by: Rajendra

[PATCH v3 0/7] Add powerdomain driver for corners on msm8996/sdm845

2018-06-11 Thread Rajendra Nayak
Changes in v3: * Bindings split into seperate patches * Bindings updated to remove duplicate OPP table phandles * DT headers defining macros for Power domain indexes and OPP levels * Optimisations to use rpmh_write_async() whereever applicable * Fixed up handling of ACTIVE_ONLY/WAKE_ONLY/SLEEP voti

[PATCH v3 1/7] dt-bindings: power: Add qcom rpm power domain driver bindings

2018-06-11 Thread Rajendra Nayak
Add DT bindings to describe the rpm power domains found on Qualcomm Technologies, Inc. SoCs. These power domains communicate a performance state to RPM, which then translates it into corresponding voltage on a PMIC rail. Signed-off-by: Rajendra Nayak Signed-off-by: Viresh Kumar --- .../devicetr

[PATCH] rtc: rtc-bq4802: add error handling for devm_ioremap

2018-06-11 Thread Zhouyang Jia
When devm_ioremap fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling devm_ioremap. Signed-off-by: Zhouyang Jia --- drivers/rtc/rtc-bq4802.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/rtc/rtc-bq4802.c b/driv

[PATCH] ACPI : dock: add error handling for acpi_bus_get_device

2018-06-11 Thread Zhouyang Jia
When acpi_bus_get_device fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling acpi_bus_get_device. Signed-off-by: Zhouyang Jia --- drivers/acpi/dock.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers

[PATCH] drivers/tty: add error handling for pcmcia_loop_config

2018-06-11 Thread Zhouyang Jia
When pcmcia_loop_config fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling pcmcia_loop_config. Signed-off-by: Zhouyang Jia --- drivers/tty/serial/8250/serial_cs.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) dif

Re: [PATCH 1/2] fs/lock: skip lock owner pid translation in case we are in init_pid_ns

2018-06-11 Thread Andrey Vagin
On Fri, Jun 08, 2018 at 05:27:11PM +0300, Konstantin Khorenko wrote: > If the flock owner process is dead and its pid has been already freed, > pid translation won't work, but we still want to show flock owner pid > number when expecting /proc/$PID/fdinfo/$FD in init pidns. > > Reproducer: > proce

[PATCH] fs/coda: add error handling for fget

2018-06-11 Thread Zhouyang Jia
When fget fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling fget. Signed-off-by: Zhouyang Jia --- fs/coda/psdev.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/fs/coda/psdev.c b/fs/coda/psdev.c index

[PATCH] integrity: add error handling for kmem_cache_create

2018-06-11 Thread Zhouyang Jia
When kmem_cache_create fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling kmem_cache_create. Signed-off-by: Zhouyang Jia --- security/integrity/iint.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/security/integrity/ii

[PATCH] proc: add error handling for kmem_cache_create

2018-06-11 Thread Zhouyang Jia
When kmem_cache_create fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling kmem_cache_create. Signed-off-by: Zhouyang Jia --- fs/proc/inode.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/proc/inode.c b/fs/proc/inode

[PATCH] inotify: add error handling for kmem_cache_create

2018-06-11 Thread Zhouyang Jia
When kmem_cache_create fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling kmem_cache_create. Signed-off-by: Zhouyang Jia --- fs/notify/inotify/inotify_user.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fs/notify/inoti

[PATCH] fanotify: add error handling for kmem_cache_create

2018-06-11 Thread Zhouyang Jia
When kmem_cache_create fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling kmem_cache_create. Signed-off-by: Zhouyang Jia --- fs/notify/fanotify/fanotify_user.c | 5 + 1 file changed, 5 insertions(+) diff --git a/fs/notify/

[PATCH] fsnotify: add error handling for kmem_cache_create

2018-06-11 Thread Zhouyang Jia
When kmem_cache_create fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling kmem_cache_create. Signed-off-by: Zhouyang Jia --- fs/notify/dnotify/dnotify.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fs/notify/dnotify/d

[GIT PULL] FSI updates

2018-06-11 Thread Benjamin Herrenschmidt
Hi Greg ! There are a first round of updates of the FSI stack, aiming at reducing/removing the gap with the OpenBMC tree and a first step in getting dependent drivers upstream. These changes significantly improve the FSI bitbanging driver performance and reliability, and add the new "sbefifo" dri

Re: [RESEND v2] dmaengine: pxa: add a default requestor policy

2018-06-11 Thread Vinod Koul
On 11-06-18, 21:54, Robert Jarzmik wrote: > Vinod Koul writes: > > > On 09-06-18, 14:43, Robert Jarzmik wrote: > >> Robert Jarzmik writes: > >> > >> > As what former drcmr -1 value meant, add a this as a default to each > >> > channel, ie. that by default no requestor line is used. > >> > > >>

Re: [PATCH] perf report powerpc: Fix crash if callchain is empty

2018-06-11 Thread Ravi Bangoria
On 06/11/2018 04:10 PM, Sandipan Das wrote: > For some cases, the callchain provided by the kernel may be > empty. So, the callchain ip filtering code will cause a crash > if we do not check whether the struct ip_callchain pointer is > NULL before accessing any members. > > This can be observed

linux-next: Tree for Jun 12

2018-06-11 Thread Stephen Rothwell
Hi all, Note: please do *not* add any v4.19 material to your linux-next included branches until after v4.18-rc1 has been released. Changes since 20180608: The rcu tree gained a conflict against Linus' tree. The drivers-x86 tree gained a build failure for which I reverted a commit. Non-merge co

[PATCH] gpio: max732x: add error handling for i2c_new_dummy

2018-06-11 Thread Zhouyang Jia
When i2c_new_dummy fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling i2c_new_dummy. Signed-off-by: Zhouyang Jia --- drivers/gpio/gpio-max732x.c | 12 1 file changed, 12 insertions(+) diff --git a/drivers/gpio/gpi

Re: [PATCH] RISC-V: Fix PTRACE_SETREGSET bug.

2018-06-11 Thread Jim Wilson
On Mon, Jun 11, 2018 at 5:46 PM, Palmer Dabbelt wrote: > Whoops, that's embarassing :). I poked around and didn't see this anywhere > else, so I'm not sure where we managed to obtain this particular pathology. Comment say it was copied from tile which I think was just recently removed. But look

[PATCH] staging: comedi: add error handling for vmap

2018-06-11 Thread Zhouyang Jia
When vmap fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling vmap. Signed-off-by: Zhouyang Jia --- drivers/staging/comedi/comedi_buf.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/staging/come

[PATCH] ALSA: lx6464es: add error handling for pci_ioremap_bar

2018-06-11 Thread Zhouyang Jia
When pci_ioremap_bar fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling pci_ioremap_bar. Signed-off-by: Zhouyang Jia --- sound/pci/lx6464es/lx6464es.c | 4 1 file changed, 4 insertions(+) diff --git a/sound/pci/lx6464es/l

[PATCH] fmc: add error handling for kmemdup

2018-06-11 Thread Zhouyang Jia
When kmemdup fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling kmemdup. Signed-off-by: Zhouyang Jia --- drivers/fmc/fmc-fakedev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/fmc/fmc-fakedev.c b/drivers/fmc/f

[PATCH] staging: rtl8712: add error handling for register_netdev

2018-06-11 Thread Zhouyang Jia
When register_netdev fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling register_netdev. Signed-off-by: Zhouyang Jia --- drivers/staging/rtl8712/hal_init.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --gi

Re: [PATCH -mm -V3 03/21] mm, THP, swap: Support PMD swap mapping in swap_duplicate()

2018-06-11 Thread Huang, Ying
"Huang, Ying" writes: >> On Wed, May 23, 2018 at 04:26:07PM +0800, Huang, Ying wrote: >>> @@ -3516,11 +3512,39 @@ static int __swap_duplicate(swp_entry_t entry, >>> unsigned char usage) >> >> Two comments about this part of __swap_duplicate as long as you're moving it >> to >> another function:

[PATCH] mtd: gpio_flash: add error handling for ioremap_nocache

2018-06-11 Thread Zhouyang Jia
When ioremap_nocache fails, the lack of error-handling code may cause unexpected results. This patch adds error-handling code after calling ioremap_nocache. Signed-off-by: Zhouyang Jia --- drivers/mtd/maps/gpio-addr-flash.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/mtd/maps

[GIT PULL] NTB changes for v4.18

2018-06-11 Thread Jon Mason
Hello Linus, Here are a few NTB changes for v4.18. They were tested earlier today by Dave Jiang, and have been in linux-next for some time. Please consider pulling them. Thanks, Jon The following changes since commit 29dcea88779c856c7dc92040a0c01233263101d4: Linux 4.17 (2018-06-03 14:15:21

Re: [PATCH 3/3] riscv: fix __user annotation for __copy_user()

2018-06-11 Thread Luc Van Oostenryck
On Mon, Jun 11, 2018 at 12:01:37PM -0700, Palmer Dabbelt wrote: > On Sat, 09 Jun 2018 14:42:12 PDT (-0700), luc.vanoostenr...@gmail.com wrote: > > On Sat, Jun 09, 2018 at 01:00:08PM -0700, Palmer Dabbelt wrote: > > > On Fri, 08 Jun 2018 17:13:12 PDT (-0700), luc.vanoostenr...@gmail.com > > > wrote

Re: [PATCHv4 1/3] scripts: Preprocess module-common.lds

2018-06-11 Thread kbuild test robot
Hi Laura, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.17 next-20180608] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Laur

Re: [PATCH v2 2/2] tpm: add support for nonblocking operation

2018-06-11 Thread kbuild test robot
Hi Tadeusz, Thank you for the patch! Yet something to improve: [auto build test ERROR on char-misc/char-misc-testing] [also build test ERROR on next-20180608] [cannot apply to v4.17] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: http

Re: [PATCH 14/39] ovl: stack file ops

2018-06-11 Thread Al Viro
On Tue, Jun 12, 2018 at 03:29:26AM +0100, Al Viro wrote: > It might (or might not) work for the filesystems you'd been testing > on, but it's a lot of trouble waiting to happen. Hell, try and use > ecryptfs as lower layer, see how fast it'll blow up. Sure, it's > a dumb testcase, but I don't see

Re: [PATCH] Revert "debugfs: inode: debugfs_create_dir uses mode permission from parent"

2018-06-11 Thread Mike Galbraith
On Mon, 2018-06-11 at 11:12 -0700, Laura Abbott wrote: > On 06/11/2018 02:28 AM, Thomas Richter wrote: > > This reverts commit 95cde3c59966f6371b6bcd9e4e2da2ba64ee9775. > > It breaks the ioctl(KVM_CREATE_VM) interface. > > > > Can you elaborate a little more on how this breaks? Fedora has > gotte

Re: [PATCH 14/39] ovl: stack file ops

2018-06-11 Thread Al Viro
On Mon, Jun 11, 2018 at 09:09:04AM +0200, Miklos Szeredi wrote: [context: opening files in layers with unholy mix of overlayfs ->f_path and layer's ->f_inode/->f_op] > I'd really like to get there some time but... > > List of basic requirements: > > - Private mmap of overlay file shares page c

RE: [PATCH] KVM: x86: Expose CLDEMOTE CPU feature to guest VM

2018-06-11 Thread Liu, Jingqi
On 5/8/2018 12:30 AM, Paolo Bonzini wrote: > > On 04/05/2018 05:55, Jingqi Liu wrote: > > The CLDEMOTE instruction hints to hardware that the cache line that > > contains the linear address should be moved("demoted") from the > > cache(s) closest to the processor core to a level more distant from

Re: [PATCHv4 1/3] scripts: Preprocess module-common.lds

2018-06-11 Thread kbuild test robot
Hi Laura, I love your patch! Yet something to improve: [auto build test ERROR on linus/master] [also build test ERROR on v4.17 next-20180608] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Laur

Re: [PATCH v2 09/11] misc: throttler: Add core support for non-thermal throttling

2018-06-11 Thread Brian Norris
Hi! A few comments, but I didn't get to finish a thorough review yet. On Thu, Jun 07, 2018 at 11:12:12AM -0700, Matthias Kaehlcke wrote: > The purpose of the throttler is to provide support for non-thermal > throttling. Throttling is triggered by external event, e.g. the > detection of a high ba

RE: [PATCH v9 09/12] KVM: x86: Introduce a function to initialize the PT configuration

2018-06-11 Thread Kang, Luwei
> >>> + /* Initialize and clear the no dependency bits */ > >>> + vmx->pt_desc.ctl_bitmask = ~0ULL; > >> This looks redundant, doesn't it? > > This is a bit mask for RTIT_CTL MSR and it will make & with the value of > > RTIT_CLT from guest. > > The reserved bits will be 1 in this bit mask and the

Re: [PATCHv4 0/3] Salted build ids via linker sections

2018-06-11 Thread Linus Torvalds
On Mon, Jun 11, 2018 at 5:32 PM Laura Abbott wrote: > > v4 takes Linus' suggestion of using linker fill to insert the build id. Heh. I was hoping somebody would come up with a way to avoid my crazy "put a LONG into an aligned section to cause alignment filling" thing. Because somebody will ask "

Re: [PATCH -mm -V3 03/21] mm, THP, swap: Support PMD swap mapping in swap_duplicate()

2018-06-11 Thread Huang, Ying
Hi, Daniel, Thanks for your effort to review this series. Daniel Jordan writes: > Hi, > > The series up to and including this patch doesn't build. For this patch we > need: > > diff --git a/mm/swap_state.c b/mm/swap_state.c > index c6b3eab73fde..2f2d07627113 100644 > --- a/mm/swap_state.c > ++

  1   2   3   4   5   6   7   8   >