[PATCH 5.0 21/43] tcp: handle inet_csk_reqsk_queue_add() failures

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Guillaume Nault [ Upstream commit 9d3e1368bb45893a75a5dfb7cd21fdebfa6b47af ] Commit 7716682cc58e ("tcp/dccp: fix another race at listener dismantle") let inet_csk_reqsk_queue_add() fail, and a

[PATCH 5.0 25/43] net/mlx4_core: Fix locking in SRIOV mode when switching between events and polling

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Jack Morgenstein [ Upstream commit c07d27927f2f2e96fcd27bb9fb330c9ea65612d0 ] In procedures mlx4_cmd_use_events() and mlx4_cmd_use_polling(), we need to guarantee that there are no FW commands

[PATCH 5.0 10/43] net/hsr: fix possible crash in add_timer()

2019-03-18 Thread Greg Kroah-Hartman
5.0-stable review patch. If anyone has any objections, please let me know. -- From: Eric Dumazet [ Upstream commit 1e027960edfaa6a43f9ca31081729b716598112b ] syzbot found another add_timer() issue, this time in net/hsr [1] Let's use mod_timer() which is safe. [1] kernel BUG

RE: [PATCH V5 1/5] dt-bindings: pwm: Add i.MX TPM PWM binding

2019-03-18 Thread Anson Huang
Hi, Stefan Best Regards! Anson Huang > -Original Message- > From: Stefan Agner [mailto:ste...@agner.ch] > Sent: 2019年3月18日 16:19 > To: Anson Huang > Cc: thierry.red...@gmail.com; robh...@kernel.org; mark.rutl...@arm.com; > shawn...@kernel.org; s.ha...@pengutronix.de; ker...@pengutronix.d

Re: [PATCH v9 2/2] pwm: sifive: Add a driver for SiFive SoC PWM

2019-03-18 Thread Thierry Reding
On Tue, Mar 12, 2019 at 02:17:12PM +0100, Uwe Kleine-König wrote: > On Tue, Mar 12, 2019 at 01:12:18PM +0100, Thierry Reding wrote: > > On Tue, Mar 12, 2019 at 10:17:39AM +0100, Uwe Kleine-König wrote: [...] > > > There are a few other things that could be improved, but I think they > > > could be

[PATCH v1 1/2] extcon: intel: Split out some definitions to a common header

2019-03-18 Thread Andy Shevchenko
We are going to use some definitions in the other Intel extcon drivers, thus, split out them to a common header file. Signed-off-by: Andy Shevchenko --- drivers/extcon/extcon-intel-cht-wc.c | 21 +++-- drivers/extcon/extcon-intel.h| 20 2 files change

[PATCH v1 2/2] extcon: mrfld: Introduce extcon driver for Basin Cove PMIC

2019-03-18 Thread Andy Shevchenko
TBD Signed-off-by: Andy Shevchenko --- drivers/extcon/Kconfig | 7 + drivers/extcon/Makefile | 1 + drivers/extcon/extcon-intel-mrfld.c | 256 3 files changed, 264 insertions(+) create mode 100644 drivers/extcon/extcon-intel-mrfld.c dif

[PATCH v1] mfd: Add support for Merrifield Basin Cove PMIC

2019-03-18 Thread Andy Shevchenko
Add an mfd driver for Intel Merrifield Basin Cove PMIC. Signed-off-by: Andy Shevchenko --- drivers/mfd/Kconfig | 11 ++ drivers/mfd/Makefile | 1 + drivers/mfd/intel_soc_pmic_mrfld.c | 157 +++ include/linux/mfd/intel_soc_pmic

Re: [RFC PATCH v1 04/15] iommu: Add DOMAIN_ATTR_PTBASE

2019-03-18 Thread Joerg Roedel
On Fri, Mar 01, 2019 at 12:38:26PM -0700, Jordan Crouse wrote: > Add an attribute to return the base address of the pagetable. This is used > by auxiliary domains from arm-smmu to return the address of the pagetable > to the leaf driver so that it can set the appropriate pagetable through > it's ow

[PATCH v3 0/5] PCI: dwc: Support remove

2019-03-18 Thread Jisheng Zhang
Currently, the PCI dwc host users don't support the remove, but nothing prevent us from supporting it. To achieve this goal, we need to ensure we can do necessary clean up work. Changes since v2: - address all Gustavo's comments - add Gustavo's ACK to patch1, patch3, patch4 Changes since v1:

[PATCH v3 1/5] PCI: dwc: Fix dw_pcie_free_msi() if msi_irq is invalid

2019-03-18 Thread Jisheng Zhang
We should check msi_irq before calling irq_set_chained_handler() and irq_set_handler_data(). Signed-off-by: Jisheng Zhang Acked-by: Gustavo Pimentel --- drivers/pci/controller/dwc/pcie-designware-host.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/pci/contro

[PATCH v1] platform/x86: Add support for Basin Cove power button

2019-03-18 Thread Andy Shevchenko
This provides a new input driver for supporting the power button on Basin Cove PMIC, found on Intel Merrifield-based devices. The driver follows the design used in intel_chtdc_ti_pwrbtn.c module. Signed-off-by: Andy Shevchenko --- drivers/platform/x86/Kconfig | 11 +++ drivers/pla

[PATCH v3 2/5] PCI: dwc: Free the page for MSI IRQ in dw_pcie_free_msi()

