[PATCH v3 09/15] NTB: ntb_test: Update ntb_tool link tests

2017-12-05 Thread Serge Semin
Link Up and Down methods are used to change NTB link settings on local side only for multi-port devices. Link is considered up only if both sides local and peer set it up. Intel/AMD hardware acts a bit different by assigning the Primary and Secondary roles, so Primary device only is able to change

[PATCH 0/5] perf top overwrite mode

2017-12-05 Thread kan . liang
From: Kan Liang perf_top__mmap_read has severe performance issue in Knights Landing/Mill, when monitoring in heavy load system. It costs several minutes to finish, which is unacceptable. Currently, perf top is non overwrite mode. For non overwrite mode, it tries to read everything in the

[PATCH 1/5] perf tools: remove stale perf evlist mmap read for backward

2017-12-05 Thread kan . liang
From: Kan Liang perf_evlist__mmap_read_catchup and perf_evlist__mmap_read_backward are only for overwrite mode. But they read the evlist->mmap buffer which is for non-overwrite mode. It did not bring any serious problem yet, because there is no one use it. Remove the unused interfaces.

[PATCH v3 09/15] NTB: ntb_test: Update ntb_tool link tests

2017-12-05 Thread Serge Semin
Link Up and Down methods are used to change NTB link settings on local side only for multi-port devices. Link is considered up only if both sides local and peer set it up. Intel/AMD hardware acts a bit different by assigning the Primary and Secondary roles, so Primary device only is able to change

[PATCH 2/5] perf tools: rewrite perf mmap read for overwrite

2017-12-05 Thread kan . liang
From: Kan Liang perf_mmap__read_catchup and perf_mmap__read_backward are used to read events one by one from ring buffer under overwrite mode. It always read the stale buffer which is already processed. Because the previous location of processed ring buffer is discarded.

[PATCH 2/5] perf tools: rewrite perf mmap read for overwrite

2017-12-05 Thread kan . liang
From: Kan Liang perf_mmap__read_catchup and perf_mmap__read_backward are used to read events one by one from ring buffer under overwrite mode. It always read the stale buffer which is already processed. Because the previous location of processed ring buffer is discarded. Introducing the

[PATCH 5/5] perf top: check the latency of perf_top__mmap_read

2017-12-05 Thread kan . liang
From: Kan Liang The latency of perf_top__mmap_read should be lower than refresh time. If not, give some hints to reduce the latency. Signed-off-by: Kan Liang --- tools/perf/builtin-top.c | 10 ++ 1 file changed, 10 insertions(+) diff --git

[PATCH v3 14/15] NTB: ntb_test: Update ntb_perf tests

2017-12-05 Thread Serge Semin
ntb_perf driver has been also updated so to have the multi-port interface support. User now must specify what peer port is going to be used to perform the test. Signed-off-by: Serge Semin --- tools/testing/selftests/ntb/ntb_test.sh | 13 +++-- 1 file changed, 7

[PATCH v3 14/15] NTB: ntb_test: Update ntb_perf tests

2017-12-05 Thread Serge Semin
ntb_perf driver has been also updated so to have the multi-port interface support. User now must specify what peer port is going to be used to perform the test. Signed-off-by: Serge Semin --- tools/testing/selftests/ntb/ntb_test.sh | 13 +++-- 1 file changed, 7 insertions(+), 6

[PATCH 5/5] perf top: check the latency of perf_top__mmap_read

2017-12-05 Thread kan . liang
From: Kan Liang The latency of perf_top__mmap_read should be lower than refresh time. If not, give some hints to reduce the latency. Signed-off-by: Kan Liang --- tools/perf/builtin-top.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/tools/perf/builtin-top.c

[PATCH v3 15/15] NTB: ntb_hw_idt: Set NTB_TOPO_SWITCH topology

2017-12-05 Thread Serge Semin
Since Switchtec patch there has been a new topology added to the NTB API. It's called NTB_TOPO_SWITCH and dedicated for PCIe switch chips. Even though topo field isn't used within the IDT driver much, lets set it for the sake of unification. Signed-off-by: Serge Semin

[PATCH v3 15/15] NTB: ntb_hw_idt: Set NTB_TOPO_SWITCH topology

