[PATCH 07/18] thunderbolt: Handle rejected Thunderbolt devices

2018-02-13 Thread Mika Westerberg
The ICM firmware may reject devices for different reasons, even if we have asked it to accept anything. If we notice a device is rejected, we just log the event and bail out. Signed-off-by: Mika Westerberg --- drivers/thunderbolt/icm.c | 6 ++

[PATCH 07/18] thunderbolt: Handle rejected Thunderbolt devices

2018-02-13 Thread Mika Westerberg
The ICM firmware may reject devices for different reasons, even if we have asked it to accept anything. If we notice a device is rejected, we just log the event and bail out. Signed-off-by: Mika Westerberg --- drivers/thunderbolt/icm.c | 6 ++ drivers/thunderbolt/tb_msgs.h | 1 + 2

[PATCH 11/18] thunderbolt: Add tb_switch_find_by_route()

2018-02-13 Thread Mika Westerberg
From: Radion Mirchevsky With the new ICM messaging there is need for find switch by route string instead of link and depth. Add new function that makes it possible. Signed-off-by: Radion Mirchevsky Signed-off-by: Mika Westerberg

[PATCH 11/18] thunderbolt: Add tb_switch_find_by_route()

2018-02-13 Thread Mika Westerberg
From: Radion Mirchevsky With the new ICM messaging there is need for find switch by route string instead of link and depth. Add new function that makes it possible. Signed-off-by: Radion Mirchevsky Signed-off-by: Mika Westerberg --- drivers/thunderbolt/switch.c | 33

[PATCH 12/18] thunderbolt: Add tb_xdomain_find_by_route()

2018-02-13 Thread Mika Westerberg
From: Radion Mirchevsky This is needed by the new ICM interface to find xdomains by route string instead of link and depth. Signed-off-by: Radion Mirchevsky Signed-off-by: Mika Westerberg ---

[PATCH 06/18] thunderbolt: Wait a bit longer for ICM to authenticate the active NVM

2018-02-13 Thread Mika Westerberg
Sometimes during cold boot ICM has not yet authenticated the active NVM image leading to timeout and failing the driver probe. Allow ICM to take some more time and increase the timeout to 3 seconds before we give up. While there fix icm_firmware_init() to return the real error code without

[PATCH 06/18] thunderbolt: Wait a bit longer for ICM to authenticate the active NVM

2018-02-13 Thread Mika Westerberg
Sometimes during cold boot ICM has not yet authenticated the active NVM image leading to timeout and failing the driver probe. Allow ICM to take some more time and increase the timeout to 3 seconds before we give up. While there fix icm_firmware_init() to return the real error code without

[PATCH 12/18] thunderbolt: Add tb_xdomain_find_by_route()

2018-02-13 Thread Mika Westerberg
From: Radion Mirchevsky This is needed by the new ICM interface to find xdomains by route string instead of link and depth. Signed-off-by: Radion Mirchevsky Signed-off-by: Mika Westerberg --- drivers/thunderbolt/xdomain.c | 40 +++-

[PATCH 4.9.y] ubifs: Massage assert in ubifs_xattr_set() wrt. init_xattrs

2018-02-13 Thread Julia Cartwright
From: Xiaolei Li This is a conceptual cherry-pick of commit d8db5b1ca9d4c57e49893d0f78e6d5ce81450cc8 upstream. The inode is not locked in init_xattrs when creating a new inode. Without this patch, there will occurs assert when booting or creating a new file, if the

[PATCH 4.9.y] ubifs: Massage assert in ubifs_xattr_set() wrt. init_xattrs

2018-02-13 Thread Julia Cartwright
From: Xiaolei Li This is a conceptual cherry-pick of commit d8db5b1ca9d4c57e49893d0f78e6d5ce81450cc8 upstream. The inode is not locked in init_xattrs when creating a new inode. Without this patch, there will occurs assert when booting or creating a new file, if the kernel config

[PATCH 13/18] thunderbolt: Add constant for approval timeout

2018-02-13 Thread Mika Westerberg
We will be using this from Titan Ridge support code as well so make it constant. Signed-off-by: Mika Westerberg --- drivers/thunderbolt/icm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/thunderbolt/icm.c

