Re: [PATCH 1/3] dt-bindings: mt8173: Fix mdp device tree

2017-04-19 Thread Rob Herring
On Thu, Apr 13, 2017 at 03:33:05PM +0800, Minghsiu Tsai wrote: > If the mdp_* nodes are under an mdp sub-node, their corresponding > platform device does not automatically get its iommu assigned properly. > > Fix this by moving the mdp component nodes up a level such that they are > siblings of

Re: [PATCH 1/3] dt-bindings: mt8173: Fix mdp device tree

2017-04-19 Thread Rob Herring
On Thu, Apr 13, 2017 at 03:33:05PM +0800, Minghsiu Tsai wrote: > If the mdp_* nodes are under an mdp sub-node, their corresponding > platform device does not automatically get its iommu assigned properly. > > Fix this by moving the mdp component nodes up a level such that they are > siblings of

Re: [PATCH v7 3/4] mtd: spi-nor: introduce Double Transfer Rate (DTR) SPI protocols

2017-04-19 Thread Marek Vasut
On 04/19/2017 10:20 PM, Cyrille Pitchen wrote: > Hi Marek, > > Le 19/04/2017 à 01:05, Marek Vasut a écrit : >> On 04/19/2017 12:51 AM, Cyrille Pitchen wrote: >>> This patch introduces support to Double Transfer Rate (DTR) SPI protocols. >>> DTR is used only for Fast Read operations. >>> >>>

Re: [PATCH v7 3/4] mtd: spi-nor: introduce Double Transfer Rate (DTR) SPI protocols

2017-04-19 Thread Marek Vasut
On 04/19/2017 10:20 PM, Cyrille Pitchen wrote: > Hi Marek, > > Le 19/04/2017 à 01:05, Marek Vasut a écrit : >> On 04/19/2017 12:51 AM, Cyrille Pitchen wrote: >>> This patch introduces support to Double Transfer Rate (DTR) SPI protocols. >>> DTR is used only for Fast Read operations. >>> >>>

Re: [PATCH v7 1/4] mtd: spi-nor: introduce SPI 1-2-2 and SPI 1-4-4 protocols

2017-04-19 Thread Marek Vasut
On 04/19/2017 10:12 PM, Cyrille Pitchen wrote: > Le 19/04/2017 à 01:02, Marek Vasut a écrit : >> On 04/19/2017 12:51 AM, Cyrille Pitchen wrote: >>> This patch changes the prototype of spi_nor_scan(): its 3rd parameter >>> is replaced by a 'struct spi_nor_hwcaps' pointer, which tells the spi-nor

Re: [PATCH v7 1/4] mtd: spi-nor: introduce SPI 1-2-2 and SPI 1-4-4 protocols

2017-04-19 Thread Marek Vasut
On 04/19/2017 10:12 PM, Cyrille Pitchen wrote: > Le 19/04/2017 à 01:02, Marek Vasut a écrit : >> On 04/19/2017 12:51 AM, Cyrille Pitchen wrote: >>> This patch changes the prototype of spi_nor_scan(): its 3rd parameter >>> is replaced by a 'struct spi_nor_hwcaps' pointer, which tells the spi-nor

Re: [PATCH v7 1/4] mtd: spi-nor: introduce SPI 1-2-2 and SPI 1-4-4 protocols

2017-04-19 Thread Cyrille Pitchen
Le 19/04/2017 à 01:02, Marek Vasut a écrit : > On 04/19/2017 12:51 AM, Cyrille Pitchen wrote: >> This patch changes the prototype of spi_nor_scan(): its 3rd parameter >> is replaced by a 'struct spi_nor_hwcaps' pointer, which tells the spi-nor >> framework about the actual hardware capabilities

Re: [PATCH v7 1/4] mtd: spi-nor: introduce SPI 1-2-2 and SPI 1-4-4 protocols

2017-04-19 Thread Cyrille Pitchen
Le 19/04/2017 à 01:02, Marek Vasut a écrit : > On 04/19/2017 12:51 AM, Cyrille Pitchen wrote: >> This patch changes the prototype of spi_nor_scan(): its 3rd parameter >> is replaced by a 'struct spi_nor_hwcaps' pointer, which tells the spi-nor >> framework about the actual hardware capabilities

Re: [PATCH] soc: bcm: brcmstb: Correctly match 7435 SoC

2017-04-19 Thread Florian Fainelli
On 04/19/2017 01:28 PM, Gregory Fong wrote: > On Wed, Apr 19, 2017 at 10:01 AM, Florian Fainelli > wrote: >> Remove the duplicate brcm,bcm7425-sun-top-ctrl compatible string and >> replace it with brcm,bcm7435-sun-top-ctrl which was intentend. > > s/intentend/intended/ >

Re: [PATCH] soc: bcm: brcmstb: Correctly match 7435 SoC

2017-04-19 Thread Florian Fainelli
On 04/19/2017 01:28 PM, Gregory Fong wrote: > On Wed, Apr 19, 2017 at 10:01 AM, Florian Fainelli > wrote: >> Remove the duplicate brcm,bcm7425-sun-top-ctrl compatible string and >> replace it with brcm,bcm7435-sun-top-ctrl which was intentend. > > s/intentend/intended/ > >> >> Fixes:

Re: [PATCH 1/2] dt-bindings: hwrng: Add Mediatek hardware random generator bindings

