Re: [PATCH] serial/sifive: select SERIAL_EARLYCON

2019-09-16 Thread Christoph Hellwig
On Mon, Sep 16, 2019 at 05:18:57AM -0700, Paul Walmsley wrote: > I support Christoph's plan to add generic implicit earlycon support. I'm not planning to add it, it exist already. You just need a DT that sets the stdout node up properly, and a earlycon driver using OF_EARLYCON_DECLARE like the

Re: [PATCH] serial/sifive: select SERIAL_EARLYCON

2019-09-16 Thread Paul Walmsley
On Mon, 16 Sep 2019, Andreas Schwab wrote: > On Sep 16 2019, Paul Walmsley wrote: > > > On Tue, 10 Sep 2019, Andreas Schwab wrote: > > > >> On Sep 10 2019, Christoph Hellwig wrote: > >> > >> > On Tue, Sep 10, 2019 at 08:57:37AM +0200, Andreas Schwab wrote: > >> >> On Sep 10 2019, Christoph

Re: [PATCH] serial/sifive: select SERIAL_EARLYCON

2019-09-16 Thread Christoph Hellwig
On Mon, Sep 16, 2019 at 02:00:39PM +0200, Andreas Schwab wrote: > > Try: > > > > earlycon=sifive,0x1001 > > That's not what Christoph wants. Well, what I want is auto selection if the device tree uses the stdout-path. My Kendryte DT uses that and it works like a charm. If it doesn't

RE: [PATCH 0/2] nvme: Add kernel API for admin command

2019-09-16 Thread Baldyga, Robert
On Mon, Sep 16, 2019 at 09:34:55AM +0200, Christoph Hellwig wrote: > On Mon, Sep 16, 2019 at 07:16:52AM +, Baldyga, Robert wrote: > > On Fri, Sep 13, 2019 at 04:37:09PM +0200, Christoph Hellwig wrote: > > > On Fri, Sep 13, 2019 at 01:16:08PM +0200, Robert Baldyga wrote: > > > > Hello, > > > >

Re: [PATCH 1/2] selftests: watchdog: Validate optional file argument

2019-09-16 Thread Eugeniu Rosca
Hi Shuah, On Sat, Sep 07, 2019 at 10:58:32AM +0200, Eugeniu Rosca wrote: > From: "George G. Davis" > > As reported by Eugeniu Rosca, the newly added optional file > argument does not validate if the file is indeed a watchdog, e.g.: > > ./watchdog-test -f /dev/zero > Watchdog Ticking Away! >

[GIT PULL] perf changes for v5.4

2019-09-16 Thread Ingo Molnar
Linus, Please pull the latest perf-core-for-linus git tree from: git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git perf-core-for-linus # HEAD: e336b4027775cb458dc713745e526fa1a1996b2a kprobes: Prohibit probing on BUG() and WARN() address Kernel side changes: - Improved

Re: [PATCH] serial/sifive: select SERIAL_EARLYCON

2019-09-16 Thread Andreas Schwab
On Sep 16 2019, Paul Walmsley wrote: > On Tue, 10 Sep 2019, Andreas Schwab wrote: > >> On Sep 10 2019, Christoph Hellwig wrote: >> >> > On Tue, Sep 10, 2019 at 08:57:37AM +0200, Andreas Schwab wrote: >> >> On Sep 10 2019, Christoph Hellwig wrote: >> >> >> >> > The sifive serial driver

Re: [PATCH v5 2/2] net: phy: adin: implement Energy Detect Powerdown mode via phy-tunable

2019-09-16 Thread Andrew Lunn
On Mon, Sep 16, 2019 at 10:35:26AM +0300, Alexandru Ardelean wrote: > This driver becomes the first user of the kernel's `ETHTOOL_PHY_EDPD` > phy-tunable feature. > EDPD is also enabled by default on PHY config_init, but can be disabled via > the phy-tunable control. > > When enabling EDPD, it's

