Re: [PATCH 1/5] misc: fastrpc: add mmap/unmap support

2019-09-16 Thread kbuild test robot
/Jorge-Ramirez-Ortiz/misc-fastrpc-fixes-and-map-unmap-support/20190916-150416 config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod

Re: [PATCH v3 2/4] x86/mce: Make 3 functions non-static

2019-09-16 Thread Tony W Wang-oc
On Mon, Sep 16, 2019, Thomas Gleixner wrote: >On Wed, 11 Sep 2019, Tony W Wang-oc wrote: > >> These functions are declared static and cannot be used in others >> .c source file. this commit removes the static attribute and adds >> the declaration to the header for these functions. > >I'm not Cc'ed

[PATCH V6 0/2] mailbox: arm: introduce smc triggered mailbox

2019-09-16 Thread Peng Fan
From: Peng Fan V6: Switch to per-channel a mbox controller Drop arm,num-chans, transports, method Add arm,hvc-mbox compatible Fix smc/hvc args, drop client id and use correct type. V5: yaml fix https://patchwork.kernel.org/cover/7741/ V4: yaml fix for num-chans in patch 1/2. https://patchwo

[PATCH V6 1/2] dt-bindings: mailbox: add binding doc for the ARM SMC/HVC mailbox

2019-09-16 Thread Peng Fan
From: Peng Fan The ARM SMC/HVC mailbox binding describes a firmware interface to trigger actions in software layers running in the EL2 or EL3 exception levels. The term "ARM" here relates to the SMC instruction as part of the ARM instruction set, not as a standard endorsed by ARM Ltd. Signed-off

[PATCH V6 2/2] mailbox: introduce ARM SMC based mailbox

2019-09-16 Thread Peng Fan
From: Peng Fan This mailbox driver implements a mailbox which signals transmitted data via an ARM smc (secure monitor call) instruction. The mailbox receiver is implemented in firmware and can synchronously return data when it returns execution to the non-secure world again. An asynchronous recei

[PATCH] gpiolib: sanitize flags before allocating memory in lineevent_create()