2017-12-05 Thread Serge Semin
Since Switchtec patch there has been a new topology added to the NTB API. It's called NTB_TOPO_SWITCH and dedicated for PCIe switch chips. Even though topo field isn't used within the IDT driver much, lets set it for the sake of unification. Signed-off-by: Serge Semin ---

[PATCH 4/5] perf top: switch to overwrite mode

2017-12-05 Thread kan . liang
From: Kan Liang perf_top__mmap_read has severe performance issue in Knights Landing/Mill, when monitoring in heavy load system. It costs several minutes to finish, which is unacceptable. Currently, perf top is non overwrite mode. For non overwrite mode, it tries to read

[PATCH 4/5] perf top: switch to overwrite mode

2017-12-05 Thread kan . liang
From: Kan Liang perf_top__mmap_read has severe performance issue in Knights Landing/Mill, when monitoring in heavy load system. It costs several minutes to finish, which is unacceptable. Currently, perf top is non overwrite mode. For non overwrite mode, it tries to read everything in the

[PATCH 3/5] perf tools: reuse perf_mmap__read_catchup in perf_mmap__push

2017-12-05 Thread kan . liang
From: Kan Liang perf_mmap__push uses the same codes as perf_mmap__read_catchup to calculate the ring buffer start, end and size. No funcational change. Signed-off-by: Kan Liang --- tools/perf/util/mmap.c | 31 ++- 1 file

[PATCH 3/5] perf tools: reuse perf_mmap__read_catchup in perf_mmap__push

2017-12-05 Thread kan . liang
From: Kan Liang perf_mmap__push uses the same codes as perf_mmap__read_catchup to calculate the ring buffer start, end and size. No funcational change. Signed-off-by: Kan Liang --- tools/perf/util/mmap.c | 31 ++- 1 file changed, 6 insertions(+), 25 deletions(-)

[PATCH v3 13/15] NTB: ntb_test: Update ntb_tool MW tests

2017-12-05 Thread Serge Semin
There are devices (like IDT PCIe switches), which outbound MWs xlat address is setup on peer side. In this case local side is supposed to allocate a memory buffer and somehow deliver the xlat DMA address to peer so one could set the outbound MW up. The MW test is altered so to support both

[PATCH v3 04/15] NTB: ntb_pp: Add full multi-port NTB API support

2017-12-05 Thread Serge Semin
Current Ping Pong driver can't truly work with multi-port devices. Additionally it requires the Scratchpad registers being available on NTB device. This patches rewrites the driver so one would perform the cyclic Ping-Pong algorithm around all the available NTB peers and makes it working with NTB

[PATCH v3 13/15] NTB: ntb_test: Update ntb_tool MW tests

2017-12-05 Thread Serge Semin
There are devices (like IDT PCIe switches), which outbound MWs xlat address is setup on peer side. In this case local side is supposed to allocate a memory buffer and somehow deliver the xlat DMA address to peer so one could set the outbound MW up. The MW test is altered so to support both

[PATCH v3 04/15] NTB: ntb_pp: Add full multi-port NTB API support

2017-12-05 Thread Serge Semin
Current Ping Pong driver can't truly work with multi-port devices. Additionally it requires the Scratchpad registers being available on NTB device. This patches rewrites the driver so one would perform the cyclic Ping-Pong algorithm around all the available NTB peers and makes it working with NTB

[PATCH v3 00/15] NTB: Add full multi-port API support to the test drivers

2017-12-05 Thread Serge Semin
The multi-port NTB API was introduced in kernel 4.13 as well as the first driver for the true multi-port devices of IDT PCIe-switches series. But the test drivers still were left almost unchanged. Yes, they didn't fail being used with new NTB API, but they only worked with two-ports NTB devices.

[PATCH v3 02/15] NTB: Set dma mask and dma coherent mask to NTB devices

2017-12-05 Thread Serge Semin
The dma_mask and dma_coherent_mask fields of the NTB struct device weren't initialized in hardware drivers. In fact it should be done instead of PCIe interface usage, since NTB clients are supposed to use NTB API and left unaware of real hardware implementation. In addition to that

[PATCH v3 00/15] NTB: Add full multi-port API support to the test drivers

2017-12-05 Thread Serge Semin
The multi-port NTB API was introduced in kernel 4.13 as well as the first driver for the true multi-port devices of IDT PCIe-switches series. But the test drivers still were left almost unchanged. Yes, they didn't fail being used with new NTB API, but they only worked with two-ports NTB devices.

