[PATCH v3 2/3] spis: mediatek: add spi slave for Mediatek MT2712

2018-09-16 Thread Leilk Liu
This patchs add basic spi slave for MT2712. Signed-off-by: Leilk Liu --- drivers/spi/Kconfig|8 + drivers/spi/Makefile |1 + drivers/spi/spi-slave-mt27xx.c | 553 3 files changed, 562 insertions(+) create mode 100644

[PATCH v3 1/3] spis: mediatek: add bindings for Mediatek MT2712 soc platform

2018-09-16 Thread Leilk Liu
This patch adds a DT binding documentation for the MT2712 soc. Signed-off-by: Leilk Liu --- .../devicetree/bindings/spi/spi-slave-mt27xx.txt | 32 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-slave-mt27xx.txt diff --git

[PATCH v3 0/3] Add Mediatek SPI slave driver

2018-09-16 Thread Leilk Liu
>From 82bced99683343899dea4634452940b15d6374eb Mon Sep 17 00:00:00 2001 From: Leilk Liu Date: Mon, 17 Sep 2018 10:07:45 +0800 Subject: [PATCH v3 0/3] Add Mediatek SPI slave driver v3: 1. Fix Rob Herring review comment about bindings. 2. remove unused variables in driver. v2: 1. Fix Sean Wang

[PATCH v3 3/3] arm64: dts: Add spi slave dts

2018-09-16 Thread Leilk Liu
This patch adds MT2712 spi slave into device tree. Signed-off-by: Leilk Liu --- arch/arm64/boot/dts/mediatek/mt2712e.dtsi | 11 +++ 1 file changed, 11 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt2712e.dtsi b/arch/arm64/boot/dts/mediatek/mt2712e.dtsi index

[PATCH v3 2/3] spis: mediatek: add spi slave for Mediatek MT2712

2018-09-16 Thread Leilk Liu
This patchs add basic spi slave for MT2712. Signed-off-by: Leilk Liu --- drivers/spi/Kconfig|8 + drivers/spi/Makefile |1 + drivers/spi/spi-slave-mt27xx.c | 553 3 files changed, 562 insertions(+) create mode 100644

[PATCH v3 1/3] spis: mediatek: add bindings for Mediatek MT2712 soc platform

2018-09-16 Thread Leilk Liu
This patch adds a DT binding documentation for the MT2712 soc. Signed-off-by: Leilk Liu --- .../devicetree/bindings/spi/spi-slave-mt27xx.txt | 32 1 file changed, 32 insertions(+) create mode 100644 Documentation/devicetree/bindings/spi/spi-slave-mt27xx.txt diff --git

Re: [PATCH V5 2/3] dt-bindings: interrupt-controller: C-SKY APB intc

2018-09-16 Thread Guo Ren
On Sun, Sep 16, 2018 at 08:27:01PM +0100, Marc Zyngier wrote: > On Sun, 16 Sep 2018 09:50:03 +0100, > Guo Ren wrote: > > > > Signed-off-by: Guo Ren > > Please write a commit message. Same thing for the following patch. Ok. Best Regards Guo Ren

Re: [PATCH V5 2/3] dt-bindings: interrupt-controller: C-SKY APB intc

2018-09-16 Thread Guo Ren
On Sun, Sep 16, 2018 at 08:27:01PM +0100, Marc Zyngier wrote: > On Sun, 16 Sep 2018 09:50:03 +0100, > Guo Ren wrote: > > > > Signed-off-by: Guo Ren > > Please write a commit message. Same thing for the following patch. Ok. Best Regards Guo Ren

Re: [PATCH V5 1/3] irqchip: add C-SKY irqchip drivers

