[PATCH v2 6/7] mm: Introduce find_vma_filter_flags() helper

2019-05-20 Thread Kirill Tkhai
This patch introduce a new helper, which returns vma of enough length at given address, but only if it does not contain passed flags. v2: New Signed-off-by: Kirill Tkhai --- include/linux/mm.h |3 +++ mm/mremap.c| 39 ++- 2 files changed, 29 ins

[PATCH v2 3/7] mm: Extend copy_page_range()

2019-05-20 Thread Kirill Tkhai
This allows to copy pages not only to the same addreses in another process, but also to a specified address. Huge pages and unaligned address cases are handled by splitting. Signed-off-by: Kirill Tkhai --- include/linux/huge_mm.h |6 +- include/linux/mm.h |3 + kernel/fork.c

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

2019-05-20 Thread Kirill Tkhai
v2: Add PVMMAP_FIXED_NOREPLACE flag. Use find_vma_without_flags() and may_mmap_overlapped_region() helpers, so even more code became reused. Syscall number is changed. Fix whitespaces. Prohibited a cloning from local to remote process. Only mapping to local process mm is al

[PATCH v7 1/1] iommu: enhance IOMMU dma mode build options

2019-05-20 Thread Zhen Lei
First, add build option IOMMU_DEFAULT_{LAZY|STRICT}, so that we have the opportunity to set {lazy|strict} mode as default at build time. Then put the three config options in an choice, make people can only choose one of the three at a time. The default IOMMU dma modes on each ARCHs have no change.

[PATCH v2 2/7] mm: Extend copy_vma()

2019-05-20 Thread Kirill Tkhai
This prepares the function to copy a vma between two processes. Two new arguments are introduced. Signed-off-by: Kirill Tkhai --- include/linux/mm.h |4 ++-- mm/mmap.c | 33 - mm/mremap.c|4 ++-- 3 files changed, 28 insertions(+), 13 del

[PATCH] i2c: i2c-meson: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- drivers/i2c/busses/i2c-meson.c | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/i2c/busses/i2c-meson.c b/drivers/i2c/busses/i2c-meson.c index 90f5d0407d73..f530d9a0450b 100644 --- a/drivers/i2c/busses/i2c-meson.c +++ b/drivers/i2c/b

[PATCH v2 7/7] mm: Add process_vm_mmap()

2019-05-20 Thread Kirill Tkhai
This adds a new syscall to duplicate a VMA of other process to current. Flag PVMMAP_FIXED may be specified, its meaning is similar to mmap()'s MAP_FIXED. VMA are merged on destination, i.e. if source task has VMA with address [start; end], and we map it sequentially twice: process_vm_mmap(@pid, s

[PATCH v2 5/7] mm: Introduce may_mmap_overlapped_region() helper

2019-05-20 Thread Kirill Tkhai
Extract address space limit check for overlapped regions in a separate helper. v2: New Signed-off-by: Kirill Tkhai --- mm/mmap.c | 33 - 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/mm/mmap.c b/mm/mmap.c index e4ced5366643..260e47e917e6 10064

[PATCH] iio: adc: meson_saradc: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- drivers/iio/adc/meson_saradc.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/iio/adc/meson_saradc.c b/drivers/iio/adc/meson_saradc.c index 510d8b7ef3a0..e39d95734496 100644 --- a/drivers/iio/adc/meson_saradc.c +++ b/drivers/ii

[PATCH] firmware: meson: meson_sm: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- drivers/firmware/meson/meson_sm.c | 8 +--- include/linux/firmware/meson/meson_sm.h | 8 +--- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/drivers/firmware/meson/meson_sm.c b/drivers/firmware/meson/meson_sm.c index 29fbc818a573..

[PATCH] irqchip: irq-meson-gpio: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- drivers/irqchip/irq-meson-gpio.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/irqchip/irq-meson-gpio.c b/drivers/irqchip/irq-meson-gpio.c index 7b531fd075b8..d83244ea0959 100644 --- a/drivers/irqchip/irq-meson-gpio.c

[PATCH] media: rc: meson-ir: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- drivers/media/rc/meson-ir.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/media/rc/meson-ir.c b/drivers/media/rc/meson-ir.c index 9914c83fecb9..02914da8cce5 100644 --- a/drivers/media/rc/meson-ir.c +++ b/drivers/media/rc/meson

[PATCH] pwm: pwm-meson: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- drivers/pwm/pwm-meson.c | 52 + 1 file changed, 1 insertion(+), 51 deletions(-) diff --git a/drivers/pwm/pwm-meson.c b/drivers/pwm/pwm-meson.c index fb5a369b1a8d..5fef7e925282 100644 --- a/drivers/pwm/pwm-meson.c +++ b/dri

Re: [RFC PATCH v2 13/17] sched: Add core wide task selection and scheduling.