2019-03-18 Thread Jisheng Zhang
To avoid memory leak, we need to free the page for MSI in dw_pcie_free_msi(). Signed-off-by: Jisheng Zhang --- drivers/pci/controller/dwc/pcie-designware-host.c | 12 drivers/pci/controller/dwc/pcie-designware.h | 1 + 2 files changed, 9 insertions(+), 4 deletions(-) diff --g

PCI: dwc: Free MSI in the error code path of dw_pcie_host_init()

2019-03-18 Thread Jisheng Zhang
If we ever did some msi related initializations, we need to call dw_pcie_free_msi() in the error code path. Signed-off-by: Jisheng Zhang Acked-by: Gustavo Pimentel --- drivers/pci/controller/dwc/pcie-designware-host.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/d

[PATCH v3 3/5] PCI: dwc: Free MSI in the error code path of dw_pcie_host_init()

2019-03-18 Thread Jisheng Zhang
If we ever did some msi related initializations, we need to call dw_pcie_free_msi() in the error code path. Signed-off-by: Jisheng Zhang Acked-by: Gustavo Pimentel --- drivers/pci/controller/dwc/pcie-designware-host.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/d

[PATCH v3 4/5] PCI: dwc: Use devm_pci_alloc_host_bridge() to simplify the code

2019-03-18 Thread Jisheng Zhang
Use devm_pci_alloc_host_bridge() to simplify the error code path. Signed-off-by: Jisheng Zhang Acked-by: Gustavo Pimentel --- .../pci/controller/dwc/pcie-designware-host.c | 21 +++ 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/drivers/pci/controller/dwc/pcie-de

Re: [PATCH] pinctrl: baytrail: Fix potential NULL pointer dereference

2019-03-18 Thread Andy Shevchenko
On Tue, Mar 12, 2019 at 10:05:52AM -0500, Aditya Pakki wrote: > saved-context in byt_gpio_probe is allocated via devm_kcalloc and is > used without checking for NULL in later functions. This patch avoids > such a scenario. Pushed to my review and testing queue, thanks! > > Signed-off-by: Aditya

[PATCH v3 5/5] PCI: dwc: Save root bus for driver remove

2019-03-18 Thread Jisheng Zhang
Currently dwc host doesn't support the remove, but nothing prevent us from supporting it. Save the root bus for clean up work in driver remove code path. After this patch, the dwc host users could implement its remove as: static int foo_pcie_remove(struct platform_device *pdev) { ...

[PATCH v2 7/8] arm64: dts: meson: g12a: Add G12A USB nodes

2019-03-18 Thread Neil Armstrong
This patch adds the nodes for the USB Complex found in the Amlogic G12A SoC. It includes the : - 2 USB2 PHYs - 1 USB3 + PCIE Combo PHY - the USB Glue with it's DWC2 and DWC3 sub-nodes Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 75 + 1 fil

[PATCH v2 0/8] arm64: dts: g12a: Add peripherals

2019-03-18 Thread Neil Armstrong
Add following peripherals : - AO Clock + Reset Controller - Pinctrl - UARTs - SAR-ADC - USB - Mali GPU USB depends on the PCIE clock and missing Reset bindings. SARADC bindings is merged. USB bindings has been reviewed, but not merged yet. Mali GPU bindings are still in review. Changes since v

[PATCH v2 1/8] arm64: dts: meson: g12a: Add AO Clock + Reset Controller support

2019-03-18 Thread Neil Armstrong
Add nodes and properties for the AO Clocks and Resets. Signed-off-by: Neil Armstrong Signed-off-by: Jerome Brunet --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boo

Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-18 Thread Pankaj Suryawanshi
From: Kirill Tkhai Sent: 18 March 2019 15:17:56 To: Pankaj Suryawanshi; Vlastimil Babka; Michal Hocko; aneesh.ku...@linux.ibm.com Cc: linux-kernel@vger.kernel.org; minc...@kernel.org; linux...@kvack.org; khand...@linux.vnet.ibm.com; hillf...@alibaba-inc.com Subject: Re: [External] Re: vmscan:

Re: [PATCH V5 1/5] dt-bindings: pwm: Add i.MX TPM PWM binding

2019-03-18 Thread Thierry Reding
On Mon, Mar 18, 2019 at 07:41:32AM +, Anson Huang wrote: > Add i.MX TPM(Low Power Timer/Pulse Width Modulation Module) PWM binding. > > Signed-off-by: Anson Huang > --- > No changes. > --- > Documentation/devicetree/bindings/pwm/imx-tpm-pwm.txt | 19 > +++ > 1 file changed,

[PATCH v2 8/8] arm64: dts: meson: g12a: Add mali-g31 gpu node

2019-03-18 Thread Neil Armstrong
This patch adds the ARM Mali G31 GPU node. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 27 + 1 file changed, 27 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi index ce6

[PATCH v2 5/8] arm64: dts: meson: g12a: Add UART A, B & C nodes and pins

2019-03-18 Thread Neil Armstrong
This patch adds the 3 UART nodes in the EE power domain with the corresponding pinctrl nodes. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 72 + 1 file changed, 72 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/ar

[PATCH v2 3/8] arm64: dts: meson: g12a: add uart_ao_a pinctrl

2019-03-18 Thread Neil Armstrong
From: Jerome Brunet Add the always on UART pinctrl setting to the g12a soc DT. Signed-off-by: Jerome Brunet Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 18 ++ 1 file changed, 18 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g

[PATCH v2 6/8] arm64: dts: meson: g12a: Add SAR ADC node

2019-03-18 Thread Neil Armstrong
This patch adds the SAR ADC controller node. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 15 +++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a.dtsi b/arch/arm64/boot/dts/aml

