[PATCH v5 05/23] ASoC: qdsp6: dt-bindings: Add q6adm dt bindings

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch add DT bindings for ADM (Audio Device Manager) DSP module. This module implements mixer controls to setup the connections between AFE ports and ASM streams. Signed-off-by: Srinivas Kandagatla

[__cpa_process_fault] CPA: called for zero pte.

2018-04-18 Thread Fengguang Wu
Hello, FYI this happens in mainline kernel 4.17.0-rc1. It's a new regression. [0.00] Memory: 210548K/523752K available (16392K kernel code, 2355K rwdata, 5536K rodata, 2996K init, 21012K bss, 66128K reserved, 0K cma-reserved) [0.00] SLUB: HWalign=64, Order=0-3, MinObjects=0,

Re: [PATCH 2/6] rhashtable: remove incorrect comment on r{hl, hash}table_walk_enter()

2018-04-18 Thread Herbert Xu
On Wed, Apr 18, 2018 at 04:47:01PM +1000, NeilBrown wrote: > Neither rhashtable_walk_enter() or rhltable_walk_enter() sleep, so > remove the comments which suggest that they do. > > Signed-off-by: NeilBrown > --- > include/linux/rhashtable.h |3 --- > lib/rhashtable.c

Re: [PATCH 1/6] rhashtable: remove outdated comments about grow_decision etc

2018-04-18 Thread Herbert Xu
On Wed, Apr 18, 2018 at 04:47:01PM +1000, NeilBrown wrote: > grow_decision and shink_decision no longer exist, so remove > the remaining references to them. > > Signed-off-by: NeilBrown Acked-by: Herbert Xu -- Email: Herbert Xu

Re: [PATCH 2/2] printk: wake up klogd in vprintk_emit