2019-05-20 Thread Vineeth Pillai
> > The following patch improved my test cases. > > Welcome any comments. > > > > This is certainly better than violating the point of the core scheduler :) > > If I'm understanding this right what will happen in this case is instead > of using the idle process selected by the sibling we do the cor

[PATCH] spi: spi-meson-spifc: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- drivers/spi/spi-meson-spifc.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/spi/spi-meson-spifc.c b/drivers/spi/spi-meson-spifc.c index 616566e793c6..20413def4cfb 100644 --- a/drivers/spi/spi-meson-spifc.c +++ b/drivers/spi/sp

Re: [PATCH 4/6] ARM: dts: sun8i: a83t: Add device node for CSI (Camera Sensor Interface)

2019-05-20 Thread Maxime Ripard
On Mon, May 20, 2019 at 01:38:54PM +0200, Ondřej Jirman wrote: > Hi Maxime, > > On Mon, May 20, 2019 at 01:10:49PM +0200, Maxime Ripard wrote: > > Hi Ondřej, > > > > On Sun, May 19, 2019 at 03:54:22PM +0200, Ondřej Jirman wrote: > > > On Tue, Apr 09, 2019 at 04:52:25PM +0200, Maxime Ripard wrote: >

Re: [PATCH v2] brcmfmac: fix typos in code comments

2019-05-20 Thread Rafał Miłecki
On 2019-05-20 14:28, Weitao Hou wrote: fix lengh to length Signed-off-by: Weitao Hou --- - fix prefix Nice, thanks!

Re: [PATCH v2 0/8] vsock/virtio: optimizations to increase the throughput

2019-05-20 Thread Stefano Garzarella
On Mon, May 13, 2019 at 05:33:40PM +0800, Jason Wang wrote: > > On 2019/5/10 下午8:58, Stefano Garzarella wrote: > > While I was testing this new series (v2) I discovered an huge use of memory > > and a memory leak in the virtio-vsock driver in the guest when I sent > > 1-byte packets to the guest.

[PATCH] misc: remove redundant 'default n' from Kconfig-s

2019-05-20 Thread Bartlomiej Zolnierkiewicz
'default n' is the default value for any bool or tristate Kconfig setting so there is no need to write it explicitly. Also since commit f467c5640c29 ("kconfig: only write '# CONFIG_FOO is not set' for visible symbols") the Kconfig behavior is the same regardless of 'default n' being present or not

[PATCH v5 0/3] Extend dt bindings to support I2C on sifive devices and a fix broken IRQ in polling mode.

2019-05-20 Thread Sagar Shrikant Kadam
The patch is based on mainline v5.1 and extends DT-bindings for Opencore based I2C IP block reimplemented in FU540 SoC, available on HiFive unleashed board (Rev A00), and also provides a workaround for broken IRQ which affects the already available I2C polling mode interface in mainline, for FU

[PATCH v5 1/3] dt-bindings: i2c: extend existing opencore bindings.

2019-05-20 Thread Sagar Shrikant Kadam
Add FU540-C000 specific device tree bindings to already available i2-ocores file. This device is available on HiFive Unleashed Rev A00 board. Move interrupt and interrupt parents under optional property list as these can be optional. The FU540-C000 SoC from sifive, has an Opencore's I2C block reim

Re: BUG: unable to handle kernel paging request in do_mount

2019-05-20 Thread Dmitry Vyukov
.On Sat, May 18, 2019 at 6:21 PM Al Viro wrote: > > On Sat, May 18, 2019 at 05:00:39PM +0200, Dmitry Vyukov wrote: > > On Fri, May 17, 2019 at 4:08 PM Dmitry Vyukov wrote: > > > > > > On Fri, May 17, 2019 at 3:48 PM Al Viro wrote: > > > > > > > > On Fri, May 17, 2019 at 03:17:02AM -0700, syzbot

[PATCH v5 2/3] i2c-ocores: sifive: add support for i2c device on FU540-c000 SoC.

2019-05-20 Thread Sagar Shrikant Kadam
Update device id table for Opencore's I2C master based re-implementation used in FU540-c000 chipset on HiFive Unleashed platform. Device ID's include Sifive, soc-specific device for chip specific tweaks and sifive IP block specific device for generic programming model. Signed-off-by: Sagar Shrika

[PATCH v5 3/3] i2c-ocores: sifive: add polling mode workaround for FU540-C000 SoC.

2019-05-20 Thread Sagar Shrikant Kadam
The i2c-ocore driver already has a polling mode interface.But it needs a workaround for FU540 Chipset on HiFive unleashed board (RevA00). There is an erratum in FU540 chip that prevents interrupt driven i2c transfers from working, and also the I2C controller's interrupt bit cannot be cleared if set

[PATCH] usb: remove redundant 'default n' from Kconfig-s

