Re: [PATCH v7 3/6] mfd: at91-usart: added mfd driver for usart

2018-06-14 Thread Radu Pirea
On 06/14/2018 10:58 AM, Ludovic Desroches wrote: On Wed, Jun 13, 2018 at 07:36:18PM +0300, Radu Pirea wrote: This mfd driver is just a wrapper over atmel_serial driver and spi-at91-usart driver. Selection of one of the drivers is based on a property from device tree. If the property is not

Re: [PATCH v7 3/6] mfd: at91-usart: added mfd driver for usart

2018-06-14 Thread Radu Pirea
On 06/14/2018 10:58 AM, Ludovic Desroches wrote: On Wed, Jun 13, 2018 at 07:36:18PM +0300, Radu Pirea wrote: This mfd driver is just a wrapper over atmel_serial driver and spi-at91-usart driver. Selection of one of the drivers is based on a property from device tree. If the property is not

Re: [PATCH 4.4 038/268] Btrfs: fix scrub to repair raid6 corruption

2018-06-14 Thread Greg Kroah-Hartman
On Fri, Jun 08, 2018 at 07:42:47PM +0100, Ben Hutchings wrote: > On Mon, 2018-05-28 at 12:00 +0200, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Liu Bo > > > > [ Upstream commit

Re: [PATCH 4.4 038/268] Btrfs: fix scrub to repair raid6 corruption

2018-06-14 Thread Greg Kroah-Hartman
On Fri, Jun 08, 2018 at 07:42:47PM +0100, Ben Hutchings wrote: > On Mon, 2018-05-28 at 12:00 +0200, Greg Kroah-Hartman wrote: > > 4.4-stable review patch.  If anyone has any objections, please let me know. > > > > -- > > > > From: Liu Bo > > > > [ Upstream commit

Re: [PATCH 2/2] ubi: introduce ubi.nocheck parameter to skip CRC check when attaching ubi vol

2018-06-14 Thread Richard Weinberger
Am Donnerstag, 14. Juni 2018, 10:04:36 CEST schrieb Boris Brezillon: > On Thu, 14 Jun 2018 09:29:42 +0200 > Richard Weinberger wrote: > > > Quentin, > > > > Am Montag, 11. Juni 2018, 12:20:37 CEST schrieb Quentin Schulz: > > > If we go for a per-image flag, adding nocheck to the ioctl makes

Re: [PATCH 2/2] ubi: introduce ubi.nocheck parameter to skip CRC check when attaching ubi vol

2018-06-14 Thread Richard Weinberger
Am Donnerstag, 14. Juni 2018, 10:04:36 CEST schrieb Boris Brezillon: > On Thu, 14 Jun 2018 09:29:42 +0200 > Richard Weinberger wrote: > > > Quentin, > > > > Am Montag, 11. Juni 2018, 12:20:37 CEST schrieb Quentin Schulz: > > > If we go for a per-image flag, adding nocheck to the ioctl makes

Re: [PATCH 2/2] ubi: introduce ubi.nocheck parameter to skip CRC check when attaching ubi vol

2018-06-14 Thread Boris Brezillon
On Thu, 14 Jun 2018 09:29:42 +0200 Richard Weinberger wrote: > Quentin, > > Am Montag, 11. Juni 2018, 12:20:37 CEST schrieb Quentin Schulz: > > If we go for a per-image flag, adding nocheck to the ioctl makes sense, > > otherwise we have to find a way to select only one or more volumes for > >

Re: [PATCH 2/2] ubi: introduce ubi.nocheck parameter to skip CRC check when attaching ubi vol

2018-06-14 Thread Boris Brezillon
On Thu, 14 Jun 2018 09:29:42 +0200 Richard Weinberger wrote: > Quentin, > > Am Montag, 11. Juni 2018, 12:20:37 CEST schrieb Quentin Schulz: > > If we go for a per-image flag, adding nocheck to the ioctl makes sense, > > otherwise we have to find a way to select only one or more volumes for > >

Re: [PATCH v2 0/3] mtd: rawnand: denali: add new clocks and improve setup_data_interface

2018-06-14 Thread Boris Brezillon
On Thu, 14 Jun 2018 10:02:12 +0200 Richard Weinberger wrote: > Am Donnerstag, 14. Juni 2018, 09:38:35 CEST schrieb Boris Brezillon: > > On Thu, 14 Jun 2018 16:29:59 +0900 > > Masahiro Yamada wrote: > > > > > Hi Richard, > > > > > > 2018-06-14 16:25 GMT+09:00 Richard Weinberger : > > > >

Re: [PATCH v2 0/3] mtd: rawnand: denali: add new clocks and improve setup_data_interface

2018-06-14 Thread Boris Brezillon
On Thu, 14 Jun 2018 10:02:12 +0200 Richard Weinberger wrote: > Am Donnerstag, 14. Juni 2018, 09:38:35 CEST schrieb Boris Brezillon: > > On Thu, 14 Jun 2018 16:29:59 +0900 > > Masahiro Yamada wrote: > > > > > Hi Richard, > > > > > > 2018-06-14 16:25 GMT+09:00 Richard Weinberger : > > > >

Re: [PATCH 3/7] MIPS: intel: Add initial support for Intel MIPS SoCs

2018-06-14 Thread Hua Ma
On 6/13/2018 6:31 AM, Rob Herring wrote: On Tue, Jun 12, 2018 at 01:40:30PM +0800, Songjun Wu wrote: From: Hua Ma Add initial support for Intel MIPS interAptiv SoCs made by Intel. This series will add support for the GRX500 family. The series allows booting a minimal system using a

Re: [PATCH v2 0/3] mtd: rawnand: denali: add new clocks and improve setup_data_interface

2018-06-14 Thread Richard Weinberger
Am Donnerstag, 14. Juni 2018, 09:38:35 CEST schrieb Boris Brezillon: > On Thu, 14 Jun 2018 16:29:59 +0900 > Masahiro Yamada wrote: > > > Hi Richard, > > > > 2018-06-14 16:25 GMT+09:00 Richard Weinberger : > > > Masahiro, > > > > > > Am Donnerstag, 14. Juni 2018, 07:11:04 CEST schrieb Masahiro

Re: [PATCH 3/7] MIPS: intel: Add initial support for Intel MIPS SoCs

2018-06-14 Thread Hua Ma
On 6/13/2018 6:31 AM, Rob Herring wrote: On Tue, Jun 12, 2018 at 01:40:30PM +0800, Songjun Wu wrote: From: Hua Ma Add initial support for Intel MIPS interAptiv SoCs made by Intel. This series will add support for the GRX500 family. The series allows booting a minimal system using a

Re: [PATCH v2 0/3] mtd: rawnand: denali: add new clocks and improve setup_data_interface

2018-06-14 Thread Richard Weinberger
Am Donnerstag, 14. Juni 2018, 09:38:35 CEST schrieb Boris Brezillon: > On Thu, 14 Jun 2018 16:29:59 +0900 > Masahiro Yamada wrote: > > > Hi Richard, > > > > 2018-06-14 16:25 GMT+09:00 Richard Weinberger : > > > Masahiro, > > > > > > Am Donnerstag, 14. Juni 2018, 07:11:04 CEST schrieb Masahiro

Re: [PATCH v7 3/6] mfd: at91-usart: added mfd driver for usart

2018-06-14 Thread Ludovic Desroches
On Wed, Jun 13, 2018 at 07:36:18PM +0300, Radu Pirea wrote: > This mfd driver is just a wrapper over atmel_serial driver and > spi-at91-usart driver. Selection of one of the drivers is based on a > property from device tree. If the property is not specified, the default > driver is atmel_serial. >

Re: [PATCH v7 3/6] mfd: at91-usart: added mfd driver for usart

2018-06-14 Thread Ludovic Desroches
On Wed, Jun 13, 2018 at 07:36:18PM +0300, Radu Pirea wrote: > This mfd driver is just a wrapper over atmel_serial driver and > spi-at91-usart driver. Selection of one of the drivers is based on a > property from device tree. If the property is not specified, the default > driver is atmel_serial. >

Re: [PATCH] Use 'imply' with SEV Kconfig CRYPTO dependencies

2018-06-14 Thread Richard Weinberger
On Wed, May 23, 2018 at 4:46 PM, Borislav Petkov wrote: > + Tom and Brijesh. > > On Mon, May 21, 2018 at 10:12:53AM -0500, Janakarajan Natarajan wrote: >> Use Kconfig imply 'option' when specifying SEV CRYPTO dependencies. >> >> Example configuration: >> . >> . >> CONFIG_CRYPTO_DEV_CCP=y >>

Re: [PATCH] Use 'imply' with SEV Kconfig CRYPTO dependencies

2018-06-14 Thread Richard Weinberger
On Wed, May 23, 2018 at 4:46 PM, Borislav Petkov wrote: > + Tom and Brijesh. > > On Mon, May 21, 2018 at 10:12:53AM -0500, Janakarajan Natarajan wrote: >> Use Kconfig imply 'option' when specifying SEV CRYPTO dependencies. >> >> Example configuration: >> . >> . >> CONFIG_CRYPTO_DEV_CCP=y >>

Re: [PATCH] ACPI : dock: add error handling for acpi_bus_get_device

2018-06-14 Thread Rafael J. Wysocki
On Tue, Jun 12, 2018 at 6:38 AM, Zhouyang Jia wrote: > When acpi_bus_get_device fails, the lack of error-handling code may > cause unexpected results. It is perfectly predictable in this particular case: adev will be NULL and acpi_device_enumerated(adev) will return false. > This patch adds

Re: [PATCH] ACPI : dock: add error handling for acpi_bus_get_device

2018-06-14 Thread Rafael J. Wysocki
On Tue, Jun 12, 2018 at 6:38 AM, Zhouyang Jia wrote: > When acpi_bus_get_device fails, the lack of error-handling code may > cause unexpected results. It is perfectly predictable in this particular case: adev will be NULL and acpi_device_enumerated(adev) will return false. > This patch adds

Re: [PATCH] optoe: driver to read/write SFP/QSFP EEPROMs

2018-06-14 Thread Arnd Bergmann
On Thu, Jun 14, 2018 at 2:40 AM, Don Bollinger wrote: > On Mon, Jun 11, 2018 at 03:43:02PM +0200, Arnd Bergmann wrote: >> On Mon, Jun 11, 2018 at 6:25 AM, Don Bollinger >> wrote: >> >> I don't understand this part: I see some older patches introducing an >> EEPROM_CLASS, but nothing ever seems

Re: [PATCH] optoe: driver to read/write SFP/QSFP EEPROMs

2018-06-14 Thread Arnd Bergmann
On Thu, Jun 14, 2018 at 2:40 AM, Don Bollinger wrote: > On Mon, Jun 11, 2018 at 03:43:02PM +0200, Arnd Bergmann wrote: >> On Mon, Jun 11, 2018 at 6:25 AM, Don Bollinger >> wrote: >> >> I don't understand this part: I see some older patches introducing an >> EEPROM_CLASS, but nothing ever seems

[PATCH 1/2] dt-bindings: clock: Introduce QCOM LPASS clock bindings

2018-06-14 Thread Taniya Das
Add device tree bindings for Low Power Audio subsystem clock controller for Qualcomm Technology Inc's SDM845 SoCs. Signed-off-by: Taniya Das --- .../devicetree/bindings/clock/qcom,lpasscc.txt | 46 ++ include/dt-bindings/clock/qcom,lpass-sdm845.h | 18 + 2

[PATCH 2/2] clk: qcom: Add lpass clock controller driver for SDM845

2018-06-14 Thread Taniya Das
Add support for the lpass clock controller found on SDM845 based devices. This would allow lpass peripheral loader drivers to control the clocks to bring the subsystem out of reset. Signed-off-by: Taniya Das --- drivers/clk/qcom/Kconfig | 9 ++ drivers/clk/qcom/Makefile | 1

[PATCH 1/2] dt-bindings: clock: Introduce QCOM LPASS clock bindings

2018-06-14 Thread Taniya Das
Add device tree bindings for Low Power Audio subsystem clock controller for Qualcomm Technology Inc's SDM845 SoCs. Signed-off-by: Taniya Das --- .../devicetree/bindings/clock/qcom,lpasscc.txt | 46 ++ include/dt-bindings/clock/qcom,lpass-sdm845.h | 18 + 2

[PATCH 2/2] clk: qcom: Add lpass clock controller driver for SDM845

2018-06-14 Thread Taniya Das
Add support for the lpass clock controller found on SDM845 based devices. This would allow lpass peripheral loader drivers to control the clocks to bring the subsystem out of reset. Signed-off-by: Taniya Das --- drivers/clk/qcom/Kconfig | 9 ++ drivers/clk/qcom/Makefile | 1

[PATCH 0/2] Add support for LPASS clock controller for SDM845

2018-06-14 Thread Taniya Das
Add support for the lpass clock controller found on SDM845 based devices. This would allow lpass peripheral loader drivers to control the clocks to bring the subsystem out of reset. Taniya Das (2): dt-bindings: clock: Introduce QCOM LPASS clock bindings clk: qcom: Add lpass clock controller

[PATCH 0/2] Add support for LPASS clock controller for SDM845

2018-06-14 Thread Taniya Das
Add support for the lpass clock controller found on SDM845 based devices. This would allow lpass peripheral loader drivers to control the clocks to bring the subsystem out of reset. Taniya Das (2): dt-bindings: clock: Introduce QCOM LPASS clock bindings clk: qcom: Add lpass clock controller

Re: [PATCH v2 0/3] mtd: rawnand: denali: add new clocks and improve setup_data_interface

2018-06-14 Thread Boris Brezillon
On Thu, 14 Jun 2018 16:29:59 +0900 Masahiro Yamada wrote: > Hi Richard, > > 2018-06-14 16:25 GMT+09:00 Richard Weinberger : > > Masahiro, > > > > Am Donnerstag, 14. Juni 2018, 07:11:04 CEST schrieb Masahiro Yamada: > >> > >> The ->setup_data_interface() hook needs to know the clock frequency.

[PATCH v2 net-next 6/6] Documentation: networking: cpsw: add MQPRIO & CBS offload examples

2018-06-14 Thread Ivan Khoronzhuk
This document describes MQPRIO and CBS Qdisc offload configuration for cpsw driver based on examples. It potentially can be used in audio video bridging (AVB) and time sensitive networking (TSN). Signed-off-by: Ivan Khoronzhuk --- Documentation/networking/ti-cpsw.txt | 540

Re: [PATCH v2 0/3] mtd: rawnand: denali: add new clocks and improve setup_data_interface

2018-06-14 Thread Boris Brezillon
On Thu, 14 Jun 2018 16:29:59 +0900 Masahiro Yamada wrote: > Hi Richard, > > 2018-06-14 16:25 GMT+09:00 Richard Weinberger : > > Masahiro, > > > > Am Donnerstag, 14. Juni 2018, 07:11:04 CEST schrieb Masahiro Yamada: > >> > >> The ->setup_data_interface() hook needs to know the clock frequency.

[PATCH v2 net-next 6/6] Documentation: networking: cpsw: add MQPRIO & CBS offload examples

2018-06-14 Thread Ivan Khoronzhuk
This document describes MQPRIO and CBS Qdisc offload configuration for cpsw driver based on examples. It potentially can be used in audio video bridging (AVB) and time sensitive networking (TSN). Signed-off-by: Ivan Khoronzhuk --- Documentation/networking/ti-cpsw.txt | 540

Re: [PATCH v2 0/3] mtd: rawnand: denali: add new clocks and improve setup_data_interface

2018-06-14 Thread Masahiro Yamada
Hi Richard, 2018-06-14 16:25 GMT+09:00 Richard Weinberger : > Masahiro, > > Am Donnerstag, 14. Juni 2018, 07:11:04 CEST schrieb Masahiro Yamada: >> >> The ->setup_data_interface() hook needs to know the clock frequency. >> In fact, this IP needs three clocks, bus "which clock?" is really >>

Re: [PATCH v2 0/3] mtd: rawnand: denali: add new clocks and improve setup_data_interface

2018-06-14 Thread Masahiro Yamada
Hi Richard, 2018-06-14 16:25 GMT+09:00 Richard Weinberger : > Masahiro, > > Am Donnerstag, 14. Juni 2018, 07:11:04 CEST schrieb Masahiro Yamada: >> >> The ->setup_data_interface() hook needs to know the clock frequency. >> In fact, this IP needs three clocks, bus "which clock?" is really >>

Re: [PATCH 2/2] ubi: introduce ubi.nocheck parameter to skip CRC check when attaching ubi vol

2018-06-14 Thread Richard Weinberger
Quentin, Am Montag, 11. Juni 2018, 12:20:37 CEST schrieb Quentin Schulz: > If we go for a per-image flag, adding nocheck to the ioctl makes sense, > otherwise we have to find a way to select only one or more volumes for > which the nocheck flag should be set. That being said, I'm not sure a >

Re: [PATCH 2/2] ubi: introduce ubi.nocheck parameter to skip CRC check when attaching ubi vol

2018-06-14 Thread Richard Weinberger
Quentin, Am Montag, 11. Juni 2018, 12:20:37 CEST schrieb Quentin Schulz: > If we go for a per-image flag, adding nocheck to the ioctl makes sense, > otherwise we have to find a way to select only one or more volumes for > which the nocheck flag should be set. That being said, I'm not sure a >

Re: [PATCH v2 0/3] mtd: rawnand: denali: add new clocks and improve setup_data_interface

2018-06-14 Thread Richard Weinberger
Masahiro, Am Donnerstag, 14. Juni 2018, 07:11:04 CEST schrieb Masahiro Yamada: > > The ->setup_data_interface() hook needs to know the clock frequency. > In fact, this IP needs three clocks, bus "which clock?" is really > confusing. (It is not described in the DT-binding at all.) > > This

Re: [PATCH v2 0/3] mtd: rawnand: denali: add new clocks and improve setup_data_interface

2018-06-14 Thread Richard Weinberger
Masahiro, Am Donnerstag, 14. Juni 2018, 07:11:04 CEST schrieb Masahiro Yamada: > > The ->setup_data_interface() hook needs to know the clock frequency. > In fact, this IP needs three clocks, bus "which clock?" is really > confusing. (It is not described in the DT-binding at all.) > > This

Re: [PATCH v2] x86/e820: put !E820_TYPE_RAM regions into memblock.reserved

2018-06-14 Thread Oscar Salvador
On Thu, Jun 14, 2018 at 06:34:55AM +, Naoya Horiguchi wrote: > On Thu, Jun 14, 2018 at 07:38:59AM +0200, Oscar Salvador wrote: > > On Thu, Jun 14, 2018 at 05:16:18AM +, Naoya Horiguchi wrote: > ... > > > > > > My concern is that there are a few E820 memory types rather than > > >

Re: [PATCH v2] x86/e820: put !E820_TYPE_RAM regions into memblock.reserved

2018-06-14 Thread Oscar Salvador
On Thu, Jun 14, 2018 at 06:34:55AM +, Naoya Horiguchi wrote: > On Thu, Jun 14, 2018 at 07:38:59AM +0200, Oscar Salvador wrote: > > On Thu, Jun 14, 2018 at 05:16:18AM +, Naoya Horiguchi wrote: > ... > > > > > > My concern is that there are a few E820 memory types rather than > > >

[PATCH v3 7/7] MAINTAINERS: add an entry for MediaTek Bluetooth driver

2018-06-14 Thread sean.wang
From: Sean Wang Add an entry for the MediaTek Bluetooth driver. Signed-off-by: Sean Wang --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f15bc83..71e25f2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8988,6 +8988,14 @@ F:

Re: dm bufio: Reduce dm_bufio_lock contention

2018-06-14 Thread jing xia
Thank for your comment,I appreciate it. On Wed, Jun 13, 2018 at 5:20 AM, Mike Snitzer wrote: > On Tue, Jun 12 2018 at 4:03am -0400, > Jing Xia wrote: > >> Performance test in android reports that the phone sometimes gets >> hanged and shows black screen for about several minutes.The sysdump

[PATCH v3 7/7] MAINTAINERS: add an entry for MediaTek Bluetooth driver

2018-06-14 Thread sean.wang
From: Sean Wang Add an entry for the MediaTek Bluetooth driver. Signed-off-by: Sean Wang --- MAINTAINERS | 8 1 file changed, 8 insertions(+) diff --git a/MAINTAINERS b/MAINTAINERS index f15bc83..71e25f2 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -8988,6 +8988,14 @@ F:

Re: dm bufio: Reduce dm_bufio_lock contention

2018-06-14 Thread jing xia
Thank for your comment,I appreciate it. On Wed, Jun 13, 2018 at 5:20 AM, Mike Snitzer wrote: > On Tue, Jun 12 2018 at 4:03am -0400, > Jing Xia wrote: > >> Performance test in android reports that the phone sometimes gets >> hanged and shows black screen for about several minutes.The sysdump

[PATCH v3 2/7] serdev: add dev_pm_domain_attach|detach()

2018-06-14 Thread sean.wang
From: Sean Wang In order to open up the required power gate before any operation can be effectively performed over the serial bus between CPU and serdev, it's clearly essential to add common attach functions for PM domains to serdev at the probe phase. Similarly, the relevant dettach function

[PATCH v3 5/7] Bluetooth: Extend btuart driver for join more vendor devices

2018-06-14 Thread sean.wang
From: Sean Wang Adding an independent btuart.h header allows these essential definitions can be reused in vendor driver. Also, struct btuart_vnd is extended with additional callbacks such as .init initializing vendor data, .shtudown, .recv and .send supporting SoC specific framing for that

[PATCH v3 2/7] serdev: add dev_pm_domain_attach|detach()

2018-06-14 Thread sean.wang
From: Sean Wang In order to open up the required power gate before any operation can be effectively performed over the serial bus between CPU and serdev, it's clearly essential to add common attach functions for PM domains to serdev at the probe phase. Similarly, the relevant dettach function

[PATCH v3 5/7] Bluetooth: Extend btuart driver for join more vendor devices

2018-06-14 Thread sean.wang
From: Sean Wang Adding an independent btuart.h header allows these essential definitions can be reused in vendor driver. Also, struct btuart_vnd is extended with additional callbacks such as .init initializing vendor data, .shtudown, .recv and .send supporting SoC specific framing for that

[PATCH v3 0/7] add support for Bluetooth on MT7622 SoC

2018-06-14 Thread sean.wang
From: Sean Wang v3 and changes since v2 * all changes happen on patch 6 - fix up SPDX license style for btmtkuart.h. - change firmware download from in ACL data to in HCI commands and then remove unused mtk_acl_wmt_sync and related code. - add a workaround replacing bad vendor event id

[PATCH v3 3/7] Bluetooth: Add new serdev based driver for UART attached controllers

2018-06-14 Thread sean.wang
From: Marcel Holtmann This is a from scratch written driver to run H:4 on serdev based system with a Bluetooth controller attached via an UART. It is currently tested on RPi3 and it has Broadcom integration. It is DT only and is missing GPIO and runtime power management integration. Also Apple

[PATCH v3 6/7] Bluetooth: mediatek: Add protocol support for MediaTek serial devices

2018-06-14 Thread sean.wang
From: Sean Wang This adds a driver to run on the top of btuart driver for the MediaTek serial protocol based on running H:4, which can enable the built-in Bluetooth device inside MT7622 SoC. Signed-off-by: Sean Wang --- drivers/bluetooth/Kconfig | 12 ++ drivers/bluetooth/Makefile|

[PATCH v3 0/7] add support for Bluetooth on MT7622 SoC

2018-06-14 Thread sean.wang
From: Sean Wang v3 and changes since v2 * all changes happen on patch 6 - fix up SPDX license style for btmtkuart.h. - change firmware download from in ACL data to in HCI commands and then remove unused mtk_acl_wmt_sync and related code. - add a workaround replacing bad vendor event id

[PATCH v3 3/7] Bluetooth: Add new serdev based driver for UART attached controllers

2018-06-14 Thread sean.wang
From: Marcel Holtmann This is a from scratch written driver to run H:4 on serdev based system with a Bluetooth controller attached via an UART. It is currently tested on RPi3 and it has Broadcom integration. It is DT only and is missing GPIO and runtime power management integration. Also Apple

[PATCH v3 6/7] Bluetooth: mediatek: Add protocol support for MediaTek serial devices

2018-06-14 Thread sean.wang
From: Sean Wang This adds a driver to run on the top of btuart driver for the MediaTek serial protocol based on running H:4, which can enable the built-in Bluetooth device inside MT7622 SoC. Signed-off-by: Sean Wang --- drivers/bluetooth/Kconfig | 12 ++ drivers/bluetooth/Makefile|

[PATCH v3 1/7] dt-bindings: net: bluetooth: Add mediatek-bluetooth

2018-06-14 Thread sean.wang
From: Sean Wang Add binding document for a SoC built-in device using MediaTek protocol. Which could be found on MT7622 SoC or other similar MediaTek SoCs. Signed-off-by: Sean Wang Reviewed-by: Rob Herring --- .../devicetree/bindings/net/mediatek-bluetooth.txt | 35 ++ 1

[PATCH v3 1/7] dt-bindings: net: bluetooth: Add mediatek-bluetooth

2018-06-14 Thread sean.wang
From: Sean Wang Add binding document for a SoC built-in device using MediaTek protocol. Which could be found on MT7622 SoC or other similar MediaTek SoCs. Signed-off-by: Sean Wang Reviewed-by: Rob Herring --- .../devicetree/bindings/net/mediatek-bluetooth.txt | 35 ++ 1

Re: [PATCH 2/2] PM / Domains: Fix return value of of_genpd_opp_to_performance_state()

2018-06-14 Thread Ulf Hansson
On 14 June 2018 at 07:23, Viresh Kumar wrote: > of_genpd_opp_to_performance_state() should return 0 for errors, but the > dummy routine isn't doing that. Fix it. > > Signed-off-by: Viresh Kumar Acked-by: Ulf Hansson Kind regards Uffe > --- > include/linux/pm_domain.h | 2 +- > 1 file

Re: [PATCH 2/2] PM / Domains: Fix return value of of_genpd_opp_to_performance_state()

2018-06-14 Thread Ulf Hansson
On 14 June 2018 at 07:23, Viresh Kumar wrote: > of_genpd_opp_to_performance_state() should return 0 for errors, but the > dummy routine isn't doing that. Fix it. > > Signed-off-by: Viresh Kumar Acked-by: Ulf Hansson Kind regards Uffe > --- > include/linux/pm_domain.h | 2 +- > 1 file

[PATCH v3 4/7] Bluetooth: Add new quirk for non-persistent setup settings

2018-06-14 Thread sean.wang
From: Sean Wang Add a new quirk HCI_QUIRK_NON_PERSISTENT_SETUP allowing that a quirk that runs setup() after every open() and not just after the first open(). Signed-off-by: Sean Wang --- include/net/bluetooth/hci.h | 9 + net/bluetooth/hci_core.c| 3 ++- 2 files changed, 11

[PATCH v3 4/7] Bluetooth: Add new quirk for non-persistent setup settings

2018-06-14 Thread sean.wang
From: Sean Wang Add a new quirk HCI_QUIRK_NON_PERSISTENT_SETUP allowing that a quirk that runs setup() after every open() and not just after the first open(). Signed-off-by: Sean Wang --- include/net/bluetooth/hci.h | 9 + net/bluetooth/hci_core.c| 3 ++- 2 files changed, 11

Re: [PATCH 1/2] PM / Domains: Rename opp_node to np

2018-06-14 Thread Ulf Hansson
On 14 June 2018 at 07:23, Viresh Kumar wrote: > The DT node passed here isn't necessarily an OPP node, as this routine > can also be used for cases where the "required-opps" property is present > directly in the device's node. Rename it. > > This also removes a stale comment. > > Signed-off-by:

Re: [PATCH 1/2] PM / Domains: Rename opp_node to np

2018-06-14 Thread Ulf Hansson
On 14 June 2018 at 07:23, Viresh Kumar wrote: > The DT node passed here isn't necessarily an OPP node, as this routine > can also be used for cases where the "required-opps" property is present > directly in the device's node. Rename it. > > This also removes a stale comment. > > Signed-off-by:

Re: [PATCH 4/7] tty: serial: lantiq: Always use readl()/writel()

2018-06-14 Thread Wu, Songjun
On 6/12/2018 4:13 PM, Andy Shevchenko wrote: On Tue, Jun 12, 2018 at 8:40 AM, Songjun Wu wrote: Previous implementation uses platform-dependent functions ltq_w32()/ltq_r32() to access registers. Those functions are not available for other SoC which uses the same IP. Change to OS provided

Re: [PATCH 4/7] tty: serial: lantiq: Always use readl()/writel()

2018-06-14 Thread Wu, Songjun
On 6/12/2018 4:13 PM, Andy Shevchenko wrote: On Tue, Jun 12, 2018 at 8:40 AM, Songjun Wu wrote: Previous implementation uses platform-dependent functions ltq_w32()/ltq_r32() to access registers. Those functions are not available for other SoC which uses the same IP. Change to OS provided

Re: [PATCH] infiniband: fix a subtle race condition

2018-06-14 Thread Leon Romanovsky
On Wed, Jun 13, 2018 at 11:21:54PM -0700, Cong Wang wrote: > On Wed, Jun 13, 2018 at 10:34 PM, Leon Romanovsky wrote: > > > > Hi Cong, > > > > If the compiler optimizes the first line (mutex_lock) as you wrote, > > it will reuse "f" for the second line (mutex_unlock) too. > > Nope, check the

Re: [PATCH] infiniband: fix a subtle race condition

2018-06-14 Thread Leon Romanovsky
On Wed, Jun 13, 2018 at 11:21:54PM -0700, Cong Wang wrote: > On Wed, Jun 13, 2018 at 10:34 PM, Leon Romanovsky wrote: > > > > Hi Cong, > > > > If the compiler optimizes the first line (mutex_lock) as you wrote, > > it will reuse "f" for the second line (mutex_unlock) too. > > Nope, check the

Re: [PATCH v1] mm: zero remaining unavailable struct pages (Re: kernel panic in reading /proc/kpageflags when enabling RAM-simulated PMEM)

2018-06-14 Thread Michal Hocko
On Thu 14-06-18 05:16:18, Naoya Horiguchi wrote: > On Wed, Jun 13, 2018 at 11:07:00AM +0200, Michal Hocko wrote: > > On Wed 13-06-18 05:41:08, Naoya Horiguchi wrote: > > [...] > > > From: Naoya Horiguchi > > > Date: Wed, 13 Jun 2018 12:43:27 +0900 > > > Subject: [PATCH] mm: zero remaining

Re: [PATCH v1] mm: zero remaining unavailable struct pages (Re: kernel panic in reading /proc/kpageflags when enabling RAM-simulated PMEM)

2018-06-14 Thread Michal Hocko
On Thu 14-06-18 05:16:18, Naoya Horiguchi wrote: > On Wed, Jun 13, 2018 at 11:07:00AM +0200, Michal Hocko wrote: > > On Wed 13-06-18 05:41:08, Naoya Horiguchi wrote: > > [...] > > > From: Naoya Horiguchi > > > Date: Wed, 13 Jun 2018 12:43:27 +0900 > > > Subject: [PATCH] mm: zero remaining

Re: [PATCH v2 1/2] platform/x86: asus-wmi: Call led hw_changed API on kbd brightness change

2018-06-14 Thread Chris Chiu
On Wed, Jun 13, 2018 at 8:49 PM, Andy Shevchenko wrote: > On Mon, Jun 11, 2018 at 10:18 AM, Chris Chiu wrote: >> Make asus-wmi notify on hotkey kbd brightness changes, listen for >> brightness events and update the brightness directly in the driver. > >> For this purpose, bound check on

Re: [PATCH v2 1/2] platform/x86: asus-wmi: Call led hw_changed API on kbd brightness change

2018-06-14 Thread Chris Chiu
On Wed, Jun 13, 2018 at 8:49 PM, Andy Shevchenko wrote: > On Mon, Jun 11, 2018 at 10:18 AM, Chris Chiu wrote: >> Make asus-wmi notify on hotkey kbd brightness changes, listen for >> brightness events and update the brightness directly in the driver. > >> For this purpose, bound check on

Re: [PATCH v3 6/7] soc: qcom: Add RPMh Power domain driver

2018-06-14 Thread Rajendra Nayak
Hi David, On 06/14/2018 06:02 AM, David Collins wrote: > Hello Rajendra, > > On 06/11/2018 09:40 PM, Rajendra Nayak wrote: >> The RPMh Power domain driver aggregates the corner votes from various >> consumers for the ARC resources and communicates it to RPMh. >> >> We also add data for all power

Re: [PATCH v3 6/7] soc: qcom: Add RPMh Power domain driver

2018-06-14 Thread Rajendra Nayak
Hi David, On 06/14/2018 06:02 AM, David Collins wrote: > Hello Rajendra, > > On 06/11/2018 09:40 PM, Rajendra Nayak wrote: >> The RPMh Power domain driver aggregates the corner votes from various >> consumers for the ARC resources and communicates it to RPMh. >> >> We also add data for all power

Re: [PATCH v2 4/5] thermal: tsens: Add support for SDM845

2018-06-14 Thread Vivek Gautam
Hi Amit, On Tue, Jun 12, 2018 at 4:24 PM, Amit Kucheria wrote: > SDM845 uses the TSENS v2 IP block > > Signed-off-by: Amit Kucheria > --- > Documentation/devicetree/bindings/thermal/qcom-tsens.txt | 1 + > drivers/thermal/qcom/Makefile| 2 +- >

Re: [PATCH v2 4/5] thermal: tsens: Add support for SDM845

2018-06-14 Thread Vivek Gautam
Hi Amit, On Tue, Jun 12, 2018 at 4:24 PM, Amit Kucheria wrote: > SDM845 uses the TSENS v2 IP block > > Signed-off-by: Amit Kucheria > --- > Documentation/devicetree/bindings/thermal/qcom-tsens.txt | 1 + > drivers/thermal/qcom/Makefile| 2 +- >

Re: [PATCH 5/5] soc: qcom: Remove depends on ARCH_QCOM

2018-06-14 Thread Vivek Gautam
On Thu, Jun 14, 2018 at 12:05 PM, Vivek Gautam wrote: > On Wed, Jun 13, 2018 at 6:24 PM, Niklas Cassel > wrote: >> Since commit cab673583d96 ("soc: Unconditionally include qcom Makefile"), >> we unconditionally include the soc/qcom/Makefile. >> >> This opens up the possibility to compile test

Re: [PATCH 5/5] soc: qcom: Remove depends on ARCH_QCOM

2018-06-14 Thread Vivek Gautam
On Thu, Jun 14, 2018 at 12:05 PM, Vivek Gautam wrote: > On Wed, Jun 13, 2018 at 6:24 PM, Niklas Cassel > wrote: >> Since commit cab673583d96 ("soc: Unconditionally include qcom Makefile"), >> we unconditionally include the soc/qcom/Makefile. >> >> This opens up the possibility to compile test

[PATCH v2] x86/e820: put !E820_TYPE_RAM regions into memblock.reserved

2018-06-14 Thread Naoya Horiguchi
On Thu, Jun 14, 2018 at 07:38:59AM +0200, Oscar Salvador wrote: > On Thu, Jun 14, 2018 at 05:16:18AM +, Naoya Horiguchi wrote: ... > > > > My concern is that there are a few E820 memory types rather than > > E820_TYPE_RAM and E820_TYPE_RESERVED, and I'm not sure that putting them > > all into

[PATCH v2] x86/e820: put !E820_TYPE_RAM regions into memblock.reserved

2018-06-14 Thread Naoya Horiguchi
On Thu, Jun 14, 2018 at 07:38:59AM +0200, Oscar Salvador wrote: > On Thu, Jun 14, 2018 at 05:16:18AM +, Naoya Horiguchi wrote: ... > > > > My concern is that there are a few E820 memory types rather than > > E820_TYPE_RAM and E820_TYPE_RESERVED, and I'm not sure that putting them > > all into

Re: [PATCH 7/7] tty: serial: lantiq: Add CCF support

2018-06-14 Thread Wu, Songjun
On 6/13/2018 6:39 AM, Rob Herring wrote: On Tue, Jun 12, 2018 at 01:40:34PM +0800, Songjun Wu wrote: Previous implementation uses platform-dependent API to get the clock. Those functions are not available for other SoC which uses the same IP. The CCF (Common Clock Framework) have an

Re: [PATCH 7/7] tty: serial: lantiq: Add CCF support

2018-06-14 Thread Wu, Songjun
On 6/13/2018 6:39 AM, Rob Herring wrote: On Tue, Jun 12, 2018 at 01:40:34PM +0800, Songjun Wu wrote: Previous implementation uses platform-dependent API to get the clock. Those functions are not available for other SoC which uses the same IP. The CCF (Common Clock Framework) have an

Re: [PATCH v3 7/7] soc: qcom: rpmpd/rpmhpd: Add a max vote on all corners at init

2018-06-14 Thread Rajendra Nayak
On 06/14/2018 03:58 AM, David Collins wrote: > Hello Rajendra, > > On 06/11/2018 09:40 PM, Rajendra Nayak wrote: >> As we move from no clients/consumers in kernel voting on corners, >> to *some* voting and some not voting, we might end up in a situation >> where the clients which remove votes

Re: [PATCH v3 7/7] soc: qcom: rpmpd/rpmhpd: Add a max vote on all corners at init

2018-06-14 Thread Rajendra Nayak
On 06/14/2018 03:58 AM, David Collins wrote: > Hello Rajendra, > > On 06/11/2018 09:40 PM, Rajendra Nayak wrote: >> As we move from no clients/consumers in kernel voting on corners, >> to *some* voting and some not voting, we might end up in a situation >> where the clients which remove votes

Re: [PATCH 4.4 00/24] 4.4.137-stable review

2018-06-14 Thread Greg Kroah-Hartman
On Wed, Jun 13, 2018 at 10:48:50PM -0300, Rafael Tinoco wrote: > On 13 June 2018 at 18:08, Rafael David Tinoco > wrote: > > On Wed, Jun 13, 2018 at 6:00 PM, Greg Kroah-Hartman > > wrote: > >> On Wed, Jun 13, 2018 at 05:47:49PM -0300, Rafael Tinoco wrote: > >>> Results from Linaro’s test farm. >

Re: [PATCH 5/5] soc: qcom: Remove depends on ARCH_QCOM

2018-06-14 Thread Vivek Gautam
On Wed, Jun 13, 2018 at 6:24 PM, Niklas Cassel wrote: > Since commit cab673583d96 ("soc: Unconditionally include qcom Makefile"), > we unconditionally include the soc/qcom/Makefile. > > This opens up the possibility to compile test the code even when > building for other architectures. Why do we

Re: [PATCH 4.4 00/24] 4.4.137-stable review

2018-06-14 Thread Greg Kroah-Hartman
On Wed, Jun 13, 2018 at 10:48:50PM -0300, Rafael Tinoco wrote: > On 13 June 2018 at 18:08, Rafael David Tinoco > wrote: > > On Wed, Jun 13, 2018 at 6:00 PM, Greg Kroah-Hartman > > wrote: > >> On Wed, Jun 13, 2018 at 05:47:49PM -0300, Rafael Tinoco wrote: > >>> Results from Linaro’s test farm. >

Re: [PATCH 5/5] soc: qcom: Remove depends on ARCH_QCOM

2018-06-14 Thread Vivek Gautam
On Wed, Jun 13, 2018 at 6:24 PM, Niklas Cassel wrote: > Since commit cab673583d96 ("soc: Unconditionally include qcom Makefile"), > we unconditionally include the soc/qcom/Makefile. > > This opens up the possibility to compile test the code even when > building for other architectures. Why do we

Re: [PATCH] pinctrl: qcom: spmi-gpio: Add pm8998 and pm8005 to binding

2018-06-14 Thread Vivek Gautam
On 6/13/2018 4:36 AM, Stephen Boyd wrote: Update the binding for two more PMICs supported by the same driver. While we're here, remove the duplicate pmi8994 lines because that support got merged twice. Cc: Rajendra Nayak Cc: Vivek Gautam Cc: Signed-off-by: Stephen Boyd ---

Re: [PATCH] pinctrl: qcom: spmi-gpio: Add pm8998 and pm8005 to binding

2018-06-14 Thread Vivek Gautam
On 6/13/2018 4:36 AM, Stephen Boyd wrote: Update the binding for two more PMICs supported by the same driver. While we're here, remove the duplicate pmi8994 lines because that support got merged twice. Cc: Rajendra Nayak Cc: Vivek Gautam Cc: Signed-off-by: Stephen Boyd ---

Re: [GIT PULL] Kbuild updates for 4.18 (2nd round)

2018-06-14 Thread Linus Torvalds
On Thu, Jun 14, 2018 at 3:16 AM Masahiro Yamada wrote: > > Could you run sed directly in your tree? Sure, I did that on the plane. Now on the ground, pushed out. Somebody should double- and triple-check it. Linus

Re: [GIT PULL] Kbuild updates for 4.18 (2nd round)

2018-06-14 Thread Linus Torvalds
On Thu, Jun 14, 2018 at 3:16 AM Masahiro Yamada wrote: > > Could you run sed directly in your tree? Sure, I did that on the plane. Now on the ground, pushed out. Somebody should double- and triple-check it. Linus

Re: [PATCH v3 5/7] dt-bindings: power: Add qcom rpmh power domain driver bindings

2018-06-14 Thread Rajendra Nayak
Hi David, On 06/14/2018 03:42 AM, David Collins wrote: > Hello Rajendra, > > On 06/11/2018 09:40 PM, Rajendra Nayak wrote: >> Add DT bindings to describe the rpmh powerdomains found on Qualcomm > > s/powerdomains/power domains/ > >> Technologies, Inc. SoCs. These power domains communicate a

Re: [PATCH v3 5/7] dt-bindings: power: Add qcom rpmh power domain driver bindings

2018-06-14 Thread Rajendra Nayak
Hi David, On 06/14/2018 03:42 AM, David Collins wrote: > Hello Rajendra, > > On 06/11/2018 09:40 PM, Rajendra Nayak wrote: >> Add DT bindings to describe the rpmh powerdomains found on Qualcomm > > s/powerdomains/power domains/ > >> Technologies, Inc. SoCs. These power domains communicate a

[tip:perf/urgent] perf script: Show hw-cache events

2018-06-14 Thread tip-bot for Seeteena Thoufeek
Commit-ID: fad76d4333fe73cf3f73704aa34d4ce523b1c458 Gitweb: https://git.kernel.org/tip/fad76d4333fe73cf3f73704aa34d4ce523b1c458 Author: Seeteena Thoufeek AuthorDate: Fri, 8 Jun 2018 16:32:28 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 8 Jun 2018 13:41:30 -0300 perf

Re: [PATCH 1/2] arm64: avoid alloc memory on offline node

2018-06-14 Thread Hanjun Guo
Hi Punit, On 2018/6/14 1:39, Punit Agrawal wrote: > Punit Agrawal writes: > > > [...] > >> >> CONFIG_HAVE_MEMORYLESS node is not enabled on arm64 which means we end >> up returning the original node in the fallback path. >> >> Xie, does the below patch help? I can submit a proper patch if

[tip:perf/urgent] perf script: Show hw-cache events

2018-06-14 Thread tip-bot for Seeteena Thoufeek
Commit-ID: fad76d4333fe73cf3f73704aa34d4ce523b1c458 Gitweb: https://git.kernel.org/tip/fad76d4333fe73cf3f73704aa34d4ce523b1c458 Author: Seeteena Thoufeek AuthorDate: Fri, 8 Jun 2018 16:32:28 +0530 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 8 Jun 2018 13:41:30 -0300 perf

Re: [PATCH 1/2] arm64: avoid alloc memory on offline node

2018-06-14 Thread Hanjun Guo
Hi Punit, On 2018/6/14 1:39, Punit Agrawal wrote: > Punit Agrawal writes: > > > [...] > >> >> CONFIG_HAVE_MEMORYLESS node is not enabled on arm64 which means we end >> up returning the original node in the fallback path. >> >> Xie, does the below patch help? I can submit a proper patch if

[tip:perf/urgent] perf c2c: Keep struct hist_entry at the end of struct c2c_hist_entry

2018-06-14 Thread tip-bot for Jiri Olsa
Commit-ID: 4c8205273626f27b9e5a64bdc194ab483a8cce66 Gitweb: https://git.kernel.org/tip/4c8205273626f27b9e5a64bdc194ab483a8cce66 Author: Jiri Olsa AuthorDate: Fri, 8 Jun 2018 02:22:11 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 8 Jun 2018 13:35:53 -0300 perf c2c: Keep

[tip:perf/urgent] perf c2c: Keep struct hist_entry at the end of struct c2c_hist_entry

2018-06-14 Thread tip-bot for Jiri Olsa
Commit-ID: 4c8205273626f27b9e5a64bdc194ab483a8cce66 Gitweb: https://git.kernel.org/tip/4c8205273626f27b9e5a64bdc194ab483a8cce66 Author: Jiri Olsa AuthorDate: Fri, 8 Jun 2018 02:22:11 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 8 Jun 2018 13:35:53 -0300 perf c2c: Keep

[tip:perf/urgent] perf stat: Add event parsing error handling to add_default_attributes

2018-06-14 Thread tip-bot for Jiri Olsa
Commit-ID: a5cfa6217c94a1f1cfad4481fc14f5fc399abde3 Gitweb: https://git.kernel.org/tip/a5cfa6217c94a1f1cfad4481fc14f5fc399abde3 Author: Jiri Olsa AuthorDate: Thu, 7 Jun 2018 00:15:10 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 7 Jun 2018 16:03:21 -0300 perf stat: Add

[tip:perf/urgent] perf stat: Add event parsing error handling to add_default_attributes

2018-06-14 Thread tip-bot for Jiri Olsa
Commit-ID: a5cfa6217c94a1f1cfad4481fc14f5fc399abde3 Gitweb: https://git.kernel.org/tip/a5cfa6217c94a1f1cfad4481fc14f5fc399abde3 Author: Jiri Olsa AuthorDate: Thu, 7 Jun 2018 00:15:10 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Thu, 7 Jun 2018 16:03:21 -0300 perf stat: Add

<    8   9   10   11   12   13   14   >