2019-09-16 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Move all the flags sanitization before any memory allocation in lineevent_create() in order to remove a couple unneeded gotos. Signed-off-by: Bartosz Golaszewski --- drivers/gpio/gpiolib.c | 42 ++ 1 file changed, 18 insertions(

Hello

2019-09-16 Thread Edith Brown
-- Hello dear how are you doing? my name is Edith Brown i am a U.S military woman is my pleasure meeting you here best regards

RE: [PATCH] ACPICA: make acpi_load_table() return table index

2019-09-16 Thread Nikolaus Voss
On Fri, 13 Sep 2019, Moore, Robert wrote: -Original Message- From: Ferry Toth [mailto:fnt...@gmail.com] Sent: Friday, September 13, 2019 9:48 AM To: Shevchenko, Andriy ; Moore, Robert Cc: Nikolaus Voss ; Schmauss, Erik ; Rafael J. Wysocki ; Len Brown ; Jacek Anaszewski ; Pavel Mache

Re: [PATCH 3/3] dt-bindings: ddr: Add bindings for Samsung LPDDR3 memories

2019-09-16 Thread Lukasz Luba
Hi Rob, On 9/13/19 4:36 PM, Rob Herring wrote: > On Fri, Sep 06, 2019 at 01:50:26PM +0200, Krzysztof Kozlowski wrote: >> On Fri, 6 Sep 2019 at 13:39, Lukasz Luba wrote: >>> >>> Hi Krzysztof, >>> >>> On 9/6/19 12:56 PM, Krzysztof Kozlowski wrote: On Fri, 6 Sep 2019 at 12:14, Lukasz Luba >>>

Re: [PATCH v3 2/4] x86/mce: Make 3 functions non-static

2019-09-16 Thread Thomas Gleixner
On Mon, 16 Sep 2019, Tony W Wang-oc wrote: > On Mon, Sep 16, 2019, Thomas Gleixner wrote: > >On Wed, 11 Sep 2019, Tony W Wang-oc wrote: > > > >> These functions are declared static and cannot be used in others > >> .c source file. this commit removes the static attribute and adds > >> the declarat

[PATCH] selftests: vm: add fragment CONFIG_TEST_VMALLOC

2019-09-16 Thread Anders Roxell
When running test_vmalloc.sh smoke the following print out states that the fragment is missing. # ./test_vmalloc.sh: You must have the following enabled in your kernel: # CONFIG_TEST_VMALLOC=m Rework to add the fragment 'CONFIG_TEST_VMALLOC=m' to the config file. Fixes: a05ef00c9790 ("selftest

Re: [PATCH] mips: sgi-ip27: switch from DISCONTIGMEM to SPARSEMEM

2019-09-16 Thread Mike Rapoport
On Mon, Sep 16, 2019 at 11:07:05AM +0200, Thomas Bogendoerfer wrote: > On Sat, Sep 14, 2019 at 11:41:13AM +0100, Mike Rapoport wrote: > > On Thu, Sep 12, 2019 at 04:09:12PM +0200, Thomas Bogendoerfer wrote: > > > On Thu, Sep 12, 2019 at 03:55:39PM +0200, Thomas Bogendoerfer wrote: > > > > - reserve

Re: [PATCH] tpm: Fix tpm_send() length calculation

2019-09-16 Thread kbuild test robot
-Sakkinen/tpm-Fix-tpm_send-length-calculation/20190916-162814 base: git://git.infradead.org/users/jjs/linux-tpmdd next config: x86_64-randconfig-a004-201937 (attached as .config) compiler: gcc-7 (Debian 7.4.0-11) 7.4.0 reproduce: # save the attached .config to linux build tree make

Re: [PATCH v3 2/4] x86/mce: Make 3 functions non-static

2019-09-16 Thread Tony W Wang-oc
On Mon, Sep 16, 2019, Thomas Gleixner wrote: >On Mon, 16 Sep 2019, Tony W Wang-oc wrote: > >> On Mon, Sep 16, 2019, Thomas Gleixner wrote: >> >On Wed, 11 Sep 2019, Tony W Wang-oc wrote: >> > >> >> These functions are declared static and cannot be used in others >> >> .c source file. this commit rem

[PATCH v2 2/2] powerpc/mm: call H_BLOCK_REMOVE when supported

2019-09-16 Thread Laurent Dufour
Now we do not call _BLOCK_REMOVE all the time when the feature is exhibited. Depending on the hardware and the hypervisor, the hcall H_BLOCK_REMOVE may not be able to process all the page size for a segment base page size, as reported by the TLB Invalidate Characteristics.o For each couple base s

[PATCH v2 0/2] powerpc/mm: Conditionally call H_BLOCK_REMOVE

2019-09-16 Thread Laurent Dufour
Since the commit ba2dd8a26baa ("powerpc/pseries/mm: call H_BLOCK_REMOVE"), the call to H_BLOCK_REMOVE is always done if the feature is exhibited. However, the hypervisor may not support all the block size for the hcall H_BLOCK_REMOVE depending on the segment base page size and actual page size. W

[PATCH] gpio: eic: sprd: Fix the incorrect EIC offset when toggling

2019-09-16 Thread Baolin Wang
From: Bruce Chen When toggling the level trigger to emulate the edge trigger, the EIC offset is incorrect without adding the corresponding bank index, thus fix it. Fixes: 7bf0d7f62282 ("gpio: eic: Add edge trigger emulation for EIC") Signed-off-by: Bruce Chen Signed-off-by: Baolin Wang --- dr

[PATCH v2 1/2] powperc/mm: read TLB Block Invalidate Characteristics

2019-09-16 Thread Laurent Dufour
The PAPR document specifies the TLB Block Invalidate Characteristics which tells for each couple segment base page size, actual page size, the size of the block the hcall H_BLOCK_REMOVE is supporting. These characteristics are loaded at boot time in a new table hblkr_size. The table is appart the

[PATCH v2 2/3] ARM: dts: exynos: fix too long line in memory device

2019-09-16 Thread Lukasz Luba
Small fix moving the comment to line above making sure the lines do not exceed 80 characters. Signed-off-by: Lukasz Luba --- arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/exynos5422-odroid-core.dtsi b/arch/a

[PATCH v2 1/3] memory: Exynos5422: minor fixes in DMC

2019-09-16 Thread Lukasz Luba
Small fixes for issues captured by static analyzes: used kfree() insead of devm_kfree() and missing 'static' in the private function. Checks which show the issues: - drivers/memory/samsung/exynos5422-dmc.c:272 exynos5_init_freq_table() warn: passing devm_ allocated variable to kfree. 'dmc->opp' - d

[PATCH v2 0/3] Exynos5 DMC minor fixes

2019-09-16 Thread Lukasz Luba
Hi all, This is a follow up patch set for the Exynos5 Dynamic Memory Controller driver v13 [1]. The patches are based on Krzysztof's 'for-next' branch [2]. There are a few minor fixes captured during static analysis and a new binding for 'samsung,K3QF2F20DB' LPDDR3 memory. Regards, Lukasz Luba [

[PATCH v2 3/3] dt-bindings: ddr: Add bindings for Samsung LPDDR3 memories

2019-09-16 Thread Lukasz Luba
Add compatible for Samsung k3qf2f20db LPDDR3 memory bindings. Introduce minor fixes in the old documentation. Signed-off-by: Lukasz Luba --- Documentation/devicetree/bindings/ddr/lpddr3.txt | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bind

Re: [PATCH v2] PCI: dwc: Add support to add GEN3 related equalization quirks

2019-09-16 Thread Andrew Murray
On Fri, Sep 13, 2019 at 04:09:50PM +0530, Pankaj Dubey wrote: > From: Anvesh Salveru > > In some platforms, PCIe PHY may have issues which will prevent linkup > to happen in GEN3 or higher speed. In case equalization fails, link will > fallback to GEN1. > > DesignWare controller gives flexibilit

KMSAN: uninit-value in __request_module

2019-09-16 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:014077b5 DO-NOT-SUBMIT: usb-fuzzer: main usb gadget fuzzer.. git tree: https://github.com/google/kmsan.git master console output: https://syzkaller.appspot.com/x/log.txt?x=1082085960 kernel config: https://syzkaller.appspot.c

Re: [PATCH] serial/sifive: select SERIAL_EARLYCON

2019-09-16 Thread Paul Walmsley
On Tue, 10 Sep 2019, Christoph Hellwig wrote: > The sifive serial driver implements earlycon support, but unless > another driver is built in that supports earlycon support it won't > be usable. Explicitly select SERIAL_EARLYCON instead. > > Signed-off-by: Christoph Hellwig Reviewed-by: Paul W

Re: [PATCH] mips: sgi-ip27: switch from DISCONTIGMEM to SPARSEMEM

2019-09-16 Thread Thomas Bogendoerfer
On Mon, Sep 16, 2019 at 12:52:35PM +0300, Mike Rapoport wrote: > On Mon, Sep 16, 2019 at 11:07:05AM +0200, Thomas Bogendoerfer wrote: > > Patch is good. I've compared bootlogs and output is the same > > regarding memblock/memory debug messages. > > Can I add your co-developed+signed-off then? yes

Re: ss: Checking selected network ports

2019-09-16 Thread Markus Elfring
> If you use netlink operations directly, you can have the kernel filter > on various criteria and only get the socket entries you are interested in. I suggest to take another look at software design options. > This whole discussion has zero to do with what text format 'ss' outputs. Is there a

Re: Linux 5.3-rc8

2019-09-16 Thread Christoph Hellwig
On Tue, Sep 10, 2019 at 07:56:35AM -0400, Theodore Y. Ts'o wrote: > Hmm, I'm not seeing this on a Dell XPS 13 (model 9380) using a Debian > Bullseye (Testing) running a rc4+ kernel. > > This could be because Debian is simply doing more I/O; or it could be > because I don't have some package instal

Re: [PATCH] mm, thp: Do not queue fully unmapped pages for deferred split

2019-09-16 Thread Michal Hocko
On Fri 13-09-19 12:18:49, Kirill A. Shutemov wrote: > Adding fully unmapped pages into deferred split queue is not productive: > these pages are about to be freed or they are pinned and cannot be split > anyway. > > Signed-off-by: Kirill A. Shutemov > --- > mm/rmap.c | 14 ++ > 1 fil

[2/3] arm: dts: ls1021a: fix that FlexTimer cannot wakeup system in deep sleep

2019-09-16 Thread Biwen Li
The patch fix a bug that FlexTimer cannot wakeup system in deep sleep. Signed-off-by: Biwen Li --- arch/arm/boot/dts/ls1021a.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/boot/dts/ls1021a.dtsi b/arch/arm/boot/dts/ls1021a.dtsi index e3973b611c3a..377bb4717584

Re: [PATCH 05/11] drm/bridge: analogix-anx78xx: correct value of TX_P0

2019-09-16 Thread Brian Masney
On Mon, Sep 16, 2019 at 12:02:09PM +0200, Andrzej Hajda wrote: > On 15.08.2019 02:48, Brian Masney wrote: > > When attempting to configure this driver on a Nexus 5 phone (msm8974), > > setting up the dummy i2c bus for TX_P0 would fail due to an -EBUSY > > error. The downstream MSM kernel sources [1

Re: [PATCH] x86/microcode: Add an option to reload microcode even if revision is unchanged

2019-09-16 Thread Thomas Gleixner
On Sat, 7 Sep 2019, Thomas Gleixner wrote: > On Fri, 6 Sep 2019, Raj, Ashok wrote: > > On Fri, Sep 06, 2019 at 11:16:00PM +0200, Thomas Gleixner wrote: > > > Now #1 is actually a sensible and feasible solution which can be pulled > > > off > > > in a reasonably short time frame, avoids all the bou

[1/3] soc: fsl: fix that flextimer cannot wakeup system in deep sleep on LS1021A

2019-09-16 Thread Biwen Li
Why: - Cannot write register RCPM_IPPDEXPCR1 on LS1021A, Register RCPM_IPPDEXPCR1's default value is zero. So the register value that reading from register RCPM_IPPDEXPCR1 is always zero. How: - Save register RCPM_IPPDEXPCR1's value to register SCFG_SPARECR8.(uboot'

[3/3] Documentation: dt: binding: fsl: Add 'fsl,rcpm-scfg' property

2019-09-16 Thread Biwen Li
The 'fsl,rcpm-scfg' property is used to fix a bug that FlexTimer cannot wakeup system in deep sleep on LS1021A Signed-off-by: Biwen Li --- .../devicetree/bindings/soc/fsl/rcpm.txt | 15 +++ 1 file changed, 15 insertions(+) diff --git a/Documentation/devicetree/bindings/soc/

Re: [PATCH 05/11] drm/bridge: analogix-anx78xx: correct value of TX_P0

2019-09-16 Thread Enric Balletbo i Serra
Hi Andrzej and Brian On 16/9/19 12:02, Andrzej Hajda wrote: > On 15.08.2019 02:48, Brian Masney wrote: >> When attempting to configure this driver on a Nexus 5 phone (msm8974), >> setting up the dummy i2c bus for TX_P0 would fail due to an -EBUSY >> error. The downstream MSM kernel sources [1] sho

RE: [EXT] Re: [PATCH 6/8] mtd: spinand: micron: Turn driver implementation generic

2019-09-16 Thread Shivamurthy Shastri (sshivamurthy)
Hello Miquel & Boris, Just a gentle reminder that I'd like some feedback. Thanks, Shiva > > Hi Boris, > > I need your opinion on the question below. > > "Shivamurthy Shastri (sshivamurthy)" wrote > on > Mon, 19 Aug 2019 09:03:38 +: > > > Hi Miquel, > > > > > > > > Hi Shiva, > > > > > >

Linux 4.4.193

2019-09-16 Thread Greg KH
I'm announcing the release of the 4.4.193 kernel. All users of the 4.4 kernel series must upgrade. The updated 4.4.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y and can be browsed at the normal kernel.org git web browser:

Re: [PATCH 5.2 00/37] 5.2.15-stable review

2019-09-16 Thread Greg Kroah-Hartman
On Mon, Sep 16, 2019 at 10:25:33AM +0100, Jon Hunter wrote: > > On 13/09/2019 14:07, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 5.2.15 release. > > There are 37 patches in this series, all will be posted as a response > > to this one. If anyone has any issu

Re: [PATCH v4 3/5] vimc: move duplicated IS_SRC and IS_SINK to common header

2019-09-16 Thread Helen Koike
On 9/15/19 8:52 PM, Shuah Khan wrote: > On 9/15/19 1:25 PM, Helen Koike wrote: >> Hi Shuah, >> >> On 9/6/19 11:42 PM, Shuah Khan wrote: >>> Move duplicated IS_SRC and IS_SINK dfines to common header. Rename >>> them to VIMC_IS_SRC and VIM_IS_SINK. >>> >>> Signed-off-by: Shuah Khan >>> --- >>>  

Re: Linux 4.4.193

2019-09-16 Thread Greg KH
diff --git a/Makefile b/Makefile index 18889fbbebb1..34d2be9c8459 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 192 +SUBLEVEL = 193 EXTRAVERSION = NAME = Blurry Fish Butt diff --git a/arch/x86/boot/compressed/misc.c b/arch/x86/boot/compressed/misc

Linux 4.19.73

2019-09-16 Thread Greg KH
I'm announcing the release of the 4.19.73 kernel. All users of the 4.19 kernel series must upgrade. The updated 4.19.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.19.y and can be browsed at the normal kernel.org git web browser:

Linux 4.9.193

2019-09-16 Thread Greg KH
I'm announcing the release of the 4.9.193 kernel. All users of the 4.9 kernel series must upgrade. The updated 4.9.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.9.y and can be browsed at the normal kernel.org git web browser:

Linux 4.14.144

2019-09-16 Thread Greg KH
I'm announcing the release of the 4.14.144 kernel. All users of the 4.14 kernel series must upgrade. The updated 4.14.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.14.y and can be browsed at the normal kernel.org git web browser

Re: Linux 4.14.144

2019-09-16 Thread Greg KH
diff --git a/Makefile b/Makefile index caa2fba089a5..4aa0dfec9b9b 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 4 PATCHLEVEL = 14 -SUBLEVEL = 143 +SUBLEVEL = 144 EXTRAVERSION = NAME = Petit Gorille diff --git a/arch/arm64/boot/dts/rockchip/

linux-next: manual merge of the arm64 tree with the compiler-attributes tree

2019-09-16 Thread Mark Brown
Hi all, Today's linux-next merge of the arm64 tree got a conflict in: init/Kconfig between commit: eb111869301e15b7373 ("compiler-types.h: add asm_inline definition") from the compiler-attributes tree and commit: 2d122942484c20b ("Revert "init/Kconfig: Fix infinite Kconfig recursion on

Re: Linux 4.9.193

2019-09-16 Thread Greg KH
diff --git a/Makefile b/Makefile index 946951930f62..48f79c6729ad 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 9 -SUBLEVEL = 192 +SUBLEVEL = 193 EXTRAVERSION = NAME = Roaring Lionus diff --git a/arch/powerpc/kernel/process.c b/arch/powerpc/kernel/process.c ind

Re: Linux 5.2.15

2019-09-16 Thread Greg KH
diff --git a/Makefile b/Makefile index d019994462ba..3c977aa66650 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 VERSION = 5 PATCHLEVEL = 2 -SUBLEVEL = 14 +SUBLEVEL = 15 EXTRAVERSION = NAME = Bobtail Squid diff --git a/arch/powerpc/kernel/process.c b/

Linux 5.2.15

2019-09-16 Thread Greg KH
I'm announcing the release of the 5.2.15 kernel. All users of the 5.2 kernel series must upgrade. The updated 5.2.y git tree can be found at: git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-5.2.y and can be browsed at the normal kernel.org git web browser:

[PATCH v3] ARM: dts: imx6qdl-rex: add gpio expander pca9535

2019-09-16 Thread Gilles DOFFE
The pca9535 gpio expander is present on the Rex baseboard, but missing from the dtsi. The pca9535 is on i2c2 bus which is common to the three SOM variants (Basic/Pro/Ultra), thus it is activated by default. Add also the new gpio controller and the associated interrupt line MX6QDL_PAD_NANDF_CS3__GP

Re: [PATCH 4.9 00/14] 4.9.193-stable review

2019-09-16 Thread Naresh Kamboju
On Sun, 15 Sep 2019 at 09:35, Greg Kroah-Hartman wrote: > > On Fri, Sep 13, 2019 at 02:06:53PM +0100, Greg Kroah-Hartman wrote: > > This is the start of the stable review cycle for the 4.9.193 release. > > There are 14 patches in this series, all will be posted as a response > > to this one. If a

Re: [PATCH 4.9 00/14] 4.9.193-stable review

2019-09-16 Thread Greg Kroah-Hartman
On Mon, Sep 16, 2019 at 06:44:34AM -0400, Naresh Kamboju wrote: > On Sun, 15 Sep 2019 at 09:35, Greg Kroah-Hartman > wrote: > > > > On Fri, Sep 13, 2019 at 02:06:53PM +0100, Greg Kroah-Hartman wrote: > > > This is the start of the stable review cycle for the 4.9.193 release. > > > There are 14 pat

Re: printk meeting at LPC

2019-09-16 Thread Petr Mladek
On Mon 2019-09-16 13:30:17, Tetsuo Handa wrote: > On 2019/09/13 22:26, John Ogness wrote: > > 6. A new may-sleep function pr_flush() will be made available to wait > > for all previously printk'd messages to be output on all consoles before > > proceeding. For example: > > > > pr_cont("Running

RE: [1/3] soc: fsl: fix that flextimer cannot wakeup system in deep sleep on LS1021A

2019-09-16 Thread Biwen Li
Hi all, the linux patch depended by RCPM driver,FlexTimer driver and FlexTimer dts, need apply these patches as follows: 1. RCPM driver: https://patchwork.kernel.org/series/162731/mbox/ (https://patchwork.kernel.org/patch/11105279/) 2. FlexTimer dts: ht

[GIT PULL] file locking changes for v5.4

2019-09-16 Thread Jeff Layton
The following changes since commit 5f9e832c137075045d15cd6899ab0505cfb2ca4b: Linus 5.3-rc1 (2019-07-21 14:05:38 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/jlayton/linux.git tags/filelock-v5.4-1 for you to fetch changes up to cfddf9f4c9f038c

[PATCH v3 bpf-next 02/14] samples: bpf: makefile: fix cookie_uid_helper_example obj build

2019-09-16 Thread Ivan Khoronzhuk
Don't list userspace "cookie_uid_helper_example" object in list for bpf objects. 'always' target is used for listing bpf programs, but 'cookie_uid_helper_example.o' is a user space ELF file, and covered by rule `per_socket_stats_example`, so shouldn't be in 'always'. Let us remove `always += cooki

[PATCH v3 bpf-next 01/14] samples: bpf: makefile: fix HDR_PROBE "echo"

2019-09-16 Thread Ivan Khoronzhuk
echo should be replaced with echo -e to handle '\n' correctly, but instead, replace it with printf as some systems can't handle echo -e. Signed-off-by: Ivan Khoronzhuk --- samples/bpf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/bpf/Makefile b/samples/bpf/

Re: [PATCH 4.14 00/21] 4.14.144-stable review

2019-09-16 Thread Jon Hunter
On 13/09/2019 14:06, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.144 release. > There are 21 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses s

[PATCH v3 bpf-next 08/14] samples: bpf: makefile: base target programs rules on Makefile.target

2019-09-16 Thread Ivan Khoronzhuk
The main reason for that - HOSTCC and CC have different aims. HOSTCC is used to build programs running on host, that can cross-comple target programs with CC. It was tested for arm and arm64 cross compilation, based on linaro toolchain, but should work for others. So, in order to split cross compi

[PATCH v3 bpf-next 10/14] samples: bpf: makefile: use target CC environment for HDR_PROBE

2019-09-16 Thread Ivan Khoronzhuk
No need in hacking HOSTCC to be cross-compiler any more, so drop this trick and use target CC for HDR_PROBE. Signed-off-by: Ivan Khoronzhuk --- samples/bpf/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index b5c87a8b

[PATCH v3 bpf-next 07/14] samples: bpf: add makefile.target for separate CC target build

2019-09-16 Thread Ivan Khoronzhuk
The makefile.target is added only and will be used in sample/bpf/Makefile later in order to switch cross-compiling on CC from HOSTCC environment. The HOSTCC is supposed to build binaries and tools running on the host afterwards, in order to simplify build or so, like "fixdep" or else. In case of c

[PATCH v3 bpf-next 11/14] libbpf: makefile: add C/CXX/LDFLAGS to libbpf.so and test_libpf targets

2019-09-16 Thread Ivan Khoronzhuk
In case of LDFLAGS and EXTRA_CC/CXX flags there is no way to pass them correctly to build command, for instance when --sysroot is used or external libraries are used, like -lelf, wich can be absent in toolchain. This can be used for samples/bpf cross-compiling allowing to get elf lib from sysroot.

[PATCH v3 bpf-next 13/14] samples: bpf: makefile: add sysroot support

2019-09-16 Thread Ivan Khoronzhuk
Basically it only enables that was added by previous couple fixes. Sysroot contains correct libs installed and its headers ofc. Useful when working with NFC or virtual machine. Usage: clean (on demand) make ARCH=arm -C samples/bpf clean make ARCH=arm -C tools clean make ARCH=arm clean

[PATCH v3 bpf-next 14/14] samples: bpf: README: add preparation steps and sysroot info

2019-09-16 Thread Ivan Khoronzhuk
Add couple preparation steps: clean and configuration. Also add newly added sysroot support info to cross-compile section. --- samples/bpf/README.rst | 41 - 1 file changed, 36 insertions(+), 5 deletions(-) diff --git a/samples/bpf/README.rst b/samples/bpf/

[PATCH v3 bpf-next 05/14] samples: bpf: makefile: use __LINUX_ARM_ARCH__ selector for arm

2019-09-16 Thread Ivan Khoronzhuk
For arm, -D__LINUX_ARM_ARCH__=X is min version used as instruction set selector and is absolutely required while parsing some parts of headers. It's present in KBUILD_CFLAGS but not in autoconf.h, so let's retrieve it from and add to programs cflags. In another case errors like "SMP is not supporte

[PATCH v3 bpf-next 12/14] samples: bpf: makefile: provide C/CXX/LD flags to libbpf

2019-09-16 Thread Ivan Khoronzhuk
In order to build libs using C/CXX/LD flags of target arch, provide them to libbpf make. Signed-off-by: Ivan Khoronzhuk --- samples/bpf/Makefile | 14 +++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/samples/bpf/Makefile b/samples/bpf/Makefile index 18ec22e7b444..133

[PATCH v3 bpf-next 09/14] samples: bpf: makefile: use own flags but not host when cross compile

2019-09-16 Thread Ivan Khoronzhuk
While compile natively, the hosts cflags and ldflags are equal to ones used from HOSTCFLAGS and HOSTLDFLAGS. When cross compiling it should have own, used for target arch. While verification, for arm, arm64 and x86_64 the following flags were used alsways: -Wall -O2 -fomit-frame-pointer -Wmissing-

[PATCH v3 bpf-next 04/14] samples: bpf: use own EXTRA_CFLAGS for clang commands

2019-09-16 Thread Ivan Khoronzhuk
It can overlap with CFLAGS used for libraries built with gcc if not now then in next patches. Correct it here for simplicity. Signed-off-by: Ivan Khoronzhuk --- samples/bpf/Makefile | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/samples/bpf/Makefile b/samples/bpf/Mak

[PATCH v3 bpf-next 06/14] samples: bpf: makefile: drop unnecessarily inclusion for bpf_load

2019-09-16 Thread Ivan Khoronzhuk
Drop inclusion for bpf_load -I$(objtree)/usr/include as it is included for all objects anyway, with above line: KBUILD_HOSTCFLAGS += -I$(objtree)/usr/include Signed-off-by: Ivan Khoronzhuk --- samples/bpf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/bpf/Ma

[PATCH v3 bpf-next 03/14] samples: bpf: makefile: use --target from cross-compile

2019-09-16 Thread Ivan Khoronzhuk
For cross compiling the target triple can be inherited from cross-compile prefix as it's done in CLANG_FLAGS from kernel makefile. So copy-paste this decision from kernel Makefile. Signed-off-by: Ivan Khoronzhuk --- samples/bpf/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH v3 bpf-next 00/14] samples: bpf: improve/fix cross-compilation

2019-09-16 Thread Ivan Khoronzhuk
This series contains mainly fixes/improvements for cross-compilation but not only, tested for arm, arm64, but intended for any arch. Also verified on native build (not cross compilation) for x86_64 and arm. Initial RFC link: https://lkml.org/lkml/2019/8/29/1665 Prev. version: https://lkml.org/lkm

Re: [Letux-kernel] [PATCH 2/2] DTS: ARM: gta04: introduce legacy spi-cs-high to make display work again

2019-09-16 Thread H. Nikolaus Schaller
ping. Device omap3-gta04 is neither working with v5.3 nor linux-next quite a while and we need a solution. > Am 31.08.2019 um 08:48 schrieb Andreas Kemnade : > > Hi, > > On Mon, 5 Aug 2019 12:29:19 +0200 > Linus Walleij wrote: > >> On Fri, Jul 26, 2019 at 12:43 AM Rob Herring wrote: >>> On

Re: media: vimc-debayer: lock problem

2019-09-16 Thread Helen Koike
Hi Randy, On 9/14/19 11:16 PM, Randy Dunlap wrote: > Kernel is 5.3-rc8 on x86_64. > > Loading, unloading, and then loading the vimc-debayer module causes: > > > [ 793.542496] [ cut here ] > [ 793.542518] DEBUG_LOCKS_WARN_ON(lock->magic != lock) > [ 793.542536] WARNING

Re: linux-next: no release today

2019-09-16 Thread Mark Brown
On Mon, Sep 16, 2019 at 06:05:14AM +0100, Stephen Rothwell wrote: > On 16 September 2019 2:37:27 am GMT+01:00, Mark Brown > wrote: > >On Thu, Sep 05, 2019 at 04:02:37PM +1000, Stephen Rothwell wrote: > >> As I said yesterday, there will be no release today, or any day until > >> September 30. >

RE: [PATCH v2] PCI: dwc: Add support to add GEN3 related equalization quirks

2019-09-16 Thread Pankaj Dubey
> -Original Message- > From: Andrew Murray > Sent: Monday, September 16, 2019 3:46 PM > To: Pankaj Dubey > Cc: linux-...@vger.kernel.org; linux-kernel@vger.kernel.org; > jingooh...@gmail.com; gustavo.pimen...@synopsys.com; > lorenzo.pieral...@arm.com; bhelg...@google.com; Anvesh Salver

RE: [PATCH] habanalabs: handle F/W failure for sensor initialization

2019-09-16 Thread Tomer Tayar
From: Oded Gabbay Sent: Monday, 16 September 2019 11:56 > In case the F/W fails to initialize the thermal sensors, print an > appropriate error message to kernel log and fail the device > initialization. > > Signed-off-by: Oded Gabbay Reviewed-by: Tomer Tayar

[GIT PULL afs: Development for 5.4

2019-09-16 Thread David Howells
Hi Linus, Here's a set of patches for AFS. The first three are trivial, deleting unused symbols and rolling out a wrapper function. The fourth and fifth patches make use of the previously added RCU-safe request_key facility to allow afs_permission() and afs_d_revalidate() to attempt to operate w

Se non verifichi il tuo account entro le prossime 24 ore, il tuo account verrà sospeso

2019-09-16 Thread Registraduria Municipal Caramanta - Antioquia
Aggiorna il tuo account Il nostro record indica che il tuo account non è stato aggiornato, il che potrebbe comportare la chiusura del tuo account. Se non aggiorni il tuo account, non sarai più in grado di inviare e ricevere e-mail e ti verrà negato l'accesso a molte delle nostre ultime convers

[GIT PULL] core/headers change for v5.4

2019-09-16 Thread Ingo Molnar
Linus, Please pull the latest core-headers-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-headers-for-linus # HEAD: e8e4eb0fbeda570b16464208aebf5caccfb6eb95 asm-generic/div64: Fix documentation of do_div() parameter Fix the parameter description

Re: [PATCH] mm, thp: Do not queue fully unmapped pages for deferred split

2019-09-16 Thread Vlastimil Babka
On 9/16/19 12:36 PM, Michal Hocko wrote: > On Fri 13-09-19 12:18:49, Kirill A. Shutemov wrote: >> Adding fully unmapped pages into deferred split queue is not productive: >> these pages are about to be freed or they are pinned and cannot be split >> anyway. >> >> Signed-off-by: Kirill A. Shutemov

[PATCH v2] mips: sgi-ip27: switch from DISCONTIGMEM to SPARSEMEM

2019-09-16 Thread Mike Rapoport
From: Mike Rapoport The memory initialization of SGI-IP27 is already half-way to support SPARSEMEM. It only had free_bootmem_with_active_regions() left-overs interfering with sparse_memory_present_with_active_regions(). Replace these calls with simpler memblocks_present() call in prom_meminit()

[GIT PULL] objtool change for v5.3

2019-09-16 Thread Ingo Molnar
Linus, Please pull the latest core-objtool-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-objtool-for-linus # HEAD: f73b3cc39c84220e6dccd463b5c8279b03514646 objtool: Clobber user CFLAGS variable Fix objtool builds with more exotic, user-defined C

Re: [PATCH] riscv: dts: Add DT support for SiFive FU540 PWM driver

2019-09-16 Thread Yash Shah
On Sat, Sep 14, 2019 at 2:50 AM Palmer Dabbelt wrote: > > On Tue, 10 Sep 2019 02:52:07 PDT (-0700), yash.s...@sifive.com wrote: > > Hi, > > > > Any comments on this patch? > > I don't see "sifive,pwm0" in the DT bindings documentation, and it doesn't > match our standard way of doing these things

Re: [PATCH 1/3] dt-bindings: dma: Add documentation for DMA domains

2019-09-16 Thread Peter Ujfalusi
On 13/09/2019 17.36, Rob Herring wrote: > On Tue, Sep 10, 2019 at 02:50:35PM +0300, Peter Ujfalusi wrote: >> On systems where multiple DMA controllers available, non Slave (for example >> memcpy operation) users can not be described in DT as there is no device >> involved from the DMA controller

linux-next: manual merge of the ia64 tree with the dma-mapping tree

2019-09-16 Thread Mark Brown
Hi all, Today's linux-next merge of the ia64 tree got a conflict in: arch/ia64/sn/pci/pci_dma.c between commit: f9f3232a7d0ab73a3 ("dma-mapping: explicitly wire up ->mmap and ->get_sgtable") from the dma-mapping tree and commit: cf07cb1ff4ea008ab ("ia64: remove support for the SGI SN2 p

Re: pci: endpoint test BUG

2019-09-16 Thread Lorenzo Pieralisi
On Mon, Sep 16, 2019 at 10:06:30AM +0800, Hillf Danton wrote: > > On Sun, 15 Sep 2019 09:34:37 -0700 > > > > Kernel is 5.3-rc8 on x86_64. > > > > Loading and removing the pci-epf-test module causes a BUG. > > > > > > [40928.435755] calling pci_epf_test_init+0x0/0x1000 [pci_epf_test] @ 12132 >

[GIT PULL] printk for 5.4

2019-09-16 Thread Petr Mladek
Linus, please pull the latest printk changes from git://git.kernel.org/pub/scm/linux/kernel/git/pmladek/printk tags/printk-for-5.4 - Fix off-by-one error when calculating messages that might fit into kmsg buffer. It causes occasional omitting of the last message.

[GIT PULL] RCU changes for v5.4

2019-09-16 Thread Ingo Molnar
Linus, Please pull the latest core-rcu-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-rcu-for-linus # HEAD: 4a0fa886ab79ea85e8d1be2b0df143d8249779be Merge branch 'for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/paulmck/linux-rcu into co

[GIT PULL] core/stacktrace change for v5.4

2019-09-16 Thread Ingo Molnar
Linus, Please pull the latest core-stacktrace-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git core-stacktrace-for-linus # HEAD: ee050dc83bc326ad5ef8ee93bca344819371e7a5 lib/stackdepot: Fix outdated comments Two comment fixes. Thanks, Ingo -

Re: [PATCH] qcom: ssbi-gpio: convert to hierarchical IRQ helpers in gpio core

2019-09-16 Thread kbuild test robot
-Masney/qcom-ssbi-gpio-convert-to-hierarchical-IRQ-helpers-in-gpio-core/20190916-134112 config: arm-allmodconfig (attached as .config) compiler: arm-linux-gnueabi-gcc (GCC) 7.4.0 reproduce: wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross

Re: [PATCH v1 2/2] spi: cadence-qspi: Add QSPI support for Intel LGM SoC

2019-09-16 Thread Mark Brown
On Mon, Sep 16, 2019 at 03:38:43PM +0800, Ramuthevar,Vadivel MuruganX wrote: > Existing cadence drivers do not support SPI-NAND, it only supports to > SPI-NOR and SPI devices. To state that is the driver for the same IP > but due to different SPI flash memory(NAND) need to write from scratch. Wha

Re: [PATCH v3] mm: memory: fix /proc/meminfo reporting for MLOCK_ONFAULT

2019-09-16 Thread Michal Hocko
[Cc Hugh] On Fri 13-09-19 14:11:19, Lucian Adrian Grijincu wrote: > As pages are faulted in MLOCK_ONFAULT correctly updates > /proc/self/smaps, but doesn't update /proc/meminfo's Mlocked field. > > - Before this /proc/meminfo fields didn't change as pages were faulted in: > > = Start = > /proc/m

[PATCH v3 0/4] x86/mce: Add supports for Zhaoxin MCA

2019-09-16 Thread Tony W Wang-oc
Zhaoxin newer CPUs support MCE, CMCI and LMCE that compatible with Intel's "Machine-Check Architecture". To enable the supports of Linux kernel to Zhaoxin's MCA, add specific patches for Zhaoxin's MCE, CMCI and LMCE. patches about Zhaoxin's CMCI, LMCE use 3 functions in mce/intel.c, so make these

[PATCH v3 2/4] x86/mce: Make 3 functions non-static

2019-09-16 Thread Tony W Wang-oc
These functions are declared static and cannot be used in others .c source file. this commit removes the static attribute and adds the declaration to the header for these functions. Signed-off-by: Tony W Wang-oc --- arch/x86/kernel/cpu/mce/intel.c| 6 +++--- arch/x86/kernel/cpu/mce/internal.

[PATCH v3 1/4] x86/mce: Add Zhaoxin MCE support

2019-09-16 Thread Tony W Wang-oc
All Zhaoxin newer CPUs support MCE that compatible with Intel's "Machine-Check Architecture", so add support for Zhaoxin MCE in mce/core.c. Signed-off-by: Tony W Wang-oc --- arch/x86/kernel/cpu/mce/core.c | 38 -- 1 file changed, 28 insertions(+), 10 deletions

[PATCH v3 3/4] x86/mce: Add Zhaoxin CMCI support

2019-09-16 Thread Tony W Wang-oc
All Zhaoxin newer CPUs support CMCI that compatible with Intel's "Machine-Check Architecture", so add support for Zhaoxin CMCI in mce/core.c and mce/intel.c. Signed-off-by: Tony W Wang-oc --- arch/x86/kernel/cpu/mce/core.c | 25 + arch/x86/kernel/cpu/mce/intel.c | 5 +++

[PATCH v3 4/4] x86/mce: Add Zhaoxin LMCE support

2019-09-16 Thread Tony W Wang-oc
Zhaoxin newer CPUs support LMCE that compatible with Intel's "Machine-Check Architecture", so add support for Zhaoxin LMCE in mce/core.c. Signed-off-by: Tony W Wang-oc --- arch/x86/kernel/cpu/mce/core.c | 35 +-- 1 file changed, 33 insertions(+), 2 deletions(-) d

Re: [PATCH] mm, thp: Do not queue fully unmapped pages for deferred split

2019-09-16 Thread Michal Hocko
On Mon 16-09-19 13:11:37, Vlastimil Babka wrote: > On 9/16/19 12:36 PM, Michal Hocko wrote: > > On Fri 13-09-19 12:18:49, Kirill A. Shutemov wrote: > >> Adding fully unmapped pages into deferred split queue is not productive: > >> these pages are about to be freed or they are pinned and cannot be s

Re: [PATCH v3 0/6] Update clone3 self-tests

2019-09-16 Thread Anders Roxell
On Wed, 11 Sep 2019 at 20:02, Eugene Syromiatnikov wrote: > > Hello. > > This patch set updates clone3 selftest in several aspects: > - adding checks for exit_signal invalid values handling; > - adding clone3 to selftests targets; > - enabling clone3 tests on all architectures; > - minor clean

[GIT PULL] locking changes for v5.4

2019-09-16 Thread Ingo Molnar
Linus, Please pull the latest locking-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git locking-core-for-linus # HEAD: e57d143091f1c0b1a98140a4d2e63e113afb62c0 mutex: Fix up mutex_waiter usage This cycle's changes were: - Improve rwsem scalability

Re: [PATCH v6 01/12] tools lib traceevent: Convert remaining %p[fF] users to %p[sS]

2019-09-16 Thread Sakari Ailus
Hi Joe, Steven, On Tue, Sep 10, 2019 at 12:44:03PM -0700, Joe Perches wrote: > On Tue, 2019-09-10 at 15:03 -0400, Steven Rostedt wrote: > > On Tue, 10 Sep 2019 11:42:06 -0700 > [] > > > btw: > > > > > > Is there kernel version information available in > > > trace output files? > > > > Not really

<    1   2   3   4   5   6   7   8   9   >