2017-04-19 Thread Rob Herring
On Thu, Apr 13, 2017 at 03:05:07PM +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > Document the devicetree bindings for Mediatek random number > generator which could be found on MT7623 SoC or other similar > Mediatek SoCs. > > Signed-off-by: Sean Wang

Re: [PATCH 1/2] dt-bindings: hwrng: Add Mediatek hardware random generator bindings

2017-04-19 Thread Rob Herring
On Thu, Apr 13, 2017 at 03:05:07PM +0800, sean.w...@mediatek.com wrote: > From: Sean Wang > > Document the devicetree bindings for Mediatek random number > generator which could be found on MT7623 SoC or other similar > Mediatek SoCs. > > Signed-off-by: Sean Wang > --- >

[PATCH] arm64: prefetch: Change assembly to be compatible with gcc and clang

2017-04-19 Thread Matthias Kaehlcke
clang fails to build with the current code: arch/arm64/include/asm/processor.h:172:15: error: invalid operand in inline asm: 'prfm pldl1keep, ${0:a}' Apparently clang does not support the 'a' modifier. Change the constraint from 'p' ('An operand that is a valid memory address is allowed') to 'Q'

[PATCH] arm64: prefetch: Change assembly to be compatible with gcc and clang

2017-04-19 Thread Matthias Kaehlcke
clang fails to build with the current code: arch/arm64/include/asm/processor.h:172:15: error: invalid operand in inline asm: 'prfm pldl1keep, ${0:a}' Apparently clang does not support the 'a' modifier. Change the constraint from 'p' ('An operand that is a valid memory address is allowed') to 'Q'

Re: [PATCH] soc: brcmstb: enable drivers for ARM64 also

2017-04-19 Thread Florian Fainelli
On 04/19/2017 01:18 PM, Markus Mayer wrote: > From: Markus Mayer > > We enable the BRCMSTB SoC drivers not only for ARM, but also ARM64. This looks fine, can you also put add || BMIPS_GENERIC in there since the driver is also used for these platforms? We may also want a ||

Re: [PATCH] soc: brcmstb: enable drivers for ARM64 also

2017-04-19 Thread Florian Fainelli
On 04/19/2017 01:18 PM, Markus Mayer wrote: > From: Markus Mayer > > We enable the BRCMSTB SoC drivers not only for ARM, but also ARM64. This looks fine, can you also put add || BMIPS_GENERIC in there since the driver is also used for these platforms? We may also want a || COMPILE_TEST just to

Re: [PATCH] net: arc_emac: switch to phy_start()/phy_stop()

2017-04-19 Thread Alexander Kochetkov
> 20 апр. 2017 г., в 0:08, Florian Fainelli написал(а): > > This looks fine. If you wanted to go further, you could move the > phy_connect(), phy_disconnect() calls down to the arc_emac_open() > respectively arc_emac_stop() as this would also allow the PHY device to > be

Re: [PATCH] net: arc_emac: switch to phy_start()/phy_stop()

2017-04-19 Thread Alexander Kochetkov
> 20 апр. 2017 г., в 0:08, Florian Fainelli написал(а): > > This looks fine. If you wanted to go further, you could move the > phy_connect(), phy_disconnect() calls down to the arc_emac_open() > respectively arc_emac_stop() as this would also allow the PHY device to > be fully suspended when

Re: fsl_ifc_nand: are blank pages protected by ECC?

2017-04-19 Thread Boris Brezillon
On Wed, 19 Apr 2017 14:13:32 +0200 Pavel Machek wrote: > Hi! > > We have some problems with fsl_ifc_nand ... in the old kernels, but > this one does not seem to be fixed in v4.11, either. > > UBIFS complains: > > UBIFS error (pid 931): ubifs_scan: corrupt empty space at LEB

Re: fsl_ifc_nand: are blank pages protected by ECC?

2017-04-19 Thread Boris Brezillon
On Wed, 19 Apr 2017 14:13:32 +0200 Pavel Machek wrote: > Hi! > > We have some problems with fsl_ifc_nand ... in the old kernels, but > this one does not seem to be fixed in v4.11, either. > > UBIFS complains: > > UBIFS error (pid 931): ubifs_scan: corrupt empty space at LEB 282:252630 > UBIFS

Re: [PATCH v2 3/3] efi/capsule: Add support for Quark security header

2017-04-19 Thread Andy Shevchenko
On Wed, Apr 19, 2017 at 9:33 PM, Jan Kiszka wrote: > The firmware for Quark X102x prepends a security header to the capsule > which is needed to support the mandatory secure boot on this processor. > The header can be detected by checking for the "_CSH" signature and - >

Re: [PATCH v2 3/3] efi/capsule: Add support for Quark security header

2017-04-19 Thread Andy Shevchenko
On Wed, Apr 19, 2017 at 9:33 PM, Jan Kiszka wrote: > The firmware for Quark X102x prepends a security header to the capsule > which is needed to support the mandatory secure boot on this processor. > The header can be detected by checking for the "_CSH" signature and - > to avoid any GUID

[PATCH] cpufreq: intel_pstate: allow trace in passive mode

2017-04-19 Thread Doug Smythies
Allow use of the trace_pstate_sample trace function when the intel_pstate driver is in passive mode. Since the core_busy and scaled_busy fields are not used, and it might be desirable to know which path through the driver was used, either intel_cpufreq_target or intel_cpufreq_fast_switch, re-task