[PATCH v2 2/8] arm64: dts: meson: g12a: add pinctrl support controllers

2019-03-18 Thread Neil Armstrong
From: Jerome Brunet Add the peripheral and always-on pinctrl controllers to the g12a soc. Signed-off-by: Jerome Brunet Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 42 + 1 file changed, 42 insertions(+) diff --git a/arch/arm64/boot/dts/a

[PATCH v2 4/8] arm64: dts: meson: g12a: add reset controller

2019-03-18 Thread Neil Armstrong
From: Jerome Brunet Add the reset controller device of g12a SoC family Signed-off-by: Jerome Brunet Reviewed-by: Martin Blumenstingl Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm64/boot/dts/am

Re: [PATCH v2] kbuild: add workaround for Debian make-kpkg

2019-03-18 Thread Andreas Schwab
On Mär 08 2019, Masahiro Yamada wrote: > +$(warning Do not include top Makefile of Linux Kernel) So how do I add additional targets then? Currently I create GNUmakefile, include Makefile, then add the targets I need. It seems this is now broken. Andreas. -- Andreas Schwab, SUSE Labs, sch...

Re: PCI: dwc: Free MSI in the error code path of dw_pcie_host_init()

2019-03-18 Thread Jisheng Zhang
On Mon, 18 Mar 2019 17:47:49 +0800 Jisheng Zhang wrote: > If we ever did some msi related initializations, we need to call > dw_pcie_free_msi() in the error code path. Sorry, "PATCH" is missing in the email title, please ignore this one

Re: [PATCH v3 2/5] PCI: dwc: Free the page for MSI IRQ in dw_pcie_free_msi()

2019-03-18 Thread Gustavo Pimentel
Hi, On 18/03/2019 09:54, Jisheng Zhang wrote: > To avoid memory leak, we need to free the page for MSI in > dw_pcie_free_msi(). > > Signed-off-by: Jisheng Zhang > --- > drivers/pci/controller/dwc/pcie-designware-host.c | 12 > drivers/pci/controller/dwc/pcie-designware.h | 1

[PATCH v2 07/11] arm64: dts: meson-g12a-x96-max: Enable BT Module

2019-03-18 Thread Neil Armstrong
Enable the Bluetooth Module on the X96 Max Set-Top-Box. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/a

[PATCH] dt-bindings: cpu: Fix JSON schema

2019-03-18 Thread Maxime Ripard
Commit fd73403a4862 ("dt-bindings: arm: Add SMP enable-method for Milbeaut") added support for a new cpu enable-method, but did so using tabulations to ident. This is however invalid in the syntax, and resulted in a failure when trying to use that schemas for validation. Use spaces instead of tabs

[PATCH v2 09/11] arm64: dts: meson-g12a-sei510: Enable USB

2019-03-18 Thread Neil Armstrong
Enable the USB2 and USB3 Host ports on the SEI520 Set-Top-Box. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/amlogic/meson-g12a-

[PATCH v2 08/11] arm64: dts: meson-g12a-sei510: Add ADC Key and BT support

2019-03-18 Thread Neil Armstrong
Add support for the : - ADC Touch key - Bluetooth Module on UART A Signed-off-by: Neil Armstrong --- .../boot/dts/amlogic/meson-g12a-sei510.dts| 30 +++ 1 file changed, 30 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/aml

[PATCH v2 11/11] arm64: dts: meson-g12a-x96-max: Enable USB

2019-03-18 Thread Neil Armstrong
Enable the USB2 and USB3 Host ports on the X96 Max Set-Top-Box. Signed-off-by: Neil Armstrong --- arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/amlogic/meson-g1

[PATCH v2 06/11] arm64: dts: meson-g12a-x96-max: add regulators

2019-03-18 Thread Neil Armstrong
From: Guillaume La Roque Add system regulators for the X96 Max Set-Top-Box. Still missing * VDD_EE (0.8V - PWM controlled) * VDD_CPU (PWM controlled) Signed-off-by: Guillaume La Roque Signed-off-by: Neil Armstrong --- .../boot/dts/amlogic/meson-g12a-x96-max.dts | 67 +++ 1

[PATCH v2 05/11] arm64: dts: meson-g12a-sei510: add regulators

2019-03-18 Thread Neil Armstrong
From: Jerome Brunet Add some regulators. Still missing * VDD_EE (0.8V - PWM controlled) * VDD_CPU(PWM controlled) * VDDQ1_5 Signed-off-by: Jerome Brunet Signed-off-by: Neil Armstrong --- .../boot/dts/amlogic/meson-g12a-sei510.dts| 57 +++ 1 file changed, 57 insertions(+)

[PATCH v2] USB: gadget: f_hid: fix deadlock in f_hidg_write()

2019-03-18 Thread Radoslav Gerganov
In f_hidg_write() the write_spinlock is acquired before calling usb_ep_queue() which causes a deadlock when dummy_hcd is being used. This is because dummy_queue() callbacks into f_hidg_req_complete() which tries to acquire the same spinlock. This is (part of) the backtrace when the deadlock occurs:

[PATCH v2 01/11] arm64: dts: meson-g12a-u200: add uart_AO pinctrl

2019-03-18 Thread Neil Armstrong
Add pinctrl on the always-enabled debug UART AO. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts b/arch/arm64/boot/dts/amlogi

[PATCH v2 03/11] arm64: dts: meson-g12a-x96-max: add uart_AO pinctrl