[PATCH v3 02/15] NTB: Set dma mask and dma coherent mask to NTB devices

2017-12-05 Thread Serge Semin
The dma_mask and dma_coherent_mask fields of the NTB struct device weren't initialized in hardware drivers. In fact it should be done instead of PCIe interface usage, since NTB clients are supposed to use NTB API and left unaware of real hardware implementation. In addition to that

Re: [PATCH] w1: remove redundant assignments to search_bit and last_rn

2017-12-05 Thread Evgeniy Polyakov
Hi 07.11.2017, 21:49, "Colin King" : > From: Colin Ian King > > Variables search_bit and last_rn are assigned values before a while-loop > however these initial values are never read (as they are overwritten > inside the loop). Thus these

Re: [PATCH] w1: remove redundant assignments to search_bit and last_rn

2017-12-05 Thread Evgeniy Polyakov
Hi 07.11.2017, 21:49, "Colin King" : > From: Colin Ian King > > Variables search_bit and last_rn are assigned values before a while-loop > however these initial values are never read (as they are overwritten > inside the loop). Thus these initial assignments are redundant and can > be removed.

[PATCHv3 2/2] userns: control capabilities of some user namespaces

2017-12-05 Thread Mahesh Bandewar
From: Mahesh Bandewar With this new notion of "controlled" user-namespaces, the controlled user-namespaces are marked at the time of their creation while the capabilities of processes that belong to them are controlled using the global mask. Init-user-ns is always

[PATCHv3 2/2] userns: control capabilities of some user namespaces

2017-12-05 Thread Mahesh Bandewar
From: Mahesh Bandewar With this new notion of "controlled" user-namespaces, the controlled user-namespaces are marked at the time of their creation while the capabilities of processes that belong to them are controlled using the global mask. Init-user-ns is always uncontrolled and a process

[PATCHv3 0/2] capability controlled user-namespaces

2017-12-05 Thread Mahesh Bandewar
From: Mahesh Bandewar TL;DR version - Creating a sandbox environment with namespaces is challenging considering what these sandboxed processes can engage into. e.g. CVE-2017-6074, CVE-2017-7184, CVE-2017-7308 etc. just to name few. Current form of user-namespaces,

[PATCHv3 0/2] capability controlled user-namespaces

2017-12-05 Thread Mahesh Bandewar
From: Mahesh Bandewar TL;DR version - Creating a sandbox environment with namespaces is challenging considering what these sandboxed processes can engage into. e.g. CVE-2017-6074, CVE-2017-7184, CVE-2017-7308 etc. just to name few. Current form of user-namespaces, however, if changed

Re: [PATCH] ALSA: pcm: prevent UAF in snd_pcm_info

2017-12-05 Thread Takashi Iwai
On Tue, 05 Dec 2017 20:29:07 +0100, Kees Cook wrote: > > On Tue, Dec 5, 2017 at 11:14 AM, Takashi Iwai wrote: > > On Tue, 05 Dec 2017 18:16:55 +0100, > > Nick Desaulniers wrote: > >> > >> From: Robb Glasser > >> > >> When the device descriptor is closed, the

Re: [PATCH] ALSA: pcm: prevent UAF in snd_pcm_info

2017-12-05 Thread Takashi Iwai
On Tue, 05 Dec 2017 20:29:07 +0100, Kees Cook wrote: > > On Tue, Dec 5, 2017 at 11:14 AM, Takashi Iwai wrote: > > On Tue, 05 Dec 2017 18:16:55 +0100, > > Nick Desaulniers wrote: > >> > >> From: Robb Glasser > >> > >> When the device descriptor is closed, the `substream->runtime` pointer > >> is

[PATCHv3 1/2] capability: introduce sysctl for controlled user-ns capability whitelist

2017-12-05 Thread Mahesh Bandewar
From: Mahesh Bandewar Add a sysctl variable kernel.controlled_userns_caps_whitelist. This takes input as capability mask expressed as two comma separated hex u32 words. The mask, however, is stored in kernel as kernel_cap_t type. Any capabilities that are not part of this

[PATCHv3 1/2] capability: introduce sysctl for controlled user-ns capability whitelist