[PATCH] cpufreq: intel_pstate: allow trace in passive mode

2017-04-19 Thread Doug Smythies
Allow use of the trace_pstate_sample trace function when the intel_pstate driver is in passive mode. Since the core_busy and scaled_busy fields are not used, and it might be desirable to know which path through the driver was used, either intel_cpufreq_target or intel_cpufreq_fast_switch, re-task

Re: [PATCH] [media] rainshadow-cec: use strlcat instead of strncat

2017-04-19 Thread Hans Verkuil
On 19/04/17 19:15, Arnd Bergmann wrote: > gcc warns about an obviously incorrect use of strncat(): > > drivers/media/usb/rainshadow-cec/rainshadow-cec.c: In function > 'rain_cec_adap_transmit': > drivers/media/usb/rainshadow-cec/rainshadow-cec.c:299:4: error: specified > bound 48 equals the

Re: [PATCH] [media] rainshadow-cec: use strlcat instead of strncat

2017-04-19 Thread Hans Verkuil
On 19/04/17 19:15, Arnd Bergmann wrote: > gcc warns about an obviously incorrect use of strncat(): > > drivers/media/usb/rainshadow-cec/rainshadow-cec.c: In function > 'rain_cec_adap_transmit': > drivers/media/usb/rainshadow-cec/rainshadow-cec.c:299:4: error: specified > bound 48 equals the

Re: [PATCH] of: introduce event tracepoints for dynamic device_node lifecyle

2017-04-19 Thread Tyrel Datwyler
On 04/19/2017 03:13 AM, Michael Ellerman wrote: > Oliver O'Halloran writes: > >> On Wed, Apr 19, 2017 at 2:46 AM, Rob Herring wrote: >>> On Mon, Apr 17, 2017 at 7:32 PM, Tyrel Datwyler >>> wrote: This patch introduces event

Re: [PATCH] of: introduce event tracepoints for dynamic device_node lifecyle

2017-04-19 Thread Tyrel Datwyler
On 04/19/2017 03:13 AM, Michael Ellerman wrote: > Oliver O'Halloran writes: > >> On Wed, Apr 19, 2017 at 2:46 AM, Rob Herring wrote: >>> On Mon, Apr 17, 2017 at 7:32 PM, Tyrel Datwyler >>> wrote: This patch introduces event tracepoints for tracking a device_nodes reference cycle as

Re: [PATCH] net: arc_emac: switch to phy_start()/phy_stop()

2017-04-19 Thread Florian Fainelli
On 04/19/2017 07:29 AM, Alexander Kochetkov wrote: > The patch replace phy_start_aneg() with phy_start(). phy_start() call > phy_start_aneg() as a part of startup sequence and allow recover from > error (PHY_HALTED) state. > > Also added call phy_stop() to arc_emac_remove() to stop PHY state

Re: [PATCH] net: arc_emac: switch to phy_start()/phy_stop()

2017-04-19 Thread Florian Fainelli
On 04/19/2017 07:29 AM, Alexander Kochetkov wrote: > The patch replace phy_start_aneg() with phy_start(). phy_start() call > phy_start_aneg() as a part of startup sequence and allow recover from > error (PHY_HALTED) state. > > Also added call phy_stop() to arc_emac_remove() to stop PHY state

Re: [PATCH v4 04/18] dt-bindings: syscon: Add DT bindings documentation for Allwinner syscon

2017-04-19 Thread Rob Herring
On Wed, Apr 12, 2017 at 01:13:46PM +0200, Corentin Labbe wrote: > This patch adds documentation for Device-Tree bindings for the > syscon present in allwinner devices. > > Signed-off-by: Corentin Labbe > --- > .../devicetree/bindings/misc/allwinner,syscon.txt | 19

Re: [PATCH] [media] sti: hdmi: improve MEDIA_CEC_NOTIFIER dependency

2017-04-19 Thread Hans Verkuil
Hi Arnd, On 19/04/17 18:59, Arnd Bergmann wrote: > When the media subsystem is built as a loadable module, a built-in > DRM driver cannot use the cec notifiers: > > drivers/gpu/drm/sti/sti_hdmi.o: In function `sti_hdmi_remove': > sti_hdmi.c:(.text.sti_hdmi_remove+0x28): undefined reference to >

Re: [PATCH v4 04/18] dt-bindings: syscon: Add DT bindings documentation for Allwinner syscon

2017-04-19 Thread Rob Herring
On Wed, Apr 12, 2017 at 01:13:46PM +0200, Corentin Labbe wrote: > This patch adds documentation for Device-Tree bindings for the > syscon present in allwinner devices. > > Signed-off-by: Corentin Labbe > --- > .../devicetree/bindings/misc/allwinner,syscon.txt | 19 > +++ >

Re: [PATCH] [media] sti: hdmi: improve MEDIA_CEC_NOTIFIER dependency

2017-04-19 Thread Hans Verkuil
Hi Arnd, On 19/04/17 18:59, Arnd Bergmann wrote: > When the media subsystem is built as a loadable module, a built-in > DRM driver cannot use the cec notifiers: > > drivers/gpu/drm/sti/sti_hdmi.o: In function `sti_hdmi_remove': > sti_hdmi.c:(.text.sti_hdmi_remove+0x28): undefined reference to >