2019-05-20 Thread Bartlomiej Zolnierkiewicz
'default n' is the default value for any bool or tristate Kconfig setting so there is no need to write it explicitly. Also since commit f467c5640c29 ("kconfig: only write '# CONFIG_FOO is not set' for visible symbols") the Kconfig behavior is the same regardless of 'default n' being present or not

[PATCH 3/5] debugobjects: Reduce number of pool_lock acquisitions in fill_pool()

2019-05-20 Thread Waiman Long
In fill_pool(), the pool_lock is acquired and then released once per debug object. If many objects are to be filled, the constant lock and unlock operations are extra overhead. To reduce these overhead, we batch them up and do an allocation of 4 objects per lock/unlock sequence. Signed-off-by: Wai

[PATCH 2/5] debugobjects: Percpu pool lookahead freeing/allocation

2019-05-20 Thread Waiman Long
Most workloads will allocate a bunch of memory objects, work on them and then freeing all or most of them. So just having a percpu free pool may not reduce the pool_lock contention significantly if large number of objects are being used. To help those situations, we are now doing lookahead allocat

[PATCH 1/5] debugobjects: Add percpu free pools

2019-05-20 Thread Waiman Long
When a multi-threaded workload does a lot of small memory object allocation and deallocation, it may cause the allocation and freeing of many debug objects. This will make the global pool_lock a bottleneck in the performance of the workload. Since interrupt is disabled in acquiring the pool_lock,

[PATCH 0/5] debugobjects: Reduce global pool_lock contention

2019-05-20 Thread Waiman Long
Many large workloads require the kernel to acquire a lot of objects and then free them when the work is done. When the debug objects code is configured, this will cause a lot of debug objects to be allocated and then free later on. For instance, after a kernel boot up and 3 parallel kernel builds,

[PATCH 4/5] debugobjects: Less aggressive freeing of excess debug objects

2019-05-20 Thread Waiman Long
After a system bootup and 3 parallel kernel builds, a partial output of the debug objects stats file was: pool_free :5101 pool_pcp_free :4181 pool_min_free :220 pool_used :104172 pool_max_used :171920 on_free_list :0 objs_allocated:39268280 objs_freed:39160031 More than 39 millions d

[PATCH 5/5] debugobjects: Move printk out of db lock critical sections

2019-05-20 Thread Waiman Long
The db->lock is a raw spinlock and so the lock hold time is supposed to be short. This will not be the case when printk() is being involved in some of the critical sections. In order to avoid the long hold time, in case some messages need to be printed, the debug_object_is_on_stack() and debug_prin

Re: net: atm: Spectre v1 fix introduced bug in bcb964012d1b in -stable

2019-05-20 Thread Gustavo A. R. Silva
On 5/20/19 7:40 AM, Pavel Machek wrote: > > In lecd_attach, if arg is < 0, it was treated as 0. Spectre v1 fix > changed that. Bug does not exist in mainline AFAICT. > NACK array_index_nospec() macro returns zero if *arg* is out of bounds. In any case, if the "bug" does not exist in mainlin

Re: [RFC PATCH] usb: host: xhci: allow __GFP_FS in dma allocation

2019-05-20 Thread Alan Stern
On Mon, 20 May 2019, Christoph Hellwig wrote: > On Mon, May 20, 2019 at 11:09:25AM +0200, Oliver Neukum wrote: > > we actually do. It is just higher up in the calling path: > > Perfect! > > > So, do we need to audit the mem_flags again? > > What are we supposed to use? GFP_KERNEL? > > GFP_KERNE

WARNING in binder_transaction_buffer_release

2019-05-20 Thread syzbot
Hello, syzbot found the following crash on: HEAD commit:72cf0b07 Merge tag 'sound-fix-5.2-rc1' of git://git.kernel.. git tree: upstream console output: https://syzkaller.appspot.com/x/log.txt?x=17c7d4bca0 kernel config: https://syzkaller.appspot.com/x/.config?x=d103f114f9010324 da

Re: [PATCH v5] usb: exynos: add workaround for the USB device bindings conflict

2019-05-20 Thread Alan Stern
On Mon, 20 May 2019, Marek Szyprowski wrote: > Commit 69bec7259853 ("USB: core: let USB device know device node") added > support for attaching devicetree node for USB devices. Those nodes are > children of their USB host controller. However Exynos EHCI and OHCI > driver bindings already define ch

Re: [PATCH RESEND] ARM: dts: qcom: msm8974-hammerhead: add device tree bindings for vibrator