2017-12-05 Thread Mahesh Bandewar
From: Mahesh Bandewar Add a sysctl variable kernel.controlled_userns_caps_whitelist. This takes input as capability mask expressed as two comma separated hex u32 words. The mask, however, is stored in kernel as kernel_cap_t type. Any capabilities that are not part of this mask will be

[PATCH v1 5/6] ARM: dts: imx7d-sbc-iot: enable PCIe peripheral

2017-12-05 Thread tyler
From: Tyler Baker Add a PCIe device tree node to enable PCIe support. Signed-off-by: Tyler Baker --- arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts | 13 + 1 file changed, 13 insertions(+) diff --git

[PATCH v1 5/6] ARM: dts: imx7d-sbc-iot: enable PCIe peripheral

2017-12-05 Thread tyler
From: Tyler Baker Add a PCIe device tree node to enable PCIe support. Signed-off-by: Tyler Baker --- arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts b/arch/arm/boot/dts/imx7d-sbc-iot-imx7.dts

[PATCH v1 1/6] ARM: dts: imx7d-sbc-iot: add initial iot gateway dts

2017-12-05 Thread tyler
From: Tyler Baker The Compulab IoT Gateway is based on an NXP i.MX7D, dual core Cortex-A7 clocking at 1GHz. It supports up to 2GB of DDR3, and 32GB of eMMC flash. Onboard, there are two gigabit ethernet controllers, 4 x USB2, RS485, and CAN. This platform is based

[PATCH v1 1/6] ARM: dts: imx7d-sbc-iot: add initial iot gateway dts

2017-12-05 Thread tyler
From: Tyler Baker The Compulab IoT Gateway is based on an NXP i.MX7D, dual core Cortex-A7 clocking at 1GHz. It supports up to 2GB of DDR3, and 32GB of eMMC flash. Onboard, there are two gigabit ethernet controllers, 4 x USB2, RS485, and CAN. This platform is based on the imx7d-cl-som-imx7

[PATCH v1 4/6] ARM: dts: imx7s: add node and supplies for vdd1p2

2017-12-05 Thread tyler
From: Tyler Baker Add the regulator nodes and supplies for vdd1p2. This regulator is used to power the GPC and USB HSIC PHY. Signed-off-by: Tyler Baker --- arch/arm/boot/dts/imx7s.dtsi | 17 - 1 file changed, 16

[PATCH v1 6/6] ARM: dts: imx7s: add usb hsic phy domain

2017-12-05 Thread tyler
From: Tyler Baker The GPCv2 driver should control the MIPI, PCIe, and USB HSIC PHY regulators. Add the USB HSIC power domain to the GPC node. Signed-off-by: Tyler Baker --- arch/arm/boot/dts/imx7s.dtsi | 6 ++ 1 file changed, 6

Re: [PATCH v2] w1: driver for serial linkUSB, linkOEM, LINK devices