Re: [PATCH v13 03/10] mux: minimal mux subsystem and gpio-based mux controller

2017-04-19 Thread Peter Rosin
On 2017-04-19 15:49, Philipp Zabel wrote: > On Wed, 2017-04-19 at 14:00 +0200, Peter Rosin wrote: > [...] +int mux_control_select(struct mux_control *mux, int state) >>> >>> If we let two of these race, ... >> >> The window for this "race" is positively huge. If there are several >> mux

Re: [PATCH v13 03/10] mux: minimal mux subsystem and gpio-based mux controller

2017-04-19 Thread Peter Rosin
On 2017-04-19 15:49, Philipp Zabel wrote: > On Wed, 2017-04-19 at 14:00 +0200, Peter Rosin wrote: > [...] +int mux_control_select(struct mux_control *mux, int state) >>> >>> If we let two of these race, ... >> >> The window for this "race" is positively huge. If there are several >> mux

[PATCH] MAINTAINERS: change email address from atmel.com to wedev4u.fr

2017-04-19 Thread Cyrille Pitchen
From: Cyrille Pitchen Switch to my alternative address as primary address. Signed-off-by: Cyrille Pitchen --- Hi all, I still work at Atmel/Microchip at least for few more months but currently my Atmel account is broken for few weeks

[PATCH] MAINTAINERS: change email address from atmel.com to wedev4u.fr

2017-04-19 Thread Cyrille Pitchen
From: Cyrille Pitchen Switch to my alternative address as primary address. Signed-off-by: Cyrille Pitchen --- Hi all, I still work at Atmel/Microchip at least for few more months but currently my Atmel account is broken for few weeks now. I thought it would have been fix quickly but

Re: [PATCH v7 1/4] mtd: spi-nor: introduce SPI 1-2-2 and SPI 1-4-4 protocols

2017-04-19 Thread Cyrille Pitchen
Hi Marek, can we close the review on patch 1 and 3, please? I would like to merge into the spi-nor tree then prepare the PR to brian for v4.12. Best regards, Cyrille Le 19/04/2017 à 22:12, Cyrille Pitchen a écrit : > Le 19/04/2017 à 01:02, Marek Vasut a écrit : >> On 04/19/2017 12:51 AM,

Re: [PATCH v7 3/4] mtd: spi-nor: introduce Double Transfer Rate (DTR) SPI protocols

2017-04-19 Thread Cyrille Pitchen
Hi Marek, Le 19/04/2017 à 01:05, Marek Vasut a écrit : > On 04/19/2017 12:51 AM, Cyrille Pitchen wrote: >> This patch introduces support to Double Transfer Rate (DTR) SPI protocols. >> DTR is used only for Fast Read operations. >> >> According to manufacturer datasheets, whatever the number of

Re: [PATCH v7 1/4] mtd: spi-nor: introduce SPI 1-2-2 and SPI 1-4-4 protocols

2017-04-19 Thread Cyrille Pitchen
Hi Marek, can we close the review on patch 1 and 3, please? I would like to merge into the spi-nor tree then prepare the PR to brian for v4.12. Best regards, Cyrille Le 19/04/2017 à 22:12, Cyrille Pitchen a écrit : > Le 19/04/2017 à 01:02, Marek Vasut a écrit : >> On 04/19/2017 12:51 AM,

Re: [PATCH v7 3/4] mtd: spi-nor: introduce Double Transfer Rate (DTR) SPI protocols

2017-04-19 Thread Cyrille Pitchen
Hi Marek, Le 19/04/2017 à 01:05, Marek Vasut a écrit : > On 04/19/2017 12:51 AM, Cyrille Pitchen wrote: >> This patch introduces support to Double Transfer Rate (DTR) SPI protocols. >> DTR is used only for Fast Read operations. >> >> According to manufacturer datasheets, whatever the number of

Re: [PATCH] hp-wmi: Do not shadow error values

2017-04-19 Thread Darren Hart
On Wed, Apr 19, 2017 at 10:36:39PM +0200, Carlo Caione wrote: > From: Carlo Caione > > All the helper functions (i.e. hp_wmi_dock_state, hp_wmi_tablet_state, > ...) using hp_wmi_perform_query to perform an HP WMI query shadow the > returned value in case of error. > > We

Re: [PATCH] hp-wmi: Do not shadow error values

2017-04-19 Thread Darren Hart
On Wed, Apr 19, 2017 at 10:36:39PM +0200, Carlo Caione wrote: > From: Carlo Caione > > All the helper functions (i.e. hp_wmi_dock_state, hp_wmi_tablet_state, > ...) using hp_wmi_perform_query to perform an HP WMI query shadow the > returned value in case of error. > > We return -EINVAL only

Re: [PATCH v2] kernel: drm/vmwgfx: limit the number of mip levels in vmw_gb_surface_define_ioctl()

2017-04-19 Thread Sinclair Yeh
Thanks Vladis! Reviewed-by: Sinclair Yeh On Thu, Apr 06, 2017 at 02:33:40PM +0200, Vladis Dronov wrote: > The 'req->mip_levels' parameter in vmw_gb_surface_define_ioctl() is > a user-controlled 'uint32_t' value which is used as a loop count limit. > This can lead to a kernel

Re: [PATCH v2] kernel: drm/vmwgfx: limit the number of mip levels in vmw_gb_surface_define_ioctl()