[PATCH 13/18] thunderbolt: Add constant for approval timeout

2018-02-13 Thread Mika Westerberg
We will be using this from Titan Ridge support code as well so make it constant. Signed-off-by: Mika Westerberg --- drivers/thunderbolt/icm.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/thunderbolt/icm.c b/drivers/thunderbolt/icm.c index

Re: [PATCH] fs: dcache: Avoid livelock between d_alloc_parallel and __d_add

2018-02-13 Thread Matthew Wilcox
On Tue, Feb 13, 2018 at 12:58:51PM +, Will Deacon wrote: > This patch resolves the livelock by not taking hlist_bl_lock in > d_alloc_parallel if the sequence counter is odd, since any subsequent > masked comparison with i_dir_seq will fail anyway. > > Cc: Peter Zijlstra

Re: [PATCH] fs: dcache: Avoid livelock between d_alloc_parallel and __d_add

2018-02-13 Thread Matthew Wilcox
On Tue, Feb 13, 2018 at 12:58:51PM +, Will Deacon wrote: > This patch resolves the livelock by not taking hlist_bl_lock in > d_alloc_parallel if the sequence counter is odd, since any subsequent > masked comparison with i_dir_seq will fail anyway. > > Cc: Peter Zijlstra > Cc: Al Viro >

[PATCH 14/18] thunderbolt: Move driver ready handling to struct icm

2018-02-13 Thread Mika Westerberg
Intel Titan Ridge uses slightly different format for ICM driver ready response, so add a new ->driver_ready() callback to struct icm and move the existing handling to a separate function which we then use in Falcon Ridge and Alpine Ridge. No functional changes intended. Signed-off-by: Mika

[PATCH 14/18] thunderbolt: Move driver ready handling to struct icm

2018-02-13 Thread Mika Westerberg
Intel Titan Ridge uses slightly different format for ICM driver ready response, so add a new ->driver_ready() callback to struct icm and move the existing handling to a separate function which we then use in Falcon Ridge and Alpine Ridge. No functional changes intended. Signed-off-by: Mika

[PATCH 17/18] thunderbolt: Introduce USB only (SL4) security level

2018-02-13 Thread Mika Westerberg
This new security level works so that it creates one PCIe tunnel to the connected Thunderbolt dock, removing PCIe links downstream of the dock. This leaves only the internal USB controller visible. Display Port tunnels are created normally. While there make sure security sysfs attribute returns

[PATCH 17/18] thunderbolt: Introduce USB only (SL4) security level

2018-02-13 Thread Mika Westerberg
This new security level works so that it creates one PCIe tunnel to the connected Thunderbolt dock, removing PCIe links downstream of the dock. This leaves only the internal USB controller visible. Display Port tunnels are created normally. While there make sure security sysfs attribute returns

[tip:x86/asm] x86/asm: Trim clear_page.S includes

2018-02-13 Thread tip-bot for Alexey Dobriyan
Commit-ID: 16c5055a5ff5e1ff13c5211e44514a2b1d2c1dae Gitweb: https://git.kernel.org/tip/16c5055a5ff5e1ff13c5211e44514a2b1d2c1dae Author: Alexey Dobriyan AuthorDate: Sat, 13 Jan 2018 22:06:48 +0300 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018

[tip:x86/asm] x86/asm: Trim clear_page.S includes

2018-02-13 Thread tip-bot for Alexey Dobriyan
Commit-ID: 16c5055a5ff5e1ff13c5211e44514a2b1d2c1dae Gitweb: https://git.kernel.org/tip/16c5055a5ff5e1ff13c5211e44514a2b1d2c1dae Author: Alexey Dobriyan AuthorDate: Sat, 13 Jan 2018 22:06:48 +0300 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 17:37:07 +0100 x86/asm: Trim

[PATCH 16/18] thunderbolt: Add support for preboot ACL

2018-02-13 Thread Mika Westerberg
Preboot ACL is a mechanism that allows connecting Thunderbolt devices boot time in more secure way than the legacy Thunderbolt boot support. As with the legacy boot option, this also needs to be enabled from the BIOS before booting is allowed. Difference to the legacy mode is that the userspace

[PATCH 16/18] thunderbolt: Add support for preboot ACL