2018-04-18 Thread Steven Rostedt
On Sat, 14 Apr 2018 12:01:45 +0900 Sergey Senozhatsky wrote: > --- a/kernel/printk/printk.c > +++ b/kernel/printk/printk.c > @@ -1888,6 +1888,7 @@ asmlinkage int vprintk_emit(int facility, int level, > > printed_len = log_output(facility, level, lflags,

Re: [PATCH net-next v4 0/3] kernel: add support to collect hardware logs in crash recovery kernel

2018-04-18 Thread Eric W. Biederman
Rahul Lakkireddy writes: > On Wednesday, April 04/18/18, 2018 at 11:45:46 +0530, Dave Young wrote: >> Hi Rahul, >> On 04/17/18 at 01:14pm, Rahul Lakkireddy wrote: >> > On production servers running variety of workloads over time, kernel >> > panic can happen

Re: [PATCH v2 01/12] mm: Assign id to every memcg-aware shrinker

2018-04-18 Thread Tetsuo Handa
Kirill Tkhai wrote: > On 18.04.2018 17:14, Tetsuo Handa wrote: > > Kirill Tkhai wrote: > >> The patch introduces shrinker::id number, which is used to enumerate > >> memcg-aware shrinkers. The number start from 0, and the code tries > >> to maintain it as small as possible. > >> > >> This will be

Re: [PATCH 6/6] rhashtable: add rhashtable_walk_prev()

2018-04-18 Thread Herbert Xu
On Wed, Apr 18, 2018 at 04:47:02PM +1000, NeilBrown wrote: > rhashtable_walk_prev() returns the object returned by > the previous rhashtable_walk_next(), providing it is still in the > table (or was during this grace period). > This works even if rhashtable_walk_stop() and rhashtable_talk_start()

[PATCH] net: don't use kvzalloc for DMA memory

2018-04-18 Thread Mikulas Patocka
The patch 74d332c13b21 changes alloc_netdev_mqs to use vzalloc if kzalloc fails (later patches change it to kvzalloc). The problem with this is that if the vzalloc function is actually used, virtio_net doesn't work (because it expects that the extra memory should be accessible with DMA-API and

[PATCH v9 1/2] dt-bindings: display: bridge: Document THC63LVD1024 LVDS decoder

2018-04-18 Thread Jacopo Mondi
Document Thine THC63LVD1024 LVDS decoder device tree bindings. Signed-off-by: Jacopo Mondi Reviewed-by: Andrzej Hajda Reviewed-by: Niklas Söderlund Reviewed-by: Laurent Pinchart

Re: [PATCH 1/2] tracing: fix bad use of igrab in trace_uprobe.c

2018-04-18 Thread Miklos Szeredi
On Wed, Apr 18, 2018 at 4:25 PM, Steven Rostedt wrote: > On Wed, 18 Apr 2018 16:03:42 +0200 > Miklos Szeredi wrote: > >> > @@ -937,7 +928,8 @@ probe_event_enable(struct trace_uprobe *tu, struct >> > trace_event_file *file, >> > goto

Re: [PATCH] blkcg: not hold blkcg lock when deactivating policy.

2018-04-18 Thread Jens Axboe
On 4/18/18 3:18 AM, jiang.bi...@zte.com.cn wrote: > Hi, >>> Il giorno 17 apr 2018, alle ore 09:10, Jiang Biao >>> ha scritto: >>> >>> As described in the comment of blkcg_activate_policy(), >>> *Update of each blkg is protected by both queue and blkcg locks so >>> that

Re: [GIT PULL V3] Thermal SoC management updates for v4.17-rc1

2018-04-18 Thread Zhang Rui
On 三, 2018-04-18 at 07:10 -0700, Eduardo Valentin wrote: > Hello, > > On Wed, Apr 18, 2018 at 03:51:29PM +0800, Zhang Rui wrote: > > > > Hi, Eduardo, > > > > On 六, 2018-04-14 at 11:30 -0700, Eduardo Valentin wrote: > > > > > > Hello Linus, > > > > > > Please find thermal-soc changes for

Re: [PATCH] nvme: fix the suspicious RCU usage warning in nvme_mpath_clear_current_path

2018-04-18 Thread Keith Busch
On Wed, Apr 18, 2018 at 03:32:47PM +0800, Jianchao Wang wrote: > With lockdep enabled, when trigger nvme_remove, suspicious RCU > usage warning will be printed out. > Fix it with adding srcu_read_lock/unlock in it. > > Signed-off-by: Jianchao Wang > --- >

[PATCH v6 0/9] Designware EP support and code clean up

2018-04-18 Thread Gustavo Pimentel
The patch set was made against the Lorenzo's master branch. Adds support Designware EP support. Increases the maximum number of interrupts allowed for Designware IP controller. Does a code cleanup on Designware driver: - Replaces magic numbers without a easy meaning by a well known define

[PATCH v6 7/9] PCI: dwc: Replace lower into upper case characters

2018-04-18 Thread Gustavo Pimentel
Replaces lower into upper case characters in comments and debug printks. This is an attempt to keep the messages coherent within the designware driver. Also fixed code style on dw_pcie_irq_domain_free function. Signed-off-by: Gustavo Pimentel Acked-by: Jingoo Han

[PATCH v6 9/9] PCI: dwc: Replace magic number by defines

2018-04-18 Thread Gustavo Pimentel
Replace magic numbers by a well known define in order to make the code human readable and also facilitate the code reusability. Signed-off-by: Gustavo Pimentel Acked-by: Jingoo Han --- Change v1->v2: - Nothing changed, just to follow the

[PATCH v6 1/9] bindings: PCI: designware: Example update

2018-04-18 Thread Gustavo Pimentel
Replaces "ctrlreg" reg-name by "dbi" to be coherent with similar drivers, however it still be compatible with any previous DT that uses the old reg-name. Replaces the PCIe base address example by a real PCIe base address in use. Signed-off-by: Gustavo Pimentel

[PATCH v3 5/5] pinctrl: sunxi: Use of_clk_get_parent_count() instead of open coding

2018-04-18 Thread Geert Uytterhoeven
A new open coder has crept in since 470b73a38470e8ba ("pinctrl: sunxi: Use of_clk_get_parent_count() instead of open coding"), replace it. of_clk_get_parent_count() was moved to , so include that instead of . Signed-off-by: Geert Uytterhoeven Acked-by: Maxime Ripard

[PATCH v3 3/5] soc: rockchip: power-domain: Use of_clk_get_parent_count() instead of open coding

2018-04-18 Thread Geert Uytterhoeven
As of_clk_get_parent_count() returns zero on failure, while of_count_phandle_with_args() might return a negative error code, this also fixes the issue of possibly using a negative number in the allocation below. Signed-off-by: Geert Uytterhoeven Reviewed-by: Heiko

[PATCH v3 4/5] soc/tegra: pmc: Use of_clk_get_parent_count() instead of open coding

2018-04-18 Thread Geert Uytterhoeven
As of_clk_get_parent_count() returns zero on failure, while of_count_phandle_with_args() might return a negative error code, this also fixes the issue of possibly using a very big number in the allocation below. Signed-off-by: Geert Uytterhoeven Acked-by: Jon Hunter

Re: [PATCH RESEND] slab: introduce the flag SLAB_MINIMIZE_WASTE

2018-04-18 Thread Christopher Lameter
On Tue, 17 Apr 2018, Mikulas Patocka wrote: > I can make a slub-only patch with no extra flag (on a freshly booted > system it increases only the order of caches "TCPv6" and "sighand_cache" > by one - so it should not have unexpected effects): > > Doing a generic solution for slab would be more

Re: [PATCH v2 2/2] tpm: reduce polling time to usecs for even finer granularity

2018-04-18 Thread Mimi Zohar
On Tue, 2018-04-17 at 09:12 -0400, Nayna Jain wrote: > The TPM burstcount and status commands are supposed to return very > quickly [1][2]. This patch further reduces the TPM poll sleep time to usecs > in get_burstcount() and wait_for_tpm_stat() by calling usleep_range() > directly. > > After

[PATCH] Input: xen-kbdfront - allow better run-time configuration

2018-04-18 Thread Oleksandr Andrushchenko
From: Oleksandr Andrushchenko It is now only possible to control if multi-touch virtual device is created or not (via the corresponding XenStore entries), but keyboard and pointer devices are always created. In some cases this is not desirable. For example, if

Re: [PATCH] SLUB: Do not fallback to mininum order if __GFP_NORETRY is set

2018-04-18 Thread Mikulas Patocka
On Wed, 18 Apr 2018, Christopher Lameter wrote: > Mikulas Patoka wants to ensure that no fallback to lower order happens. I > think __GFP_NORETRY should work correctly in that case too and not fall > back. > > > > Allocating at a smaller order is a retry operation and should not > be

Re: [PATCH net-next v4 0/3] kernel: add support to collect hardware logs in crash recovery kernel

2018-04-18 Thread Rahul Lakkireddy
On Wednesday, April 04/18/18, 2018 at 19:58:01 +0530, Eric W. Biederman wrote: > Rahul Lakkireddy writes: > > > On Wednesday, April 04/18/18, 2018 at 11:45:46 +0530, Dave Young wrote: > >> Hi Rahul, > >> On 04/17/18 at 01:14pm, Rahul Lakkireddy wrote: > >> > On

Re: [PATCH] powerpc: Allow selection of CONFIG_LD_DEAD_CODE_DATA_ELIMINATION

2018-04-18 Thread Michael Ellerman
Mathieu Malaterre writes: > On Wed, Apr 18, 2018 at 8:34 AM, Christophe LEROY ... > >> Can you also provide a copy of the messages you can see (prom_init ...) when >> boot is ok ? > > Hum. I've always been interested in seeing it also myself. Is there a > way to setup env to see

[PATCH net-next 1/2] netns: restrict uevents

2018-04-18 Thread Christian Brauner
commit 07e98962fa77 ("kobject: Send hotplug events in all network namespaces") enabled sending hotplug events into all network namespaces back in 2010. Over time the set of uevents that get sent into all network namespaces has shrunk a little. We have now reached the point where hotplug events

[PATCH v5 18/23] ASoC: qdsp6: q6routing: Add support to MI2S Mixers

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch add support to MI2S mixers required to select path between ASM stream and AFE ports. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar ---

Re: [PATCH 4.9 00/66] 4.9.95-stable review

2018-04-18 Thread Guenter Roeck
On Tue, Apr 17, 2018 at 05:58:33PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.95 release. > There are 66 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

[PATCH v5 17/23] ASoC: qdsp6: q6routing: Add support to all SLIMBus Mixers

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to SLIMBus related mixers to control mux between ASM stream and AFE port. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar ---

Re: [PATCH 4.14 00/49] 4.14.35-stable review

2018-04-18 Thread Guenter Roeck
On Tue, Apr 17, 2018 at 05:58:39PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.14.35 release. > There are 49 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

Re: [PATCH 4.15 00/53] 4.15.18-stable review

2018-04-18 Thread Guenter Roeck
On Tue, Apr 17, 2018 at 05:58:25PM +0200, Greg Kroah-Hartman wrote: > > NOTE, this is the last expected 4.15.y release. After this one, the > tree is end-of-life. Please move to 4.16.y at this point in time. > > > This is the start of the stable

Re: [GIT PULL V3] Thermal SoC management updates for v4.17-rc1

2018-04-18 Thread Eduardo Valentin
Hello, On Wed, Apr 18, 2018 at 03:51:29PM +0800, Zhang Rui wrote: > Hi, Eduardo, > > On 六, 2018-04-14 at 11:30 -0700, Eduardo Valentin wrote: > > Hello Linus, > > > > Please find thermal-soc changes for v4.17-rc1. > > Rui asked me to send the pull request directly to you > > as we are close to

[PATCH] kasan: modify the exception handling if kmalloc or krealloc return NULL

2018-04-18 Thread jingwei . liuxi
From: Victor Liu Both kmalloc and krealloc may return NULL(!ptr1 || !ptr2), and we do not know which one is. Signed-off-by: Victor Liu --- lib/test_kasan.c | 25 ++--- 1 file changed, 18 insertions(+), 7 deletions(-) diff

Re: [PATCH v2 01/12] mm: Assign id to every memcg-aware shrinker

2018-04-18 Thread Tetsuo Handa
Kirill Tkhai wrote: > The patch introduces shrinker::id number, which is used to enumerate > memcg-aware shrinkers. The number start from 0, and the code tries > to maintain it as small as possible. > > This will be used as to represent a memcg-aware shrinkers in memcg > shrinkers map. I'm not

Re: [PATCH 1/2] tracing: fix bad use of igrab in trace_uprobe.c

2018-04-18 Thread Steven Rostedt
On Wed, 18 Apr 2018 16:03:42 +0200 Miklos Szeredi wrote: > > @@ -937,7 +928,8 @@ probe_event_enable(struct trace_uprobe *tu, struct > > trace_event_file *file, > > goto err_flags; > > > > tu->consumer.filter = filter; > > - ret =

Re: [patch v2] mm, oom: fix concurrent munlock and oom reaper unmap

2018-04-18 Thread Tetsuo Handa
Michal Hocko wrote: > > > > Then, I'm tempted to call __oom_reap_task_mm() before holding mmap_sem > > > > for write. > > > > It would be OK to call __oom_reap_task_mm() at the beginning of > > > > __mmput()... > > > > > > I am not sure I understand. > > > > To reduce possibility of

Re: usercopy whitelist woe in scsi_sense_cache

2018-04-18 Thread Jens Axboe
On 4/18/18 3:08 AM, Paolo Valente wrote: > > >> Il giorno 18 apr 2018, alle ore 00:57, Jens Axboe ha >> scritto: >> >> On 4/17/18 3:48 PM, Jens Axboe wrote: >>> On 4/17/18 3:47 PM, Kees Cook wrote: On Tue, Apr 17, 2018 at 2:39 PM, Jens Axboe wrote: >

[PATCH] drm: omapdrm: silence unititialized variable warning

2018-04-18 Thread Dan Carpenter
Smatch complains that "area_free" could be used without being initialized. This code is several years old and premusably works fine so this can't be a very serious bug. But it's easy enough to silence the warning. If "area_free" is false at the end of the function then we return -ENOMEM.

[PATCH v9 0/2] drm: Add Thine THC63LVD1024 LVDS decoder bridge

2018-04-18 Thread Jacopo Mondi
As I have another series which is based on this one + Eagle board display support, I'm re-sending this one to fix the small issue I pointed out in my reply to v8. Simon: no changes to Eagle DTS series, so the last one sent is still the good one. DRM: I have collected several reviewed-by tags

[PATCH v9 2/2] drm: bridge: Add thc63lvd1024 LVDS decoder driver

2018-04-18 Thread Jacopo Mondi
Add DRM bridge driver for Thine THC63LVD1024 LVDS to digital parallel output converter. Signed-off-by: Jacopo Mondi Reviewed-by: Andrzej Hajda Reviewed-by: Niklas Söderlund Reviewed-by: Laurent Pinchart

Re: linux-next: build failure after merge of the sound-asoc tree

2018-04-18 Thread Mark Brown
On Wed, Apr 18, 2018 at 09:51:13AM +1000, Stephen Rothwell wrote: > Caused by commit > 81e9b0a07889 ("ASoC: topology: Give more data to clients via callbacks") > I have used the sound-aoc tree from next-20180416 again today. Ugh, reverted that and the following commit which depends on it.

Re: [PATCH] doc: dev-tools: kselftest.rst: update contributing new tests

2018-04-18 Thread Shuah Khan
On 04/17/2018 02:46 AM, Anders Roxell wrote: > Add a description that the kernel headers should be used as far as it is > possible and then the system headers. > > Signed-off-by: Anders Roxell > --- > Documentation/dev-tools/kselftest.rst | 3 +++ > 1 file changed, 3

Re: [PATCH v4 1/2] Documentation: Documentation for qcom, llcc

2018-04-18 Thread Rob Herring
On Tue, Apr 17, 2018 at 5:12 PM, wrote: > On 2018-04-17 10:43, risha...@codeaurora.org wrote: >> >> On 2018-04-16 07:59, Rob Herring wrote: >>> >>> On Tue, Apr 10, 2018 at 01:08:12PM -0700, Rishabh Bhatnagar wrote: Documentation for last level cache controller

Re: [PATCH v2] serial: imx: warn user when using unsupported configuration

2018-04-18 Thread Uwe Kleine-König
On Wed, Apr 18, 2018 at 04:06:38PM +0200, Stefan Agner wrote: > When using half-duplex mode (which disables receiver during txing) > the RTS signal cannot be driven low during transmission. This seems > to be a limitation of the i.MX UART IP: The RTS (CTS_B) signal is > controlled by the receiver.

[GIT PULL] Ceph fixes for 4.17-rc2

2018-04-18 Thread Ilya Dryomov
Hi Linus, The following changes since commit 60cc43fc888428bb2f18f08997432d426a243338: Linux 4.17-rc1 (2018-04-15 18:24:20 -0700) are available in the git repository at: https://github.com/ceph/ceph-client.git tags/ceph-for-4.17-rc2 for you to fetch changes up to

Re: [PATCH v4 01/10] x86/microcode/AMD: Subtract SECTION_HDR_SIZE from file leftover length

2018-04-18 Thread Borislav Petkov
On Wed, Apr 18, 2018 at 03:57:23PM +0200, Maciej S. Szmigiero wrote: > So, should this patch be included in a respin or not? Yes please. Do them all ontop of tip/master. -- Regards/Gruss, Boris. Good mailing practices for 400: avoid top-posting and trim the reply.

Re: [PATCH] SLUB: Do not fallback to mininum order if __GFP_NORETRY is set

2018-04-18 Thread Christopher Lameter
On Wed, 18 Apr 2018, Mikulas Patocka wrote: > No, this would hit NULL pointer dereference if page is NULL and > __GFP_NORETRY is set. You want this: You are right Acked-by: Christoph Lameter

Re: [PATCH v2 0/5] ALSA: xen-front: Add Xen para-virtualized frontend driver

2018-04-18 Thread Oleksandr Andrushchenko
On 04/16/2018 09:24 AM, Oleksandr Andrushchenko wrote: From: Oleksandr Andrushchenko Please note: this patch series depends on [3]. The dependency is now merged into Xen kernel tree [4] for-linus-4.17 This patch series adds support for Xen [1]

Re: [PATCH v2] tracing/x86: Update syscall trace events to handle new x86 syscall func names

2018-04-18 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 18, 2018 at 12:02:12PM -0300, Arnaldo Carvalho de Melo escreveu: > Em Wed, Apr 18, 2018 at 10:36:06AM -0400, Steven Rostedt escreveu: > > On Wed, 18 Apr 2018 09:53:22 -0300 > > Arnaldo Carvalho de Melo wrote: > > > Em Tue, Apr 17, 2018 at 05:41:28PM -0400, Steven

Re: [PATCH 1/2] tracing: fix bad use of igrab in trace_uprobe.c

2018-04-18 Thread Steven Rostedt
On Wed, 18 Apr 2018 16:40:19 +0200 Miklos Szeredi wrote: > > The trace_uprobe (the probe event) is created, it doesn't do anything > > until it is enabled. This function is called when it is enabled. The > > trace_uprobe (probe event) can not be deleted while it is enabled >

Re: [PATCH] [media] include/media: fix missing | operator when setting cfg

2018-04-18 Thread Sylwester Nawrocki
On 04/18/2018 05:06 PM, Colin King wrote: > From: Colin Ian King > > The value from a readl is being masked with ITE_REG_CIOCAN_MASK however > this is not being used and cfg is being re-assigned. I believe the > assignment operator should actually be instead the |=

Re: [PATCH v2] tracing/x86: Update syscall trace events to handle new x86 syscall func names

2018-04-18 Thread Steven Rostedt
On Wed, 18 Apr 2018 12:17:16 -0300 Arnaldo Carvalho de Melo wrote: > This does the trick, by not using the main syscall routine, but one > called from it and not renamed, should work with older kernels. > > This test should be improved to look if the desired routine is in

[PATCH] media: cec: set ev rather than v with CEC_PIN_EVENT_FL_DROPPED bit

2018-04-18 Thread Colin King
From: Colin Ian King Setting v with the CEC_PIN_EVENT_FL_DROPPED is incorrect, instead ev should be set with this bit. Fix this. Detected by CoverityScan, CID#1467974 ("Extra high-order bits") Fixes: 6ec1cbf6b125 ("media: cec: improve CEC pin event handling")

Re: [PATCH v2] tracing/x86: Update syscall trace events to handle new x86 syscall func names

2018-04-18 Thread Arnaldo Carvalho de Melo
Em Wed, Apr 18, 2018 at 11:20:33AM -0400, Steven Rostedt escreveu: > On Wed, 18 Apr 2018 12:17:16 -0300 > Arnaldo Carvalho de Melo wrote: > > > This does the trick, by not using the main syscall routine, but one > > called from it and not renamed, should work with older kernels.

Re: [PATCH V4 2/2] mmc: sdhci-msm: support voltage pad switching

2018-04-18 Thread Vijay Viswanath
On 4/13/2018 10:38 PM, Doug Anderson wrote: Hi, On Fri, Apr 6, 2018 at 2:48 AM, Vijay Viswanath wrote: On 3/29/2018 4:23 AM, Doug Anderson wrote: Hi, On Wed, Mar 28, 2018 at 6:08 AM, Vijay Viswanath wrote: From: Krishna Konda

[PATCH 1/3] dt-bindings: iio: stm32-adc: add support for STM32MP1.

2018-04-18 Thread Fabrice Gasnier
Document support for STM32MP1 ADC. It's quite similar to STM32H7 ADC. Introduce "st,stm32mp1-adc" compatible to handle variants of this hardware such as vregready flag, interrupts, clock rate. Signed-off-by: Fabrice Gasnier ---

[PATCH 2/3] iio: adc: stm32-adc: add support for STM32MP1

2018-04-18 Thread Fabrice Gasnier
Add support for STM32MP1 ADC. It's quite similar to STM32H7 ADC. Introduce new compatible to handle variants of this hardware such as vregready flag, trigger list, interrupts, clock rate. Signed-off-by: Fabrice Gasnier --- drivers/iio/adc/stm32-adc-core.c | 66

[PATCH 0/3] Add support for STM32MP1 ADC

2018-04-18 Thread Fabrice Gasnier
Add support for STM32MP1 Analog to Digital Converter variant. It's quite similar to STM32H7 ADC and re-use most of existing driver. Fabrice Gasnier (3): dt-bindings: iio: stm32-adc: add support for STM32MP1. iio: adc: stm32-adc: add support for STM32MP1 ARM: dts: stm32: Add ADC support to

[PATCH 3/3] ARM: dts: stm32: Add ADC support to stm32mp157c

2018-04-18 Thread Fabrice Gasnier
stm32mp157c has an ADC block with two physical ADCs. Signed-off-by: Fabrice Gasnier --- arch/arm/boot/dts/stm32mp157c.dtsi | 32 1 file changed, 32 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi

[PATCH v5 04/23] ASoC: qdsp6: dt-bindings: Add q6afe dt bindings

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch add DT bindings for AFE (Audio Frontend) DSP module. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar ---

[PATCH v5 01/23] soc: qcom dt-bindings: Add APR bus bindings

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch add dt bindings for Qualcomm APR (Asynchronous Packet Router) bus driver. This bus is used for communicating with DSP which provides audio and various other services to cpu. Signed-off-by: Srinivas Kandagatla

[RESEND PATCH v5 4/7] mfd: cros_ec_dev: Register cros-ec-rtc driver as a subdevice.

2018-04-18 Thread Enric Balletbo i Serra
Check whether this EC instance has RTC host command support and instatiate the RTC driver as a subdevice in such case. Signed-off-by: Enric Balletbo i Serra Reviewed-by: Gwendal Grignou Reviewed-by: Andy Shevchenko

[PATCH v1 3/4] clk: mediatek: add g3dsys support for MT2701 and MT7623

2018-04-18 Thread sean.wang
From: Sean Wang Add clock driver support for g3dsys on MT2701 and MT7623, which is providing essential clock gate and reset controller to Mali-450. Signed-off-by: Sean Wang --- drivers/clk/mediatek/Kconfig | 6 ++

[PATCH v1 2/4] dt-bindings: clock: mediatek: add g3dsys bindings

2018-04-18 Thread sean.wang
From: Sean Wang Add bindings to g3dsys providing necessary clock and reset control to Mali-450. Signed-off-by: Sean Wang --- .../bindings/arm/mediatek/mediatek,g3dsys.txt | 30 ++ 1 file changed, 30 insertions(+) create

[PATCH v1 1/4] dt-bindings: gpu: mali-utgard: add mediatek,mt7623-mali compatible

2018-04-18 Thread sean.wang
From: Sean Wang The MediaTek MT7623 SoC contains a Mali-450, so add a compatible for it and define its own vendor-specific properties. Signed-off-by: Sean Wang --- Documentation/devicetree/bindings/gpu/arm,mali-utgard.txt | 9 + 1 file

Re: [Xen-devel] [PATCH 0/1] drm/xen-zcopy: Add Xen zero-copy helper DRM driver

2018-04-18 Thread Oleksandr Andrushchenko
On 04/18/2018 01:23 PM, Paul Durrant wrote: -Original Message- From: Oleksandr Andrushchenko [mailto:andr2...@gmail.com] Sent: 18 April 2018 11:21 To: Paul Durrant ; Roger Pau Monne Cc: jgr...@suse.com; Artem Mygaiev

Re: [PATCH] sh: mm: Fix unprotected access to struct device

2018-04-18 Thread Christoph Hellwig
On Tue, Apr 17, 2018 at 03:35:23PM +0200, Jacopo Mondi wrote: > With commit ce88313069c36eef80f21fd7 ("arch/sh: make the DMA mapping > operations observe dev->dma_pfn_offset") the generic DMA allocation > function on which the SH 'dma_alloc_coherent()' function relies on, > access the

[PATCH v2 2/3] ASoC: amd: dma driver changes for BT I2S instance

2018-04-18 Thread Vijendar Mukunda
With in ACP, There are three I2S controllers can be configured/enabled ( I2S SP, I2S MICSP, I2S BT). Default enabled I2S controller instance is I2S SP. This patch provides required changes to support I2S BT controller Instance. Signed-off-by: Vijendar Mukunda ---

[PATCH v2 1/3] ASoC: dwc: I2S Controller instance param added

2018-04-18 Thread Vijendar Mukunda
When multiple I2S controller instances created, i2s_instance parameter refers to i2s controller instance value. Signed-off-by: Vijendar Mukunda --- v1->v2: removed acp dma driver specific macros from dwc header file include/sound/designware_i2s.h | 4

[PATCH v2 3/3] ASoC: amd: enabling bt i2s config after acp reset

2018-04-18 Thread Vijendar Mukunda
On ST/CZ based platforms, for specific platform bt uart mux to be defined for bt i2s. By default, these pins will be used for uart. After acp reset , it requires to reprogram bt i2s config mux pins to enable bt i2s instance. added bt i2s enablement sequence during acp init. Signed-off-by:

Re: [PATCH v6 01/16] initrd: Add weakly-linked generic free_initrd_mem.

2018-04-18 Thread Shea Levy
Hi all, Shea Levy writes: > This function is effectively identical across 14 architectures, and > the generic implementation is small enough to be negligible in the > architectures that do override it. Many of the remaining divergent > implementations can be included in the

[PATCH] tty: nozomi: fix spelling mistake in macro NOZOMI_STATE_UKNOWN

2018-04-18 Thread Colin King
From: Colin Ian King Rename NOZOMI_STATE_UKNOWN to NOZOMI_STATE_UNKNOWN (add missing N) Signed-off-by: Colin Ian King --- drivers/tty/nozomi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/tty/nozomi.c

Re: [patch v2] mm, oom: fix concurrent munlock and oom reaper unmap

2018-04-18 Thread Tetsuo Handa
Michal Hocko wrote: > On Tue 17-04-18 19:52:41, David Rientjes wrote: > > Since exit_mmap() is done without the protection of mm->mmap_sem, it is > > possible for the oom reaper to concurrently operate on an mm until > > MMF_OOM_SKIP is set. > > > > This allows munlock_vma_pages_all() to

Re: [PATCH] x86/ldt: Fix support_pte_mask filtering in map_ldt_struct()

2018-04-18 Thread Borislav Petkov
+ Rafael. On Mon, Apr 16, 2018 at 08:39:37AM -0700, Dave Hansen wrote: > On 04/16/2018 08:16 AM, Andy Lutomirski wrote: > > On Mon, Apr 16, 2018 at 2:43 AM, Joerg Roedel wrote: > >> From: Joerg Roedel > >> > >> The |= operator will let us end up with an invalid

Re: [PATCH 2/2] x86, pti: fix boot warning from Global-bit setting

2018-04-18 Thread kbuild test robot
Hi Dave, Thank you for the patch! Yet something to improve: [auto build test ERROR on tip/x86/core] [also build test ERROR on v4.17-rc1 next-20180418] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux

Re: [RFC PATCH 1/3] signal: Ensure every siginfo we send has all bits initialized

2018-04-18 Thread Dave Martin
On Tue, Apr 17, 2018 at 02:37:38PM -0500, Eric W. Biederman wrote: > Dave Martin writes: > > > Hmmm > > > > memset()/clear_siginfo() may ensure that there are no uninitialised > > explicit fields except for those in inactive union members, but I'm not > > sure that this

Re: [PATCH v2 1/3] ASoC: dwc: I2S Controller instance param added

2018-04-18 Thread Mukunda,Vijendar
On Wednesday 18 April 2018 04:54 PM, Mark Brown wrote: On Wed, Apr 18, 2018 at 04:34:52PM +0530, Vijendar Mukunda wrote: When multiple I2S controller instances created, i2s_instance parameter refers to i2s controller instance value. You're missing the point here a bit - it's not just the

[PATCH v3 2/4] mfd: bd9571mwv: Add DDR Backup Power register bit definitions

2018-04-18 Thread Geert Uytterhoeven
Add definitions for the KEEPON_* bits in the "BKUP Mode Cnt" register, which control the DDR rails to be kept powered when backup mode is enabled. Signed-off-by: Geert Uytterhoeven Acked-by: Lee Jones --- v3: - No changes, v2: - Add Acked-by.

[PATCH v3 3/4] mfd: bd9571mwv: Allow DDR Backup Power register access

2018-04-18 Thread Geert Uytterhoeven
Enable read/write access to the BD9571MWV_BKUP_MODE_CNT register, which is amongst others used to configure DDR Backup Power. Signed-off-by: Geert Uytterhoeven --- Acked-for-MFD-by: Lee Jones v3: - No changes, v2: - Expand "a.o.", - Add

[PATCH v3 0/4] regulator: bd9571mwv: Add support for DDR backup mode

2018-04-18 Thread Geert Uytterhoeven
Hi all, The ROHM BD9571MWV PMIC on the Renesas Salvator-X(S) and ULCB development boards supports DDR Backup Power, which means that the DDR power rails can be kept powered while the main SoC is powered down. Currently performing a system suspend/resume cycle involves several manual

[PATCH v3 1/4] dt-bindings: mfd: bd9571mwv: Document DDR Backup Mode properties

2018-04-18 Thread Geert Uytterhoeven
Document the new optional properties related to DDR Backup Mode and toggle/momentary power switches. Signed-off-by: Geert Uytterhoeven Reviewed-by: Rob Herring --- Acked-for-MFD-by: Lee Jones v3: - Add Reviewed-by,

Re: [patch v2] mm, oom: fix concurrent munlock and oom reaper unmap

2018-04-18 Thread Tetsuo Handa
Michal Hocko wrote: > > > Can we try a simpler way and get back to what I was suggesting before > > > [1] and simply not play tricks with > > > down_write(>mmap_sem); > > > up_write(>mmap_sem); > > > > > > and use the write lock in exit_mmap for oom_victims? > > > > You mean

Re: [PATCH 0/9] x86/dumpstack: Cleanups and user opcode bytes Code: section, v2

2018-04-18 Thread Josh Poimboeuf
On Tue, Apr 17, 2018 at 11:06:50PM +0200, Borislav Petkov wrote: > On Tue, Apr 17, 2018 at 03:16:55PM -0500, Josh Poimboeuf wrote: > > I don't think the stack tracing code could do anything better here. #3 > > and #4 seem like an issue with the scheduler, it doesn't realize the > > rest of the

Re: [PATCH] mm:memcg: add __GFP_NOWARN in __memcg_schedule_kmem_cache_create

2018-04-18 Thread Michal Hocko
On Wed 18-04-18 22:23:28, Minchan Kim wrote: > On Wed, Apr 18, 2018 at 09:54:37AM +0200, Michal Hocko wrote: > > On Wed 18-04-18 16:41:17, Minchan Kim wrote: > > > On Wed, Apr 18, 2018 at 09:20:02AM +0200, Michal Hocko wrote: > > > > On Wed 18-04-18 11:29:12, Minchan Kim wrote: > > [...] > > > > >

Re: [PATCH 2/6] tracing: Add trace event error log

2018-04-18 Thread Steven Rostedt
On Wed, 18 Apr 2018 18:34:34 +0900 Masami Hiramatsu wrote: > On Fri, 13 Apr 2018 10:44:32 -0400 > Steven Rostedt wrote: > > > On Fri, 13 Apr 2018 09:24:34 -0500 > > Tom Zanussi wrote: > > > > > Yeah, I agree - I'd

[PATCH -next] m68k: fix return value check in mcf_pci_init()

2018-04-18 Thread Wei Yongjun
In case of error, the function ioremap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: bf114d773167 ("m68k: force use of __raw_read/__raw_write address to be iomem") Signed-off-by: Wei Yongjun

Re: [RFC PATCH 31/35] Revert "vfs: add d_real_inode() helper"

2018-04-18 Thread Steven Rostedt
On Wed, 18 Apr 2018 15:49:02 +0200 Miklos Szeredi wrote: > > I just received this patch: > > > > http://lkml.kernel.org/r/20180418062907.3210386-1-songliubrav...@fb.com > > > > Which removes this code. Can you review it and I'll take it. > > It shouldn't remove

Re: [PATCH] sched/fair: Change sched_feat(x) in !CONFIG_SCHED_DEBUG case

2018-04-18 Thread Nicholas Mc Guire
On Mon, Apr 16, 2018 at 10:54:26AM +0200, Philipp Klocke wrote: > Make sched_feat(x) return 1 or 0 instead of 2**x or 0 when > sysctl_sched_features is constant, by changing the left shift of the > mask-bit to a right shift of the bitmap. The behaviour of the code > remains unchanged. > We prove

[RESEND PATCH v5 7/7] mfd: cros_ec_i2c: moving the system sleep pm ops to late

2018-04-18 Thread Enric Balletbo i Serra
From: Joseph Lo The cros_ec_i2c driver is still active after it had suspended or before it resumes. Besides that, it also tried to transfer data even after the I2C host had been suspended. This will lead the system to crash. During the test, we also observe that the EC needs

[PATCH v1 4/4] arm: dts: mt7623: add Mali-450 and related device nodes

2018-04-18 Thread sean.wang
From: Sean Wang Add nodes for Mali-450 device, g3dsys device providing required clock gate and reset control and larb3 offering an arbiter through iommu for controlling access to external memory requested from Mali-450. Signed-off-by: Sean Wang

[RESEND PATCH v5 6/7] mfd: cros_ec_i2c: add ACPI module device table

2018-04-18 Thread Enric Balletbo i Serra
From: Wei-Ning Huang Add ACPI module device table for matching cros-ec devices to load the cros_ec_i2c driver automatically. Signed-off-by: Wei-Ning Huang Acked-by: Benson Leung Signed-off-by: Enric Balletbo i Serra

[RESEND PATCH v5 1/7] mfd: cros_ec: fail early if we cannot identify the EC

2018-04-18 Thread Enric Balletbo i Serra
From: Vincent Palatin If we cannot communicate with the EC chip to detect the protocol version and its features, it's very likely useless to continue. Else we will commit all kind of uninformed mistakes (using the wrong protocol, the wrong buffer size, mixing the EC with

[PATCH v1 0/4] add Mali-450 support to MT7623 SoC

2018-04-18 Thread sean.wang
From: Sean Wang Hi, The series adds a required resource setup to allow Mali-450 to work on MT7623. This also can benefits other MediaTek SoCs having Mali-450 device. In order to prove the setup is proper, I also have added mediatek port to linux-lima at [1] and make a

[RESEND PATCH v5 5/7] mfd: cros_ec_dev: register shutdown function for debugfs

2018-04-18 Thread Enric Balletbo i Serra
From: Daniel Hung-yu Wu Reboot or shutdown during delayed works could corrupt communication with EC and certain I2C controller may not be able to recover from the error state. This patch registers a shutdown callback used to cancel the debugfs log worker thread. Signed-off-by:

[PATCH v2 2/3] perf tools powerpc: Fix crash if callchain is empty

2018-04-18 Thread Sandipan Das
For some cases, the callchain provided by the kernel may be empty. So, the callchain ip filtering code will cause a crash if we do not check whether the struct ip_callchain pointer is NULL before accessing any members. This can be observed on a powerpc64le system running Fedora 27 as shown below.

[PATCH] net: caif: fix spelling mistake "UKNOWN" -> "UNKNOWN"

2018-04-18 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake Signed-off-by: Colin Ian King --- net/caif/chnl_net.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/caif/chnl_net.c b/net/caif/chnl_net.c index

Re: [PATCH] gpu: drm: tegra: Adding new typedef vm_fault_t

2018-04-18 Thread Souptick Joarder
> This new function returns VM_FAULT_NOPAGE only for 0 and -EBUSY, whereas > we used to return VM_FAULT_NOPAGE for -EAGAIN, -ERESTARTSYS and -EINTR > as well. Previously vm_insert_page unable to return VM_FAULT_ type due to which different drivers have their own mapping from err to VM_FAULT_

Re: [PATCHv3 06/11] asm-generic: mm_hooks: allow hooks to be overridden individually

2018-04-18 Thread Mark Rutland
On Tue, Apr 17, 2018 at 09:56:02PM +0200, Arnd Bergmann wrote: > On Tue, Apr 17, 2018 at 8:37 PM, Mark Rutland wrote: > > Currently, an architecture must either implement all of the mm hooks > > itself, or use all of those provided by the asm-generic implementation. > > When

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