2017-04-19 Thread Sinclair Yeh
Thanks Vladis! Reviewed-by: Sinclair Yeh On Thu, Apr 06, 2017 at 02:33:40PM +0200, Vladis Dronov wrote: > The 'req->mip_levels' parameter in vmw_gb_surface_define_ioctl() is > a user-controlled 'uint32_t' value which is used as a loop count limit. > This can lead to a kernel lockup and DoS. Add

[PATCH net-next 1/1] netvsc: Deal with rescinded channels correctly

2017-04-19 Thread kys
From: K. Y. Srinivasan We will not be able to send packets over a channel that has been rescinded. Make necessary adjustments so we can properly cleanup even when the channel is rescinded. This issue can be trigerred in the NIC hot-remove path. Signed-off-by: K. Y.

[PATCH net-next 1/1] netvsc: Deal with rescinded channels correctly

2017-04-19 Thread kys
From: K. Y. Srinivasan We will not be able to send packets over a channel that has been rescinded. Make necessary adjustments so we can properly cleanup even when the channel is rescinded. This issue can be trigerred in the NIC hot-remove path. Signed-off-by: K. Y. Srinivasan ---

Re: [PATCH] MAINTAINERS: change email address from atmel.com to wedev4u.fr

2017-04-19 Thread Brian Norris
On Wed, Apr 19, 2017 at 10:43:52PM +0200, Cyrille Pitchen wrote: > From: Cyrille Pitchen > > Switch to my alternative address as primary address. > > Signed-off-by: Cyrille Pitchen > --- > > Hi all, > > I still work at Atmel/Microchip at

Re: [PATCH] MAINTAINERS: change email address from atmel.com to wedev4u.fr

2017-04-19 Thread Brian Norris
On Wed, Apr 19, 2017 at 10:43:52PM +0200, Cyrille Pitchen wrote: > From: Cyrille Pitchen > > Switch to my alternative address as primary address. > > Signed-off-by: Cyrille Pitchen > --- > > Hi all, > > I still work at Atmel/Microchip at least for few more months but currently > my Atmel

RE: [PATCH 1/1] netvsc: Deal with rescinded channels correctly

2017-04-19 Thread KY Srinivasan
> -Original Message- > From: k...@exchange.microsoft.com [mailto:k...@exchange.microsoft.com] > Sent: Wednesday, April 19, 2017 1:49 PM > To: da...@davemloft.net; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com;

RE: [PATCH 1/1] netvsc: Deal with rescinded channels correctly

2017-04-19 Thread KY Srinivasan
> -Original Message- > From: k...@exchange.microsoft.com [mailto:k...@exchange.microsoft.com] > Sent: Wednesday, April 19, 2017 1:49 PM > To: da...@davemloft.net; net...@vger.kernel.org; linux- > ker...@vger.kernel.org; de...@linuxdriverproject.org; o...@aepfle.de; > a...@canonical.com;

[PATCH v2 03/11] dt-bindings: soc/fsl: Update reserved memory binding for QBMan

2017-04-19 Thread Roy Pledge
Updates the QMan and BMan device tree bindings for reserved memory nodes. This makes the reserved memory allocation compatiable with the shared-dma-pool usage. Signed-off-by: Roy Pledge --- Documentation/devicetree/bindings/soc/fsl/bman.txt | 11 ++-

[PATCH v2 03/11] dt-bindings: soc/fsl: Update reserved memory binding for QBMan

2017-04-19 Thread Roy Pledge
Updates the QMan and BMan device tree bindings for reserved memory nodes. This makes the reserved memory allocation compatiable with the shared-dma-pool usage. Signed-off-by: Roy Pledge --- Documentation/devicetree/bindings/soc/fsl/bman.txt | 11 ++-

[PATCH v2 04/11] soc/fsl/qbman: Drop set/clear_bits usage

2017-04-19 Thread Roy Pledge
From: Madalin Bucur Replace PPC specific set/clear_bits API with standard bit twiddling so driver is portalable outside PPC. Signed-off-by: Madalin Bucur Signed-off-by: Claudiu Manoil Signed-off-by: Roy Pledge

[PATCH v2 04/11] soc/fsl/qbman: Drop set/clear_bits usage

2017-04-19 Thread Roy Pledge
From: Madalin Bucur Replace PPC specific set/clear_bits API with standard bit twiddling so driver is portalable outside PPC. Signed-off-by: Madalin Bucur Signed-off-by: Claudiu Manoil Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/bman.c | 2 +- drivers/soc/fsl/qbman/qman.c | 8

[PATCH v2 01/11] soc/fsl/qbman: Use shared-dma-pool for BMan private memory allocations

2017-04-19 Thread Roy Pledge
Use the shared-memory-pool mechanism for free buffer proxy record area allocation. Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/bman_ccsr.c | 35 ++- drivers/soc/fsl/qbman/bman_priv.h | 3 +++ 2 files changed, 37 insertions(+), 1

[PATCH v2 07/11] soc/fsl/qbman: Rework ioremap() calls for ARM/PPC

2017-04-19 Thread Roy Pledge
Rework ioremap() for PPC and ARM. The PPC devices require a non-coherent mapping while ARM will work with a non-cachable/write combine mapping. Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/bman_portal.c | 16 +--- drivers/soc/fsl/qbman/qman_portal.c | 16

[PATCH v2 01/11] soc/fsl/qbman: Use shared-dma-pool for BMan private memory allocations