2018-02-13 Thread Mika Westerberg
Preboot ACL is a mechanism that allows connecting Thunderbolt devices boot time in more secure way than the legacy Thunderbolt boot support. As with the legacy boot option, this also needs to be enabled from the BIOS before booting is allowed. Difference to the legacy mode is that the userspace

[PATCH 15/18] thunderbolt: Add 'boot' attribute for devices

2018-02-13 Thread Mika Westerberg
From: Yehezkel Bernat In various cases, Thunderbolt device can be connected by ICM on boot without waiting for approval from user. Most cases are related to OEM-specific BIOS configurations. This information is interesting for user-space as if the device isn't in SW

[PATCH 15/18] thunderbolt: Add 'boot' attribute for devices

2018-02-13 Thread Mika Westerberg
From: Yehezkel Bernat In various cases, Thunderbolt device can be connected by ICM on boot without waiting for approval from user. Most cases are related to OEM-specific BIOS configurations. This information is interesting for user-space as if the device isn't in SW ACL, it may create a friction

[PATCH 00/18] thunderbolt: Add support for Intel Titan Ridge

2018-02-13 Thread Mika Westerberg
Hi, This series adds support for Intel Titan Ridge Thunderbolt controller. Titan Ridge is the next generation Thunderbolt 3 controller and successor of Alpine Ridge. In addition to fixes and Titan Ridge support this series adds following: - USB only security level (SL4). - A new attribute

[PATCH 00/18] thunderbolt: Add support for Intel Titan Ridge

2018-02-13 Thread Mika Westerberg
Hi, This series adds support for Intel Titan Ridge Thunderbolt controller. Titan Ridge is the next generation Thunderbolt 3 controller and successor of Alpine Ridge. In addition to fixes and Titan Ridge support this series adds following: - USB only security level (SL4). - A new attribute

Re: [PATCH] kstrtox: make kstrtobool_from_user() very strict

2018-02-13 Thread Alexey Dobriyan
On Tue, Feb 13, 2018 at 06:02:27PM +0200, Andy Shevchenko wrote: > On Sat, Feb 10, 2018 at 11:11 PM, Alexey Dobriyan wrote: > > Once upon a time module parameter parsing code accepted > > 0, 1, y, n, Y and N for boolean values. Gratituous but contained > > to module code and

Re: [PATCH] kstrtox: make kstrtobool_from_user() very strict

2018-02-13 Thread Alexey Dobriyan
On Tue, Feb 13, 2018 at 06:02:27PM +0200, Andy Shevchenko wrote: > On Sat, Feb 10, 2018 at 11:11 PM, Alexey Dobriyan wrote: > > Once upon a time module parameter parsing code accepted > > 0, 1, y, n, Y and N for boolean values. Gratituous but contained > > to module code and thus tolerable. > > >

[PATCH 18/18] thunderbolt: Add support for Intel Titan Ridge

2018-02-13 Thread Mika Westerberg
From: Radion Mirchevsky Intel Titan Ridge is the next Thunderbolt 3 controller. The ICM firmware message format in Titan Ridge differs from Falcon Ridge and Alpine Ridge somewhat because it is using route strings addressing devices. In addition to that the DMA port

[PATCH 18/18] thunderbolt: Add support for Intel Titan Ridge

2018-02-13 Thread Mika Westerberg
From: Radion Mirchevsky Intel Titan Ridge is the next Thunderbolt 3 controller. The ICM firmware message format in Titan Ridge differs from Falcon Ridge and Alpine Ridge somewhat because it is using route strings addressing devices. In addition to that the DMA port of 4-channel (two port)

[PATCH v3 04/25] dt-bindings: sound: qcom: Add bindings for q6afe

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,q6afe.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644

[PATCH v3 04/25] dt-bindings: sound: qcom: Add bindings for q6afe

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,q6afe.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6afe.txt diff --git

[PATCH v3 01/25] dt-bindings: soc: qcom: Add bindings for APR bus

2018-02-13 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

[PATCH v3 01/25] dt-bindings: soc: qcom: Add bindings for APR bus

2018-02-13 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 ---

[PATCH v3 00/25] ASoC: qcom: Add support to QDSP based Audio

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla 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 to other features as we