2017-12-05 Thread Joe Perches
On Sun, 2017-11-12 at 22:04 +0100, Hans-Frieder Vogt wrote: > Hi, hi back. > attached is the revised version of a driver that supports the serial OneWire > masters from iButtonLink(TM) in the w1 kernel driver. In order to be usable > it needs an updated userland tool (patch included in

[PATCH v1 4/6] ARM: dts: imx7s: add node and supplies for vdd1p2

2017-12-05 Thread tyler
From: Tyler Baker Add the regulator nodes and supplies for vdd1p2. This regulator is used to power the GPC and USB HSIC PHY. Signed-off-by: Tyler Baker --- arch/arm/boot/dts/imx7s.dtsi | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git

[PATCH v1 6/6] ARM: dts: imx7s: add usb hsic phy domain

2017-12-05 Thread tyler
From: Tyler Baker The GPCv2 driver should control the MIPI, PCIe, and USB HSIC PHY regulators. Add the USB HSIC power domain to the GPC node. Signed-off-by: Tyler Baker --- arch/arm/boot/dts/imx7s.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx7s.dtsi

Re: [PATCH v2] w1: driver for serial linkUSB, linkOEM, LINK devices

2017-12-05 Thread Joe Perches
On Sun, 2017-11-12 at 22:04 +0100, Hans-Frieder Vogt wrote: > Hi, hi back. > attached is the revised version of a driver that supports the serial OneWire > masters from iButtonLink(TM) in the w1 kernel driver. In order to be usable > it needs an updated userland tool (patch included in

[PATCH v1 0/6] ARM: dts: introduce Compulab IoT Gateway

2017-12-05 Thread tyler
From: Tyler Baker The Compulab IoT Gateway is based on an NXP i.MX7D, dual core Cortex-A7 clocking at 1GHz. It supports up to 2GB of DDR3, and 32GB of eMMC flash. Onboard, there are two gigabit ethernet controllers, 4 x USB2, RS485, and CAN. It uses the same SoM

[PATCH v1 3/6] ARM: dts: imx7s: add dma support

2017-12-05 Thread tyler
From: Tyler Baker Enable dma on all SPI interfaces. Signed-off-by: Tyler Baker --- arch/arm/boot/dts/imx7s.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi

[PATCH v1 0/6] ARM: dts: introduce Compulab IoT Gateway

2017-12-05 Thread tyler
From: Tyler Baker The Compulab IoT Gateway is based on an NXP i.MX7D, dual core Cortex-A7 clocking at 1GHz. It supports up to 2GB of DDR3, and 32GB of eMMC flash. Onboard, there are two gigabit ethernet controllers, 4 x USB2, RS485, and CAN. It uses the same SoM as the cl-som-imx7, but includes

[PATCH v1 3/6] ARM: dts: imx7s: add dma support

2017-12-05 Thread tyler
From: Tyler Baker Enable dma on all SPI interfaces. Signed-off-by: Tyler Baker --- arch/arm/boot/dts/imx7s.dtsi | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/arm/boot/dts/imx7s.dtsi b/arch/arm/boot/dts/imx7s.dtsi index 82ad26e..7b85659 100644 ---

[PATCH v1 2/6] ARM: dts: imx7d-cl-som: add nodes for usbh, and usbotg2

2017-12-05 Thread tyler
From: Tyler Baker Add device tree nodes for the USB hub, and USB OTG. i2c2 on this platform supports low state retention power state so lets use it. Signed-off-by: Tyler Baker --- arch/arm/boot/dts/imx7d-cl-som-imx7.dts | 34

[PATCH v1 2/6] ARM: dts: imx7d-cl-som: add nodes for usbh, and usbotg2

2017-12-05 Thread tyler
From: Tyler Baker Add device tree nodes for the USB hub, and USB OTG. i2c2 on this platform supports low state retention power state so lets use it. Signed-off-by: Tyler Baker --- arch/arm/boot/dts/imx7d-cl-som-imx7.dts | 34 ++--- 1 file changed, 27 insertions(+),

[PATCH v2 02/15] soc: qcom: add support to APR bus driver

2017-12-05 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

[PATCH v2 02/15] soc: qcom: add support to APR bus driver

2017-12-05 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 v2 07/15] ASoC: qcom: q6asm: Add support to memory map and unmap

2017-12-05 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 --- sound/soc/qcom/qdsp6/q6asm.c | 343 ++-

[PATCH v2 06/15] ASoC: qcom: qdsp6: Add support to Q6ASM

2017-12-05 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

[PATCH v2 07/15] ASoC: qcom: q6asm: Add support to memory map and unmap

2017-12-05 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 --- sound/soc/qcom/qdsp6/q6asm.c | 343 ++- sound/soc/qcom/qdsp6/q6asm.h | 5 + 2 files changed, 347

[PATCH v2 06/15] ASoC: qcom: qdsp6: Add support to Q6ASM

2017-12-05 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 v2 03/15] ASoC: qcom: qdsp6: Add common qdsp6 helper functions

2017-12-05 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

[PATCH v2 03/15] ASoC: qcom: qdsp6: Add common qdsp6 helper functions

2017-12-05 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 --- sound/soc/qcom/qdsp6/common.h | 225

[PATCH v2 05/15] ASoC: qcom: qdsp6: Add support to Q6ADM