2017-04-19 Thread Roy Pledge
Use the shared-memory-pool mechanism for free buffer proxy record area allocation. Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/bman_ccsr.c | 35 ++- drivers/soc/fsl/qbman/bman_priv.h | 3 +++ 2 files changed, 37 insertions(+), 1 deletion(-) diff --git

[PATCH v2 07/11] soc/fsl/qbman: Rework ioremap() calls for ARM/PPC

2017-04-19 Thread Roy Pledge
Rework ioremap() for PPC and ARM. The PPC devices require a non-coherent mapping while ARM will work with a non-cachable/write combine mapping. Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/bman_portal.c | 16 +--- drivers/soc/fsl/qbman/qman_portal.c | 16 +--- 2

[PATCH v2 08/11] soc/fsl/qbman: add QMAN_REV32

2017-04-19 Thread Roy Pledge
From: Madalin Bucur Add revision 3.2 of the QBMan block. This is the version for LS1043A and LS1046A SoCs. Signed-off-by: Madalin Bucur Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/qman_ccsr.c | 2 ++

[PATCH v2 08/11] soc/fsl/qbman: add QMAN_REV32

2017-04-19 Thread Roy Pledge
From: Madalin Bucur Add revision 3.2 of the QBMan block. This is the version for LS1043A and LS1046A SoCs. Signed-off-by: Madalin Bucur Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/qman_ccsr.c | 2 ++ drivers/soc/fsl/qbman/qman_priv.h | 1 + 2 files changed, 3 insertions(+) diff

[PATCH v2 02/11] soc/fsl/qbman: Use shared-dma-pool for QMan private memory allocations

2017-04-19 Thread Roy Pledge
Use the shared-memory-pool mechanism for frame queue descriptor and packed frame descriptor record area allocations. Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/qman_ccsr.c | 136 +- drivers/soc/fsl/qbman/qman_priv.h | 4 +-

[PATCH v2 02/11] soc/fsl/qbman: Use shared-dma-pool for QMan private memory allocations

2017-04-19 Thread Roy Pledge
Use the shared-memory-pool mechanism for frame queue descriptor and packed frame descriptor record area allocations. Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/qman_ccsr.c | 136 +- drivers/soc/fsl/qbman/qman_priv.h | 4 +-

[PATCH 1/1] netvsc: Deal with rescinded channels correctly

2017-04-19 Thread kys
From: K. Y. Srinivasan We will not be able to send packets over a channel that has been rescinded. Make necessary adjustments so we can properly cleanup even when the channel is rescinded. This issue can be trigerred in the NIC hot-remove path. Signed-off-by: K. Y.

[PATCH 1/1] netvsc: Deal with rescinded channels correctly

2017-04-19 Thread kys
From: K. Y. Srinivasan We will not be able to send packets over a channel that has been rescinded. Make necessary adjustments so we can properly cleanup even when the channel is rescinded. This issue can be trigerred in the NIC hot-remove path. Signed-off-by: K. Y. Srinivasan ---

[PATCH v2 06/11] soc/fsl/qbman: Fix ARM32 typo

2017-04-19 Thread Roy Pledge
From: Valentin Rothberg The Kconfig symbol for 32bit ARM is 'ARM', not 'ARM32'. Signed-off-by: Valentin Rothberg Signed-off-by: Claudiu Manoil Signed-off-by: Roy Pledge ---

[PATCH v2 06/11] soc/fsl/qbman: Fix ARM32 typo

2017-04-19 Thread Roy Pledge
From: Valentin Rothberg The Kconfig symbol for 32bit ARM is 'ARM', not 'ARM32'. Signed-off-by: Valentin Rothberg Signed-off-by: Claudiu Manoil Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/dpaa_sys.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 09/11] soc/fsl/qbman: different register offsets on ARM

2017-04-19 Thread Roy Pledge
From: Madalin Bucur Signed-off-by: Madalin Bucur Signed-off-by: Claudiu Manoil Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/bman.c | 22 ++ drivers/soc/fsl/qbman/qman.c | 38

[PATCH v2 09/11] soc/fsl/qbman: different register offsets on ARM

2017-04-19 Thread Roy Pledge
From: Madalin Bucur Signed-off-by: Madalin Bucur Signed-off-by: Claudiu Manoil Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/bman.c | 22 ++ drivers/soc/fsl/qbman/qman.c | 38 ++ 2 files changed, 60 insertions(+) diff --git

[PATCH v2 11/11] fsl/soc/qbman: Enable FSL_LAYERSCAPE config on ARM

2017-04-19 Thread Roy Pledge
From: Madalin Bucur Signed-off-by: Madalin Bucur Signed-off-by: Claudiu Manoil [Stuart: changed to use ARCH_LAYERSCAPE] Signed-off-by: Stuart Yoder Signed-off-by: Roy Pledge ---

[PATCH v2 11/11] fsl/soc/qbman: Enable FSL_LAYERSCAPE config on ARM

2017-04-19 Thread Roy Pledge
From: Madalin Bucur Signed-off-by: Madalin Bucur Signed-off-by: Claudiu Manoil [Stuart: changed to use ARCH_LAYERSCAPE] Signed-off-by: Stuart Yoder Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[PATCH v2 10/11] soc/fsl/qbman: Add missing headers on ARM