[PATCH v3 00/25] ASoC: qcom: Add support to QDSP based Audio

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla 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 to other features as we move on. QDSP has both static and

[PATCH v3 07/25] ASoC: qcom: qdsp6: Add support to Q6ADM

2018-02-13 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,

[PATCH v3 07/25] ASoC: qcom: qdsp6: Add support to Q6ADM

2018-02-13 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 v3 06/25] dt-bindings: sound: qcom: Add bindings for q6adm

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,q6adm.txt | 31 ++ 1 file changed, 31 insertions(+) create mode 100644

[PATCH v3 06/25] dt-bindings: sound: qcom: Add bindings for q6adm

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,q6adm.txt | 31 ++ 1 file changed, 31 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6adm.txt diff --git

[tip:x86/urgent] x86/io: Define readq()/writeq() to use 64-bit type

2018-02-13 Thread tip-bot for Andy Shevchenko
Commit-ID: 0fc8483b698620ea3d8cc6635b54eccc613c23a3 Gitweb: https://git.kernel.org/tip/0fc8483b698620ea3d8cc6635b54eccc613c23a3 Author: Andy Shevchenko AuthorDate: Fri, 19 Jan 2018 16:33:22 +0200 Committer: Ingo Molnar CommitDate:

[tip:x86/urgent] x86/io: Define readq()/writeq() to use 64-bit type

2018-02-13 Thread tip-bot for Andy Shevchenko
Commit-ID: 0fc8483b698620ea3d8cc6635b54eccc613c23a3 Gitweb: https://git.kernel.org/tip/0fc8483b698620ea3d8cc6635b54eccc613c23a3 Author: Andy Shevchenko AuthorDate: Fri, 19 Jan 2018 16:33:22 +0200 Committer: Ingo Molnar CommitDate: Tue, 13 Feb 2018 17:14:41 +0100 x86/io: Define

[PATCH v3 05/25] ASoC: qcom: qdsp6: Add support to Q6AFE

2018-02-13 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

[PATCH v3 05/25] ASoC: qcom: qdsp6: Add support to Q6AFE

2018-02-13 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 v3 08/25] dt-bindings: sound: qcom: Add bindings for q6asm

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,q6asm.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644

[PATCH v3 08/25] dt-bindings: sound: qcom: Add bindings for q6asm

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- .../devicetree/bindings/sound/qcom,q6asm.txt | 38 ++ 1 file changed, 38 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/qcom,q6asm.txt diff --git

[PATCH v3 03/25] ASoC: qcom: qdsp6: Add common qdsp6 helper functions

2018-02-13 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 v3 03/25] ASoC: qcom: qdsp6: Add common qdsp6 helper functions

2018-02-13 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/Kconfig | 14 ++

[PATCH v3 09/25] ASoC: qcom: qdsp6: Add support to Q6ASM

2018-02-13 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 v3 09/25] ASoC: qcom: qdsp6: Add support to Q6ASM

2018-02-13 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 v3 10/25] ASoC: qcom: q6asm: Add support to memory map and unmap

2018-02-13 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 | 312 +++

[PATCH v3 10/25] ASoC: qcom: q6asm: Add support to memory map and unmap

2018-02-13 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 | 312 +++ sound/soc/qcom/qdsp6/q6asm.h | 5 + 2 files changed, 317

Re: [PATCH v2 11/11] watchdog/hpwdt: Update driver version.

2018-02-13 Thread Guenter Roeck
On Sun, Feb 11, 2018 at 10:21:11PM -0700, Jerry Hoemann wrote: > Update driver version number to reflect changes. > > Signed-off-by: Jerry Hoemann > --- > drivers/watchdog/hpwdt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git

Re: [PATCH v2 11/11] watchdog/hpwdt: Update driver version.

2018-02-13 Thread Guenter Roeck
On Sun, Feb 11, 2018 at 10:21:11PM -0700, Jerry Hoemann wrote: > Update driver version number to reflect changes. > > Signed-off-by: Jerry Hoemann > --- > drivers/watchdog/hpwdt.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/watchdog/hpwdt.c

[PATCH v3 16/25] ASoC: qcom: q6afe: add SLIMBus port Support

2018-02-13 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 --- include/dt-bindings/sound/qcom,q6afe.h | 14 sound/soc/qcom/qdsp6/q6afe.c