2019-05-20 Thread Stephen Boyd
Quoting Brian Masney (2019-05-16 01:50:18) > @@ -306,6 +307,36 @@ > input-enable; > }; > }; > + > + vibrator_pin: vibrator { > + pwm { > + pins = "gpio27"; > +

[RFC][PATCH 00/14 v2] function_graph: Rewrite to allow multiple users

2019-05-20 Thread Steven Rostedt
The background for this is explained in the V1 version found here: http://lkml.kernel.org/r/20181122012708.491151...@goodmis.org The TL;DR; is this: The function graph tracer required a rewrite, mainly because it can only allow one callback registered at a time. The main motivation for thi

[RFC][PATCH 02/14 v2] function_graph: Add an array structure that will allow multiple callbacks

2019-05-20 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Add an array structure that will eventually allow the function graph tracer to have up to 16 simultaneous callbacks attached. It's an array of 16 fgraph_ops pointers, that is assigned when one is registered. On entry of a function the entry of the first item in the

[RFC][PATCH 01/14 v2] function_graph: Convert ret_stack to a series of longs

2019-05-20 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" In order to make it possible to have multiple callbacks registered with the function_graph tracer, the retstack needs to be converted from an array of ftrace_ret_stack structures to an array of longs. This will allow to store the list of callbacks on the stack for

[RFC][PATCH 14/14 v2] function_graph: Add selftest for passing local variables

2019-05-20 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Add boot up selftest that passes variables from a function entry to a function exit, and make sure that they do get passed around. Signed-off-by: Steven Rostedt (VMware) --- kernel/trace/trace_selftest.c | 161 ++ 1 file changed,

[RFC][PATCH 06/14 v2] ftrace: Allow function_graph tracer to be enabled in instances

2019-05-20 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Now that function graph tracing can handle more than one user, allow it to be enabled in the ftrace instances. Note, the filtering of the functions is still joined by the top level set_ftrace_filter and friends, as well as the graph and nograph files. Signed-off-b

[RFC][PATCH 13/14 v2] function_graph: Implement fgraph_reserve_data() and fgraph_retrieve_data()

2019-05-20 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Added functions that can be called by a fgraph_ops entryfunc and retfunc to store state between the entry of the function being traced to the exit of the same function. The fgraph_ops entryfunc() may call fgraph_reserve_data() to store up to 4 words onto the task's

[RFC][PATCH 10/14 v2] function_graph: Move set_graph_function tests to shadow stack global var

2019-05-20 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The use of the task->trace_recursion for the logic used for the set_graph_funnction was a bit of an abuse of that variable. Now that there exists global vars that are per stack for registered graph traces, use that instead. Signed-off-by: Steven Rostedt (VMware)

[RFC][PATCH 11/14 v2] function_graph: Move graph depth stored data to shadow stack global var

2019-05-20 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The use of the task->trace_recursion for the logic used for the function graph depth was a bit of an abuse of that variable. Now that there exists global vars that are per stack for registered graph traces, use that instead. Signed-off-by: Steven Rostedt (VMware)

[RFC][PATCH 09/14 v2] function_graph: Add "task variables" per task for fgraph_ops

2019-05-20 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Add a "task variables" array on the tasks shadow ret_stack that is the size of longs for each possible registered fgraph_ops. That's a total of 16, taking up 8 * 16 = 128 bytes (out of a page size 4k). This will allow for fgraph_ops to do specific features on a pe

[RFC][PATCH 08/14 v2] function_graph: Have the instances use their own ftrace_ops for filtering

2019-05-20 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Allow for instances to have their own ftrace_ops part of the fgraph_ops that makes the funtion_graph tracer filter on the set_ftrace_filter file of the instance and not the top instance. Signed-off-by: Steven Rostedt (VMware) --- include/linux/ftrace.h

[RFC][PATCH 12/14 v2] function_graph: Move graph notrace bit to shadow stack global var

2019-05-20 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The use of the task->trace_recursion for the logic used for the function graph no-trace was a bit of an abuse of that variable. Now that there exists global vars that are per stack for registered graph traces, use that instead. Signed-off-by: Steven Rostedt (VMwar

[RFC][PATCH 05/14 v2] ftrace/function_graph: Pass fgraph_ops to function graph callbacks

2019-05-20 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Pass the fgraph_ops structure to the function graph callbacks. This will allow callbacks to add a descriptor to a fgraph_ops private field that wil be added in the future and use it for the callbacks. This will be useful when more than one callback can be registere

[RFC][PATCH 07/14 v2] ftrace: Allow ftrace startup flags exist without dynamic ftrace

2019-05-20 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Some of the flags for ftrace_startup() may be exposed even when CONFIG_DYNAMIC_FTRACE is not configured in. This is fine as the difference between dynamic ftrace and static ftrace is done within the internals of ftrace itself. No need to have use cases fail to comp

[RFC][PATCH 04/14 v2] function_graph: Remove logic around ftrace_graph_entry and return

2019-05-20 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" The function pointers ftrace_graph_entry and ftrace_graph_return are no longer called via the function_graph tracer. Instead, an array structure is now used that will allow for multiple users of the function_graph infrastructure. The variables are still used by the

[RFC][PATCH 03/14 v2] function_graph: Allow multiple users to attach to function graph

2019-05-20 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Allow for multiple users to attach to function graph tracer at the same time. Only 16 simultaneous users can attach to the tracer. This is because there's an array that stores the pointers to the attached fgraph_ops. When a a function being traced is entered, each

Re: BUG: unable to handle kernel paging request in do_mount

2019-05-20 Thread Dmitry Vyukov
On Sat, May 18, 2019 at 11:41 PM Al Viro wrote: > > > What would you prefer to happen in such situations? Commit summaries > > > modified enough to confuse CI tools into *NOT* noticing that those > > > are versions of the same patch? Some kind of metadata telling the > > > same tools that such-a

[PATCH v13 0/4] Add support for the Purism Librem5 devkit

2019-05-20 Thread Angus Ainslie (Purism)
The Librem5 devkit is based on the imx8mq from NXP. This is a default devicetree to boot the board to a command prompt. Changes since v12: Updated patch to vendor-prefixes.yaml. Dropped always on from regulators. Changes since v11: Added reviewed-by tags. Fixed subject typo. Changes since v10:

[PATCH v13 2/4] arm64: dts: fsl: librem5: Add a device tree for the Librem5 devkit

2019-05-20 Thread Angus Ainslie (Purism)
This is for the development kit board for the Librem 5. The current level of support yields a working console and is able to boot userspace from the network or eMMC. Additional subsystems that are active : - Both USB ports - SD card socket - WiFi usdhc - WWAN modem - GNSS - GPIO keys - LEDs - gyr

[PATCH v13 3/4] dt-bindings: Add an entry for Purism SPC

2019-05-20 Thread Angus Ainslie (Purism)
Add an entry for Purism, SPC Signed-off-by: Angus Ainslie (Purism) --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml ind

[PATCH v13 4/4] dt-bindings: arm: fsl: Add the imx8mq boards

2019-05-20 Thread Angus Ainslie (Purism)
Add an entry for imx8mq based boards Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Rob Herring --- Documentation/devicetree/bindings/arm/fsl.yaml | 7 +++ 1 file changed, 7 insertions(+) diff --git a/Documentation/devicetree/bindings/arm/fsl.yaml b/Documentation/devicetree/bindings/a

[PATCH v13 1/4] MAINTAINERS: add an entry for for arm64 imx devicetrees

2019-05-20 Thread Angus Ainslie (Purism)
Add an explicit reference to imx* devicetrees Signed-off-by: Angus Ainslie (Purism) Reviewed-by: Fabio Estevam --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index a2cd3690b6b1..019c945d308d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -1630,6 +16

Re: [RFC PATCH] usb: host: xhci: allow __GFP_FS in dma allocation

2019-05-20 Thread Christoph Hellwig
On Mon, May 20, 2019 at 10:16:57AM -0400, Alan Stern wrote: > What if the allocation requires the kernel to swap some old pages out > to the backing store, but the backing store is on the device that the > driver is managing? The swap can't take place until the current I/O > operation is comple

Re: [RFC 4/7] mm: factor out madvise's core functionality

2019-05-20 Thread Oleksandr Natalenko
Hi. On Mon, May 20, 2019 at 12:52:51PM +0900, Minchan Kim wrote: > This patch factor out madvise's core functionality so that upcoming > patch can reuse it without duplication. > > It shouldn't change any behavior. > > Signed-off-by: Minchan Kim > --- > mm/madvise.c | 168 +

Re: net: atm: Spectre v1 fix introduced bug in bcb964012d1b in -stable

2019-05-20 Thread Gustavo A. R. Silva
On 5/20/19 9:00 AM, Greg KH wrote: > On Mon, May 20, 2019 at 02:40:14PM +0200, Pavel Machek wrote: >> >> In lecd_attach, if arg is < 0, it was treated as 0. Spectre v1 fix >> changed that. Bug does not exist in mainline AFAICT. >> >> Signed-off-by: Pavel Machek >> # for 4.19.y >> >> diff --git

[PATCH] watchdog: meson_wdt: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- drivers/watchdog/meson_wdt.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/watchdog/meson_wdt.c b/drivers/watchdog/meson_wdt.c index 01889cef81e1..3389f4c02603 100644 --- a/drivers/watchdog/meson_wdt.c +++ b/drivers/watchdog/mes

Re: PROBLEM: Power9: kernel oops on memory hotunplug from ppc64le guest

2019-05-20 Thread Bharata B Rao
On Mon, May 20, 2019 at 01:50:35PM +0530, Bharata B Rao wrote: > On Mon, May 20, 2019 at 05:00:21PM +1000, Nicholas Piggin wrote: > > Bharata B Rao's on May 20, 2019 3:56 pm: > > > On Mon, May 20, 2019 at 02:48:35PM +1000, Nicholas Piggin wrote: > > >> >> > git bisect points to > > >> >> > > > >> >

Re: [PATCH] arch64: export __flush_dcache_area

2019-05-20 Thread Mark Salyzyn
On 05/17/2019 02:53 PM, Catalin Marinas wrote: On Fri, May 17, 2019 at 12:59:56PM -0700, Mark Salyzyn wrote: Some (out of tree modular) drivers feel a need to ensure data is flushed to the DDR before continuing flow. Signed-off-by: Mark Salyzyn Cc: linux-kernel@vger.kernel.org Cc: kernel-t...@

Re: [PATCH] mtd: rawnand: use longest matching pattern

2019-05-20 Thread Miquel Raynal
Hi Stefan, Stefan Agner wrote on Fri, 19 Apr 2019 09:47:17 +0200: > Sometimes the exec_op parser does not choose the optimal pattern if > multiple patterns with optional elements are available. Since the stack > automatically splits operations in multiple exec_op calls, a non-optimal > pattern g

Re: [PATCH] mtd: rawnand: stm32_fmc2: manage the get_irq error case

2019-05-20 Thread Miquel Raynal
Hi Fabien, Fabien Dessenne wrote on Wed, 24 Apr 2019 16:49:06 +0200: > During probe, check the "get_irq" error value. > > Signed-off-by: Fabien Dessenne > --- > drivers/mtd/nand/raw/stm32_fmc2_nand.c | 6 ++ > 1 file changed, 6 insertions(+) > > diff --git a/drivers/mtd/nand/raw/stm32_fm

[PATCH net-next 1/2] net: stmmac: dwmac-meson: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- drivers/net/ethernet/stmicro/stmmac/dwmac-meson.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-meson.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-meson.c index 7fdd1760a74c..5ae474ebaaed 10

[PATCH net-next 2/2] net: stmmac: dwmac-meson8b: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-meson8b.c index c5979569fd60..c06295ec1

[PATCH net-next 0/2] net: stmmac: dwmac-meson: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Update the SPDX Licence identifier for the Amlogic Meson6 and Meson8 dwmac glue drivers. Neil Armstrong (2): net: stmmac: dwmac-meson: update with SPDX Licence identifier net: stmmac: dwmac-meson8b: update with SPDX Licence identifier drivers/net/ethernet/stmicro/stmmac/dwmac-meson.c | 8 +

[PATCH 1/2] phy: amlogic: phy-meson-gxl-usb2: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- drivers/phy/amlogic/phy-meson-gxl-usb2.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/phy/amlogic/phy-meson-gxl-usb2.c b/drivers/phy/amlogic/phy-meson-gxl-usb2.c index 4cbee412f2b0..c86255f28f1d 100644 --- a/drivers/phy/amlo

[PATCH 0/2] phy: amlogic: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Update the SPDX Licence identifier for the Amlogic Meson8b and GXL PHY drivers. Neil Armstrong (2): phy: amlogic: phy-meson-gxl-usb2: update with SPDX Licence identifier phy: amlogic: phy-meson8b-usb2: update with SPDX Licence identifier drivers/phy/amlogic/phy-meson-gxl-usb2.c | 8 +---

[PATCH 2/2] phy: amlogic: phy-meson8b-usb2: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- drivers/phy/amlogic/phy-meson8b-usb2.c | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/phy/amlogic/phy-meson8b-usb2.c b/drivers/phy/amlogic/phy-meson8b-usb2.c index 9c01b7e19b06..5f17f10f4df9 100644 --- a/drivers/phy/amlogic/ph

[PATCH 0/2] mmc: meson: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Update the SPDX Licence identifier for the Amlogic MMC drivers. Neil Armstrong (2): mmc: meson-gx-mmc: update with SPDX Licence identifier mmc: meson-mx-sdio: update with SPDX Licence identifier drivers/mmc/host/meson-gx-mmc.c | 15 +-- drivers/mmc/host/meson-mx-sdio.c | 6 +---

[PATCH 2/2] mmc: meson-mx-sdio: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- drivers/mmc/host/meson-mx-sdio.c | 6 +- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/drivers/mmc/host/meson-mx-sdio.c b/drivers/mmc/host/meson-mx-sdio.c index b61de360f26f..b2a7288cdec8 100644 --- a/drivers/mmc/host/meson-mx-sdio.c +++ b/driv

Re: [PATCH v5 1/3] dt-bindings: i2c: extend existing opencore bindings.

2019-05-20 Thread Rob Herring
On Mon, May 20, 2019 at 9:12 AM Sagar Shrikant Kadam wrote: > > Add FU540-C000 specific device tree bindings to already > available i2-ocores file. This device is available on > HiFive Unleashed Rev A00 board. Move interrupt and interrupt > parents under optional property list as these can be opti

[PATCH 2/2] nvmem: meson-mx-efuse: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- drivers/nvmem/meson-mx-efuse.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/nvmem/meson-mx-efuse.c b/drivers/nvmem/meson-mx-efuse.c index a085563e39e3..2976aef87c82 100644 --- a/drivers/nvmem/meson-mx-efuse.c +++ b/drivers

[PATCH 0/2] nvmem: meson: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Update the SPDX Licence identifier for the Amlogic NVMEM drivers. Neil Armstrong (2): nvmem: meson-efuse: update with SPDX Licence identifier nvmem: meson-mx-efuse: update with SPDX Licence identifier drivers/nvmem/meson-efuse.c| 10 +- drivers/nvmem/meson-mx-efuse.c | 10 +--

[PATCH 1/2] mmc: meson-gx-mmc: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- drivers/mmc/host/meson-gx-mmc.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/mmc/host/meson-gx-mmc.c b/drivers/mmc/host/meson-gx-mmc.c index c5a8af4ca76b..e27e272b54d5 100644 --- a/drivers/mmc/host/meson-gx-mmc.c +++

[PATCH 1/2] nvmem: meson-efuse: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- drivers/nvmem/meson-efuse.c | 10 +- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/drivers/nvmem/meson-efuse.c b/drivers/nvmem/meson-efuse.c index 99372768446b..9f928fa9964f 100644 --- a/drivers/nvmem/meson-efuse.c +++ b/drivers/nvmem/meson

[PATCH 00/10] ARM: meson: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Update the SPDX Licence identifier for the Amlogic DT and mach-meson files. Neil Armstrong (10): ARM: dts: meson: update with SPDX Licence identifier ARM: dts: meson6-atv1200: update with SPDX Licence identifier ARM: dts: meson6: update with SPDX Licence identifier ARM: dts: meson8-minix-n

[PATCH 03/10] ARM: dts: meson6: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/meson6.dtsi | 44 +-- 1 file changed, 1 insertion(+), 43 deletions(-) diff --git a/arch/arm/boot/dts/meson6.dtsi b/arch/arm/boot/dts/meson6.dtsi index 65585255910a..39903172ea7c 100644 --- a/arch/arm/boot/dts/mes

[PATCH 07/10] ARM: dts: meson8b-odroidc1: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/meson8b-odroidc1.dts | 42 +- 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts index f3ad9397f670..27bfad138f87 100644 --- a/ar

[PATCH 08/10] ARM: dts: meson8b: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/meson8b.dtsi | 42 +- 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi index 800cd65fc50a..c38b0828b7ec 100644 --- a/arch/arm/boot/dts/m

[PATCH 06/10] ARM: dts: meson8b-mxq: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/meson8b-mxq.dts | 42 +-- 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/arch/arm/boot/dts/meson8b-mxq.dts b/arch/arm/boot/dts/meson8b-mxq.dts index 08ddd7fb0bf8..bb9a96c09f69 100644 --- a/arch/arm/boo

[PATCH 10/10] ARM: mach-meson: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm/mach-meson/meson.c | 12 +--- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/arch/arm/mach-meson/meson.c b/arch/arm/mach-meson/meson.c index c8d99df32f9b..04ae414d88c9 100644 --- a/arch/arm/mach-meson/meson.c +++ b/arch/arm/mach-me

[PATCH 02/10] ARM: dts: meson6-atv1200: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/meson6-atv1200.dts | 44 +--- 1 file changed, 1 insertion(+), 43 deletions(-) diff --git a/arch/arm/boot/dts/meson6-atv1200.dts b/arch/arm/boot/dts/meson6-atv1200.dts index 997e69c5963e..4d2a37da0161 100644 --- a/arch/a

[PATCH 04/10] ARM: dts: meson8-minix-neo-x8: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/meson8-minix-neo-x8.dts | 39 +-- 1 file changed, 1 insertion(+), 38 deletions(-) diff --git a/arch/arm/boot/dts/meson8-minix-neo-x8.dts b/arch/arm/boot/dts/meson8-minix-neo-x8.dts index 8686abd5de7f..2e669455a12d 100644 --

[PATCH 05/10] ARM: dts: meson8: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/meson8.dtsi | 42 +-- 1 file changed, 1 insertion(+), 41 deletions(-) diff --git a/arch/arm/boot/dts/meson8.dtsi b/arch/arm/boot/dts/meson8.dtsi index 7ef442462ea4..fd8d57d0a3af 100644 --- a/arch/arm/boot/dts/mes

[PATCH 01/10] ARM: dts: meson: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm/boot/dts/meson.dtsi | 44 +--- 1 file changed, 1 insertion(+), 43 deletions(-) diff --git a/arch/arm/boot/dts/meson.dtsi b/arch/arm/boot/dts/meson.dtsi index 8841783aceec..6e59894bc6c6 100644 --- a/arch/arm/boot/dts/meson

[PATCH 09/10] ARM: debug: meson.S: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- arch/arm/include/debug/meson.S | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/arch/arm/include/debug/meson.S b/arch/arm/include/debug/meson.S index 1bae99bf6f11..df158693a327 100644 --- a/arch/arm/include/debug/meson.S +++ b/arch/arm/incl

Re: [PATCH 0/5] firmware: Add support for loading compressed files

2019-05-20 Thread Takashi Iwai
On Mon, 20 May 2019 11:39:29 +0200, Greg Kroah-Hartman wrote: > > On Mon, May 20, 2019 at 11:26:42AM +0200, Takashi Iwai wrote: > > Hi, > > > > this is a patch set to add the support for loading compressed firmware > > files. > > > > The primary motivation is to reduce the storage size; e.g. cur

Re: [PATCH 0/8] perf scripts python: Support pyside2 and misc Intel PT

2019-05-20 Thread Arnaldo Carvalho de Melo
Em Mon, Apr 29, 2019 at 10:28:20AM +0300, Adrian Hunter escreveu: > On 12/04/19 2:38 PM, Adrian Hunter wrote: > > Hi > > > > Here are patches to add support for pyside2 to the db-export scripts, > > and a couple of Intel PT patches. > > > > > > Adrian Hunter (8): > > perf scripts python: e

Very urgent AREAS OF INVESTMENT

2019-05-20 Thread John Cavedo
Sir/madam,I humbly seek your consent for an investment in your country.I need to invest in the following areas by your candid advice and supervision; industrial, petroleum energy , land farming..More details of this will be sent following your INVESTMENT suggestion and interest. I am deeply sorry f

[PATCH 4/5] dt-bindings: gpio: meson8-gpio: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- include/dt-bindings/gpio/meson8-gpio.h | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/include/dt-bindings/gpio/meson8-gpio.h b/include/dt-bindings/gpio/meson8-gpio.h index fdaeb5cbf5e1..e1387a8520e5 100644 --- a/include/dt-bindings/gp

[PATCH 1/5] pinctrl: meson: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- drivers/pinctrl/meson/pinctrl-meson-gxbb.c | 8 +--- drivers/pinctrl/meson/pinctrl-meson-gxl.c | 8 +--- drivers/pinctrl/meson/pinctrl-meson.c | 8 +--- drivers/pinctrl/meson/pinctrl-meson.h | 8 +--- drivers/pinctrl/meson/pinctrl-meson

[PATCH 0/5] pinctrl: meson: gpio: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Update the SPDX Licence identifier for the Amlogic Pinctrl drivers and the corresponding GPIO dt-bindings headers. Neil Armstrong (5): pinctrl: meson: update with SPDX Licence identifier dt-bindings: gpio: meson-gxbb-gpio: update with SPDX Licence identifier dt-bindings: gpio: meson-gxl-

[PATCH 3/5] dt-bindings: gpio: meson-gxl-gpio: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- include/dt-bindings/gpio/meson-gxl-gpio.h | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/include/dt-bindings/gpio/meson-gxl-gpio.h b/include/dt-bindings/gpio/meson-gxl-gpio.h index 01f2a2abd35e..62417358f55b 100644 --- a/include/dt-bi

[PATCH 5/5] dt-bindings: gpio: meson8b-gpio: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- include/dt-bindings/gpio/meson8b-gpio.h | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/include/dt-bindings/gpio/meson8b-gpio.h b/include/dt-bindings/gpio/meson8b-gpio.h index bf0d76fa0e7b..e75d09b6087b 100644 --- a/include/dt-bindings

Re: [PATCH] scsi: ses: Fix out-of-bounds memory access in ses_enclosure_data_process()

2019-05-20 Thread Waiman Long
On 5/1/19 2:05 PM, Waiman Long wrote: > KASAN has found a slab-out-of-bounds error in ses_enclosure_data_process(). > > [ 27.298092] BUG: KASAN: slab-out-of-bounds in > ses_enclosure_data_process+0x919/0xe80 [ses] > [ 27.306407] Read of size 1 at addr 8807c99048b1 by task > systemd-udevd/

Re: [PATCH v2 02/30] fuse: Clear setuid bit even in cache=never path

2019-05-20 Thread Miklos Szeredi
On Wed, May 15, 2019 at 03:26:47PM -0400, Vivek Goyal wrote: > If fuse daemon is started with cache=never, fuse falls back to direct IO. > In that write path we don't call file_remove_privs() and that means setuid > bit is not cleared if unpriviliged user writes to a file with setuid bit set. > >

[PATCH 2/5] dt-bindings: gpio: meson-gxbb-gpio: update with SPDX Licence identifier

2019-05-20 Thread Neil Armstrong
Signed-off-by: Neil Armstrong --- include/dt-bindings/gpio/meson-gxbb-gpio.h | 8 +--- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/include/dt-bindings/gpio/meson-gxbb-gpio.h b/include/dt-bindings/gpio/meson-gxbb-gpio.h index 43a68a1110f0..c93274d7e108 100644 --- a/include/dt

<    5   6   7   8   9   10   11   12   13   14   >