2017-04-19 Thread Roy Pledge
From: Claudiu Manoil Unlike PPC builds, ARM builds need following headers explicitly: +#include for ioread32be() +#includefor udelay() Signed-off-by: Claudiu Manoil Signed-off-by: Roy Pledge ---

[PATCH v2 10/11] soc/fsl/qbman: Add missing headers on ARM

2017-04-19 Thread Roy Pledge
From: Claudiu Manoil Unlike PPC builds, ARM builds need following headers explicitly: +#include for ioread32be() +#includefor udelay() Signed-off-by: Claudiu Manoil Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/dpaa_sys.h | 2 ++ 1 file changed, 2

Re: [PATCH] fs: compat: Remove warning from COMPATIBLE_IOCTL

2017-04-19 Thread Arnd Bergmann
On Wed, Apr 19, 2017 at 8:14 PM, Matthias Kaehlcke wrote: > El Tue, Apr 04, 2017 at 11:07:20AM -0700 Matthias Kaehlcke ha dit: > >> From: Mark Charlebois >> >> cmd in COMPATIBLE_IOCTL is always a u32, so cast it so there isn't a >> warning about an overflow

[PATCH v2 00/11] soc/fsl/qbman: Enable QBMan on ARM Platforms

2017-04-19 Thread Roy Pledge
This patch series enables DPAA1 QBMan devices for ARM and ARM64 architectures. This allows the LS1043A and LS1046A to use QBMan functionality. Changes since v1: Reworked private memory allocations to use shared-dma-pool on ARM platforms Claudiu Manoil (2): soc/fsl/qbman: Drop L1_CACHE_BYTES

Re: [PATCH] fs: compat: Remove warning from COMPATIBLE_IOCTL

2017-04-19 Thread Arnd Bergmann
On Wed, Apr 19, 2017 at 8:14 PM, Matthias Kaehlcke wrote: > El Tue, Apr 04, 2017 at 11:07:20AM -0700 Matthias Kaehlcke ha dit: > >> From: Mark Charlebois >> >> cmd in COMPATIBLE_IOCTL is always a u32, so cast it so there isn't a >> warning about an overflow in XFORM. >> >> From: Mark Charlebois

[PATCH v2 00/11] soc/fsl/qbman: Enable QBMan on ARM Platforms

2017-04-19 Thread Roy Pledge
This patch series enables DPAA1 QBMan devices for ARM and ARM64 architectures. This allows the LS1043A and LS1046A to use QBMan functionality. Changes since v1: Reworked private memory allocations to use shared-dma-pool on ARM platforms Claudiu Manoil (2): soc/fsl/qbman: Drop L1_CACHE_BYTES

[PATCH v2 05/11] soc/fsl/qbman: Drop L1_CACHE_BYTES compile time check

2017-04-19 Thread Roy Pledge
From: Claudiu Manoil Not relevant and arch dependent. Overkill for PPC. Signed-off-by: Claudiu Manoil Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/dpaa_sys.h | 4 1 file changed, 4 deletions(-) diff --git

[PATCH v2 05/11] soc/fsl/qbman: Drop L1_CACHE_BYTES compile time check

2017-04-19 Thread Roy Pledge
From: Claudiu Manoil Not relevant and arch dependent. Overkill for PPC. Signed-off-by: Claudiu Manoil Signed-off-by: Roy Pledge --- drivers/soc/fsl/qbman/dpaa_sys.h | 4 1 file changed, 4 deletions(-) diff --git a/drivers/soc/fsl/qbman/dpaa_sys.h b/drivers/soc/fsl/qbman/dpaa_sys.h

RE: [PATCH net-next] i40evf: hide unused variable

2017-04-19 Thread Keller, Jacob E
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Wednesday, April 19, 2017 10:30 AM > To: Kirsher, Jeffrey T > Cc: Arnd Bergmann ; Pujari, Bimmy > ; Duyck, Alexander H >

RE: [PATCH net-next] i40evf: hide unused variable

2017-04-19 Thread Keller, Jacob E
> -Original Message- > From: Arnd Bergmann [mailto:a...@arndb.de] > Sent: Wednesday, April 19, 2017 10:30 AM > To: Kirsher, Jeffrey T > Cc: Arnd Bergmann ; Pujari, Bimmy > ; Duyck, Alexander H > ; Williams, Mitch A > ; Keller, Jacob E ; > Brady, > Alan ; Joe Perches ; Singhai, Anjali > ;

Re: [RFC 0/8] Copy Offload with Peer-to-Peer PCI Memory

2017-04-19 Thread Jason Gunthorpe
On Wed, Apr 19, 2017 at 01:41:49PM -0600, Logan Gunthorpe wrote: > > But.. it could point to a GPU and the GPU struct device could have a > > proxy dma_ops like Dan pointed out. > > Seems a bit awkward to me that in order for the intended use case, you > have to proxy the dma_ops. I'd probably

Re: [RFC 0/8] Copy Offload with Peer-to-Peer PCI Memory

2017-04-19 Thread Jason Gunthorpe
On Wed, Apr 19, 2017 at 01:41:49PM -0600, Logan Gunthorpe wrote: > > But.. it could point to a GPU and the GPU struct device could have a > > proxy dma_ops like Dan pointed out. > > Seems a bit awkward to me that in order for the intended use case, you > have to proxy the dma_ops. I'd probably

Re: [PATCH V15 01/11] acpi: apei: read ack upon ghes record consumption