2019-03-18 Thread Neil Armstrong
Add pinctrl on the always-enabled debug UART AO. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-x96-max.dts b/arch/arm64/boot/dts/

[PATCH v2 10/11] arm64: dts: meson-g12a-u200: Enable USB

2019-03-18 Thread Neil Armstrong
Enable the USB2 OTG and USB3 Host ports on the S905D2 Reference Design. Signed-off-by: Neil Armstrong Acked-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a-u200.dts | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-u200.d

[PATCH v2 04/11] arm64: dts: meson-g12a-u200: add regulators

2019-03-18 Thread Neil Armstrong
From: Jerome Brunet Add system regulators for the S905D U200 reference design. Add some regulators. Still missing * VDD_EE (0.8V - PWM controlled) * VDD_CPU (PWM controlled) Signed-off-by: Jerome Brunet Signed-off-by: Neil Armstrong --- .../boot/dts/amlogic/meson-g12a-u200.dts | 79

[PATCH v2 02/11] arm64: dts: meson-g12a-sei510: add uart_AO pinctrl

2019-03-18 Thread Neil Armstrong
Add pinctrl on the always-enabled debug UART AO. Signed-off-by: Neil Armstrong Reviewed-by: Martin Blumenstingl --- arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm64/boot/dts/amlogic/meson-g12a-sei510.dts b/arch/arm64/boot/dts/am

[PATCH v2 00/11] arm64: dts: g12a: Add boards peripherals

2019-03-18 Thread Neil Armstrong
Following [1], add regulators, bluetooth, UART and ADC keys on : - meson-g12a-x96-max - meson-g12a-u200 - meson-g12a-sei510 Changes since v1: - Collected martin's reviewed-bys - Added missing regulators in commit logs - fixed x96 dc_in regulator - fixed includes overall - removed dwc2 enable floow

[RESEND PATCH 0/7] Introduce bus domains controller framework

2019-03-18 Thread Benjamin Gaignard
Bus domains controllers allow to divided system on chip into multiple domains that can be used to select by who hardware blocks could be accessed. A domain could be a cluster of CPUs (or coprocessors), a range of addresses or a group of hardware blocks. Framework architecture is inspirated by pinc

[RESEND PATCH 1/7] devicetree: bindings: Document domains controller bindings

2019-03-18 Thread Benjamin Gaignard
Document commons domains controller bindings for controller and client devices. Signed-off-by: Benjamin Gaignard --- .../bindings/bus/domains/domainsctrl.txt | 55 ++ 1 file changed, 55 insertions(+) create mode 100644 Documentation/devicetree/bindings/bus/domains

[RESEND PATCH 2/7] domainsctrl: Introduce domains controller framework

2019-03-18 Thread Benjamin Gaignard
The goal of this framework is to offer an interface for the hardware blocks controlling bus accesses rights. Bus domains controllers are typically used to control if a hardware block can perform read or write operations on bus. Smarter domains controllers could be able to define accesses rights p

[RESEND PATCH 4/7] devicetree: bindings: domainsctrl: Add STM32 ETZPC bindings

2019-03-18 Thread Benjamin Gaignard
Describe STM32 Extended TrustZone Protection bindings. Signed-off-by: Benjamin Gaignard --- .../devicetree/bindings/bus/domains/st,stm32-etzpc.txt | 14 ++ 1 file changed, 14 insertions(+) create mode 100644 Documentation/devicetree/bindings/bus/domains/st,stm32-etzpc.txt diff

[RESEND PATCH 6/7] ARM: dts: stm32: Add domainsctrl node for stm32mp157 SoC

2019-03-18 Thread Benjamin Gaignard
Declare ETZPC device as a domains controller node for stm32mp157 SoC Signed-off-by: Benjamin Gaignard --- arch/arm/boot/dts/stm32mp157c.dtsi | 7 +++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c.dtsi b/arch/arm/boot/dts/stm32mp157c.dtsi index f8bbfff5950b..7b6

[RESEND PATCH 3/7] base: Add calls to domains controller

2019-03-18 Thread Benjamin Gaignard
To avoid modifying all the drivers call domainsctrl_set_default_config before probe to apply the configuration define in device node (if any). When unbinding the device try to apply configuration named "unbind". Signed-off-by: Benjamin Gaignard Reviewed-by: Mark Brown --- drivers/base/dd.c | 9

[RESEND PATCH 7/7] ARM: dts: stm32: enable domains controller node on stm32mp157c-ed1

2019-03-18 Thread Benjamin Gaignard
Enable ETZPC and set configuration for CEC node Signed-off-by: Benjamin Gaignard --- arch/arm/boot/dts/stm32mp157c-ev1.dts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts index b6aca40b9b90..a69c171e6b69 100644

Re: [PATCH v1 1/2] extcon: intel: Split out some definitions to a common header

2019-03-18 Thread Chanwoo Choi
Hi, Looks good to me. But just there is minor one comment as following: - 2018 -> 2019 On 19. 3. 18. 오후 6:52, Andy Shevchenko wrote: > We are going to use some definitions in the other Intel extcon drivers, > thus, split out them to a common header file. > > Signed-off-by: Andy Shevchenko > ---

[RESEND PATCH 5/7] bus: domainsctrl: Add driver for STM32 ETZPC controller

2019-03-18 Thread Benjamin Gaignard
STM32 Extended TrustZone Protection Controller (ETZPC) got 3 domains: - secure: hardware blocks are only accessible by software running on trust zone. - non-secure: hardware blocks are accessible by non-secure software (i.e. linux kernel). - coprocessor: hardware blocks are only accessible by