2017-12-05 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6 ADM (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,

[PATCH v2 05/15] ASoC: qcom: qdsp6: Add support to Q6ADM

2017-12-05 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6 ADM (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 v2 04/15] ASoC: qcom: qdsp6: Add support to Q6AFE

2017-12-05 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6 AFE (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

[PATCH v2 04/15] ASoC: qcom: qdsp6: Add support to Q6AFE

2017-12-05 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6 AFE (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

[PATCH v2 13/15] dt-bindings: sound: qcom: Add devicetree bindings for apq8096

2017-12-05 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 | 22 ++ 1 file

[PATCH v2 13/15] dt-bindings: sound: qcom: Add devicetree bindings for apq8096

2017-12-05 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 | 22 ++ 1 file changed, 22 insertions(+) create mode 100644

Re: [PATCH v2] thinkad_acpi: Support the battery wear control

2017-12-05 Thread Julian Andres Klode
On Tue, Dec 05, 2017 at 03:22:28PM +0100, Christoph Böhmwalder wrote: > On Sun, Dec 03, 2017 at 11:56:40PM +0100, Ognjen Galic wrote: > > Add support for the ACPI batteries on newer thinkpad models > > (>Sandy Bridge) that support the setting of start and stop > > thresholds. > > > > The actual

Re: [PATCH v2] thinkad_acpi: Support the battery wear control

2017-12-05 Thread Julian Andres Klode
On Tue, Dec 05, 2017 at 03:22:28PM +0100, Christoph Böhmwalder wrote: > On Sun, Dec 03, 2017 at 11:56:40PM +0100, Ognjen Galic wrote: > > Add support for the ACPI batteries on newer thinkpad models > > (>Sandy Bridge) that support the setting of start and stop > > thresholds. > > > > The actual

Re: [RFC PATCH v3 0/7] ktask: multithread CPU-intensive kernel work

2017-12-05 Thread Andrew Morton
On Tue, 5 Dec 2017 14:52:13 -0500 Daniel Jordan wrote: > This patchset is based on 4.15-rc2 plus one mmots fix[*] and contains three > ktask users: > - deferred struct page initialization at boot time > - clearing gigantic pages > - fallocate for HugeTLB pages

Re: [RFC PATCH v3 0/7] ktask: multithread CPU-intensive kernel work

2017-12-05 Thread Andrew Morton
On Tue, 5 Dec 2017 14:52:13 -0500 Daniel Jordan wrote: > This patchset is based on 4.15-rc2 plus one mmots fix[*] and contains three > ktask users: > - deferred struct page initialization at boot time > - clearing gigantic pages > - fallocate for HugeTLB pages Performance improvements are

[PATCH v2 10/15] ASoC: qcom: qdsp6: Add support to q6routing driver

2017-12-05 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

[PATCH v2 12/15] ASoC: qcom: qdsp6: Add support to q6asm dai driver

2017-12-05 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6asm dai driver which configures Q6ASM streams to pass pcm data. Currently the driver only exposes 2 playback streams for hdmi playback support, it can be easily extended to add all 8 streams. Signed-off-by:

[PATCH v2 10/15] ASoC: qcom: qdsp6: Add support to q6routing driver

2017-12-05 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 --- sound/soc/qcom/Kconfig

[PATCH v2 12/15] ASoC: qcom: qdsp6: Add support to q6asm dai driver

2017-12-05 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6asm dai driver which configures Q6ASM streams to pass pcm data. Currently the driver only exposes 2 playback streams for hdmi playback support, it can be easily extended to add all 8 streams. Signed-off-by: Srinivas Kandagatla ---

[PATCH v2 11/15] ASoC: qcom: qdsp6: Add support to q6afe dai driver

2017-12-05 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6afe backend dais driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 5 + sound/soc/qcom/qdsp6/Makefile| 1 +

[PATCH v2 11/15] ASoC: qcom: qdsp6: Add support to q6afe dai driver

2017-12-05 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6afe backend dais driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 5 + sound/soc/qcom/qdsp6/Makefile| 1 + sound/soc/qcom/qdsp6/q6afe-dai.c | 241 +++ 3 files

Re: [PATCH 4.4 20/96] autofs: dont fail mount for transient error

2017-12-05 Thread NeilBrown
On Tue, Dec 05 2017, Ben Hutchings wrote: > On Tue, 2017-11-28 at 11:22 +0100, Greg Kroah-Hartman wrote: >> 4.4-stable review patch.  If anyone has any objections, please let me know. >> >> -- >> >> From: NeilBrown >> >> commit

Re: [PATCH 4.4 20/96] autofs: dont fail mount for transient error

2017-12-05 Thread NeilBrown
On Tue, Dec 05 2017, Ben Hutchings wrote: > On Tue, 2017-11-28 at 11:22 +0100, Greg Kroah-Hartman wrote: >> 4.4-stable review patch.  If anyone has any objections, please let me know. >> >> -- >> >> From: NeilBrown >> >> commit ecc0c469f27765ed1e2b967be0aa17cee1a60b76

Re: UFS utilities

2017-12-05 Thread Bart Van Assche
On Mon, 2017-12-04 at 15:20 +, Bean Huo (beanhuo) wrote: > Also, is it possible bypass SCSI stacks and go into directly UFS stack? Hello Bean, Sorry but I think it would be wrong to bypass the block layer when submitting UFS commands. My understanding is that UFS devices are used in systems

Re: UFS utilities

2017-12-05 Thread Bart Van Assche
On Mon, 2017-12-04 at 15:20 +, Bean Huo (beanhuo) wrote: > Also, is it possible bypass SCSI stacks and go into directly UFS stack? Hello Bean, Sorry but I think it would be wrong to bypass the block layer when submitting UFS commands. My understanding is that UFS devices are used in systems

[PATCH v2 15/15] arm64: dts: msm8996: db820c: Add sound card support

2017-12-05 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds hdmi sound card support to db820c via qdsp. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 5 + arch/arm64/boot/dts/qcom/msm8996.dtsi|

[PATCH v2 14/15] ASoC: qcom: apq8096: Add db820c machine driver

2017-12-05 Thread srinivas . kandagatla
From: Srinivas Kandagatla uThis patch adds support to DB820c machine driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 9 +++- sound/soc/qcom/apq8096.c | 124

[PATCH v2 15/15] arm64: dts: msm8996: db820c: Add sound card support

2017-12-05 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds hdmi sound card support to db820c via qdsp. Signed-off-by: Srinivas Kandagatla --- arch/arm64/boot/dts/qcom/apq8096-db820c.dtsi | 5 + arch/arm64/boot/dts/qcom/msm8996.dtsi| 33 2 files changed, 38

[PATCH v2 14/15] ASoC: qcom: apq8096: Add db820c machine driver

2017-12-05 Thread srinivas . kandagatla
From: Srinivas Kandagatla uThis patch adds support to DB820c machine driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 9 +++- sound/soc/qcom/apq8096.c | 124 +++ 2 files changed, 132 insertions(+), 1 deletion(-) create

[PATCH] autofs: fix careless error in recent commit.

2017-12-05 Thread NeilBrown
Commit ecc0c469f277 was meant to replace an 'if' with a 'switch', but instead added the 'switch' leaving the case in place. Reported-by: Ben Hutchings Cc: sta...@vger.kernel.org Fixes: ecc0c469f277 ("autofs: don't fail mount for transient error") Signed-off-by:

[PATCH] autofs: fix careless error in recent commit.

2017-12-05 Thread NeilBrown
Commit ecc0c469f277 was meant to replace an 'if' with a 'switch', but instead added the 'switch' leaving the case in place. Reported-by: Ben Hutchings Cc: sta...@vger.kernel.org Fixes: ecc0c469f277 ("autofs: don't fail mount for transient error") Signed-off-by: NeilBrown ---

Re: [PATCH 2/2] usbip: Use common error handling code in stub_recv_cmd_submit()

2017-12-05 Thread Shuah Khan
On 12/05/2017 02:52 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 5 Dec 2017 22:40:30 +0100 > > Add a jump target so that a bit of exception handling can be better reused > at the end of this function. > > Signed-off-by: Markus Elfring

Re: [PATCH 2/2] usbip: Use common error handling code in stub_recv_cmd_submit()

2017-12-05 Thread Shuah Khan
On 12/05/2017 02:52 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 5 Dec 2017 22:40:30 +0100 > > Add a jump target so that a bit of exception handling can be better reused > at the end of this function. > > Signed-off-by: Markus Elfring > --- > drivers/usb/usbip/stub_rx.c |

Re: [RFC PATCH v3 2/7] ktask: multithread CPU-intensive kernel work

2017-12-05 Thread Andrew Morton
On Tue, 5 Dec 2017 14:52:15 -0500 Daniel Jordan wrote: > ktask is a generic framework for parallelizing CPU-intensive work in the > kernel. The intended use is for big machines that can use their CPU power to > speed up large tasks that can't otherwise be

[PATCH v2 09/15] ASoC: qcom: qdsp6: Add support to Q6CORE

2017-12-05 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 --- sound/soc/qcom/Kconfig| 5 +

Re: [RFC PATCH v3 2/7] ktask: multithread CPU-intensive kernel work

2017-12-05 Thread Andrew Morton
On Tue, 5 Dec 2017 14:52:15 -0500 Daniel Jordan wrote: > ktask is a generic framework for parallelizing CPU-intensive work in the > kernel. The intended use is for big machines that can use their CPU power to > speed up large tasks that can't otherwise be multithreaded in userland. The > API

[PATCH v2 09/15] ASoC: qcom: qdsp6: Add support to Q6CORE

2017-12-05 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 --- sound/soc/qcom/Kconfig| 5 + sound/soc/qcom/qdsp6/Makefile | 1 +

[PATCH v2 08/15] ASoC: qcom: q6asm: add support to audio stream apis

2017-12-05 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 --- sound/soc/qcom/qdsp6/q6asm.c | 530 ++-

[PATCH v2 08/15] ASoC: qcom: q6asm: add support to audio stream apis

2017-12-05 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 --- sound/soc/qcom/qdsp6/q6asm.c | 530 ++- sound/soc/qcom/qdsp6/q6asm.h | 42 2 files changed, 571

[PATCH v2 01/15] dt-bindings: soc: qcom: Add bindings for APR bus

2017-12-05 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch add dt bindings for Qualcomm APR bus driver Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/soc/qcom/qcom,apr.txt | 28 ++ 1 file changed, 28

[PATCH v2 00/15] ASoC: qcom: Add support to QDSP6 based audio

2017-12-05 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patchset aims to provide a very basic version of QCOM DSP based audio support which is available in downstream andriod kernels. This patchset only support Digital audio based for HDMI-RX and will add support to other features as we

[PATCH v2 01/15] dt-bindings: soc: qcom: Add bindings for APR bus

2017-12-05 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch add dt bindings for Qualcomm APR bus driver Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/soc/qcom/qcom,apr.txt | 28 ++ 1 file changed, 28 insertions(+) create mode 100644

[PATCH v2 00/15] ASoC: qcom: Add support to QDSP6 based audio

2017-12-05 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patchset aims to provide a very basic version of QCOM DSP based audio support which is available in downstream andriod kernels. This patchset only support Digital audio based for HDMI-RX and will add support to other features as we move on. QDSP has both static

Re: [PATCH] ACPI / GED: unregister interrupts during shutdown

2017-12-05 Thread Rafael J. Wysocki
On Tue, Dec 5, 2017 at 10:01 PM, Sinan Kaya wrote: > Some GED interrupts could be pending by the time we are doing a reboot. > > Even though GED driver uses devm_request_irq() to register the interrupt > handler, the handler is not being freed on time during a shutdown since

Re: [PATCH] ACPI / GED: unregister interrupts during shutdown

2017-12-05 Thread Rafael J. Wysocki
On Tue, Dec 5, 2017 at 10:01 PM, Sinan Kaya wrote: > Some GED interrupts could be pending by the time we are doing a reboot. > > Even though GED driver uses devm_request_irq() to register the interrupt > handler, the handler is not being freed on time during a shutdown since > the driver is

Re: [PATCH 1/2] usbip: Delete an error message for a failed memory allocation in two functions

2017-12-05 Thread Shuah Khan
On 12/05/2017 02:49 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 5 Dec 2017 22:25:38 +0100 > > Omit an extra message for a memory allocation failure in these functions. > > This issue was detected by using the Coccinelle software. Please

Re: [PATCH 1/2] usbip: Delete an error message for a failed memory allocation in two functions

2017-12-05 Thread Shuah Khan
On 12/05/2017 02:49 PM, SF Markus Elfring wrote: > From: Markus Elfring > Date: Tue, 5 Dec 2017 22:25:38 +0100 > > Omit an extra message for a memory allocation failure in these functions. > > This issue was detected by using the Coccinelle software. Please include the problem and log from

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