[PATCH net-next 2/2] netns: isolate seqnums to use per-netns locks

2018-04-18 Thread Christian Brauner
Now that it's possible to have a different set of uevents in different network namespaces, per-network namespace uevent sequence numbers are introduced. This increases performance as locking is now restricted to the network namespace affected by the uevent rather than locking everything. Since

[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

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

2018-04-18 Thread Sylwester Nawrocki
On 04/18/2018 05:20 PM, Sylwester Nawrocki wrote: > 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

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

2018-04-18 Thread Colin Ian King
On 18/04/18 16:23, Sylwester Nawrocki wrote: > On 04/18/2018 05:20 PM, Sylwester Nawrocki wrote: >> 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: [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. > > > > This

[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") Signed-off-by: Colin Ian King ---

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

2018-04-18 Thread Sylwester Nawrocki
On 04/18/2018 05:24 PM, Colin Ian King wrote: > Oops, shall I re-send? There is no need to, thanks.

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:25:36 -0300 Arnaldo Carvalho de Melo wrote: > 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 > >

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

2018-04-18 Thread Stefan Agner
On 18.04.2018 16:53, Uwe Kleine-König wrote: > 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

[PATCH v5 22/23] ASoC: qcom: apq8096: Add db820c machine driver

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to DB820c machine driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 9 ++ sound/soc/qcom/Makefile | 2 + sound/soc/qcom/apq8096.c | 238 +++ 3 files changed, 249

[PATCH v5 11/23] ASoC: qdsp6: q6adm: Add q6adm driver

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to Q6ADM (Audio Device Manager) module in q6dsp. ADM performs routing between audio streams and AFE ports. It does Rate matching for streams going to devices driven by different clocks, it handles volume ramping, Mixing with channel and

[PATCH v5 23/23] MAINTAINERS: Add myself as co-maintainer of qcom audio

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla Add myself as co-maintainer of qcom audio drivers Signed-off-by: Srinivas Kandagatla --- MAINTAINERS | 1 + 1 file changed, 1 insertion(+) diff --git a/MAINTAINERS b/MAINTAINERS index 0a1410d5a621..9a78c2879a0c 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -11503,6

[PATCH v5 20/23] ASoC: qdsp6: q6asm: Add q6asm dai driver

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6asm dai driver which configures Q6ASM streams to pass pcm data. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/Kconfig | 4 + sound/soc/qcom/qdsp6/Makefile| 1 +

[PATCH v5 21/23] ASoC: qdsp6: dt-bindings: Add apq8096 machine bindings

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla Add devicetree bindings documentation file for Qualcomm apq8096 sound card. Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,apq8096.txt | 76 ++ 1 file changed, 76 insertions(+) create mode 100644

[PATCH v5 13/23] ASoC: qdsp6: q6asm: Add support to memory map and unmap

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to memory map and unmap regions commands in q6asm module. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/qdsp6/q6asm.c | 338 +++ sound/soc/qcom/qdsp6/q6asm.h

[PATCH v5 19/23] ASoC: qdsp6: q6afe: Add q6afe dai driver

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6afe backend dais driver. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/Kconfig | 4 + sound/soc/qcom/qdsp6/Makefile| 1 + sound/soc/qcom/qdsp6/q6afe-dai.c | 752

[PATCH v5 12/23] ASoC: qdsp6: q6asm: Add q6asm driver

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds basic support to Q6 ASM (Audio Stream Manager) module on Q6DSP. ASM supports up to 8 concurrent streams. each stream can be setup as playback/capture. ASM provides top control functions like Pause/flush/resume for playback and record. ASM can

[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 --- sound/soc/qcom/qdsp6/q6routing.c | 329 +++ 1 file changed,

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 --- sound/soc/qcom/qdsp6/q6routing.c | 261 +++ 1 file

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

[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 b/arch/arm/boot/dts/stm32mp157c.dtsi index

[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 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 --- Documentation/devicetree/bindings/iio/adc/st,stm32-adc.txt | 6

[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

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 The PADs for SD card are dual-voltage that support

[PATCH v5 16/23] ASoC: qdsp6: q6routing: Add q6routing driver

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6 routing driver which configures route between ASM and AFE module using ADM apis. This driver uses dapm widgets to setup the matrix between AFE ports and ASM streams. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar

Re: PATCH V4 0/5 nvme-pci: fixes on nvme_timeout and nvme_dev_disable

2018-04-18 Thread Ming Lei
On Wed, Apr 18, 2018 at 10:24:28PM +0800, jianchao.wang wrote: > Hi Ming > > On 04/17/2018 11:17 PM, Ming Lei wrote: > > Looks blktest(block/011) can trigger IO hang easily on NVMe PCI device, > > and all are related with nvme_dev_disable(): > > > > 1) admin queue may be disabled by

[PATCH v5 08/23] ASoC: qdsp6: qdafe: Add SLIMBus port Support

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to 6 SLIMBus AFE ports, which are used as backend dais. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/qdsp6/q6afe.c | 129 +++ sound/soc/qcom/qdsp6/q6afe.h |

[PATCH v5 14/23] ASoC: qdsp6: q6asm: Add support to audio stream apis

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to open, write and media format commands in the q6asm module. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/qdsp6/q6asm.c | 744 ++-

Re: [PATCH 4.16 00/68] 4.16.3-stable review

2018-04-18 Thread Guenter Roeck
On Tue, Apr 17, 2018 at 05:57:13PM +0200, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.16.3 release. > There are 68 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 v9 7/9] pinctrl: madera: Add DT bindings for Cirrus Logic Madera codecs

2018-04-18 Thread Richard Fitzgerald
On 27/03/18 12:29, Linus Walleij wrote: On Tue, Mar 13, 2018 at 2:19 PM, Richard Fitzgerald wrote: This is the binding description of the pinctrl driver for Cirrus Logic Madera codecs. The binding uses the generic pinctrl binding so the main purpose here is to describe the device-specific

[PATCH v5 15/23] ASoC: qdsp6: q6core: Add q6core driver

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to core apr service, which is used to query status of other static and dynamic services on the dsp. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/Kconfig| 4 +

[PATCH v5 06/23] ASoC: qdsp6: dt-bindings: Add q6asm dt bindings

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch add DT bindings for ASM (Audio Stream Manager) DSP module. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- .../devicetree/bindings/sound/qcom,q6asm.txt | 33 ++ include/dt-bindings/sound/qcom,q6asm.h

[PATCH v5 10/23] ASoC: qdsp6: q6afe: Add support to MI2S sysclks

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to LPASS Bit clock, LPASS Digital core clock and OSR clock. These clocks are required for both MI2S and PCM setup. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/qdsp6/q6afe.c | 212

[PATCH v5 09/23] ASoC: qdsp6: q6afe: Add support to MI2S ports

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to 4 MI2S ports on LPASS. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar --- sound/soc/qcom/qdsp6/q6afe.c | 228 +++ sound/soc/qcom/qdsp6/q6afe.h | 13 +++ 2 files changed, 241

[PATCH v5 07/23] ASoC: qdsp6: q6afe: Add q6afe driver

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to Q6AFE (Audio Front End) module on Q6DSP. AFE module sits right at the other end of cpu where the codec/audio devices are connected. AFE provides abstraced interfaces to both hardware and virtual devices. Each AFE tx/rx port can be configured

[PATCH 2/2] memory: aemif: add support for board files

2018-04-18 Thread Bartosz Golaszewski
From: Bartosz Golaszewski Currently aemif is supported in two places separately. By the platform driver in drivers/memory and by a hand crafted driver in mach-davinci. We want to drop the latter but also keep the legacy mode. Add support for board files to the aemif driver. The new structure

[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 Reviewed-and-tested-by: Rohit kumar ---

[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 --- .../devicetree/bindings/sound/qcom,q6afe.txt | 88 ++ include/dt-bindings/sound/qcom,q6afe.h

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

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

2018-04-18 Thread Steven Rostedt
On Tue, 17 Apr 2018 19:22:36 +0200 Dominik Brodowski wrote: > > Added back original compare to not miss 32bit kernel syscalls > > s/32bit/32bit and 0-parameter syscalls. > > Looks good otherwise. > You want to send an Acked or Reviewed-by to my final patch (v3). -- Steve

Re: [PATCH] Revert mm/vmstat.c: fix vmstat_update() preemption BUG

2018-04-18 Thread Sebastian Andrzej Siewior
ping. any reason not to accept the revert? On 2018-04-11 21:07:29 [+0200], To Tejun Heo wrote: > On 2018-04-11 16:42:21 [+0200], To Tejun Heo wrote: > > > > So is this perhaps related to the cpu hotplug that [1] mentions? e.g. is > > > > the cpu being hotplugged cpu 1, the worker started too

[PATCH v2 0/3] lan78xx: Read configuration from Device Tree

2018-04-18 Thread Phil Elwell
The Microchip LAN78XX family of devices are Ethernet controllers with a USB interface. Despite being discoverable devices it can be useful to be able to configure them from Device Tree, particularly in low-cost applications without an EEPROM or programmed OTP. This patch set adds support for

[PATCH v2 3/3] dt-bindings: Document the DT bindings for lan78xx

2018-04-18 Thread Phil Elwell
The Microchip LAN78XX family of devices are Ethernet controllers with a USB interface. Despite being discoverable devices it can be useful to be able to configure them from Device Tree, particularly in low-cost applications without an EEPROM or programmed OTP. Document the supported properties in

Re: ORC unwinder bad backtrace

2018-04-18 Thread Josh Poimboeuf
On Wed, Apr 18, 2018 at 06:54:38AM -0700, Matthew Wilcox wrote: > f81061192 : > ... > 810611bf: 90 nop > 810611c0 : > > I suspect an off-by-one error; you don't really mean to point to the > byte before perf_trace_x86_exception, you mean to point to byte

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

2018-04-18 Thread Steven Rostedt
From: "Steven Rostedt (VMware)" Arnaldo noticed that the latest kernel is missing the syscall event system directory in x86. I bisected it down to d5a00528b58c ("syscalls/core, syscalls/x86: Rename struct pt_regs-based sys_*() to __x64_sys_*()"). The system call trace events are special, as

[PATCH v2 1/3] lan78xx: Read MAC address from DT if present

2018-04-18 Thread Phil Elwell
There is a standard mechanism for locating and using a MAC address from the Device Tree. Use this facility in the lan78xx driver to support applications without programmed EEPROM or OTP. At the same time, regularise the handling of the different address sources. Signed-off-by: Phil Elwell ---

[PATCH v2 2/3] lan78xx: Read LED states from Device Tree

2018-04-18 Thread Phil Elwell
Add support for DT property "microchip,led-modes", a vector of zero to four cells (u32s) in the range 0-15, each of which sets the mode for one of the LEDs. Some possible values are: 0=link/activity 1=link1000/activity 2=link100/activity 3=link10/activity

Re: [PATCH v2 1/2] pinctrl/samsung: Correct EINTG banks order

2018-04-18 Thread Krzysztof Kozlowski
On Tue, Apr 17, 2018 at 4:12 AM, Tomasz Figa wrote: > 2018-04-17 0:52 GMT+09:00 Paweł Chmiel : >> All banks with GPIO interrupts should be at beginning >> of bank array and without any other types of banks between them. >> This order is expected by exynos_eint_gpio_irq, when doing >> interrupt

[PATCH] ARM: dts: stm32: Add DAC support to stm32mp157c

2018-04-18 Thread Fabrice Gasnier
Add support for DAC (Digital to Analog Converter) to STM32MP157C. STM32MP157C DAC has two output channels. Signed-off-by: Fabrice Gasnier --- arch/arm/boot/dts/stm32mp157c.dtsi | 24 1 file changed, 24 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi

Re: [PATCH v2 2/2] pinctrl/samsung: Document required order of banks

2018-04-18 Thread Krzysztof Kozlowski
On Tue, Apr 17, 2018 at 4:14 AM, Tomasz Figa wrote: > 2018-04-17 0:52 GMT+09:00 Paweł Chmiel : >> This patch documents requirement coming from the way >> exynos_eint_gpio_irq() is working now, which expects >> EINTG banks to be at the beginning of the bank arrays. >> >> Cc: sta...@vger.kernel.org

Re: [PATCH resend 0/4] virt: vboxguest: Fix vboxguest module not working on VMs with more then 4G of RAM

2018-04-18 Thread Greg Kroah-Hartman
On Wed, Apr 18, 2018 at 03:24:46PM +0200, Hans de Goede wrote: > Hi Greg, > > I know you are not entirely happy with the direct get_pages usage in this > patch-set, but as discussed that is currently the only way to get DMA32 > memory. > > Adding a better API for getting DMA32 mem really falls

[PATCH 0/2] memory: aemif: add support for machine code

2018-04-18 Thread Bartosz Golaszewski
From: Bartosz Golaszewski This is a follow-up to the series that contained both changes to the aemif driver and platform code. It contains only the driver changes. As the first step in removing duplicate support for aemif from the kernel we need to add support for board files to the aemif

[PATCH v5 03/23] ASoC: qdsp6: q6common: Add qdsp6 helper functions

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds some common helper functions like translating dsp error to linux error codes and channel mappings etc. These functions are used in all the following qdsp6 drivers. Signed-off-by: Srinivas Kandagatla Reviewed-and-tested-by: Rohit kumar ---

[PATCH v5 02/23] soc: qcom: Add APR bus driver

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support toi APR bus (Asynchronous Packet Router) driver. ARP driver is made as a bus driver so that the apr devices can added removed more dynamically depending on the state of the services on the dsp. APR is used for communication between application

[PATCH 1/2] memory: aemif: don't rely on kbuild for driver's name

2018-04-18 Thread Bartosz Golaszewski
From: Bartosz Golaszewski We want to use aemif from board files. Use a static name in the driver's code. Signed-off-by: Bartosz Golaszewski --- drivers/memory/ti-aemif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/memory/ti-aemif.c b/drivers/memory/ti-aemif.c

[PATCH v5 00/23] ASoC: qcom: Add support to QDSP based Audio

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla Thankyou everyone for providing feedback on v4 patchset. This patchset aims to provide a basic version of QCOM DSP based audio support which is available in downstream andriod kernels. This patchset support audio playback on HDMI-RX, MI2S, SLIMBus and will add support

[PATCH v10 2/9] mfd: madera: Add DT bindings for Cirrus Logic Madera codecs

2018-04-18 Thread Richard Fitzgerald
Specification of the bindings for the parent MFD driver component of the Cirrus Logic Madera codec drivers. Note that although the interrupt controller and GPIO are child drivers their required bindings are trivial, mandatory, and exist within the parent MFD node so are documented here.

Re: [RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-18 Thread Jerome Glisse
On Wed, Apr 18, 2018 at 04:13:37PM +0200, Jan Kara wrote: > Hello, > > so I finally got to this :) > > On Wed 04-04-18 15:17:50, jgli...@redhat.com wrote: > > From: Jérôme Glisse [...] > > -- > > The Why ? > > > > I have two

[PATCH] atm: iphase: fix spelling mistake: "Tansmit" -> "Transmit"

2018-04-18 Thread Colin King
From: Colin Ian King Trivial fix to spelling mistake in message text. Signed-off-by: Colin Ian King --- drivers/atm/iphase.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c index 44abb8a0a5e5..be076606d30e 100644 ---

[PATCH v3] regulator: Don't return or expect -errno from of_map_mode()

2018-04-18 Thread Douglas Anderson
In of_get_regulation_constraints() we were taking the result of of_map_mode() (an unsigned int) and assigning it to an int. We were then checking whether this value was -EINVAL. Some implementers of of_map_mode() were returning -EINVAL (even though the return type of their function needed to be

Re: [PATCH v2] regulator: Don't return or expect -errno from of_map_mode()

2018-04-18 Thread Doug Anderson
Hi, On Wed, Apr 18, 2018 at 12:15 AM, Javier Martinez Canillas wrote: >> @@ -124,11 +124,12 @@ static void of_get_regulation_constraints(struct >> device_node *np, >> >> if (!of_property_read_u32(np, "regulator-initial-mode", )) { >> if (desc && desc->of_map_mode) { >> -

Re: [REGRESSION][BISECTED] i.MX6 pinctrl hogs stopped working

2018-04-18 Thread Richard Fitzgerald
On 10/04/18 19:33, Mika Penttilä wrote: On 10.04.2018 13:21, Richard Fitzgerald wrote: On 04/04/18 06:33, Mika Penttilä wrote: Hi! Reverting this made the hogs on a i.MX6 board work again. : commit b89405b6102fcc3746f43697b826028caa94c823 Author: Richard Fitzgerald Date:   Wed Feb 28

Re: [RFC PATCH v3 1/3] ima: extend clone() with IMA namespace support

2018-04-18 Thread John Johansen
On 03/28/2018 04:10 AM, Stefan Berger wrote: > On 03/27/2018 07:01 PM, Eric W. Biederman wrote: >> Stefan Berger writes: >> >>> From: Yuqiong Sun >>> >>> Add new CONFIG_IMA_NS config option.  Let clone() create a new IMA >>> namespace upon CLONE_NEWUSER flag. Attach the ima_ns data structure >>>

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

2018-04-18 Thread Dongwon Kim
On Wed, Apr 18, 2018 at 03:42:29PM +0300, Oleksandr Andrushchenko wrote: > On 04/18/2018 01:55 PM, Roger Pau Monné wrote: > >On Wed, Apr 18, 2018 at 01:39:35PM +0300, Oleksandr Andrushchenko wrote: > >>On 04/18/2018 01:18 PM, Paul Durrant wrote: > -Original Message- > From:

[PATCH v10 3/9] mfd: madera: Add common support for Cirrus Logic Madera codecs

2018-04-18 Thread Richard Fitzgerald
This adds the generic core support for Cirrus Logic "Madera" class codecs. These are complex audio codec SoCs with a variety of digital and analogue I/O, onboard audio processing and DSPs, and other features. These codecs are all based off a common set of hardware IP so can be supported by a core

[PATCH v10 0/9] Add support for Cirrus Logic CS47L35/L85/L90/L91 codecs

2018-04-18 Thread Richard Fitzgerald
NOTE: Compared to older versions of this chain I have removed patches at the end of the chain that were being ignored until the earlier patches had been merged - an impossible circular dependency. There were too many moving targets to keep the whole chain up-to-date and so patches that were

[PATCH 1/2] cpufreq: brcmstb-avs-cpufreq: remove development debug support

2018-04-18 Thread Markus Mayer
From: Markus Mayer This debug code was helpful while developing the driver, but it isn't being used for anything anymore. Signed-off-by: Markus Mayer --- drivers/cpufreq/Kconfig.arm | 10 -- drivers/cpufreq/brcmstb-avs-cpufreq.c | 323 +- 2 files

[PATCH 0/2] brcmstb-avs-cpufreq changes

2018-04-18 Thread Markus Mayer
From: Markus Mayer These changes are based on v4.17-rc1. The two patches are unrelated. Patch 1/2 removes unused code that was only useful during driver development and that has been disabled by default for a long time. Patch 2/2 allows the driver to detect if the system supports SCMI cpufreq

[PATCH 2/2] cpufreq: brcmstb-avs-cpufreq: prefer SCMI cpufreq if supported

2018-04-18 Thread Markus Mayer
From: Jim Quinlan If the SCMI cpufreq driver is supported, we bail, so that the new approach can be used. Signed-off-by: Jim Quinlan Signed-off-by: Markus Mayer --- drivers/cpufreq/brcmstb-avs-cpufreq.c | 16 1 file changed, 16 insertions(+) diff --git

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

2018-04-18 Thread Eric Dumazet
On 04/18/2018 07:34 AM, Mikulas Patocka wrote: > 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

[PATCH v10 4/9] mfd: madera: Register map tables for Cirrus Logic CS47L35

2018-04-18 Thread Richard Fitzgerald
Regmap configuration tables for Cirrus Logic CS47L35 codecs. Signed-off-by: Piotr Stankiewicz Signed-off-by: Richard Fitzgerald Signed-off-by: Charles Keepax Acked-for-MFD-by: Lee Jones --- drivers/mfd/Kconfig |7 + drivers/mfd/Makefile |3 +

Re: Crashes/hung tasks with z3pool under memory pressure

2018-04-18 Thread Guenter Roeck
On Wed, Apr 18, 2018 at 10:13:17AM +0200, Vitaly Wool wrote: > Den tis 17 apr. 2018 kl 18:35 skrev Guenter Roeck : > > > > > Getting better; the log is much less noisy. Unfortunately, there are still > > locking problems, resulting in a hung task. I copied the log message to [1]. > > This is

Re: [PATCH 1/4] x86/crypto: camellia: Fix function prototypes

2018-04-18 Thread Kees Cook
On Sun, Apr 15, 2018 at 11:10 PM, Ingo Molnar wrote: > > * Joao Moreira wrote: > >> Convert the use of 'struct camellia_ctx *' to 'void *' in prototypes of >> functions which are referenced through 'struct common_glue_func_entry', >> making their prototypes match those of this struct and,

Re: [RFC PATCH v3 1/3] ima: extend clone() with IMA namespace support

2018-04-18 Thread John Johansen
On 04/13/2018 09:25 AM, Mimi Zohar wrote: > [Cc'ing John Johansen] > > On Tue, 2018-03-27 at 18:01 -0500, Eric W. Biederman wrote: > [...] >> As such I expect the best way to create the ima namespace is by simply >> writing to securityfs/imafs. Possibly before the user namespace is >> even

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

2018-04-18 Thread Song Liu
> On Apr 18, 2018, at 7:03 AM, Miklos Szeredi wrote: > > On Wed, Apr 18, 2018 at 8:29 AM, Song Liu wrote: >> As Miklos reported and suggested: >> >> This pattern repeats two times in trace_uprobe.c and in >> kernel/events/core.c as well: >> >> ret = kern_path(filename, LOOKUP_FOLLOW,

Re: [PATCH v2 2/3] lan78xx: Read LED states from Device Tree

2018-04-18 Thread Andrew Lunn
On Wed, Apr 18, 2018 at 04:45:22PM +0100, Phil Elwell wrote: > Add support for DT property "microchip,led-modes", a vector of zero > to four cells (u32s) in the range 0-15, each of which sets the mode > for one of the LEDs. Some possible values are: > > 0=link/activity

Re: 4.15.17 regression: bisected: timeout during microcode update

2018-04-18 Thread Borislav Petkov
On Wed, Apr 18, 2018 at 06:53:30AM -0700, Raj, Ashok wrote: > nothing about the microcode itself comes to mind. I'm wondering if > this similar to the Arch linux that used late-load during booting > might be an issue. How so? They'd echo 1 > /sys/... very early during boot? Got an example dmesg

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

2018-04-18 Thread Song Liu
> On Apr 18, 2018, at 7:25 AM, 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 err_flags; >>> >>>tu->consumer.filter

[PATCH][next] spi: pxa2xx: make function pxa2xx_spi_transfer_one static

2018-04-18 Thread Colin King
From: Colin Ian King The function pxa2xx_spi_transfer_one is local to the source and do not need to be in global scope, so make it static. Cleans up sparse warning: drivers/spi/spi-pxa2xx.c:914:5: warning: symbol 'pxa2xx_spi_transfer_one' was not declared. Should it be static? Signed-off-by:

Re: [RFC] virtio: Use DMA MAP API for devices without an IOMMU

2018-04-18 Thread Michael S. Tsirkin
On Wed, Apr 18, 2018 at 08:47:10AM +0530, Anshuman Khandual wrote: > On 04/15/2018 05:41 PM, Christoph Hellwig wrote: > > On Fri, Apr 06, 2018 at 06:37:18PM +1000, Benjamin Herrenschmidt wrote: > implemented as DMA API which the virtio core understands. There is no > need for an IOMMU to

Re: [PATCH 0/3] USB: musb: dsps: phy fix and DT-topology support

2018-04-18 Thread Bin Liu
Johan, On Fri, Apr 13, 2018 at 05:15:02PM +0200, Johan Hovold wrote: > I've been carrying a patch out-of-tree since my work on improving the > USB device-tree support which is needed to be able to describe USB > topologies for musb based controllers. > > This patch, which associates the platform

Re: [RFC PATCH 00/79] Generic page write protection and a solution to page waitqueue

2018-04-18 Thread Darrick J. Wong
On Wed, Apr 18, 2018 at 11:54:30AM -0400, Jerome Glisse wrote: > On Wed, Apr 18, 2018 at 04:13:37PM +0200, Jan Kara wrote: > > Hello, > > > > so I finally got to this :) > > > > On Wed 04-04-18 15:17:50, jgli...@redhat.com wrote: > > > From: Jérôme Glisse > > [...] > > > >

Re: [PATCH][next] spi: pxa2xx: make function pxa2xx_spi_transfer_one static

2018-04-18 Thread Mark Brown
On Wed, Apr 18, 2018 at 05:18:42PM +0100, Colin King wrote: > From: Colin Ian King > > The function pxa2xx_spi_transfer_one is local to the source and > do not need to be in global scope, so make it static. Someone already sent a patch for this which I applied earlier today. signature.asc

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:08:50 + Song Liu wrote: > > This is not against -linus tree. > > These patches are against tip/perf/core. I can also send version against > -linus tree. I can take this patch in my tree (which is currently equal to 4.17-rc1). The other patch should go through

[PATCH 0/2] sparc64: Add privileged ADI driver

2018-04-18 Thread Tom Hromatka
ADI is a feature supported on SPARC M7 and newer processors to allow hardware to catch rogue accesses to memory. ADI is supported for data fetches only and not instruction fetches. An app can enable ADI on its data pages, set version tags on them and use versioned addresses to access the data

[PATCH 1/2] char: sparc64: Add privileged ADI driver

2018-04-18 Thread Tom Hromatka
SPARC M7 and newer processors utilize ADI to version and protect memory. This driver is capable of reading/writing ADI/MCD versions from privileged user space processes. Addresses in the adi file are mapped linearly to physical memory at a ratio of 1:adi_blksz. Thus, a read (or write) of offset

[PATCH 2/2] selftests: sparc64: char: Selftest for privileged ADI driver

2018-04-18 Thread Tom Hromatka
Add a selftest for the sparc64 privileged ADI driver. These tests verify the read(), pread(), write(), pwrite(), and seek() functionality of the driver. The tests also report simple performance statistics: Syscall CallAvgTime AvgSize Count (ticks) (bytes)

[PATCH v2] exofs: Avoid VLA in structures

2018-04-18 Thread Kees Cook
On the quest to remove all VLAs from the kernel[1] this adjusts several cases where allocation is made after an array of structures that points back into the allocation. The allocations are changed to perform explicit calculations instead of using a Variable Length Array in a structure.

[PATCH] arm64: msm8916: fix gic_irq_domain_translate warnings

2018-04-18 Thread srinivas . kandagatla
From: Srinivas Kandagatla Remove the usage of IRQ_TYPE_NONE to fix loud warnings from patch (83a86fbb5b56b "irqchip/gic: Loudly complain about the use of IRQ_TYPE_NONE"). Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 18 +- 1 file changed, 9

Re: [PATCH 2/2] cpufreq: brcmstb-avs-cpufreq: prefer SCMI cpufreq if supported

2018-04-18 Thread Florian Fainelli
On 04/18/2018 08:56 AM, Markus Mayer wrote: > From: Jim Quinlan > > If the SCMI cpufreq driver is supported, we bail, so that the new > approach can be used. > > Signed-off-by: Jim Quinlan > Signed-off-by: Markus Mayer > --- > drivers/cpufreq/brcmstb-avs-cpufreq.c | 16 > 1

Re: [PATCH v2] fork: Unconditionally clear stack on fork

2018-04-18 Thread Kees Cook
On Wed, Feb 21, 2018 at 6:15 PM, Kees Cook wrote: > On Wed, Feb 21, 2018 at 12:59 PM, Andrew Morton > wrote: >> On Wed, 21 Feb 2018 11:29:33 +0100 Michal Hocko wrote: >> >>> On Tue 20-02-18 18:16:59, Kees Cook wrote: >>> > One of the classes of kernel stack content leaks[1] is exposing the >>>

Re: [PATCH v3 3/3] clk: qcom: Add Global Clock controller (GCC) driver for SDM845

2018-04-18 Thread Manu Gautam
Hi Amit, On 4/18/2018 6:33 PM, Amit Nischal wrote: >>> +   /* Disable the GPLL0 active input to MMSS and GPU via MISC >>> registers */ >>> +   regmap_update_bits(regmap, 0x09ffc, 0x3, 0x3); >>> +   regmap_update_bits(regmap, 0x71028, 0x3, 0x3); >> >> I think we'll have to throw in 

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

2018-04-18 Thread Mikulas Patocka
On Wed, 18 Apr 2018, Eric Dumazet wrote: > > > On 04/18/2018 07:34 AM, Mikulas Patocka wrote: > > 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

Re: [PATCH v3 04/10] Documentations: dt-bindings: Add a document of PECI adapter driver for Aspeed AST24xx/25xx SoCs

2018-04-18 Thread Jae Hyun Yoo
On 4/18/2018 6:59 AM, Rob Herring wrote: On Tue, Apr 17, 2018 at 5:06 PM, Jae Hyun Yoo wrote: On 4/17/2018 11:16 AM, Jae Hyun Yoo wrote: On 4/17/2018 6:16 AM, Rob Herring wrote: On Mon, Apr 16, 2018 at 6:12 PM, Jae Hyun Yoo wrote: On 4/16/2018 11:10 AM, Rob Herring wrote: On Tue, Apr

Re: [PATCH v2] regulator: Don't return or expect -errno from of_map_mode()

2018-04-18 Thread Mark Brown
On Wed, Apr 18, 2018 at 08:56:22AM -0700, Doug Anderson wrote: > On Wed, Apr 18, 2018 at 12:15 AM, Javier Martinez Canillas > >> if (!of_property_read_u32(np, "regulator-initial-mode", )) { > >> if (desc && desc->of_map_mode) { > >> - ret =

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

2018-04-18 Thread Eric Dumazet
On 04/18/2018 09:44 AM, Mikulas Patocka wrote: > > > On Wed, 18 Apr 2018, Eric Dumazet wrote: > >> >> >> On 04/18/2018 07:34 AM, Mikulas Patocka wrote: >>> The patch 74d332c13b21 changes alloc_netdev_mqs to use vzalloc if kzalloc >>> fails (later patches change it to kvzalloc). >>> >>> The

Re: [PATCH] x86/entry/64/compat: Preserve r8-r11 in int $0x80

2018-04-18 Thread Andy Lutomirski
On Tue, Apr 17, 2018 at 8:00 AM, Denys Vlasenko wrote: > This means that the new behavior is there for some 8 years already. > Whoever was impacted by it, probably already switched to the new ABI. > > Current ABI is "weaker", it allows kernel to save fewer registers. > > Which is generally a good

<    9   10   11   12   13   14   15   16   17   >