2017-04-19 Thread Borislav Petkov
On Wed, Apr 19, 2017 at 02:31:13PM -0600, Baicar, Tyler wrote: > Will do. You don't necessarily have to reply with "will do" if you agree with the review. Also, please wait until I've gone through the whole pile before sending it again. Thanks. -- Regards/Gruss, Boris. Good mailing

Re: [PATCH V15 01/11] acpi: apei: read ack upon ghes record consumption

2017-04-19 Thread Borislav Petkov
On Wed, Apr 19, 2017 at 02:31:13PM -0600, Baicar, Tyler wrote: > Will do. You don't necessarily have to reply with "will do" if you agree with the review. Also, please wait until I've gone through the whole pile before sending it again. Thanks. -- Regards/Gruss, Boris. Good mailing

Re: [PATCH v1 1/2] gpio: gpio-wcove: fix GPIO irq status mask

2017-04-19 Thread Andy Shevchenko
On Fri, Apr 14, 2017 at 8:29 PM, wrote: > From: Kuppuswamy Sathyanarayanan > > According to Whiskey cove PMIC spec, bit 7 of GPIOIRQ0_REG belongs to cove -> Cove > battery IO. So we should skip this bit

Re: [PATCH v1 1/2] gpio: gpio-wcove: fix GPIO irq status mask

2017-04-19 Thread Andy Shevchenko
On Fri, Apr 14, 2017 at 8:29 PM, wrote: > From: Kuppuswamy Sathyanarayanan > > According to Whiskey cove PMIC spec, bit 7 of GPIOIRQ0_REG belongs to cove -> Cove > battery IO. So we should skip this bit when checking for GPIO irq pending irq -> IRQ > status. Otherwise,

Re: [PATCH 4.4 00/45] 4.4.63-stable review

2017-04-19 Thread Shuah Khan
On 04/19/2017 08:55 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.63 release. > There are 45 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 4.4 00/45] 4.4.63-stable review

2017-04-19 Thread Shuah Khan
On 04/19/2017 08:55 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.4.63 release. > There are 45 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 1/3] drm/omap: displays: panel-dpi: add backlight dependency

2017-04-19 Thread Arnd Bergmann
On Wed, Apr 19, 2017 at 10:21 PM, Laurent Pinchart wrote: >> >> This adds a dependency like we have for the other panel drivers. > > I believe the dependency should be made optional. DPI panels that don't need > backlight control should be supported by a kernel

Re: [PATCH 1/3] drm/omap: displays: panel-dpi: add backlight dependency

2017-04-19 Thread Arnd Bergmann
On Wed, Apr 19, 2017 at 10:21 PM, Laurent Pinchart wrote: >> >> This adds a dependency like we have for the other panel drivers. > > I believe the dependency should be made optional. DPI panels that don't need > backlight control should be supported by a kernel that has backlight support >

Re: [PATCH 4.9 00/69] 4.9.24-stable review

2017-04-19 Thread Shuah Khan
On 04/19/2017 08:42 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.24 release. > There are 69 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 4.9 00/69] 4.9.24-stable review

2017-04-19 Thread Shuah Khan
On 04/19/2017 08:42 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.9.24 release. > There are 69 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

[PATCH] FS-Cache: print hexadecimal value for special cookies type

2017-04-19 Thread Jérémy Lefaure
When building object-list.o, gcc 6 raises a warning on the sprintf call in fscache_objlist_show: CC fs/fscache/object-list.o fs/fscache/object-list.c: In function ‘fscache_objlist_show’: fs/fscache/object-list.c:265:19: warning: ‘sprintf’ may write a terminating nul past the end of the

[PATCH] FS-Cache: print hexadecimal value for special cookies type

2017-04-19 Thread Jérémy Lefaure
When building object-list.o, gcc 6 raises a warning on the sprintf call in fscache_objlist_show: CC fs/fscache/object-list.o fs/fscache/object-list.c: In function ‘fscache_objlist_show’: fs/fscache/object-list.c:265:19: warning: ‘sprintf’ may write a terminating nul past the end of the

Re: [PATCH 4.10 00/69] 4.10.12-stable review

2017-04-19 Thread Shuah Khan
On 04/19/2017 08:36 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.10.12 release. > There are 69 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

Re: [PATCH 4.10 00/69] 4.10.12-stable review

2017-04-19 Thread Shuah Khan
On 04/19/2017 08:36 AM, Greg Kroah-Hartman wrote: > This is the start of the stable review cycle for the 4.10.12 release. > There are 69 patches in this series, all will be posted as a response > to this one. If anyone has any issues with these being applied, please > let me know. > > Responses

[PATCH] hp-wmi: Do not shadow error values

2017-04-19 Thread Carlo Caione
From: Carlo Caione All the helper functions (i.e. hp_wmi_dock_state, hp_wmi_tablet_state, ...) using hp_wmi_perform_query to perform an HP WMI query shadow the returned value in case of error. We return -EINVAL only when the HP WMI query returns a positive value (the

[PATCH] hp-wmi: Do not shadow error values

2017-04-19 Thread Carlo Caione
From: Carlo Caione All the helper functions (i.e. hp_wmi_dock_state, hp_wmi_tablet_state, ...) using hp_wmi_perform_query to perform an HP WMI query shadow the returned value in case of error. We return -EINVAL only when the HP WMI query returns a positive value (the specific error code) to not

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