[PATCH v3 16/25] ASoC: qcom: q6afe: add SLIMBus port Support

2018-02-13 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 --- include/dt-bindings/sound/qcom,q6afe.h | 14 sound/soc/qcom/qdsp6/q6afe.c | 129 +

[PATCH v3 14/25] ASoC: qcom: qdsp6: Add support to q6afe dai driver

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6afe backend dais driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/Makefile| 2 +- sound/soc/qcom/qdsp6/q6afe-dai.c | 280

[PATCH v3 14/25] ASoC: qcom: qdsp6: Add support to q6afe dai driver

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to q6afe backend dais driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/Makefile| 2 +- sound/soc/qcom/qdsp6/q6afe-dai.c | 280 +++ sound/soc/qcom/qdsp6/q6afe.h | 3 + 3 files

Re: [PATCH v2] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2018-02-13 Thread Andy Shevchenko
On Tue, Feb 13, 2018 at 7:01 PM, Andy Shevchenko wrote: > Similar approach is used in spi-pxa2xx.c (check > pxa2xx_spi_pci_compound_match). Another approach might be a registration of I2C board info from dell-smo8800.c. Not sure if it better, because theoretically

Re: [PATCH v2] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2018-02-13 Thread Andy Shevchenko
On Tue, Feb 13, 2018 at 7:01 PM, Andy Shevchenko wrote: > Similar approach is used in spi-pxa2xx.c (check > pxa2xx_spi_pci_compound_match). Another approach might be a registration of I2C board info from dell-smo8800.c. Not sure if it better, because theoretically user may disable that one,

[PATCH v3 18/25] ASoC: qcom: q6routing: add support to all SLIMBus Mixers

2018-02-13 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 --- sound/soc/qcom/qdsp6/q6routing.c | 261

[PATCH v3 18/25] ASoC: qcom: q6routing: add support to all SLIMBus Mixers

2018-02-13 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 --- sound/soc/qcom/qdsp6/q6routing.c | 261 +++ 1 file changed, 261 insertions(+) diff --git

[PATCH v3 15/25] ASoC: qcom: qdsp6: Add support to q6asm dai driver

2018-02-13 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 --- sound/soc/qcom/qdsp6/Makefile| 2 +-

[PATCH v3 15/25] ASoC: qcom: qdsp6: Add support to q6asm dai driver

2018-02-13 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 --- sound/soc/qcom/qdsp6/Makefile| 2 +- sound/soc/qcom/qdsp6/q6asm-dai.c | 621 +++

Re: [PATCH v5 0/2] kprobes: improve error handling when arming/disarming kprobes