RE: [PATCH V4 2/5] pwm: Add i.MX TPM PWM driver support

2019-03-18 Thread Anson Huang
Hi, Uwe Best Regards! Anson Huang > -Original Message- > From: Uwe Kleine-König [mailto:u.kleine-koe...@pengutronix.de] > Sent: 2019年3月18日 16:08 > To: Anson Huang > Cc: thierry.red...@gmail.com; robh...@kernel.org; mark.rutl...@arm.com; > shawn...@kernel.org; s.ha...@pengutronix.de; ker.

Re: linux-next: Fixes tag needs some work in the sound-asoc tree

2019-03-18 Thread Sylwester Nawrocki
On 3/17/19 02:28, Stephen Rothwell wrote: > In commit > > 2b13bee38849 ("ASoC: samsung: odroid: Fix clock configuration for 44100 > sample rate") > > Fixes tag > > Fixes: fbeec965b8d1c ("ASoC: samsung: odroid: Fix 32000 sample rate > handling") > > has these problem(s): > > - Target SH

RE: [PATCH V5 1/5] dt-bindings: pwm: Add i.MX TPM PWM binding

2019-03-18 Thread Anson Huang
Hi, Thierry Best Regards! Anson Huang > -Original Message- > From: Thierry Reding [mailto:thierry.red...@gmail.com] > Sent: 2019年3月18日 17:59 > To: Anson Huang > Cc: robh...@kernel.org; mark.rutl...@arm.com; shawn...@kernel.org; > s.ha...@pengutronix.de; ker...@pengutronix.de; feste...@gm

Re: [PATCH v3 5/5] PCI: dwc: Save root bus for driver remove

2019-03-18 Thread Gustavo Pimentel
Hi, On 18/03/2019 09:58, Jisheng Zhang wrote: > Currently dwc host doesn't support the remove, but nothing prevent us > from supporting it. Save the root bus for clean up work in driver > remove code path. > > After this patch, the dwc host users could implement its remove as: > > static int foo

Re: [PATCH v1 2/2] extcon: mrfld: Introduce extcon driver for Basin Cove PMIC

2019-03-18 Thread Andy Shevchenko
On Mon, Mar 18, 2019 at 12:52:25PM +0300, Andy Shevchenko wrote: > TBD Oops. I though I have written it already. I will wait for other comments today and sent a new version with commit message filled as follows: On Intel Merrifield the Basin Cove PMIC provides a feature to detect the USB connect

Re: [PATCH] spi: spi-fsl-spi: support use of the SPISEL_BOOT signal on MPC8309

2019-03-18 Thread Mark Brown
On Mon, Mar 18, 2019 at 07:43:47AM +, Rasmus Villemoes wrote: > ping > > On 06/03/2019 11.32, Rasmus Villemoes wrote: Please don't send content free pings and please allow a reasonable time for review. People get busy, go on holiday, attend conferences and so on so unless there is some reas

[PATCH] staging: rtl8188eu: remove unused defines from wifi.h

2019-03-18 Thread Michael Straube
All defined P2P* in wifi.h are unused in the driver code, so remove them. Signed-off-by: Michael Straube --- drivers/staging/rtl8188eu/include/wifi.h | 110 --- 1 file changed, 110 deletions(-) diff --git a/drivers/staging/rtl8188eu/include/wifi.h b/drivers/staging/rtl8188e

Re: [PATCH] [RESEND] Do not modify perf bias performance setting by default at boot

2019-03-18 Thread Rafael J. Wysocki
On Fri, Mar 15, 2019 at 4:36 PM Thomas Renninger wrote: > > Hi Rafael, > > On Thursday, March 14, 2019 11:08:03 PM CET Rafael J. Wysocki wrote: > > On Thu, Mar 14, 2019 at 3:42 PM Thomas Renninger wrote: > > > This is a revert of mainline git commits: > > > commit b51ef52df71cb28e9d90cd1d48b79bf1

Re: [PATCH V5 2/5] pwm: Add i.MX TPM PWM driver support

2019-03-18 Thread Thierry Reding
On Mon, Mar 18, 2019 at 07:41:42AM +, Anson Huang wrote: > i.MX7ULP has TPM(Low Power Timer/Pulse Width Modulation Module) > inside, add TPM PWM driver support. I think this could be improved. You're basically restating the subject here, but the commit message gives you a good place to provide

Re: [PATCH v1 0/3] add module_sdio_driver and enable a few users

2019-03-18 Thread Ulf Hansson
On Wed, 13 Mar 2019 at 22:02, wrote: > > From: Sean Wang > > Add module_sdio_driver exactly like the function module_usb_drivear offers to > and enable a few users to eliminate a few lines of boilerplate code per SDIO > driver. > > Sean Wang (3): > mmc: sdio: Add helper macro for sdio_driver bo

[PATCH] m68k/defconfig: Update defconfigs for v5.1-rc1

2019-03-18 Thread Geert Uytterhoeven
Actual changes: -CONFIG_FS_ENCRYPTION=m -CONFIG_NET_DEVLINK=m -CONFIG_NFT_CHAIN_NAT_IPV4=m -CONFIG_NFT_CHAIN_NAT_IPV6=m -CONFIG_NFT_MASQ_IPV4=m -CONFIG_NFT_MASQ_IPV6=m -CONFIG_NFT_REDIR_IPV4=m -CONFIG_NFT_REDIR_IPV6=m +CONFIG_CRYPTO_CTS=m +CONFIG_CR

Re: [PATCH] ceph: Fix a memory leak in ci->i_head_snapc

