Re: ICM20602 buffer issues with the inv_mpu6050 driver

2019-05-22 Thread Jean-Baptiste Maneyrol
Hello, I had a look inside the driver to verify the buffer implementation. It looks correct to me. I don't see where the problem can come from. I am sorry I don't have a setup currently to test in live. For sure you can have a different result by reading the buffer through the char device file

[PATCH 1/4] mm/vmap: remove "node" argument

2019-05-22 Thread Uladzislau Rezki (Sony)
Remove unused argument from the __alloc_vmap_area() function. Signed-off-by: Uladzislau Rezki (Sony) --- mm/vmalloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mm/vmalloc.c b/mm/vmalloc.c index c42872ed82ac..ea1b65fac599 100644 --- a/mm/vmalloc.c +++ b/mm/vmalloc.c

[PATCH 3/4] mm/vmap: get rid of one single unlink_va() when merge

2019-05-22 Thread Uladzislau Rezki (Sony)
It does not make sense to try to "unlink" the node that is definitely not linked with a list nor tree. On the first merge step VA just points to the previously disconnected busy area. On the second step, check if the node has been merged and do "unlink" if so, because now it points to an object th

[PATCH 2/4] mm/vmap: preload a CPU with one object for split purpose

2019-05-22 Thread Uladzislau Rezki (Sony)
Introduce ne_fit_preload()/ne_fit_preload_end() functions for preloading one extra vmap_area object to ensure that we have it available when fit type is NE_FIT_TYPE. The preload is done per CPU and with GFP_KERNEL permissive allocation masks, which allow to be more stable under low memory conditio

[PATCH 4/4] mm/vmap: move BUG_ON() check to the unlink_va()

2019-05-22 Thread Uladzislau Rezki (Sony)
Move the BUG_ON()/RB_EMPTY_NODE() check under unlink_va() function, it means if an empty node gets freed it is a BUG thus is considered as faulty behaviour. Signed-off-by: Uladzislau Rezki (Sony) --- mm/vmalloc.c | 24 +--- 1 file changed, 9 insertions(+), 15 deletions(-) di

hello

2019-05-22 Thread eddy william
Mijn naam is Eddy William. Ik ben van beroep advocaat. Ik wil je aanbieden nabestaanden van mijn cliënt. Je ervaart de som van ($ 14,2 miljoen) dollars die mijn cliënt voor zijn overlijden op de bank heeft achtergelaten. Mijn klant is een burger van jouw land die stierf in auto-ongeluk met zijn vr

[PATCH] checkpatch.pl: Update DT vendor prefix check