2018-02-13 Thread Joe Lawrence
Was this patch ever picked up in the tip tree? (Maybe I'm not looking in the right branch?) Thanks, -- Joe On 01/19/2018 02:06 AM, Masami Hiramatsu wrote: > Hi Ingo, > > Could you pick this to tip tree? > > Thank you, > > On Wed, 10 Jan 2018 00:51:22 +0100 > Jessica Yu

Re: [PATCH v5 0/2] kprobes: improve error handling when arming/disarming kprobes

2018-02-13 Thread Joe Lawrence
Was this patch ever picked up in the tip tree? (Maybe I'm not looking in the right branch?) Thanks, -- Joe On 01/19/2018 02:06 AM, Masami Hiramatsu wrote: > Hi Ingo, > > Could you pick this to tip tree? > > Thank you, > > On Wed, 10 Jan 2018 00:51:22 +0100 > Jessica Yu wrote: > >> Hi, >>

[PATCH v3 13/25] ASoC: qcom: qdsp6: Add support to q6routing driver

2018-02-13 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 v3 13/25] ASoC: qcom: qdsp6: Add support to q6routing driver

2018-02-13 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/qdsp6/Makefile

[PATCH v3 17/25] ASoC: qcom: q6afe-dai: add support to slim afe dais

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to SLIMBus AFE backend dais. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6afe-dai.c | 211 +++ 1 file changed, 211

[PATCH v3 17/25] ASoC: qcom: q6afe-dai: add support to slim afe dais

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to SLIMBus AFE backend dais. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6afe-dai.c | 211 +++ 1 file changed, 211 insertions(+) diff --git a/sound/soc/qcom/qdsp6/q6afe-dai.c

Re: [PATCH v2] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2018-02-13 Thread Andy Shevchenko
On Tue, Feb 13, 2018 at 6:50 PM, Pali Rohár wrote: > On Tuesday 13 February 2018 17:06:19 Andy Shevchenko wrote: >> On Tue, Feb 13, 2018 at 5:00 PM, Pali Rohár wrote: >> > On Tuesday 13 February 2018 16:55:00 Andy Shevchenko wrote: >> >> On Mon, Feb

Re: [PATCH v2] i2c: i801: Register optional lis3lv02d i2c device on Dell machines

2018-02-13 Thread Andy Shevchenko
On Tue, Feb 13, 2018 at 6:50 PM, Pali Rohár wrote: > On Tuesday 13 February 2018 17:06:19 Andy Shevchenko wrote: >> On Tue, Feb 13, 2018 at 5:00 PM, Pali Rohár wrote: >> > On Tuesday 13 February 2018 16:55:00 Andy Shevchenko wrote: >> >> On Mon, Feb 12, 2018 at 5:30 PM, Pali Rohár wrote: >> >>

[PATCH v3 20/25] ASoC: qcom: q6afe: add support to MI2S sysclks

2018-02-13 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 ---

[PATCH v3 20/25] ASoC: qcom: q6afe: add support to MI2S sysclks

2018-02-13 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 --- sound/soc/qcom/qdsp6/q6afe.c | 115 +++

[PATCH v3 21/25] ASoC: qcom: q6afe-dai: add support to 4 MI2S ports

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to 4 MI2S dais supported on LPASS IP. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6afe-dai.c | 154 +++ 1 file changed, 154

[PATCH v3 21/25] ASoC: qcom: q6afe-dai: add support to 4 MI2S ports

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to 4 MI2S dais supported on LPASS IP. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/qdsp6/q6afe-dai.c | 154 +++ 1 file changed, 154 insertions(+) diff --git a/sound/soc/qcom/qdsp6/q6afe-dai.c

[PATCH v3 12/25] ASoC: qcom: qdsp6: Add support to Q6CORE

2018-02-13 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 +

[PATCH v3 19/25] ASoC: qcom: q6afe: add support to MI2S ports

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- include/dt-bindings/sound/qcom,q6afe.h | 10 +++ sound/soc/qcom/qdsp6/q6afe.c | 111 + sound/soc/qcom/qdsp6/q6afe.h

[PATCH v3 12/25] ASoC: qcom: qdsp6: Add support to Q6CORE

2018-02-13 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 v3 19/25] ASoC: qcom: q6afe: add support to MI2S ports

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla Signed-off-by: Srinivas Kandagatla --- include/dt-bindings/sound/qcom,q6afe.h | 10 +++ sound/soc/qcom/qdsp6/q6afe.c | 111 + sound/soc/qcom/qdsp6/q6afe.h | 10 +++ 3 files changed, 131 insertions(+) diff --git

[PATCH v3 22/25] ASoC: qcom: q6routing: add support to MI2S Mixers

2018-02-13 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 --- sound/soc/qcom/qdsp6/q6routing.c | 142

[PATCH v3 22/25] ASoC: qcom: q6routing: add support to MI2S Mixers

2018-02-13 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 --- sound/soc/qcom/qdsp6/q6routing.c | 142 +++ 1 file changed, 142 insertions(+) diff --git

[PATCH v3 25/25] arm64: dts: msm8996: db820c: Add sound card support

2018-02-13 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 | 44 +++-

[PATCH v3 25/25] arm64: dts: msm8996: db820c: Add sound card support

2018-02-13 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 | 44 +++- arch/arm64/boot/dts/qcom/msm8996.dtsi| 62 2 files changed,

Re: [PATCH] x86/microcode/intel: Use 64-bit arithmetic instead of 32-bit

2018-02-13 Thread Thomas Gleixner
On Tue, 13 Feb 2018, Gustavo A. R. Silva wrote: > Add suffix ULL to constant 1024 in order to give the compiler complete > information about the proper arithmetic to use. Notice that this > constant is used in a context that expects an expression of type > u64 (64 bits, unsigned). > > The