2019-03-18 Thread Luis Henriques
"Yan, Zheng" writes: > On Fri, Mar 15, 2019 at 7:13 PM Luis Henriques wrote: >> >> I'm occasionally seeing a kmemleak warning in xfstest generic/013: >> >> unreferenced object 0x8881fccca940 (size 32): >> comm "kworker/0:1", pid 12, jiffies 4295005883 (age 130.648s) >> hex dump (first 32

Build regressions/improvements in v5.1-rc1

2019-03-18 Thread Geert Uytterhoeven
Below is the list of build error/warning regressions/improvements in v5.1-rc1[1] compared to v5.0[2]. Summarized: - build errors: +0/-1 - build warnings: +161/-107 Happy fixing! ;-) Thanks to the linux-next team for providing the build service. [1] http://kisskb.ellerman.id.au/kisskb/branc

Re: [External] Re: vmscan: Reclaim unevictable pages

2019-03-18 Thread Kirill Tkhai
On 18.03.2019 12:59, Pankaj Suryawanshi wrote: > > From: Kirill Tkhai > Sent: 18 March 2019 15:17:56 > To: Pankaj Suryawanshi; Vlastimil Babka; Michal Hocko; > aneesh.ku...@linux.ibm.com > Cc: linux-kernel@vger.kernel.org; minc...@kernel.org; linux...@kvack.org; > khand...@linux.vnet.ibm.com;

Re: [PATCH v1 2/2] extcon: mrfld: Introduce extcon driver for Basin Cove PMIC

2019-03-18 Thread Chanwoo Choi
Hi Andy, Thanks for comment. I add my comments and then you have to rebase it on latest v5.0-rc1 because the merge conflict happen on v5.0-rc1. On 19. 3. 18. 오후 7:11, Andy Shevchenko wrote: > On Mon, Mar 18, 2019 at 12:52:25PM +0300, Andy Shevchenko wrote: >> TBD > > Oops. > I though I have writ

Re: [PATCH] video: fbdev: atmel_lcdfb: drop AVR and platform_data support

2019-03-18 Thread Nicolas.Ferre
On 25/02/2019 at 22:25, Alexandre Belloni wrote: > Make the driver OF only as since AVR32 has been removed from the kernel, > there are only OF enabled platform using it. > > Signed-off-by: Alexandre Belloni In case it's needed: Acked-by: Nicolas Ferre > --- > drivers/video/fbdev/Kconfig

[PATCH] ASoC: simple-amplifier: Make gpio property optional

2019-03-18 Thread Maxime Ripard
From: Mylène Josserand Some amplifier may not have a GPIO to control the power, but instead simply rely on the regulator to power up and down the amplifier. In order to support those setups, let's make the GPIO optional. Signed-off-by: Mylène Josserand Signed-off-by: Maxime Ripard --- Docume

Re: [PATCH 1/2] dt-bindings: extcon: Add support for fsa9480 switch

2019-03-18 Thread Chanwoo Choi
Hi, Sorry for late reply. On 19. 2. 26. 오전 1:58, Paweł Chmiel wrote: > From: Tomasz Figa > > This patch adds documentation for binding of extcont Fairchild > Semiconductor FSA9480 microusb switch. > This usb port accessory detector and switch, can be found for example in > some Samsung s5pv210

Re: [RFC PATCH v2 2/2] x86/perf/amd: Resolve NMI latency issues when multiple PMCs are active

2019-03-18 Thread Peter Zijlstra
On Fri, Mar 15, 2019 at 08:41:00PM +, Lendacky, Thomas wrote: > This issue is different from a previous issue related to perf NMIs that > was fixed in commit: > 63e6be6d98e1 ("perf, x86: Catch spurious interrupts after disabling > counters") > > The difference here is that the NMI latency c

Re: [RESEND PATCH 0/7] Introduce bus domains controller framework

2019-03-18 Thread Sudeep Holla
On Mon, Mar 18, 2019 at 11:05:58AM +0100, Benjamin Gaignard wrote: > Bus domains controllers allow to divided system on chip into multiple domains > that can be used to select by who hardware blocks could be accessed. > A domain could be a cluster of CPUs (or coprocessors), a range of addresses or

Re: [PATCH V2] cpufreq: Call transition notifier only once for each policy

2019-03-18 Thread Rafael J. Wysocki
On Fri, Mar 15, 2019 at 1:30 PM Peter Zijlstra wrote: > > On Fri, Mar 15, 2019 at 02:43:07PM +0530, Viresh Kumar wrote: > > diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c > > index 3fae23834069..cff8779fc0d2 100644 > > --- a/arch/x86/kernel/tsc.c > > +++ b/arch/x86/kernel/tsc.c > > @@

linux-next: Fixes tags need some work in the sound-asoc-fixes tree