2018-09-16 Thread Guo Ren
On Sun, Sep 16, 2018 at 08:07:55PM +0100, Marc Zyngier wrote: > On Sun, 16 Sep 2018 09:50:02 +0100, > Guo Ren wrote: > > +static void csky_mpintc_handler(struct pt_regs *regs) > > +{ > > + void __iomem *reg_base = this_cpu_read(intcl_reg); > > + > > + do { > > +

Re: [PATCH V5 1/3] irqchip: add C-SKY irqchip drivers

2018-09-16 Thread Guo Ren
On Sun, Sep 16, 2018 at 08:07:55PM +0100, Marc Zyngier wrote: > On Sun, 16 Sep 2018 09:50:02 +0100, > Guo Ren wrote: > > +static void csky_mpintc_handler(struct pt_regs *regs) > > +{ > > + void __iomem *reg_base = this_cpu_read(intcl_reg); > > + > > + do { > > +

Re: [PATCH] trace nvme submit queue status

2018-09-16 Thread kbuild test robot
/commits/yupeng/trace-nvme-submit-queue-status/20180916-095618 config: x86_64-rhel (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): &g

Re: [PATCH] trace nvme submit queue status

2018-09-16 Thread kbuild test robot
/commits/yupeng/trace-nvme-submit-queue-status/20180916-095618 config: x86_64-rhel (attached as .config) compiler: gcc-7 (Debian 7.3.0-1) 7.3.0 reproduce: # save the attached .config to linux build tree make ARCH=x86_64 All errors (new ones prefixed by >>): &g

Re: [PATCH] PM / suspend: Count extra iterations of s2idle loop as sleep time

2018-09-16 Thread kbuild test robot
/commits/Rafael-J-Wysocki/PM-suspend-Count-extra-iterations-of-s2idle-loop-as-sleep-time/20180916-163810 config: powerpc-ppc6xx_defconfig (attached as .config) compiler: powerpc-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin

Re: [PATCH] PM / suspend: Count extra iterations of s2idle loop as sleep time

2018-09-16 Thread kbuild test robot
/commits/Rafael-J-Wysocki/PM-suspend-Count-extra-iterations-of-s2idle-loop-as-sleep-time/20180916-163810 config: powerpc-ppc6xx_defconfig (attached as .config) compiler: powerpc-linux-gnu-gcc (Debian 7.2.0-11) 7.2.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin

Re: [PATCH v3 02/13] mfd: wcd9335: add support to wcd9335 core

2018-09-16 Thread Lee Jones
On Wed, 12 Sep 2018, Srinivas Kandagatla wrote: > > > > > > > There are two parts for device to be ready to talk at bus level: > > > 1> power up and reset, > > > 2> enumerate and assign a logical address by the slimbus controller. > > > > > > First part as you said is already done in probe. >

Re: [PATCH v3 02/13] mfd: wcd9335: add support to wcd9335 core

2018-09-16 Thread Lee Jones
On Wed, 12 Sep 2018, Srinivas Kandagatla wrote: > > > > > > > There are two parts for device to be ready to talk at bus level: > > > 1> power up and reset, > > > 2> enumerate and assign a logical address by the slimbus controller. > > > > > > First part as you said is already done in probe. >

Re: [BUG] mfd: ezx-pcap: Possible sleep-in-atomic-context bugs in pcap_adc_irq()

2018-09-16 Thread Lee Jones
On Sat, 15 Sep 2018, Jia-Ju Bai wrote: > The driver may sleep in an interrupt handler. > The function call paths (from bottom to top) in Linux-4.17 are: > > [FUNC] mutex_lock_nested > drivers/mfd/ezx-pcap.c, 272: > mutex_lock_nested in pcap_adc_irq (interrupt handler) > > [FUNC]

Re: [BUG] mfd: ezx-pcap: Possible sleep-in-atomic-context bugs in pcap_adc_irq()

2018-09-16 Thread Lee Jones
On Sat, 15 Sep 2018, Jia-Ju Bai wrote: > The driver may sleep in an interrupt handler. > The function call paths (from bottom to top) in Linux-4.17 are: > > [FUNC] mutex_lock_nested > drivers/mfd/ezx-pcap.c, 272: > mutex_lock_nested in pcap_adc_irq (interrupt handler) > > [FUNC]

[PATCH v4 07/14] ASoC: wcd9335: add playback dapm widgets

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds required dapm widgets for playback. Signed-off-by: Srinivas Kandagatla Reviewed-by: Vinod Koul --- sound/soc/codecs/wcd9335.c | 1796 1 file changed, 1796 insertions(+) diff --git

[PATCH v4 07/14] ASoC: wcd9335: add playback dapm widgets

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds required dapm widgets for playback. Signed-off-by: Srinivas Kandagatla Reviewed-by: Vinod Koul --- sound/soc/codecs/wcd9335.c | 1796 1 file changed, 1796 insertions(+) diff --git

[PATCH v4 12/14] ASoC: apq8096: add slim support

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/apq8096.c | 72 +++- 1 file changed, 71 insertions(+), 1 deletion(-) diff --git a/sound/soc/qcom/apq8096.c b/sound/soc/qcom/apq8096.c index 1543e85..66a28c2 100644 ---

[PATCH v4 03/14] mfd: wcd9335: add wcd irq support

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla WCD9335 supports two lines of irqs INTR1 and INTR2. Multiple interrupts are muxed via these lines. INTR1 consists of all possible interrupt sources like: Ear OCP, HPH OCP, MBHC, MAD, VBAT, and SVA. INTR2 is a subset of first interrupt sources like MAD, VBAT, and SVA

[PATCH v4 05/14] ASoC: wcd9335: add CLASS-H Controller support

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla CLASS-H controller/Amplifier is common accorss Qualcomm WCD codec series. This patchset adds basic CLASS-H controller apis for WCD codecs after wcd9335 to use. Signed-off-by: Srinivas Kandagatla Reviewed-by: Vinod Koul --- sound/soc/codecs/Makefile | 2 +-

[PATCH v4 08/14] ASoC: wcd9335: add capture dapm widgets

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds required dapm widgets for capture path. Signed-off-by: Srinivas Kandagatla Reviewed-by: Vinod Koul --- sound/soc/codecs/wcd9335.c | 1449 +++- 1 file changed, 1448 insertions(+), 1 deletion(-) diff --git

[PATCH v4 09/14] ASoC: wcd9335: add audio routings

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds audio routing for both playback and capture. Signed-off-by: Srinivas Kandagatla Reviewed-by: Vinod Koul --- sound/soc/codecs/wcd9335.c | 189 + 1 file changed, 189 insertions(+) diff --git

[PATCH v4 11/14] ASoC: wcd9335: add mbhc support

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- sound/soc/codecs/wcd9335.c | 268 - 1 file changed, 266 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/wcd9335.c b/sound/soc/codecs/wcd9335.c index efbb698..6c95cff 100644

[PATCH v4 10/14] ASoC: dt-bindings: Add WCD9335 MBHC specific properties

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch add new bindings required to support MBHC (Multi Button Headset Control) block in the codec. This block is used for jack insert/removal detection, headset type detection and 8 button press/release events. All these properties are very much specific to board.

[PATCH v4 03/14] mfd: wcd9335: add wcd irq support

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla WCD9335 supports two lines of irqs INTR1 and INTR2. Multiple interrupts are muxed via these lines. INTR1 consists of all possible interrupt sources like: Ear OCP, HPH OCP, MBHC, MAD, VBAT, and SVA. INTR2 is a subset of first interrupt sources like MAD, VBAT, and SVA

[PATCH v4 05/14] ASoC: wcd9335: add CLASS-H Controller support

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla CLASS-H controller/Amplifier is common accorss Qualcomm WCD codec series. This patchset adds basic CLASS-H controller apis for WCD codecs after wcd9335 to use. Signed-off-by: Srinivas Kandagatla Reviewed-by: Vinod Koul --- sound/soc/codecs/Makefile | 2 +-

[PATCH v4 08/14] ASoC: wcd9335: add capture dapm widgets

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds required dapm widgets for capture path. Signed-off-by: Srinivas Kandagatla Reviewed-by: Vinod Koul --- sound/soc/codecs/wcd9335.c | 1449 +++- 1 file changed, 1448 insertions(+), 1 deletion(-) diff --git

[PATCH v4 09/14] ASoC: wcd9335: add audio routings

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds audio routing for both playback and capture. Signed-off-by: Srinivas Kandagatla Reviewed-by: Vinod Koul --- sound/soc/codecs/wcd9335.c | 189 + 1 file changed, 189 insertions(+) diff --git

[PATCH v4 11/14] ASoC: wcd9335: add mbhc support

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- sound/soc/codecs/wcd9335.c | 268 - 1 file changed, 266 insertions(+), 2 deletions(-) diff --git a/sound/soc/codecs/wcd9335.c b/sound/soc/codecs/wcd9335.c index efbb698..6c95cff 100644

[PATCH v4 10/14] ASoC: dt-bindings: Add WCD9335 MBHC specific properties

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch add new bindings required to support MBHC (Multi Button Headset Control) block in the codec. This block is used for jack insert/removal detection, headset type detection and 8 button press/release events. All these properties are very much specific to board.

[PATCH v4 12/14] ASoC: apq8096: add slim support

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/apq8096.c | 72 +++- 1 file changed, 71 insertions(+), 1 deletion(-) diff --git a/sound/soc/qcom/apq8096.c b/sound/soc/qcom/apq8096.c index 1543e85..66a28c2 100644 ---

[PATCH v4 13/14] ASoC: apq8096: add headset JACK support

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/apq8096.c | 53 1 file changed, 53 insertions(+) diff --git a/sound/soc/qcom/apq8096.c b/sound/soc/qcom/apq8096.c index 66a28c2..daad43f 100644 ---

[PATCH v4 14/14] ASoC: qcom: common: move be_hw_fixup to common

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla be_hw_fixup for qdsp is common across mutiple qcom machine drivers, so move it to common file and remove the redundant code. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/apq8096.c | 15 --- sound/soc/qcom/common.c | 17 +

[PATCH v4 02/14] mfd: wcd9335: add support to wcd9335 core

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC, It has mulitple blocks like Soundwire controller, codec, Codec processing engine, ClassH controller, interrupt mux. It supports both I2S/I2C and SLIMbus audio interfaces. This patch adds support to SLIMbus

[PATCH v4 13/14] ASoC: apq8096: add headset JACK support

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/apq8096.c | 53 1 file changed, 53 insertions(+) diff --git a/sound/soc/qcom/apq8096.c b/sound/soc/qcom/apq8096.c index 66a28c2..daad43f 100644 ---

[PATCH v4 14/14] ASoC: qcom: common: move be_hw_fixup to common

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla be_hw_fixup for qdsp is common across mutiple qcom machine drivers, so move it to common file and remove the redundant code. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/apq8096.c | 15 --- sound/soc/qcom/common.c | 17 +

[PATCH v4 02/14] mfd: wcd9335: add support to wcd9335 core

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC, It has mulitple blocks like Soundwire controller, codec, Codec processing engine, ClassH controller, interrupt mux. It supports both I2S/I2C and SLIMbus audio interfaces. This patch adds support to SLIMbus

[PATCH v4 00/14] ASoC: Add support to WCD9335 Audio Codec

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Thankyou for reviewing v3 patchset, here is v4 addressing comments from v3. Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC. It is integrated in multiple Qualcomm SoCs like: MSM8996, MSM8976, and MSM8956 chipsets. WCD9335 had multiple functional blocks,

[PATCH v4 04/14] ASoC: wcd9335: add support to wcd9335 codec

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC, It supports both I2S/I2C and SLIMbus audio interfaces. On slimbus interface it supports two data lanes; 16 Tx ports and 8 Rx ports. It has Seven DACs and nine dedicated interpolators, Seven (six audio ADCs,

[PATCH v4 06/14] ASoC: wcd9335: add basic controls

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds basic controls found in wcd9335 codec. Signed-off-by: Srinivas Kandagatla Reviewed-by: Vinod Koul --- sound/soc/codecs/wcd9335.c | 358 + 1 file changed, 358 insertions(+) diff --git

[PATCH v4 01/14] ASoC: dt-bindings: update wcd9335 bindings.

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch updates wcd9335 bindings with recommended properties. Signed-off-by: Srinivas Kandagatla Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/sound/qcom,wcd9335.txt | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH v4 00/14] ASoC: Add support to WCD9335 Audio Codec

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Thankyou for reviewing v3 patchset, here is v4 addressing comments from v3. Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC. It is integrated in multiple Qualcomm SoCs like: MSM8996, MSM8976, and MSM8956 chipsets. WCD9335 had multiple functional blocks,

[PATCH v4 04/14] ASoC: wcd9335: add support to wcd9335 codec

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Qualcomm WCD9335 Codec is a standalone Hi-Fi audio codec IC, It supports both I2S/I2C and SLIMbus audio interfaces. On slimbus interface it supports two data lanes; 16 Tx ports and 8 Rx ports. It has Seven DACs and nine dedicated interpolators, Seven (six audio ADCs,

[PATCH v4 06/14] ASoC: wcd9335: add basic controls

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds basic controls found in wcd9335 codec. Signed-off-by: Srinivas Kandagatla Reviewed-by: Vinod Koul --- sound/soc/codecs/wcd9335.c | 358 + 1 file changed, 358 insertions(+) diff --git

[PATCH v4 01/14] ASoC: dt-bindings: update wcd9335 bindings.

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch updates wcd9335 bindings with recommended properties. Signed-off-by: Srinivas Kandagatla Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/sound/qcom,wcd9335.txt | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git

[PATCH v1 3/3] arm: mm: support get_user_pages_fast

2018-09-16 Thread Minchan Kim
Recently, there was a report get_user_pages_fast helps app launching speed due to reducing uninterruptible sleep time because we don't need to contend for mmap_sem, I believe. With get_user_pages_fast, that uniterruptible sleep time is reduced about 5~10% by testing. Cc: Russell King Cc:

[PATCH v1 3/3] arm: mm: support get_user_pages_fast

2018-09-16 Thread Minchan Kim
Recently, there was a report get_user_pages_fast helps app launching speed due to reducing uninterruptible sleep time because we don't need to contend for mmap_sem, I believe. With get_user_pages_fast, that uniterruptible sleep time is reduced about 5~10% by testing. Cc: Russell King Cc:

Re: [PATCH 16/18] LSM: Allow arbitrary LSM ordering

2018-09-16 Thread Tetsuo Handa
On 2018/09/17 8:00, Kees Cook wrote: > On Sun, Sep 16, 2018 at 11:49 AM, Casey Schaufler > wrote: >> One solution is to leave security= as is, not affecting "minor" >> modules and only allowing specification of one major module, and adding > > I would much prefer this, yes. > > A question

[PATCH v1 1/3] arm: mm: reordering memory type table

2018-09-16 Thread Minchan Kim
To use bit 5 in page table as L_PTE_SPECIAL, we need a room for that. It seems we don't need 4 bits for the memory type with ARMv6+. If it's true, let's reorder bits to make bit 5 free. We will use the bit for L_PTE_SPECIAL in next patch. A note from Catalin " > Anyway, on ARMv7 or ARMv6+LPAE,

[PATCH v1 2/3] arm: mm: introduce L_PTE_SPECIAL

2018-09-16 Thread Minchan Kim
This patch introduces L_PTE_SPECIAL and pte functions for supporting get_user_pages_fast. Cc: Russell King Cc: Catalin Marinas Cc: Will Deacon Cc: Steve Capper Signed-off-by: Minchan Kim --- arch/arm/Kconfig | 2 +- arch/arm/include/asm/pgtable-2level.h | 3 +--

Re: [PATCH 16/18] LSM: Allow arbitrary LSM ordering

2018-09-16 Thread Tetsuo Handa
On 2018/09/17 8:00, Kees Cook wrote: > On Sun, Sep 16, 2018 at 11:49 AM, Casey Schaufler > wrote: >> One solution is to leave security= as is, not affecting "minor" >> modules and only allowing specification of one major module, and adding > > I would much prefer this, yes. > > A question

[PATCH v1 1/3] arm: mm: reordering memory type table

2018-09-16 Thread Minchan Kim
To use bit 5 in page table as L_PTE_SPECIAL, we need a room for that. It seems we don't need 4 bits for the memory type with ARMv6+. If it's true, let's reorder bits to make bit 5 free. We will use the bit for L_PTE_SPECIAL in next patch. A note from Catalin " > Anyway, on ARMv7 or ARMv6+LPAE,

[PATCH v1 2/3] arm: mm: introduce L_PTE_SPECIAL

2018-09-16 Thread Minchan Kim
This patch introduces L_PTE_SPECIAL and pte functions for supporting get_user_pages_fast. Cc: Russell King Cc: Catalin Marinas Cc: Will Deacon Cc: Steve Capper Signed-off-by: Minchan Kim --- arch/arm/Kconfig | 2 +- arch/arm/include/asm/pgtable-2level.h | 3 +--

[PATCH v1 0/3] arm: support get_user_pages_fast

2018-09-16 Thread Minchan Kim
Recently, I got a report get_user_pages_fast helps app's launching time due to reducing uninterruptible sleep time because it could reduce mmap_sem lock contentions when app is launching. To support gupf in ARM-non-LPAE, first patch reorders memory type table to use 5th bit of the page table.

[PATCH v1 0/3] arm: support get_user_pages_fast

2018-09-16 Thread Minchan Kim
Recently, I got a report get_user_pages_fast helps app's launching time due to reducing uninterruptible sleep time because it could reduce mmap_sem lock contentions when app is launching. To support gupf in ARM-non-LPAE, first patch reorders memory type table to use 5th bit of the page table.

Re: Linux 4.19-rc4 released, an apology, and a maintainership note

2018-09-16 Thread Rene Herman

Re: Linux 4.19-rc4 released, an apology, and a maintainership note

2018-09-16 Thread Rene Herman

[LKP] [x86/mm/cpa] c77d419f92: WARNING:at_arch/x86/mm/pageattr.c:#__change_page_attr_set_clr

2018-09-16 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-5): commit: c77d419f9248f8c40bbf773d59aa5b6cbc0d60f0 ("[patch V2 07/10] x86/mm/cpa: Add sanity check for existing mappings") url:

[LKP] [x86/mm/cpa] c77d419f92: WARNING:at_arch/x86/mm/pageattr.c:#__change_page_attr_set_clr

2018-09-16 Thread kernel test robot
FYI, we noticed the following commit (built with gcc-5): commit: c77d419f9248f8c40bbf773d59aa5b6cbc0d60f0 ("[patch V2 07/10] x86/mm/cpa: Add sanity check for existing mappings") url:

Re: [...] an apology, and a maintainership note

2018-09-16 Thread Andy Isaacson
On Sun, Sep 16, 2018 at 12:22:43PM -0700, Linus Torvalds wrote: This is where the "look yourself in the mirror" moment comes in. So here we are, me finally on the one hand realizing that it wasn't actually funny or a good sign that I was hoping to just skip the yearly kernel summit entirely,

Re: [...] an apology, and a maintainership note

2018-09-16 Thread Andy Isaacson
On Sun, Sep 16, 2018 at 12:22:43PM -0700, Linus Torvalds wrote: This is where the "look yourself in the mirror" moment comes in. So here we are, me finally on the one hand realizing that it wasn't actually funny or a good sign that I was hoping to just skip the yearly kernel summit entirely,

Re: Linux 4.19-rc4 released, an apology, and a maintainership note

2018-09-16 Thread Rene Herman
Hi Linus. I was "around linux-kernel" some 10 years ago and still to this date sometimes check e.g. lkml.org where I happened upon this; felt it hard to resist commenting on one specific bit... Whereas you concentrate on net-positive effect on code quality of an at times "crass" communication

Re: Linux 4.19-rc4 released, an apology, and a maintainership note

2018-09-16 Thread Rene Herman
Hi Linus. I was "around linux-kernel" some 10 years ago and still to this date sometimes check e.g. lkml.org where I happened upon this; felt it hard to resist commenting on one specific bit... Whereas you concentrate on net-positive effect on code quality of an at times "crass" communication

Re: [...] an apology, and a maintainership note

2018-09-16 Thread Moritz Obermeier
> When you look yourself in the mirror, I want you to see that guy who codes > in a bathrobe instead of a sweet-talking lying politician. This is why we need more empathy. There is no need for you to decide what Linus sees once he looks into the mirror. You are projecting your own thoughts and

Re: [...] an apology, and a maintainership note

2018-09-16 Thread Moritz Obermeier
> When you look yourself in the mirror, I want you to see that guy who codes > in a bathrobe instead of a sweet-talking lying politician. This is why we need more empathy. There is no need for you to decide what Linus sees once he looks into the mirror. You are projecting your own thoughts and

[PATCH 7/7] slimbus: ngd: register ngd driver only once.

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Move ngd platform driver out of loop so that it registers only once. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ngd-ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/slimbus/qcom-ngd-ctrl.c

[PATCH 5/7] silmbus: ngd: register controller after power up.

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Register slimbus controller only after finishing powerup sequnce so that we do not endup in situation where core starts sending transactions before the controller is ready. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ngd-ctrl.c | 20

[PATCH 6/7] slimbus: ngd: return proper error code instead of zero

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla It looks like there is a typo in probe return. Fix it. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ngd-ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/slimbus/qcom-ngd-ctrl.c b/drivers/slimbus/qcom-ngd-ctrl.c index

[PATCH 7/7] slimbus: ngd: register ngd driver only once.

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Move ngd platform driver out of loop so that it registers only once. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ngd-ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/slimbus/qcom-ngd-ctrl.c

[PATCH 5/7] silmbus: ngd: register controller after power up.

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Register slimbus controller only after finishing powerup sequnce so that we do not endup in situation where core starts sending transactions before the controller is ready. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ngd-ctrl.c | 20

[PATCH 6/7] slimbus: ngd: return proper error code instead of zero

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla It looks like there is a typo in probe return. Fix it. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ngd-ctrl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/slimbus/qcom-ngd-ctrl.c b/drivers/slimbus/qcom-ngd-ctrl.c index

[PATCH 3/7] slimbus: core: match device tree based devices correctly

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla device_id for device tree based devices come from dt compatible string, such drivers need not provide non dt style device id table. Match those device using compatible strings. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/core.c | 6 +- 1 file changed,

[PATCH 0/7] slimbus: fix module loading

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Hi Greg, Here are some of the fixes for issues found while testing module loading on DB820c debian setup. First 3 core fixes are to do with generating uevents, calling status callback in probe sequence if the device is up and one fix is able to match device id from

[PATCH 2/7] slimbus: core: update device status in probe

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla device status update can be racy with probe in some cases, so make sure it take lock during the probe. Also after probe the device is expected to be ready for communications, so make sure that a logical address can be assigned to it after probe. If it fails to do so

[PATCH 1/7] slimbus: core: add support to uevent

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to uevent to help automatic module loading. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/core.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/slimbus/core.c b/drivers/slimbus/core.c index

[PATCH 4/7] slimbus: ngd: validate logical address assigned by remote

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Validate logical address assigned by remote, in failure cases this value is all zeors. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ngd-ctrl.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/slimbus/qcom-ngd-ctrl.c

[PATCH 0/7] slimbus: fix module loading

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Hi Greg, Here are some of the fixes for issues found while testing module loading on DB820c debian setup. First 3 core fixes are to do with generating uevents, calling status callback in probe sequence if the device is up and one fix is able to match device id from

[PATCH 2/7] slimbus: core: update device status in probe

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla device status update can be racy with probe in some cases, so make sure it take lock during the probe. Also after probe the device is expected to be ready for communications, so make sure that a logical address can be assigned to it after probe. If it fails to do so

[PATCH 1/7] slimbus: core: add support to uevent

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to uevent to help automatic module loading. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/core.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/drivers/slimbus/core.c b/drivers/slimbus/core.c index

[PATCH 4/7] slimbus: ngd: validate logical address assigned by remote

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla Validate logical address assigned by remote, in failure cases this value is all zeors. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/qcom-ngd-ctrl.c | 4 1 file changed, 4 insertions(+) diff --git a/drivers/slimbus/qcom-ngd-ctrl.c

[PATCH 3/7] slimbus: core: match device tree based devices correctly

2018-09-16 Thread srinivas . kandagatla
From: Srinivas Kandagatla device_id for device tree based devices come from dt compatible string, such drivers need not provide non dt style device id table. Match those device using compatible strings. Signed-off-by: Srinivas Kandagatla --- drivers/slimbus/core.c | 6 +- 1 file changed,

Re: [PATCH 16/18] LSM: Allow arbitrary LSM ordering

2018-09-16 Thread Kees Cook
On Sun, Sep 16, 2018 at 11:49 AM, Casey Schaufler wrote: > On 9/15/2018 5:30 PM, Kees Cook wrote: >> To prepare for having a third type of LSM ("shared blob"), this implements >> dynamic handling of LSM ordering. The visible change here is that the >> "security=" boot commandline is now a

Re: [PATCH 16/18] LSM: Allow arbitrary LSM ordering

2018-09-16 Thread Kees Cook
On Sun, Sep 16, 2018 at 11:49 AM, Casey Schaufler wrote: > On 9/15/2018 5:30 PM, Kees Cook wrote: >> To prepare for having a third type of LSM ("shared blob"), this implements >> dynamic handling of LSM ordering. The visible change here is that the >> "security=" boot commandline is now a

Re: [...] an apology, and a maintainership note

2018-09-16 Thread Adam Borowski
On Sun, Sep 16, 2018 at 12:22:43PM -0700, Linus Torvalds wrote: > This is my reality. I am not an emotionally empathetic kind of person > and that probably doesn't come as a big surprise to anybody. Least of > all me. The fact that I then misread people and don't realize (for > years) how badly

Re: [...] an apology, and a maintainership note

2018-09-16 Thread Adam Borowski
On Sun, Sep 16, 2018 at 12:22:43PM -0700, Linus Torvalds wrote: > This is my reality. I am not an emotionally empathetic kind of person > and that probably doesn't come as a big surprise to anybody. Least of > all me. The fact that I then misread people and don't realize (for > years) how badly

[PATCH] Revert "ubifs: xattr: Don't operate on deleted inodes"

2018-09-16 Thread Richard Weinberger
This reverts commit 11a6fc3dc743e22fb50f2196ec55bee5140d3c52. UBIFS wants to assert that xattr operations are only issued on files with positive link count. The said patch made this operations return -ENOENT for unlinked files such that the asserts will no longer trigger. This was wrong since

[PATCH] Revert "ubifs: xattr: Don't operate on deleted inodes"

2018-09-16 Thread Richard Weinberger
This reverts commit 11a6fc3dc743e22fb50f2196ec55bee5140d3c52. UBIFS wants to assert that xattr operations are only issued on files with positive link count. The said patch made this operations return -ENOENT for unlinked files such that the asserts will no longer trigger. This was wrong since

[PATCH] scripts/spdxcheck.py: improve Python 3 compat

2018-09-16 Thread Thomas Weißschuh
When reading lines from a text-mode fd strings are returned. These can not be decoded again into strings, breaking the logic in parser. Just make sure all files are opened in binary mode on Python 3, so the current logic keeps working. This remains compatible with Python 2 and should have no

[PATCH] scripts/spdxcheck.py: improve Python 3 compat

2018-09-16 Thread Thomas Weißschuh
When reading lines from a text-mode fd strings are returned. These can not be decoded again into strings, breaking the logic in parser. Just make sure all files are opened in binary mode on Python 3, so the current logic keeps working. This remains compatible with Python 2 and should have no

Re: [PATCH 0/6] shutdown procedure verification for SAMA5D2

2018-09-16 Thread Sebastian Reichel
Hi Nicolas, On Sun, Sep 16, 2018 at 12:43:01PM +0200, Sebastian Reichel wrote: > Hi, > > On Thu, Aug 30, 2018 at 02:50:05PM +0300, Claudiu Beznea wrote: > > Hi, > > > > Patch 1 from this series implement a fix for shutdown procedure > > for SAMA5D2. > > > > The rest of the patch are

Re: [PATCH 0/6] shutdown procedure verification for SAMA5D2

2018-09-16 Thread Sebastian Reichel
Hi Nicolas, On Sun, Sep 16, 2018 at 12:43:01PM +0200, Sebastian Reichel wrote: > Hi, > > On Thu, Aug 30, 2018 at 02:50:05PM +0300, Claudiu Beznea wrote: > > Hi, > > > > Patch 1 from this series implement a fix for shutdown procedure > > for SAMA5D2. > > > > The rest of the patch are

Re: [PATCH v2 0/3] power: supply: cros: add support for dedicated port and expose connected ports

2018-09-16 Thread Sebastian Reichel
Hi Lee, On Sun, Sep 16, 2018 at 01:12:54PM +0200, Sebastian Reichel wrote: > Hi, > > On Fri, Aug 10, 2018 at 03:13:46PM +0200, Fabien Parent wrote: > > Dear all, > > > > This patch series adds support for an optional dedicated port > > to the ChromeOS power supply driver and adds a new property

Re: [PATCH v2 0/3] power: supply: cros: add support for dedicated port and expose connected ports

2018-09-16 Thread Sebastian Reichel
Hi Lee, On Sun, Sep 16, 2018 at 01:12:54PM +0200, Sebastian Reichel wrote: > Hi, > > On Fri, Aug 10, 2018 at 03:13:46PM +0200, Fabien Parent wrote: > > Dear all, > > > > This patch series adds support for an optional dedicated port > > to the ChromeOS power supply driver and adds a new property

[GIT PULL] kselftest fixes update for Linux 4.19-rc5

2018-09-16 Thread Shuah Khan
Hi Linus, Please pull the following Kselftest update for Linux 4.19-rc5 linux-kselftest-4.19-rc5 This Kselftest fixes update for 4.19-rc5 consists of: -- fixes to build failures -- fixes to add missing config files to increase test coverage -- fixes to cgroup test and a new cgroup test for

[GIT PULL] kselftest fixes update for Linux 4.19-rc5

2018-09-16 Thread Shuah Khan
Hi Linus, Please pull the following Kselftest update for Linux 4.19-rc5 linux-kselftest-4.19-rc5 This Kselftest fixes update for 4.19-rc5 consists of: -- fixes to build failures -- fixes to add missing config files to increase test coverage -- fixes to cgroup test and a new cgroup test for

Re: [PATCH 1/4] Staging: wlan-ng: Solved Coding Style issues

2018-09-16 Thread Greg KH
On Sun, Sep 16, 2018 at 04:39:11PM -0300, Pablo Pellecchia wrote: > Solved parenthesis alignment issues throw by checkpatch.pl > > Signed-off-by: Pablo Pellecchia > --- > drivers/staging/wlan-ng/cfg80211.c | 40 > ++ > 1 file changed, 19 insertions(+), 21

Re: [PATCH 1/4] Staging: wlan-ng: Solved Coding Style issues

2018-09-16 Thread Greg KH
On Sun, Sep 16, 2018 at 04:39:11PM -0300, Pablo Pellecchia wrote: > Solved parenthesis alignment issues throw by checkpatch.pl > > Signed-off-by: Pablo Pellecchia > --- > drivers/staging/wlan-ng/cfg80211.c | 40 > ++ > 1 file changed, 19 insertions(+), 21

<    4   5   6   7   8   9   10   11   >