Re: [PATCH] x86/microcode/intel: Use 64-bit arithmetic instead of 32-bit

2018-02-13 Thread Thomas Gleixner
On Tue, 13 Feb 2018, Gustavo A. R. Silva wrote: > Add suffix ULL to constant 1024 in order to give the compiler complete > information about the proper arithmetic to use. Notice that this > constant is used in a context that expects an expression of type > u64 (64 bits, unsigned). > > The

[PATCH v3 23/25] dt-bindings: sound: qcom: Add devicetree bindings for apq8096

2018-02-13 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 | 89 ++ 1 file

[PATCH v3 23/25] dt-bindings: sound: qcom: Add devicetree bindings for apq8096

2018-02-13 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 | 89 ++ 1 file changed, 89 insertions(+) create mode 100644

[PATCH v3 24/25] ASoC: qcom: apq8096: Add db820c machine driver

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to DB820c machine driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 8 +++ sound/soc/qcom/apq8096.c | 173 +++

[PATCH v3 24/25] ASoC: qcom: apq8096: Add db820c machine driver

2018-02-13 Thread srinivas . kandagatla
From: Srinivas Kandagatla This patch adds support to DB820c machine driver. Signed-off-by: Srinivas Kandagatla --- sound/soc/qcom/Kconfig | 8 +++ sound/soc/qcom/apq8096.c | 173 +++ 2 files changed, 181 insertions(+) create mode 100644

[PATCH v3 11/25] ASoC: qcom: q6asm: add support to audio stream apis

2018-02-13 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 --- include/dt-bindings/sound/qcom,q6asm.h | 22 ++ sound/soc/qcom/qdsp6/q6asm.c

[PATCH v3 11/25] ASoC: qcom: q6asm: add support to audio stream apis

2018-02-13 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 --- include/dt-bindings/sound/qcom,q6asm.h | 22 ++ sound/soc/qcom/qdsp6/q6asm.c | 503 -

[PATCH 04/18] thunderbolt: Do not overwrite error code when domain adding fails

2018-02-13 Thread Mika Westerberg
If the Thunderbolt domain adding fails for some reason we currently always return -EIO instead of the real error code. To make debugging easier return the actual error code instead. Signed-off-by: Mika Westerberg --- drivers/thunderbolt/nhi.c | 2 +- 1 file

[PATCH 04/18] thunderbolt: Do not overwrite error code when domain adding fails

2018-02-13 Thread Mika Westerberg
If the Thunderbolt domain adding fails for some reason we currently always return -EIO instead of the real error code. To make debugging easier return the actual error code instead. Signed-off-by: Mika Westerberg --- drivers/thunderbolt/nhi.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH v3 02/25] soc: qcom: add support to APR bus driver

2018-02-13 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 v3 02/25] soc: qcom: add support to APR bus driver

2018-02-13 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

Re: [PATCH] clk: keystone: sci-clk: add support for dynamically probing clocks

2018-02-13 Thread Santosh Shilimkar
On 2/13/2018 8:55 AM, Tero Kristo wrote: Currently, the driver contains a large hints table for clocks that exist on a device, however, it is possible to probe the clocks from the firmware also. Add support for this, and drop the clock hints table support from the driver completely. This causes

Re: [PATCH] clk: keystone: sci-clk: add support for dynamically probing clocks

2018-02-13 Thread Santosh Shilimkar
On 2/13/2018 8:55 AM, Tero Kristo wrote: Currently, the driver contains a large hints table for clocks that exist on a device, however, it is possible to probe the clocks from the firmware also. Add support for this, and drop the clock hints table support from the driver completely. This causes

[PATCH] efi/apple-properties: Delete an error message for a failed memory allocation in unmarshal_devices()

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 17:52:10 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring ---

[PATCH] efi/apple-properties: Delete an error message for a failed memory allocation in unmarshal_devices()

2018-02-13 Thread SF Markus Elfring
From: Markus Elfring Date: Tue, 13 Feb 2018 17:52:10 +0100 Omit an extra message for a memory allocation failure in this function. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring --- drivers/firmware/efi/apple-properties.c | 4 +--- 1 file changed, 1

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