2019-05-22 Thread Rob Herring
In commit 8122de54602e ("dt-bindings: Convert vendor prefixes to json-schema"), vendor-prefixes.txt has been converted to a DT schema. Update the checkpatch.pl DT check to extract vendor prefixes from the new vendor-prefixes.yaml file. Fixes: 8122de54602e ("dt-bindings: Convert vendor prefixes to

RE: [PATCH v5 1/2] platform/mellanox: Add bootctl driver for Mellanox BlueField Soc

2019-05-22 Thread Liming Sun
Thanks Arnd for the comments! Please also see my response below. > -Original Message- > From: Arnd Bergmann > Sent: Tuesday, May 21, 2019 3:59 AM > To: Liming Sun > Cc: Greg KH ; Andy Shevchenko > ; Darren Hart ; Vadim > Pasternak ; David Woods ; > platform-driver-...@vger.kernel.org;

Re: [PATCH] smp,cpumask: Don't call functions on offline CPUs

2019-05-22 Thread Andrew Murray
On Wed, May 22, 2019 at 04:49:18PM +0200, Peter Zijlstra wrote: > On Wed, May 22, 2019 at 03:37:11PM +0100, Andrew Murray wrote: > > > Is perhaps the problem that on_each_cpu_cond() uses cpu_onlne_mask > > > without protection? > > > > Does this prevent racing with a CPU going offline? I guess thi

Re: [RFC 0/7] introduce memory hinting API for external process

2019-05-22 Thread Daniel Colascione
On Wed, May 22, 2019 at 7:52 AM Christian Brauner wrote: > I'm not going to go into yet another long argument. I prefer pidfd_*. Ok. We're each allowed our opinion. > It's tied to the api, transparent for userspace, and disambiguates it > from process_vm_{read,write}v that both take a pid_t. Sp

[PATCH] PCI: Add PCIe 5.0 data rate (32 GT/s) support

2019-05-22 Thread Gustavo Pimentel
PCIe 5.0 allows an effective 32.0 GT/s speed per lane. Currently if you read a PCIe 5.0 EP link data rate through sysfs, the resulting output will be "Unknown speed" instead of "32.0 GT/s" as we would be expect. Cc: Bjorn Helgaas Cc: Lorenzo Pieralisi Cc: Joao Pinto Signed-off-by: Gustavo Pime

Re: [PATCH v2 0/7] mm: process_vm_mmap() -- syscall for duplication a process mapping

2019-05-22 Thread Kirill A. Shutemov
On Mon, May 20, 2019 at 05:00:01PM +0300, Kirill Tkhai wrote: > This patchset adds a new syscall, which makes possible > to clone a VMA from a process to current process. > The syscall supplements the functionality provided > by process_vm_writev() and process_vm_readv() syscalls, > and it may be u

[PATCH 1/2] pinctrl: Allow to create link between controller and consumer

2019-05-22 Thread Benjamin Gaignard
Pin controller may want to create a link between itself and its clients to be sure of suspend/resume call ordering. Introduce create_link field in pinctrl_desc structure to let pinctrl core knows that controller expect to create a link. Signed-off-by: Benjamin Gaignard --- drivers/pinctrl/core.c

[PATCH 2/2] pinctrl: stmfx: enable links creations

2019-05-22 Thread Benjamin Gaignard
Set create_link to inform pinctrl core that stmfx wants to create link with its consumers. Signed-off-by: Benjamin Gaignard --- drivers/pinctrl/pinctrl-stmfx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/pinctrl/pinctrl-stmfx.c b/drivers/pinctrl/pinctrl-stmfx.c index eba872ce4a7c

[PATCH 0/2] Allow pinctrl framework to create links

2019-05-22 Thread Benjamin Gaignard
Some pin controllers may need to ensure suspend/resume calls ordering between themselves and their clients. That is the case for STMFX (an I2C GPIO expender) which need to be suspended after all it clients to let them call pinctrl_pm_select_sleep_state() before perform it own suspend function. It i

Re: [PATCH] proc/meminfo: add MemKernel counter

2019-05-22 Thread Konstantin Khlebnikov
On 22.05.2019 18:01, Vlastimil Babka wrote: On 5/22/19 4:40 PM, Konstantin Khlebnikov wrote: Some kinds of kernel allocations are not accounted or not show in meminfo. For example vmalloc allocations are tracked but overall size is not shown I think Roman's vmalloc patch [1] is on its way? f

Re: [PATCH] Revert "thermal: rockchip: fix up the tsadc pinctrl setting error"

2019-05-22 Thread Doug Anderson
Hi, On Wed, May 22, 2019 at 7:12 AM Heiko Stuebner wrote: > > This reverts commit 28694e009e512451ead5519dd801f9869acb1f60. > > The commit causes multiple issues in that: > - the added call to ->control does potentially run unclocked > causing a hang of the machine > - the added pinctrl-states

Re: [PATCH v2 3/3] regulator: lp87565: Add 4-phase lp87561 regulator support

2019-05-22 Thread Mark Brown
On Thu, May 16, 2019 at 10:02:18AM +0530, Keerthy wrote: > The LP8756x family has a single output 4-phase regulator > configuration. Add support for the same. The control > lies in the master buck which is buck0 for 4-phase > configuration. Enable/disable/voltage set happen via > buck0 registers.

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

2019-05-22 Thread Sean Christopherson
On Wed, May 22, 2019 at 09:56:30AM -0400, Stephen Smalley wrote: > On 5/22/19 9:22 AM, Jarkko Sakkinen wrote: > >On Wed, May 22, 2019 at 04:20:22PM +0300, Jarkko Sakkinen wrote: > >>On Tue, May 21, 2019 at 08:51:40AM -0700, Sean Christopherson wrote: > >>>Except that mmap() is more or less required

[PATCH] locking/lock_events: Use this_cpu_add() when necessary

2019-05-22 Thread Waiman Long
The kernel test robot has reported that the use of __this_cpu_add() causes bug messages like: BUG: using __this_cpu_add() in preemptible [] code: ... This is only an issue on preempt kernel where preemption can happen in the middle of the multi-instruction percpu operation. It is not an

Re: d_lookup: Unable to handle kernel paging request

2019-05-22 Thread Vicente Bergas
Hi Al, On Wednesday, May 22, 2019 3:53:31 PM CEST, Al Viro wrote: On Wed, May 22, 2019 at 12:40:55PM +0200, Vicente Bergas wrote: Hi, since a recent update the kernel is reporting d_lookup errors. They appear randomly and after each error the affected file or directory is no longer accessible.

Re: [PATCH] PCI / PM: Don't runtime suspend when device only supports wakeup from D0

2019-05-22 Thread Kai Heng Feng
> On May 22, 2019, at 9:48 PM, Bjorn Helgaas wrote: > > On Wed, May 22, 2019 at 11:42:14AM +0800, Kai Heng Feng wrote: >> at 6:23 AM, Bjorn Helgaas wrote: >>> On Wed, May 22, 2019 at 12:31:04AM +0800, Kai-Heng Feng wrote: There's an xHC device that doesn't wake when a USB device gets plu

Re: Linux Testing Microconference at LPC

2019-05-22 Thread Dmitry Vyukov
On Fri, Apr 26, 2019 at 11:03 PM Tim Bird wrote: > > I'm in the process now of planning Automated Testing Summit 2019, > which is tentatively planned for Lyon, France on October 31. This is This is _November_ 1, right? > the day after Embedded Linux Conference Europe and Open Source Summit > Eu

Re: [RFC 0/7] introduce memory hinting API for external process

2019-05-22 Thread Christian Brauner
On Wed, May 22, 2019 at 08:17:23AM -0700, Daniel Colascione wrote: > On Wed, May 22, 2019 at 7:52 AM Christian Brauner > wrote: > > I'm not going to go into yet another long argument. I prefer pidfd_*. > > Ok. We're each allowed our opinion. > > > It's tied to the api, transparent for userspace

Re: [PATCH] proc/meminfo: add MemKernel counter

2019-05-22 Thread Michal Hocko
On Wed 22-05-19 17:40:09, Konstantin Khlebnikov wrote: > Some kinds of kernel allocations are not accounted or not show in meminfo. > For example vmalloc allocations are tracked but overall size is not shown > for performance reasons. There is no information about network buffers. > > In most case

Re: Linux Testing Microconference at LPC

2019-05-22 Thread Dmitry Vyukov
On Sun, May 12, 2019 at 2:40 AM Andrea Parri wrote: > > On Tue, Apr 23, 2019 at 11:22:50AM +0100, Mark Rutland wrote: > > On Thu, Apr 11, 2019 at 10:37:51AM -0700, Dhaval Giani wrote: > > > Hi Folks, > > > > > > This is a call for participation for the Linux Testing microconference > > > at LPC th

Re: [PATCH v2] signal: Adjust error codes according to restore_user_sigmask()

2019-05-22 Thread Deepa Dinamani
-Deepa > On May 22, 2019, at 8:05 AM, Oleg Nesterov wrote: > >> On 05/21, Deepa Dinamani wrote: >> >> Note that this patch returns interrupted errors (EINTR, ERESTARTNOHAND, >> etc) only when there is no other error. If there is a signal and an error >> like EINVAL, the syscalls return -EINVAL ra

Re: [PATCH] message/fusion/mptbase.c: Use kmemdup instead of memcpy and kmalloc

2019-05-22 Thread Bharath Vedartham
On Wed, May 22, 2019 at 04:48:33AM -0700, Joe Perches wrote: > On Wed, 2019-05-22 at 15:23 +0530, Bharath Vedartham wrote: > > Replace kmalloc + memcpy with kmemdup. > > This was reported by coccinelle. > [] > > diff --git a/drivers/message/fusion/mptbase.c > > b/drivers/message/fusion/mptbase.c >

WARNING: locking bug in do_ipv6_setsockopt

2019-05-22 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:5bdd9ad8 Merge tag 'kbuild-fixes-v5.2' of git://git.kernel.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=13e8856ca0 kernel config: https://syzkaller.appspot.com/x/.config?x=fc045131472947d7 da

kernel BUG at include/linux/scatterlist.h:LINE!

2019-05-22 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:af8f3fb7 net: stmmac: dma channel control register need to.. git tree: net console output: https://syzkaller.appspot.com/x/log.txt?x=17c2d418a0 kernel config: https://syzkaller.appspot.com/x/.config?x=fc045131472947d7 dashboa

memory leak in sock_hash_update_common

2019-05-22 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:9c7db500 Merge tag 'selinux-pr-20190521' of git://git.kern.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=1287358aa0 kernel config: https://syzkaller.appspot.com/x/.config?x=61dd9e15a761691d da

Re: [PATCH v7 03/12] x86: Add macro to get symbol address for PIE support

2019-05-22 Thread Thomas Garnier
On Mon, May 20, 2019 at 8:13 PM wrote: > > On May 20, 2019 4:19:28 PM PDT, Thomas Garnier wrote: > >From: Thomas Garnier > > > >Add a new _ASM_MOVABS macro to fetch a symbol address. It will be used > >to replace "_ASM_MOV $, %dst" code construct that are not > >compatible with PIE. > > > >Signe

Re: [RFC 0/7] introduce memory hinting API for external process

2019-05-22 Thread Daniel Colascione
On Wed, May 22, 2019 at 8:48 AM Christian Brauner wrote: > > On Wed, May 22, 2019 at 08:17:23AM -0700, Daniel Colascione wrote: > > On Wed, May 22, 2019 at 7:52 AM Christian Brauner > > wrote: > > > I'm not going to go into yet another long argument. I prefer pidfd_*. > > > > Ok. We're each allo

Re: [PATCH 07/24] iommu/dma: Move domain lookup into __iommu_dma_{map, unmap}

2019-05-22 Thread Christoph Hellwig
On Wed, May 22, 2019 at 02:34:49PM +0100, Robin Murphy wrote: > On 20/05/2019 08:29, Christoph Hellwig wrote: >> From: Robin Murphy >> >> Most of the callers don't care, and the couple that do already have the >> domain to hand for other reasons are in slow paths where the (trivial) >> overhead of

Re: [GIT PULL] arm64: First round of fixes for -rc2

2019-05-22 Thread pr-tracker-bot
The pull request you sent on Wed, 22 May 2019 14:11:02 +0100: > git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git tags/arm64-fixes has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/54dee406374ce8adb352c48e175176247cb8db7c Thank you! -- Deet-doot-dot, I am a

Re: [GIT] Networking

2019-05-22 Thread pr-tracker-bot
The pull request you sent on Tue, 21 May 2019 22:43:13 -0700 (PDT): > git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git refs/heads/master has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f75b6f303bd80249a56cce9028954b4f731270e3 Thank you! -- Deet-doot-dot, I

Re: [RFC 0/7] introduce memory hinting API for external process

2019-05-22 Thread Christian Brauner
On Wed, May 22, 2019 at 08:57:47AM -0700, Daniel Colascione wrote: > On Wed, May 22, 2019 at 8:48 AM Christian Brauner > wrote: > > > > On Wed, May 22, 2019 at 08:17:23AM -0700, Daniel Colascione wrote: > > > On Wed, May 22, 2019 at 7:52 AM Christian Brauner > > > wrote: > > > > I'm not going t

Re: [RFC 0/7] introduce memory hinting API for external process

2019-05-22 Thread Daniel Colascione
On Wed, May 22, 2019 at 9:01 AM Christian Brauner wrote: > > On Wed, May 22, 2019 at 08:57:47AM -0700, Daniel Colascione wrote: > > On Wed, May 22, 2019 at 8:48 AM Christian Brauner > > wrote: > > > > > > On Wed, May 22, 2019 at 08:17:23AM -0700, Daniel Colascione wrote: > > > > On Wed, May 22,

[PATCH v2] message/fusion/mptbase.c: Use kmemdup instead of memcpy and kmalloc

2019-05-22 Thread Bharath Vedartham
Replace kmalloc + memcpy with kmemdup. This was reported by coccinelle. Signed-off-by: Bharath Vedartham --- Changes since v2: Removed the cast from pIoc2. --- drivers/message/fusion/mptbase.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/message/fusion/

Re: [RFC] Disable lockref on arm64

2019-05-22 Thread Will Deacon
On Sat, May 18, 2019 at 12:00:34PM +0200, Ard Biesheuvel wrote: > On Sat, 18 May 2019 at 06:25, Jayachandran Chandrasekharan Nair > wrote: > > > > On Mon, May 06, 2019 at 07:10:40PM +0100, Will Deacon wrote: > > > On Mon, May 06, 2019 at 06:13:12AM +, Jayachandran Chandrasekharan > > > Nair w

Re: Linux Testing Microconference at LPC

2019-05-22 Thread Dmitry Vyukov
On Thu, May 16, 2019 at 2:51 AM wrote: > > -Original Message- > > From: Sasha Levin > > > > On Fri, Apr 26, 2019 at 02:02:53PM -0700, Tim Bird wrote: > ... > > > > > >With regards to the Testing microconference at Plumbers, I would like > > >to do a presentation on the current status of te

Re: [PATCH 08/12] perf tools: Preserve eBPF maps when loading kcore

2019-05-22 Thread Arnaldo Carvalho de Melo
Em Wed, May 08, 2019 at 03:20:06PM +0200, Jiri Olsa escreveu: > We need to preserve eBPF maps even if they are > covered by kcore, because we need to access > eBPF dso for source data. So, I reordered this one with the previous, as to get the output you added to 07/12 we need what is in 08/12, and

Re: Linux Testing Microconference at LPC

2019-05-22 Thread Dhaval Giani
On Wed, May 22, 2019 at 6:04 PM Dmitry Vyukov wrote: > > On Thu, May 16, 2019 at 2:51 AM wrote: > > > -Original Message- > > > From: Sasha Levin > > > > > > On Fri, Apr 26, 2019 at 02:02:53PM -0700, Tim Bird wrote: > > ... > > > > > > > >With regards to the Testing microconference at Plum

perf: fuzzer causes crash in new XMM code

2019-05-22 Thread Vince Weaver
The perf fuzzer caused my skylake machine to crash hard with the trace at the end here. (this is with current git) It appears to be happening in new code introduced by: commit 878068ea270ea82767ff1d26c91583263c81fba0 Author: Kan Liang Date: Tue Apr 2 12:44:59 2019 -0700 perf/x86: Supp

Re: [PATCH] proc/meminfo: add MemKernel counter

2019-05-22 Thread Konstantin Khlebnikov
On 22.05.2019 18:52, Michal Hocko wrote: On Wed 22-05-19 17:40:09, Konstantin Khlebnikov wrote: Some kinds of kernel allocations are not accounted or not show in meminfo. For example vmalloc allocations are tracked but overall size is not shown for performance reasons. There is no information ab

[PATCH] powerpc/powernv: fix a W=1 compilation warning

2019-05-22 Thread Qian Cai
The commit b575c731fe58 ("powerpc/powernv/npu: Add set/unset window helpers") called pnv_npu_set_window() in a void function pnv_npu_dma_set_32(), but the return code from pnv_npu_set_window() has no use there as all the error logging happen in pnv_npu_set_window(), so just remove the unused variab

Re: Linux Testing Microconference at LPC

2019-05-22 Thread Dhaval Giani
> Please let us know what topics you believe should be a part of the > micro conference this year. At OSPM right now, Douglas and Ionela were talking about their scheduler behavioral testing framework using LISA and rt-app. This is an interesting topic, and I think has a lot of scope for making sc

[PATCH] pinctrl: ingenic: Handle PIN_CONFIG_OUTPUT config

2019-05-22 Thread Paul Cercueil
This enables devicetree bindings to specify that a given GPIO should be driven low or high. Signed-off-by: Paul Cercueil --- drivers/pinctrl/pinctrl-ingenic.c | 23 ++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/drivers/pinctrl/pinctrl-ingenic.c b/drivers/

Re: [PATCH] perf/x86: always include regs->ip in callchain

2019-05-22 Thread Song Liu
> On May 22, 2019, at 6:58 AM, Peter Zijlstra wrote: > > On Tue, May 21, 2019 at 01:48:13PM -0700, Song Liu wrote: >> Commit d15d356887e7 removes regs->ip for !perf_hw_regs(regs) case. This >> breaks tests like test_stacktrace_map from selftests/bpf/tests_prog. > > That test is broken by some

Re: [PATCH v2] signal: Adjust error codes according to restore_user_sigmask()

2019-05-22 Thread Oleg Nesterov
On 05/22, Deepa Dinamani wrote: > > -Deepa > > > On May 22, 2019, at 8:05 AM, Oleg Nesterov wrote: > > > >> On 05/21, Deepa Dinamani wrote: > >> > >> Note that this patch returns interrupted errors (EINTR, ERESTARTNOHAND, > >> etc) only when there is no other error. If there is a signal and an err

Re: [PATCH v4 3/5] dt-bindings: watchdog: add Allwinner H6 r_watchdog

2019-05-22 Thread Clément Péron
Hi Maxime, On Wed, 22 May 2019 at 12:32, Maxime Ripard wrote: > > On Tue, May 21, 2019 at 06:03:28PM +0200, Clément Péron wrote: > > Allwinner H6 has a second watchdog on the r-blocks which is > > compatible with the A31. > > > > This commit add the H6 compatible for the r_watchdog. > > > > Signe

Re: [PATCH v3 2/2] tty: add rpmsg driver

2019-05-22 Thread Arnaud Pouliquen
Hello Jiri, On 5/22/19 11:01 AM, Jiri Slaby wrote: > On 17. 05. 19, 16:27, Arnaud Pouliquen wrote: >> This driver exposes a standard tty interface on top of the rpmsg >> framework through the "rpmsg-tty-channel" rpmsg service. >> >> This driver supports multi-instances, offering a /dev/ttyRPMSGx e

[PATCH] proc: report eip and esp for all threads when coredumping

2019-05-22 Thread Jan Luebbe
Commit 0a1eb2d474ed ("fs/proc: Stop reporting eip and esp in /proc/PID/stat") stopped reporting eip/esp and commit fd7d56270b52 ("fs/proc: Report eip/esp in /prod/PID/stat for coredumping") reintroduced the feature to fix a regression with userspace core dump handlers (such as minicoredumper). Bec

Re: [PATCH v3 2/2] initramfs: introduce do_readxattrs()

2019-05-22 Thread hpa
On May 20, 2019 2:39:46 AM PDT, Roberto Sassu wrote: >On 5/18/2019 12:17 AM, Arvind Sankar wrote: >> On Fri, May 17, 2019 at 02:47:31PM -0700, H. Peter Anvin wrote: >>> On 5/17/19 2:02 PM, Arvind Sankar wrote: On Fri, May 17, 2019 at 01:18:11PM -0700, h...@zytor.com wrote: > > Ok... I

Re: [PATCH 12/12] perf script: Add --show-all-events option

2019-05-22 Thread Arnaldo Carvalho de Melo
Em Wed, May 08, 2019 at 03:20:10PM +0200, Jiri Olsa escreveu: > Adding --show-all-events option to show all > side-bad events with single option, like: > > $ perf script --show-all-events > swapper 0 [000] 0.00: PERF_RECORD_MMAP -1/0: > [0xa600(0xc00e41) @ 0xa6

Re: [PATCH v3 2/2] initramfs: introduce do_readxattrs()

2019-05-22 Thread hpa
On May 17, 2019 7:16:04 PM PDT, Rob Landley wrote: >On 5/17/19 4:41 PM, H. Peter Anvin wrote: >> On 5/17/19 1:18 PM, h...@zytor.com wrote: >>> >>> Ok... I just realized this does not work for a modular initramfs, >composed at load time from multiple files, which is a very real >problem. Should be

[PATCH 5/6] arm64: dts: ti: Add support for J721E Common Processor Board

2019-05-22 Thread Nishanth Menon
Add Support for J721E Common Processor board support. The EVM architecture is as follows: +--+ | +---+ | | | | | | |Add-on Card 1 Options

[PATCH 1/6] dt-bindings: arm: ti: Add bindings for J721E SoC

2019-05-22 Thread Nishanth Menon
The J721E SoC belongs to the K3 Multicore SoC architecture platform, providing advanced system integration to enable lower system costs of automotive applications such as infotainment, cluster, premium Audio, Gateway, industrial and a range of broad market applications. This SoC is designed around

[PATCH 6/6] arm64: defconfig: Enable TI's J721E SoC platform

2019-05-22 Thread Nishanth Menon
Enable J721E SoC support from TI. Signed-off-by: Nishanth Menon --- NOTE: - I will resubmit this patch (defconfig update) separately once again once patches 1-7 hit the next tree or for 5.3-rc2 which ever is convenient. arch/arm64/configs/defconfig | 1 + 1 file changed, 1 insertion(+) di

[PATCH 3/6] arm64: dts: ti: Add Support for J721E SoC

2019-05-22 Thread Nishanth Menon
The J721E SoC belongs to the K3 Multicore SoC architecture platform, providing advanced system integration to enable lower system costs of automotive applications such as infotainment, cluster, premium Audio, Gateway, industrial and a range of broad market applications. This SoC is designed around

[PATCH 0/6] arm64: Initial support Texas Instrument's J721E Platform

2019-05-22 Thread Nishanth Menon
Hi, This series adds support for the latest new SoC, J721E, from Texas Instruments. The series is an based off v5.2-rc1 and has the following driver dependencies for a successful boot: 1. https://lore.kernel.org/lkml/20190429131533.25122-1-...@ti.com (for newer firmware) 2. https://lore.kerne

[PATCH 2/6] dt-bindings: serial: 8250_omap: Add compatible for J721E UART controller

2019-05-22 Thread Nishanth Menon
J721e uses a UART controller that is compatible with AM654 UART. Introduce a specific compatible to help handle the differences if necessary. Cc: Sekhar Nori Cc: Vignesh R Signed-off-by: Nishanth Menon --- NOTE: - If Greg is ok, we can pick up the uart compatibility via the k3 tree, else, I

[PATCH 4/6] soc: ti: Add Support for J721E SoC config option

2019-05-22 Thread Nishanth Menon
Add option to build J721E SoC specific components Signed-off-by: Nishanth Menon --- drivers/soc/ti/Kconfig | 5 + 1 file changed, 5 insertions(+) diff --git a/drivers/soc/ti/Kconfig b/drivers/soc/ti/Kconfig index dbd6c60b81db..a51beac6751f 100644 --- a/drivers/soc/ti/Kconfig +++ b/drivers/s

Re: eb9d1bf079 [ 88.881528] EIP: _random_read

2019-05-22 Thread Theodore Ts'o
Can you check and see if this addresses the issue? I'm not able to easily repro the softlockup. Thanks! - Ted commit f93d3e94983bf8b4697ceb121c79afd941862860 Author: Theodore Ts'o Date: Wed May 22 12:02:16 2019 -0400 random: fix soft locku

[PATCH] soundwire: stream: fix out of boundary access on port properties

2019-05-22 Thread Srinivas Kandagatla
Assigning local iterator to array element and using it again for indexing would cross the array boundary. Fix this by directly referring array element without using the local variable. Signed-off-by: Srinivas Kandagatla --- drivers/soundwire/stream.c | 4 +--- 1 file changed, 1 insertion(+), 3 d

Re: Hello My Beloved One, i need your assistance

2019-05-22 Thread Aisha Gaddafi
Dear Assalamu Alaikum, I came across your contact during my private search Mrs Aisha Al-Qaddafi is my name, the only daughter of late Libyan president, I have funds the sum of $27.5 million USD for investment, I am interested in you for investment project assistance in your country, i shall compens

[PATCH] soundwire: stream: fix bad unlock balance

2019-05-22 Thread Srinivas Kandagatla
This patch fixes below warning due to unlocking without locking. = WARNING: bad unlock balance detected! 5.1.0-16506-gc1c383a6f0a2-dirty #1523 Tainted: GW - aplay/2954 is trying to release lock (&bus->msg_lock) at

Re: [PATCH] module/ksymtab: use 64-bit relative reference for target symbol

2019-05-22 Thread Ard Biesheuvel
On 5/22/19 4:02 PM, Ard Biesheuvel wrote: The following commit 7290d5809571 ("module: use relative references for __ksymtab entries") updated the ksymtab handling of some KASLR capable architectures so that ksymtab entries are emitted as pairs of 32-bit relative references. This reduces t

Re: [PATCH 3/4] iio: adc: mediatek: SET_LATE_SYSTEM_SLEEP_PM_OPS support

2019-05-22 Thread Matthias Brugger
On 20/05/2019 08:03, Chun-Hung Wu wrote: > Hi Jonathan: > > Thanks for the prompt reply, > > On Sat, 2019-05-18 at 11:35 +0100, Jonathan Cameron wrote: >> On Thu, 16 May 2019 16:10:46 +0800 >> Chun-Hung Wu wrote: >> >>> Move suspend/resume to late_suspend and >>> early_resume to gurantee

Re: d_lookup: Unable to handle kernel paging request

2019-05-22 Thread Al Viro
On Wed, May 22, 2019 at 05:44:30PM +0200, Vicente Bergas wrote: >2d30: f8617893ldr x19, [x4, x1, lsl #3] >2d34: f27ffa73andsx19, x19, #0xfffe >2d38: 54000920b.eq2e5c <__d_lookup_rcu+0x15c> // b.none >2d3c: aa0003f

Re: [PATCH v12 3/3] dt-bindings: mfd: Document Renesas R-Car Gen3 RPC-IF MFD bindings

2019-05-22 Thread Sergei Shtylyov
On 05/20/2019 10:23 AM, masonccy...@mxic.com.tw wrote: > --> > > Renesas R-Car Gen3 RPC-IF controller Device Tree Bindings > - > > RPC-IF supports both SPI

[PATCH] fanotify: remove redundant capable(CAP_SYS_ADMIN)s

2019-05-22 Thread Christian Brauner
This removes two redundant capable(CAP_SYS_ADMIN) checks from fanotify_init(). fanotify_init() guards the whole syscall with capable(CAP_SYS_ADMIN) at the beginning. So the other two capable(CAP_SYS_ADMIN) checks are not needed. Fixes: 5dd03f55fd2 ("fanotify: allow userspace to override max queue

Re: [PATCH v2] signal: Adjust error codes according to restore_user_sigmask()

2019-05-22 Thread Deepa Dinamani
On Wed, May 22, 2019 at 9:14 AM Oleg Nesterov wrote: > > On 05/22, Deepa Dinamani wrote: > > > > -Deepa > > > > > On May 22, 2019, at 8:05 AM, Oleg Nesterov wrote: > > > > > >> On 05/21, Deepa Dinamani wrote: > > >> > > >> Note that this patch returns interrupted errors (EINTR, ERESTARTNOHAND, >

Re: [GIT PULL] SPDX update for 5.2-rc1 - round 1

2019-05-22 Thread Greg KH
On Tue, May 21, 2019 at 12:56:54PM -0700, Linus Torvalds wrote: > On Tue, May 21, 2019 at 6:33 AM Greg KH wrote: > > > > Thomas Gleixner (24): > > treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 1 > > I thought rule 1 was that we don't talk about SPDX replacement? Oh if only

Re: [PATCH] soundwire: stream: fix out of boundary access on port properties

2019-05-22 Thread Pierre-Louis Bossart
On 5/22/19 11:24 AM, Srinivas Kandagatla wrote: Assigning local iterator to array element and using it again for indexing would cross the array boundary. Fix this by directly referring array element without using the local variable. The change is valid and indeed the code could never work as

Re: [PATCH] soundwire: stream: fix bad unlock balance

2019-05-22 Thread Srinivas Kandagatla
On 22/05/2019 17:25, Srinivas Kandagatla wrote: This patch fixes below warning due to unlocking without locking. = WARNING: bad unlock balance detected! 5.1.0-16506-gc1c383a6f0a2-dirty #1523 Tainted: GW -

Re: [PATCH] soundwire: stream: fix bad unlock balance

2019-05-22 Thread Pierre-Louis Bossart
On 5/22/19 11:25 AM, Srinivas Kandagatla wrote: This patch fixes below warning due to unlocking without locking. = WARNING: bad unlock balance detected! 5.1.0-16506-gc1c383a6f0a2-dirty #1523 Tainted: GW -

Re: [PATCH V3 2/4] arm64/mm: Hold memory hotplug lock while walking for kernel page table dump

2019-05-22 Thread Mark Rutland
On Thu, May 16, 2019 at 01:05:29PM +0200, Michal Hocko wrote: > On Thu 16-05-19 11:23:54, Mark Rutland wrote: > > Hi Michal, > > > > On Wed, May 15, 2019 at 06:58:47PM +0200, Michal Hocko wrote: > > > On Tue 14-05-19 14:30:05, Anshuman Khandual wrote: > > > > The arm64 pagetable dump code can race

[Patch v3] staging: rtl8723bs: core: rtw_ap: fix Unneeded variable: "ret". Return "0

2019-05-22 Thread Hariprasad Kelam
Function "rtw_sta_flush" always returns 0 value. So change return type of rtw_sta_flush from int to void. Same thing applies for rtw_hostapd_sta_flush Signed-off-by: Hariprasad Kelam -- Changes v2 - change return type of rtw_sta_flush -- Changes v3 - fix indentaion issue

Re: [RFC] Turn lockdown into an LSM

2019-05-22 Thread Matthew Garrett
On Tue, May 21, 2019 at 7:40 PM James Morris wrote: > An LSM could also potentially implement its own policy for the hook. That was my plan. Right now the hook just gets an ASCII description of the reason for the lockdown - that seems suboptimal for cases like SELinux. What information would you

Re: [PATCH v13 3/3] dt-bindings: mfd: Document Renesas R-Car Gen3 RPC-IF controller bindings

2019-05-22 Thread Sergei Shtylyov
On 05/21/2019 10:19 AM, Mason Yang wrote: > Document the bindings used by the Renesas R-Car Gen3 RPC-IF controller. > > Signed-off-by: Mason Yang > --- > .../devicetree/bindings/mfd/renesas-rpc-if.txt | 65 > ++ > 1 file changed, 65 insertions(+) > create mode 100644 D

Re: [PATCH] hsr: fix don't prune the master node from the node_db

2019-05-22 Thread Murali Karicheri
Hi Andreas, On 05/22/2019 02:07 AM, Andreas Oetken wrote: Don't prune master node in the hsr_prune_nodes function. Neither time_in[HSR_PT_SLAVE_A], nor time_in[HSR_PT_SLAVE_B], will ever be updated by hsr_register_frame_in for the master port. Thus the master node will be repeatedly pruned leadi

Re: [PATCH RFC v8 01/10] namei: obey trailing magic-link DAC permissions

2019-05-22 Thread Andy Lutomirski
On Mon, May 20, 2019 at 6:34 AM Aleksa Sarai wrote: > One final exception is given, which is that non-O_PATH file descriptors > are given re-open rights equivalent to the permissions available at > open-time. This allows for O_RDONLY file descriptors to be re-opened > O_RDWR as long as the user ha

Re: [PATCH] proc/meminfo: add MemKernel counter

2019-05-22 Thread Roman Gushchin
On Wed, May 22, 2019 at 07:09:22PM +0300, Konstantin Khlebnikov wrote: > On 22.05.2019 18:52, Michal Hocko wrote: > > On Wed 22-05-19 17:40:09, Konstantin Khlebnikov wrote: > > > Some kinds of kernel allocations are not accounted or not show in meminfo. > > > For example vmalloc allocations are tra

[PATCH] i2c: jz4780: Drop dependency on MACH_JZ4780

2019-05-22 Thread Paul Cercueil
Depending on MACH_JZ4780 prevent us from creating a generic kernel that works on more than one MIPS board. Instead, we just depend on MIPS being set. Signed-off-by: Paul Cercueil --- drivers/i2c/busses/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/i2c/busses

Re: [PATCH v12 3/3] dt-bindings: mfd: Document Renesas R-Car Gen3 RPC-IF MFD bindings

2019-05-22 Thread Geert Uytterhoeven
Hi Sergei, On Wed, May 22, 2019 at 6:32 PM Sergei Shtylyov wrote: > On 05/20/2019 10:23 AM, masonccy...@mxic.com.tw wrote: > > +- clocks: should contain 1 entries for the module's clock > >1 entry (clock node phandle and specifier). Doesn't "specifier" mean "phandle + optional arguments"? G

[PATCH] staging: unisys: visornic: Replace GFP_ATOMIC with GFP_KERNEL

2019-05-22 Thread Hariprasad Kelam
As per below information GFP_KERNEL FLAG This is a normal allocation and might block. This is the flag to use in process context code when it is safe to sleep. GFP_ATOMIC FLAG The allocation is high-priority and does not sleep. This is the flag to use in interrupt handlers, bottom halves and o

Re: [RFC] Turn lockdown into an LSM

2019-05-22 Thread Andy Lutomirski
On Wed, May 22, 2019 at 9:49 AM Matthew Garrett wrote: > > On Tue, May 21, 2019 at 7:40 PM James Morris wrote: > > An LSM could also potentially implement its own policy for the hook. > > That was my plan. Right now the hook just gets an ASCII description of > the reason for the lockdown - that s

Re: [PATCH] modules: fix livelock in add_unformed_module()

2019-05-22 Thread Prarit Bhargava
On 5/13/19 10:37 AM, Barret Rhoden wrote: > Hi - > Hey Barret, my apologies for not getting back to you earlier. I got caught up in something that took me away from this issue. > On 5/13/19 7:23 AM, Prarit Bhargava wrote: > [snip] >> A module is loaded once for each cpu. > > Does one CPU su

[PATCH v3] staging: rtl8723bs: core: rtw_ap: fix Unneeded variable: "ret". Return "0

2019-05-22 Thread Hariprasad Kelam
Function "rtw_sta_flush" always returns 0 value. So change return type of rtw_sta_flush from int to void. Same thing applies for rtw_hostapd_sta_flush Signed-off-by: Hariprasad Kelam -- Changes v2 - change return type of rtw_sta_flush -- Changes v3 - fix indentaion issue

Re: [PATCH 20/24] iommu/dma: Refactor iommu_dma_mmap

2019-05-22 Thread Robin Murphy
On 20/05/2019 08:29, Christoph Hellwig wrote: Inline __iommu_dma_mmap_pfn into the main function, and use the fact that __iommu_dma_get_pages return NULL for remapped contigous allocations to simplify the code flow a bit. This would be a good point to get rid of __iommu_dma_mmap() now too. Rob

Re: [PATCH] proc: report eip and esp for all threads when coredumping

2019-05-22 Thread Alexey Dobriyan
On Wed, May 22, 2019 at 06:16:14PM +0200, Jan Luebbe wrote: > --- a/fs/proc/array.c > +++ b/fs/proc/array.c > @@ -462,7 +462,7 @@ static int do_task_stat(struct seq_file *m, struct > pid_namespace *ns, >* a program is not able to use ptrace(2) in that case. It is >*

Re: [PATCH] checkpatch.pl: Update DT vendor prefix check

2019-05-22 Thread Joe Perches
On Wed, 2019-05-22 at 10:12 -0500, Rob Herring wrote: > In commit 8122de54602e ("dt-bindings: Convert vendor prefixes to > json-schema"), vendor-prefixes.txt has been converted to a DT schema. > Update the checkpatch.pl DT check to extract vendor prefixes from the new > vendor-prefixes.yaml file. >

Re: [PATCH v3 2/2] initramfs: introduce do_readxattrs()

2019-05-22 Thread Roberto Sassu
On 5/22/2019 6:17 PM, h...@zytor.com wrote: On May 20, 2019 2:39:46 AM PDT, Roberto Sassu wrote: On 5/18/2019 12:17 AM, Arvind Sankar wrote: On Fri, May 17, 2019 at 02:47:31PM -0700, H. Peter Anvin wrote: On 5/17/19 2:02 PM, Arvind Sankar wrote: On Fri, May 17, 2019 at 01:18:11PM -0700, h...

Re: [PATCH v12 3/3] dt-bindings: mfd: Document Renesas R-Car Gen3 RPC-IF MFD bindings

2019-05-22 Thread Sergei Shtylyov
On 05/22/2019 08:05 PM, Geert Uytterhoeven wrote: >> On 05/20/2019 10:23 AM, masonccy...@mxic.com.tw wrote: >>> +- clocks: should contain 1 entries for the module's clock >> >>1 entry (clock node phandle and specifier). > > Doesn't "specifier" mean "phandle + optional arguments"? No. E

Re: tc_classid access in skb bpf context

2019-05-22 Thread Matthew Cover
On 05/22/2019 01:52 AM, Matthew Cover wrote: > > __sk_buff has a member tc_classid which I'm interested in accessing from > > the skb bpf context. > > > > A bpf program which accesses skb->tc_classid compiles, but fails > > verification; the specific failure is "invalid bpf_context access". >

Re: Linux 4.19.45

2019-05-22 Thread Jacob S. Moroni
Hello, 4.19.45 doesn’t seem to build for me. I get an error on line 1231 of fs/open.c regarding a missing definition for “FMODE_STREAM”. I searched the entire tree for this definition and couldn’t find it defined anywhere. Thanks, Jake Moroni

Re: [PATCH v4] net: Add UNIX_DIAG_UID to Netlink UNIX socket diagnostics.

2019-05-22 Thread David Miller
From: Felipe Gasper Date: Mon, 20 May 2019 19:43:51 -0500 > This adds the ability for Netlink to report a socket's UID along with the > other UNIX diagnostic information that is already available. This will > allow diagnostic tools greater insight into which users control which > socket. > > To

Re: [PATCH v2] vmalloc: Fix issues with flush flag

2019-05-22 Thread David Miller
From: "Edgecombe, Rick P" Date: Tue, 21 May 2019 01:59:54 + > On Mon, 2019-05-20 at 18:43 -0700, David Miller wrote: >> From: "Edgecombe, Rick P" >> Date: Tue, 21 May 2019 01:20:33 + >> >> > Should it handle executing an unmapped page gracefully? Because >> > this >> > change is causing

[PATCH] x86/tools: deal with 64-bit relative relocations for per-CPU symbols

2019-05-22 Thread Ard Biesheuvel
In order to fix an issue in the place relative ksymtab code, we need to switch to 64-bit place relative references, which require special handling in the x86 'relocs' tool. The reason is that per-CPU symbols on x86_64 live in a separate link time section, whose load time address is not reflected in

<    1   2   3   4   5   6   7   8   9   10   >