Re: [PATCH] serial/sifive: select SERIAL_EARLYCON

2019-09-16 Thread Paul Walmsley
On Tue, 10 Sep 2019, Andreas Schwab wrote: > On Sep 10 2019, Christoph Hellwig wrote: > > > On Tue, Sep 10, 2019 at 08:57:37AM +0200, Andreas Schwab wrote: > >> On Sep 10 2019, Christoph Hellwig wrote: > >> > >> > The sifive serial driver implements earlycon support, > >> > >> It should

Re: Documentation for plain accesses and data races

2019-09-16 Thread Boqun Feng
On Mon, Sep 16, 2019 at 01:17:53PM +0800, Boqun Feng wrote: > Hi Alan, > > I spend some time reading this, really helpful! Thanks. > > Please see comments below: > > On Fri, Sep 06, 2019 at 02:11:29PM -0400, Alan Stern wrote: > [...] > > If two memory accesses aren't concurrent then one must

Re: [PATCH V2 08/12] dt-bindings: mailbox: qom: Add ipq8074 APPS compatible

2019-09-16 Thread gokulsri
Hi Rob, On 2019-09-14 03:18, Rob Herring wrote: On Fri, 13 Sep 2019 17:26:07 +0530, Gokul Sriram Palanisamy wrote: Add mailbox support required in IPQ8074 SoCs. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R ---

RE: [tip: sched/core] sched/psi: Correct overly pessimistic size calculation

2019-09-16 Thread David Laight
From: Miles Chen > Sent: 13 September 2019 23:43 > The following commit has been merged into the sched/core branch of tip: > > Commit-ID: 4adcdcea717cb2d8436bef00dd689aa5bc76f11b > Gitweb: > https://git.kernel.org/tip/4adcdcea717cb2d8436bef00dd689aa5bc76f11b > Author:Miles

Re: [PATCH V2 06/12] dt-bindings: clock: qcom: Add reset for WCSSAON

2019-09-16 Thread gokulsri
Hi Rob, On 2019-09-14 03:18, Rob Herring wrote: On Fri, 13 Sep 2019 17:26:05 +0530, Gokul Sriram Palanisamy wrote: Add binding for WCSSAON reset required for Q6v5 reset on IPQ8074 SoC. Signed-off-by: Gokul Sriram Palanisamy Signed-off-by: Sricharan R Signed-off-by: Nikhil Prakash V ---

Re: [PATCH] iio: adc: stm32-adc: fix a race when using several adcs with dma and irq

2019-09-16 Thread Fabrice Gasnier
On 9/15/19 12:05 PM, Jonathan Cameron wrote: > On Fri, 13 Sep 2019 15:21:30 +0200 > Fabrice Gasnier wrote: > >> End of conversion may be handled by using IRQ or DMA. There may be a >> race when two conversions complete at the same time on several ADCs. >> EOC can be read as 'set' for several

[GIT PULL] sound updates for 5.4

2019-09-16 Thread Takashi Iwai
Linus, please pull sound updates for v5.4 from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git tags/sound-5.4-rc1 The topmost commit is 9bf9bf5440b99edfba496388c90b52ebcd9df715 sound updates for 5.4 As shown

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

2019-09-16 Thread Christian Brauner
On Wed, Sep 11, 2019 at 07:01:54PM +0100, 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; > -

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

[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

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

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

[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(-)

[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 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

[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 +++---

[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

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 = >

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.

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

[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

[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

[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.

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

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

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

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

[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

[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()

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

[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

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

[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

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

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

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: 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]

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

[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(-)

[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:

[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

[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

[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

[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

[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

[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

[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

[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

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

[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

[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

[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 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

[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 +=

[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

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:

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: > > > >

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

[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

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

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

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:

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

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

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

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

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:

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

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

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: [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, > > > > > >

[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

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

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

[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

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]

[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

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

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

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: [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?

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

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:

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

[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

[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' -

[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

[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.

[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 ---

<    2   3   4   5   6   7   8   9   >