2019-03-18 Thread Stephen Rothwell
Hi all, In commit 2b13bee38849 ("ASoC: samsung: odroid: Fix clock configuration for 44100 sample rate") Fixes tag Fixes: fbeec965b8d1c ("ASoC: samsung: odroid: Fix 32000 sample rate handling") has these problem(s): - Target SHA1 does not exist Did you mean: 1d22c337dc8f ("ASoC: sam

Re: [PATCH 2/2] extcon: Add fsa9480 extcon driver

2019-03-18 Thread Chanwoo Choi
Hi, Sorry for late reply. On 19. 2. 26. 오전 1:58, Paweł Chmiel wrote: > From: Tomasz Figa > > This patch adds extcon driver for Fairchild Semiconductor FSA9480 > microUSB switch. > > Signed-off-by: Tomasz Figa > Signed-off-by: Jonathan Bakker > Signed-off-by: Paweł Chmiel > --- > drivers/ex

[PATCH] perf: extend total_ref_count usage to protect perf_trace_buf access

2019-03-18 Thread Prateek Sood
A potential race exists between access of perf_trace_buf[i] from perf_trace_buf_alloc() and perf_trace_event_unreg(). This can result in perf_trace_buf[i] being NULL during access from memset() in perf_trace_buf_alloc(). Signed-off-by: Prateek Sood --- include/linux/trace_events.h| 2 ++ in

Re: [PATCH] futex:fix robust futex alignment exception

2019-03-18 Thread Peter Zijlstra
On Sun, Mar 17, 2019 at 03:36:35PM +0100, Thomas Gleixner wrote: > On Fri, 15 Mar 2019, Peter Zijlstra wrote: > > That is; why aren't there any alignment tests anywhere? Or am I just > > gone blind? > > uaddrs for the futex syscalls are checked in get_futex_key(). blind it is... Thanks!

[PATCH v2 0/6] ptrace: consolidate PTRACE_SYSEMU handling and add support for arm64

2019-03-18 Thread Sudeep Holla
Hi, This patchset evolved from the discussion in the thread[0][1]. When we wanted to add PTRACE_SYSEMU support to ARM64, we thought instead of duplicating what other architectures like x86 and powerpc have done, let consolidate the existing support and move it to the core as there's nothing arch s

[PATCH v2 3/6] x86: clean up _TIF_SYSCALL_EMU handling using ptrace_syscall_enter hook

2019-03-18 Thread Sudeep Holla
Now that we have a new hook ptrace_syscall_enter that can be called from syscall entry code and it handles PTRACE_SYSEMU in generic code, we can do some cleanup using the same in syscall_trace_enter. Further the extra logic to find single stepping PTRACE_SYSEMU_SINGLESTEP in syscall_slow_exit_work

Re: [PATCH v1 2/2] extcon: mrfld: Introduce extcon driver for Basin Cove PMIC

2019-03-18 Thread Chanwoo Choi
Hi Andy, On 19. 3. 18. 오후 7:38, Chanwoo Choi wrote: > Hi Andy, > > Thanks for comment. I add my comments > and then you have to rebase it on latest v5.0-rc1 > because the merge conflict happen on v5.0-rc1. Please rebase the extcon-next branch instead of v5.0-rc1. > > On 19. 3. 18. 오후 7:11, And

[PATCH v2 2/6] ptrace: introduce ptrace_syscall_enter to consolidate PTRACE_SYSEMU handling

2019-03-18 Thread Sudeep Holla
Currently each architecture handles PTRACE_SYSEMU in very similar way. It's completely arch independent and can be handled in the code helping to consolidate PTRACE_SYSEMU handling. Let's introduce a hook 'ptrace_syscall_enter' that arch specific syscall entry code can call. Cc: Oleg Nesterov Si

[PATCH v2] clk: at91: fix programmable clock for sama5d2

2019-03-18 Thread Nicolas Ferre
From: Matthias Wieloch The prescaler formula of the programmable clock has changed for sama5d2. Update the driver accordingly. Fixes: a2038077de9a ("clk: at91: add sama5d2 PMC driver") Cc: # v4.20+ Signed-off-by: Nicolas Ferre [nicolas.fe...@microchip.com: adapt the prescaler range,

Re: [PATCH] mmc: davinci: remove extraneous __init annotation

2019-03-18 Thread Ulf Hansson
On Thu, 7 Mar 2019 at 11:10, Arnd Bergmann wrote: > > Building with clang finds a mistaken __init tag: > > WARNING: vmlinux.o(.text+0x5e4250): Section mismatch in reference from the > function davinci_mmcsd_probe() to the function .init.text:init_mmcsd_host() > The function davinci_mmcsd_probe()

Re: [PATCH] drivers: mmc: Kconfig: pedantic cleanups

2019-03-18 Thread Ulf Hansson
On Wed, 6 Mar 2019 at 19:27, Enrico Weigelt, metux IT consult wrote: > > Signed-off-by: Enrico Weigelt, metux IT consult Applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/host/Kconfig | 43 ++- > 1 file changed, 22 insertions(+), 21 delet

Re: [PATCH] mmc: pxamci: fix enum type confusion

2019-03-18 Thread Ulf Hansson
On Thu, 7 Mar 2019 at 11:09, Arnd Bergmann wrote: > > clang points out several instances of mismatched types in this drivers, > all coming from a single declaration: > > drivers/mmc/host/pxamci.c:193:15: error: implicit conversion from enumeration > type 'enum dma_transfer_direction' to > d

Re: [PATCH v2] mmc_spi: add a status check for spi_sync_locked

2019-03-18 Thread Ulf Hansson
On Mon, 11 Mar 2019 at 06:53, Kangjie Lu wrote: > > In case spi_sync_locked fails, the fix reports the error and > returns the error code upstream. > > Signed-off-by: Kangjie Lu Applied for next, thanks! Kind regards Uffe > --- > drivers/mmc/host/mmc_spi.c | 4 > 1 file changed, 4 inser

Re: [PATCH V2] cpufreq: Call transition notifier only once for each policy

2019-03-18 Thread Peter Zijlstra
On Mon, Mar 18, 2019 at 08:05:14AM +0530, Viresh Kumar wrote: > On 15-03-19, 13:29, Peter Zijlstra wrote: > > On Fri, Mar 15, 2019 at 02:43:07PM +0530, Viresh Kumar wrote: > > > diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/tsc.c > > > index 3fae23834069..cff8779fc0d2 100644 > > > --- a/arch

Re: [PATCH v2 2/2] ceph: quota: fix quota subdir mounts

2019-03-18 Thread Luis Henriques
"Yan, Zheng" writes: > On Mon, Mar 18, 2019 at 5:06 PM Gregory Farnum wrote: >> >> On Mon, Mar 18, 2019 at 2:32 PM Yan, Zheng wrote: >> > After reading the code carefully. I feel a little uncomfortable with >> > the "lookup_ino" in get_quota_realm. how about populating directories >> > above t

[PATCH] staging: ks7010: remove redundant auth_type check

2019-03-18 Thread Colin King
From: Colin Ian King The range check on auth_type is redundant as there is a prior check on the auth_type values and the only way the block is entered is if auth_type is one of TYPE_PMK1, TYPE_GMK1 and TYPE_GMK1. Hence the auth_type check can be removed. Detected by static analysis with cppcheck

Re: [PATCH V2] cpufreq: Call transition notifier only once for each policy

2019-03-18 Thread Peter Zijlstra
On Mon, Mar 18, 2019 at 11:45:00AM +0100, Rafael J. Wysocki wrote: > On Fri, Mar 15, 2019 at 1:30 PM Peter Zijlstra wrote: > > On Fri, Mar 15, 2019 at 02:43:07PM +0530, Viresh Kumar wrote: > > > + for_each_cpu(cpu, cpus) > > > + set_cyc2ns_scale(tsc_khz, cpu, rdtsc

Re: [PATCH v5 05/22] iommu: Introduce cache_invalidate API

2019-03-18 Thread Jean-Philippe Brucker
On 17/03/2019 16:43, Auger Eric wrote: >>> diff --git a/include/uapi/linux/iommu.h b/include/uapi/linux/iommu.h >>> index 532a64075f23..e4c6a447e85a 100644 >>> --- a/include/uapi/linux/iommu.h >>> +++ b/include/uapi/linux/iommu.h >>> @@ -159,4 +159,75 @@ struct iommu_pasid_table_config { >>> };

Re: [RESEND PATCH 0/7] Introduce bus domains controller framework

2019-03-18 Thread Benjamin Gaignard
Le lun. 18 mars 2019 à 11:43, Sudeep Holla a écrit : > > On Mon, Mar 18, 2019 at 11:05:58AM +0100, Benjamin Gaignard wrote: > > Bus domains controllers allow to divided system on chip into multiple > > domains > > that can be used to select by who hardware blocks could be accessed. > > A domain c

Re: [PATCH V2] cpufreq: Call transition notifier only once for each policy

2019-03-18 Thread Rafael J. Wysocki
On Mon, Mar 18, 2019 at 11:54 AM Peter Zijlstra wrote: > > On Mon, Mar 18, 2019 at 08:05:14AM +0530, Viresh Kumar wrote: > > On 15-03-19, 13:29, Peter Zijlstra wrote: > > > On Fri, Mar 15, 2019 at 02:43:07PM +0530, Viresh Kumar wrote: > > > > diff --git a/arch/x86/kernel/tsc.c b/arch/x86/kernel/ts

Re: [PATCH] [RESEND] Do not modify perf bias performance setting by default at boot

2019-03-18 Thread Thomas Renninger
On Monday, March 18, 2019 11:26:10 AM CET Rafael J. Wysocki wrote: > On Fri, Mar 15, 2019 at 4:36 PM Thomas Renninger wrote: > > Hi Rafael, > > ... > > On my workstation the BIOS initializes perf bias to: > > cpupower info > > analyzing CPU 0: > > perf-bias: 7 > > > > I could grep through quit

Re: [PATCH v4 3/9] PCI: keystone: Convert to using hierarchy domain for legacy interrupts

2019-03-18 Thread Marc Zyngier
On Mon, 18 Mar 2019 11:03:07 +0530 Kishon Vijay Abraham I wrote: > Hi Marc, > > On 07/03/19 5:32 PM, Marc Zyngier wrote: > > On Thu, 07 Mar 2019 09:12:30 +, > > Kishon Vijay Abraham I wrote: > >> > >> Hi, > >> > >> On 23/02/19 5:41 PM, Marc Zyngier wrote: > >>> On Thu, 21 Feb 2019 16:24

linux-next: Fixes tag needs some work in the sound-asoc tree

2019-03-18 Thread Stephen Rothwell
Hi all, In commit 825b22e5961a ("ASoC: rsnd: src: fix compiler warnings") Fixes tag Fixes: linux-next commit 7674bec4fc09 ("ASoC: rsnd: update BSDSR/BSDISR handling") has these problem(s): - 'linux-next commit' was unexpected. -- Cheers, Stephen Rothwell pgpOFco1dc8zK.pgp Descripti

Re: [PATCH v2 2/2] ceph: quota: fix quota subdir mounts

2019-03-18 Thread Gregory Farnum
On Mon, Mar 18, 2019 at 4:25 PM Luis Henriques wrote: > > "Yan, Zheng" writes: > > > On Mon, Mar 18, 2019 at 5:06 PM Gregory Farnum wrote: > >> > >> On Mon, Mar 18, 2019 at 2:32 PM Yan, Zheng wrote: > >> > After reading the code carefully. I feel a little uncomfortable with > >> > the "lookup_i

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