Regression: commit 12549e2 clocksource/drivers/time-armada-370-xp: Convert init function to return error

2016-08-06 Thread Ralph Sennhauser
Dear list, dear Daniel Commit 12549e27c63c61d76bb059bfafce0a4ee05c7e90 breaks booting a Linksys WRT1900ACS for me. I filed bug [1] and John Stultz asked me to get the lists and in particular the author of the commit Daniel Lezcano's attention. More details in the original report [1]. Regards

[PATCH v2] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby)

2017-02-14 Thread Ralph Sennhauser
/8466384db1154a107b86bf3ca10b166a21bd81d0/target/linux/mvebu/files/arch/arm/boot/dts/armada-385-linksys-shelby.dts CC: Imre Kaloz <ka...@openwrt.org> Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> Signed-off-by: Imre Kaloz <ka...@openwrt.org> Reviewed-by: Andrew Lunn <

Re: [PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby)

2017-02-14 Thread Ralph Sennhauser
On Tue, 14 Feb 2017 17:55:33 + Jason Cooper <ja...@lakedaemon.net> wrote: > Hi Ralph, Imre, > > On Tue, Feb 14, 2017 at 09:59:17AM +0100, Ralph Sennhauser wrote: > > The Linksys WRT1900ACS (Shelby) is another Armada 385 based router > > in the Linksys WRT A

[PATCH] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby)

2017-02-14 Thread Ralph Sennhauser
;ka...@openwrt.org> Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/armada-385-linksys-shelby.dts | 114 2 files changed, 115 insertions(+) create mode 100644 arch/arm/boot/dt

[PATCH] ARM: dts: armada-385-linksys: fix DSA compatible property

2017-02-09 Thread Ralph Sennhauser
The switch to the new DSA binding used "marvell,mv88e6095" for the compatible property which doesn't exist, use "marvell,mv88e6085" instead. Fixes: 455b82f03f52 ("ARM: dts: armada-385-linksys: Utilize new DSA binding") Signed-off-by: Ralph Sennhauser <ralph.se

[Regression?] Commit cb4f71c429 deliberately changes order of network interfaces

2016-08-21 Thread Ralph Sennhauser
Dear List, Thomas, Gregory Commit cb4f71c4298853db0c6751b1209e4535956f136c changes the order of the network interfaces for armada-38x. As a special exception to the "order by register address" rule says the comment in the dtsi. The commit messages even calls it a violation. I can't remember

Re: [Regression?] Commit cb4f71c429 deliberately changes order of network interfaces

2016-08-25 Thread Ralph Sennhauser
Hi Jason. On Wed, 24 Aug 2016 21:48:36 + Jason Cooper <ja...@lakedaemon.net> wrote: > All, > > On Wed, Aug 24, 2016 at 10:41:02PM +0200, Ralph Sennhauser wrote: > > On Wed, 24 Aug 2016 20:15:31 +0200 > > Thomas Petazzoni <thomas.petazz...@free-electrons.com&

Re: [Regression?] Commit cb4f71c429 deliberately changes order of network interfaces

2016-08-26 Thread Ralph Sennhauser
Hi Gregory On Fri, 26 Aug 2016 10:43:43 +0200 Gregory CLEMENT <gregory.clem...@free-electrons.com> wrote: > Hi Ralph, > > On jeu., août 25 2016, Ralph Sennhauser <ralph.sennhau...@gmail.com> > wrote: > > > Hi Jason. > > > > On Wed, 24

Re: [Regression?] Commit cb4f71c429 deliberately changes order of network interfaces

2016-08-24 Thread Ralph Sennhauser
On Wed, 24 Aug 2016 16:50:11 +0200 Thomas Petazzoni <thomas.petazz...@free-electrons.com> wrote: > Hello, > > On Sun, 21 Aug 2016 15:11:58 +0200, Ralph Sennhauser wrote: > > > Commit cb4f71c4298853db0c6751b1209e4535956f136c changes the order of > > the net

Re: [Regression?] Commit cb4f71c429 deliberately changes order of network interfaces

2016-08-24 Thread Ralph Sennhauser
Hi Thomas On Wed, 24 Aug 2016 20:15:31 +0200 Thomas Petazzoni <thomas.petazz...@free-electrons.com> wrote: > Hello, > > On Wed, 24 Aug 2016 19:10:04 +0200, Ralph Sennhauser wrote: > > > Going forward, as we disagree and it's basically a political > > decisio

Linux 4.8-stable - spidev_test fails to build with musl libc (fixed in 4.9)

2016-11-17 Thread Ralph Sennhauser
Hi Greg, For Linux 4.8 spidev_test.c fails to compile using musl libc, this was fixed in 4.9 by commit 8736f8022e532a3c1d8873aac78e1113c6ffc3b9 (spi: spidev_test: fix build with musl libc). Please consider cherry-picking the above commit for 4.8-stable. Thanks Ralph

Re: Linux 4.8-stable - spidev_test fails to build with musl libc (fixed in 4.9)

2016-11-17 Thread Ralph Sennhauser
On Thu, 17 Nov 2016 12:05:55 +0100 Greg Kroah-Hartman <gre...@linuxfoundation.org> wrote: > On Thu, Nov 17, 2016 at 11:58:11AM +0100, Ralph Sennhauser wrote: > > Hi Greg, > > > > For Linux 4.8 spidev_test.c fails to compile using musl libc, this >

[BUG 4.9] New led trigger usbport gets the kernel to panic

2016-11-21 Thread Ralph Sennhauser
Hi Rafał, I tried your new usbport trigger in Linux 4.9 with little luck as can be seen in the following output of the serial console. root@wrt1900acs:/# cd /sys/class/leds/pca963x\:shelby\:white\:usb2/

[REGRESSION 4.9-rc2] "c83ed4c - ubifs: Abort readdir upon error" breaks mount

2016-10-28 Thread Ralph Sennhauser
Dear Richard, dear list When testing 4.9-rc2 the device wouldn't boot, as it turns out commit c83ed4c9dbb358b9e7707486e167e940d48bfeed prevent's me mounting root. The relevant portion of init in the initramfs: modprobe ubi mtd=$(get_mtd_from_root_arg) block=0,0 || rescue_shell "ubi"

Re: [REGRESSION 4.9-rc2] "c83ed4c - ubifs: Abort readdir upon error" breaks mount

2016-10-28 Thread Ralph Sennhauser
Richard On Fri, 28 Oct 2016 11:38:55 +0200 Richard Weinberger <rich...@nod.at> wrote: > Ralph, > > On 28.10.2016 11:37, Ralph Sennhauser wrote: > > Dear Richard, dear list > > > > When testing 4.9-rc2 the device wouldn't boot, as it turns out > > commit c

Re: [BUG 4.9] New led trigger usbport gets the kernel to panic

2016-12-01 Thread Ralph Sennhauser
On Mon, 28 Nov 2016 23:20:13 +0100 Rafal Milecki <ra...@milecki.pl> wrote: > Hi Ralph, > > On 11/21/2016 09:40 AM, Ralph Sennhauser wrote: > > I tried your new usbport trigger in Linux 4.9 with little luck as > > can be seen in the following output of the serial conso

Re: [BUG 4.9] New led trigger usbport gets the kernel to panic

2016-12-02 Thread Ralph Sennhauser
On Thu, 1 Dec 2016 17:56:07 +0100 Rafał Miłecki <ra...@milecki.pl> wrote: > On 12/01/2016 03:28 PM, Ralph Sennhauser wrote: > > Below the oops with your debug patch applied. > > > > (...) > > > > root@wrt1900acs:/# cd sys/class/leds/pca963x\:shelby\:white\

[REGRESSION next-20170321] acbdad8dd1ab ("serial: 8250_dw: simplify optional reset handling") causes silent kernel.

2017-03-22 Thread Ralph Sennhauser
Hi Philipp, Commit acbdad8dd1ab ("serial: 8250_dw: simplify optional reset handling") causes the kernel to no longer print anything to the serial console on a Linksys WRT3200ACM (Armada-385, a similar board would be ./arch/arm/boot/dts/armada-385-linksys-cobra.dts). The last message from uboot is

Re: [PATCH v2 0/4] gpio: mvebu: Add PWM fan support

2017-03-23 Thread Ralph Sennhauser
On Thu, 23 Mar 2017 10:23:47 +0100 Linus Walleij <linus.wall...@linaro.org> wrote: > On Sat, Mar 18, 2017 at 4:43 PM, Ralph Sennhauser > <ralph.sennhau...@gmail.com> wrote: > > > This patch series was originally submitted by Andrew Lunn but got > > stalled. I p

Re: [PATCH 1/4] gpio: mvebu: Add limited PWM support

2017-03-23 Thread Ralph Sennhauser
On Thu, 23 Mar 2017 11:11:09 +0100 Linus Walleij <linus.wall...@linaro.org> wrote: > On Mon, Mar 20, 2017 at 2:51 PM, Thierry Reding > <thierry.red...@gmail.com> wrote: > > On Fri, Mar 17, 2017 at 10:17:47AM +0100, Ralph Sennhauser wrote: > >> On Thu, 16 M

Re: [REGRESSION next-20170321] acbdad8dd1ab ("serial: 8250_dw: simplify optional reset handling") causes silent kernel.

2017-03-22 Thread Ralph Sennhauser
Hi Philipp On Wed, 22 Mar 2017 15:33:47 +0100 Philipp Zabel <p.za...@pengutronix.de> wrote: > Hi Ralph, > > On Wed, 2017-03-22 at 15:24 +0100, Ralph Sennhauser wrote: > > Hi Philipp, > > > > Commit acbdad8dd1ab ("serial: 8250_dw: simplify optional

Re: [REGRESSION 4.11] Commit d8514d8edb5b ("ovl: copy up regular file using O_TMPFILE") breaks ubifs

2017-03-28 Thread Ralph Sennhauser
On Tue, 28 Mar 2017 05:27:03 -0400 Amir Goldstein <amir7...@gmail.com> wrote: > On Tue, Mar 28, 2017 at 4:01 AM, Ralph Sennhauser > <ralph.sennhau...@gmail.com> wrote: > > Hi Amir > > > > Commit d8514d8edb5b ("ovl: copy up regular file using O_TMPFILE&qu

Re: [REGRESSION 4.11] Commit d8514d8edb5b ("ovl: copy up regular file using O_TMPFILE") breaks ubifs

2017-03-28 Thread Ralph Sennhauser
Hi Amir, On Tue, 28 Mar 2017 07:03:11 -0400 Amir Goldstein wrote: > Overlayfs now uses O_TMPFILE for copy up and it works fine with all > the file systems I tested (tmpfs, xfs, ext4). > If I am right and O_TMPFILE is broken in ubifs, you are most likely > the first person to

Re: [REGRESSION 4.11] Commit d8514d8edb5b ("ovl: copy up regular file using O_TMPFILE") breaks ubifs

2017-03-28 Thread Ralph Sennhauser
On Tue, 28 Mar 2017 08:08:51 -0400 Amir Goldstein <amir7...@gmail.com> wrote: > On Tue, Mar 28, 2017 at 7:28 AM, Ralph Sennhauser > <ralph.sennhau...@gmail.com> wrote: > > Hi Amir, > > > > On Tue, 28 Mar 2017 07:03:11 -0400 > > Amir Goldstein <amir7.

[REGRESSION 4.11] Commit d8514d8edb5b ("ovl: copy up regular file using O_TMPFILE") breaks ubifs

2017-03-28 Thread Ralph Sennhauser
Hi Amir Commit d8514d8edb5b ("ovl: copy up regular file using O_TMPFILE") breaks squashfs with an ubifs overlay (both ubi volumes of the same container). Renaming a file results in an error "UBIFS error (ubi0:1 pid 1394): ubifs_add_orphan: orphaned twice". This corrupts the the filesystem and

[PATCH v4 1/4] gpio: mvebu: Add limited PWM support

2017-03-27 Thread Ralph Sennhauser
; URL: https://patchwork.ozlabs.org/patch/427287/ URL: https://patchwork.ozlabs.org/patch/427295/ [Ralph Sennhauser: * Port forward * Merge PWM portion into gpio-mvebu.c * Switch to atomic PWM API * Add new compatible string marvell,armada-370-xp-gpio * Update and merge documentation patch * Update

[PATCH v4 0/4] gpio: mvebu: Add PWM fan support

2017-03-27 Thread Ralph Sennhauser
Hi everyone This patch series was originally submitted by Andrew Lunn but got stalled. I picked up the series and addressed what was discussed for the earlier submission with some helpful input from Andrew. Hopefully this time support for the PWM fan as found on Linksys WRT1900AC (Mamba) will

[PATCH v4 4/4] mvebu: wrt1900ac: Use pwm-fan rather than gpio-fan

2017-03-27 Thread Ralph Sennhauser
k.ozlabs.org/patch/427291/ [Ralph Sennhauser: drop flags paramter from pwms, no longer used] Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/arm/

[PATCH v4 2/4] mvebu: xp: Add PWM properties to .dtsi files

2017-03-27 Thread Ralph Sennhauser
From: Andrew Lunn <and...@lunn.ch> Add properties to the GPIO nodes to allow them to be also used as PWM lines. Signed-off-by: Andrew Lunn <and...@lunn.ch> URL: https://patchwork.ozlabs.org/patch/427294/ [Ralph Sennhauser: * Use new compatible string marvell,armada-370-xp-gpio *

[PATCH v4 3/4] ARM: mvebu: Enable SENSORS_PWM_FAN in defconfig

2017-03-27 Thread Ralph Sennhauser
From: Andrew Lunn <and...@lunn.ch> Now that the GPIO driver also supports PWM operation, enable the PWM framework and fan driver in mvebu_v7_defconfig. Signed-off-by: Andrew Lunn <and...@lunn.ch> URL: https://patchwork.ozlabs.org/patch/427297/ [Ralph Sennhauser: add fan driver

Re: [PATCH v3 4/4] mvebu: wrt1900ac: Use pwm-fan rather than gpio-fan

2017-03-26 Thread Ralph Sennhauser
On Fri, 24 Mar 2017 15:35:05 +0100 Andrew Lunn wrote: > > + pwm_fan { > > /* SUNON HA4010V4--C99 */ > > - compatible = "gpio-fan"; > > - gpios = < 24 0>; > > > > - gpio-fan,speed-map = <00 > > -

Re: [PATCH v2 1/4] gpio: mvebu: Add limited PWM support

2017-03-24 Thread Ralph Sennhauser
On Fri, 24 Mar 2017 10:18:29 -0500 Rob Herring <r...@kernel.org> wrote: > On Sat, Mar 18, 2017 at 04:43:01PM +0100, Ralph Sennhauser wrote: > > From: Andrew Lunn <and...@lunn.ch> > > > > Armada 370/XP devices can 'blink' gpio lines with a configurable on > &g

Re: [PATCH v3 4/4] mvebu: wrt1900ac: Use pwm-fan rather than gpio-fan

2017-03-24 Thread Ralph Sennhauser
On Fri, 24 Mar 2017 15:35:05 +0100 Andrew Lunn wrote: > > + pwm_fan { > > /* SUNON HA4010V4--C99 */ > > - compatible = "gpio-fan"; > > - gpios = < 24 0>; > > > > - gpio-fan,speed-map = <00 > > -

Re: [PATCH] ubifs: Fix O_TMPFILE corner case in ubifs_link()

2017-03-30 Thread Ralph Sennhauser
a link count of 0 they appear > > on the orphan list, upon re-linking the inode has to be removed > > from the orphan list again. > > > > Looks good. Nothing to add. Thanks to both of you. Ralph > > > Cc: <sta...@vger.kernel.org> > > Cc: Ralph Sennhau

[PATCH] ARM: dts: armada-385-linksys: disk-activity trigger for all

2017-03-30 Thread Ralph Sennhauser
Commit a4ee7e18d808 ("ARM: dts: armada: Add default trigger for sata led") adds the default trigger to individual boards, move it to armada-385-linksys.dtsi which effectively enables the definition for the WRT1900ACS (Shelby) as well as for future boards. Signed-off-by: Ralph

Re: [PATCH v4 2/4] mvebu: xp: Add PWM properties to .dtsi files

2017-03-30 Thread Ralph Sennhauser
On Thu, 30 Mar 2017 17:45:08 +0200 Gregory CLEMENT <gregory.clem...@free-electrons.com> wrote: > Hi Ralph, > > On lun., mars 27 2017, Ralph Sennhauser <ralph.sennhau...@gmail.com> > wrote: > > The title should start by ARM: dts: mvebu: > > If there is

Re: [REGRESSION 4.11] Commit d8514d8edb5b ("ovl: copy up regular file using O_TMPFILE") breaks ubifs

2017-03-30 Thread Ralph Sennhauser
two patches seem all that was needed to get things back to a working state. Do you want me to test anything else than linux-next? Thanks Ralph > > Von meinem Samsung Gerät gesendet. > > Ursprüngliche Nachricht > Von: Ralph Sennhauser <ralph.sennhau...@gmail.com

Re: [REGRESSION 4.11] Commit d8514d8edb5b ("ovl: copy up regular file using O_TMPFILE") breaks ubifs

2017-03-29 Thread Ralph Sennhauser
On Wed, 29 Mar 2017 22:16:10 +0300 Amir Goldstein <amir7...@gmail.com> wrote: > On Tue, Mar 28, 2017 at 3:16 PM, Ralph Sennhauser > <ralph.sennhau...@gmail.com> wrote: > > On Tue, 28 Mar 2017 08:08:51 -0400 > > Amir Goldstein <amir7...@gmail.com> wrote: > &

Re: [REGRESSION 4.11] Commit d8514d8edb5b ("ovl: copy up regular file using O_TMPFILE") breaks ubifs

2017-03-29 Thread Ralph Sennhauser
Hi Richard, On Thu, 30 Mar 2017 00:15:31 +0200 Richard Weinberger <rich...@nod.at> wrote: > Ralph, > > Am 29.03.2017 um 23:26 schrieb Ralph Sennhauser: > >> # create and link a tmpfile - then remove it > >> sudo rm -rf foo; sudo xfs_io -T -c "flin

Re: [PATCH] ARM: dts: armada-38x: label USB and SATA nodes

2017-03-31 Thread Ralph Sennhauser
On Fri, 31 Mar 2017 18:50:15 +0200 Andrew Lunn wrote: > > - sata@a8000 { > > + satac0: sata@a8000 { > > Hi Ralph > > Why the c in satac0? For controller and to not conflict with a use case of sata0 for a port, similarly to pciec and pcie1.

[PATCH v3 4/4] mvebu: wrt1900ac: Use pwm-fan rather than gpio-fan

2017-03-24 Thread Ralph Sennhauser
k.ozlabs.org/patch/427291/ Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts b/arch/arm/boot/dts/armada-xp-links

[PATCH v3 3/4] ARM: mvebu: Enable SENSORS_PWM_FAN in defconfig

2017-03-24 Thread Ralph Sennhauser
From: Andrew Lunn <and...@lunn.ch> Now that the GPIO driver also supports PWM operation, enable the PWM framework and fan driver in mvebu_v7_defconfig. Signed-off-by: Andrew Lunn <and...@lunn.ch> URL: https://patchwork.ozlabs.org/patch/427297/ [Ralph Sennhauser: add fan driver

[PATCH v3 2/4] mvebu: xp: Add PWM properties to .dtsi files

2017-03-24 Thread Ralph Sennhauser
From: Andrew Lunn <and...@lunn.ch> Add properties to the GPIO nodes to allow them to be also used as PWM lines. Signed-off-by: Andrew Lunn <and...@lunn.ch> URL: https://patchwork.ozlabs.org/patch/427294/ [Ralph Sennhauser: * Use #pwm-cells = <1> * Add missing reg-names / #p

[PATCH v3 1/4] gpio: mvebu: Add limited PWM support

2017-03-24 Thread Ralph Sennhauser
; URL: https://patchwork.ozlabs.org/patch/427287/ URL: https://patchwork.ozlabs.org/patch/427295/ [Ralph Sennhauser: * Port forward * Merge PWM portion into gpio-mvebu.c * Switch to atomic PWM API * Merge documentation patch * Update MAINTAINERS] Signed-off-by: Ralph Sennhauser <ralph.sennh

[PATCH v3 0/4] gpio: mvebu: Add PWM fan support

2017-03-24 Thread Ralph Sennhauser
Hi everyone This patch series was originally submitted by Andrew Lunn but got stalled. I picked up the series and addressed what was discussed for the earlier submission with some helpful input from Andrew. Hopefully this time support for the PWM fan as found on Linksys WRT1900AC (Mamba) will

[PATCH v2 2/4] mvebu: xp: Add pwm properties to .dtsi files

2017-03-18 Thread Ralph Sennhauser
From: Andrew Lunn <and...@lunn.ch> Add properties to the gpio nodes to allow them to be also used as pwm lines. Signed-off-by: Andrew Lunn <and...@lunn.ch> URL: https://patchwork.ozlabs.org/patch/427294/ Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- arch/a

[PATCH v2 1/4] gpio: mvebu: Add limited PWM support

2017-03-18 Thread Ralph Sennhauser
; URL: https://patchwork.ozlabs.org/patch/427287/ URL: https://patchwork.ozlabs.org/patch/427295/ [Ralph Sennhauser: * port forward * merge pwm portion into gpio-mvebu.c * merge documentation patch * update MAINTAINERS] Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- .../device

[PATCH v2 3/4] ARM: mvebu: Enable SENSORS_PWM_FAN in defconfig

2017-03-18 Thread Ralph Sennhauser
From: Andrew Lunn <and...@lunn.ch> Now that the gpio driver also supports PWM operation, enable the PWM framework and fan driver in mvebu_v7_defconfig. Signed-off-by: Andrew Lunn <and...@lunn.ch> URL: https://patchwork.ozlabs.org/patch/427297/ [Ralph Sennhauser: add fan driver

[PATCH v2 0/4] gpio: mvebu: Add PWM fan support

2017-03-18 Thread Ralph Sennhauser
Hi everyone This patch series was originally submitted by Andrew Lunn but got stalled. I picked up the series and addressed what was discussed for the earlier submission with some helpful input from Andrew. Hopefully this time support for the PWM fan as found on Linksys WRT1900AC (Mamba) will

[PATCH v2 4/4] mvebu: wrt1900ac: Use pwm-fan rather than gpio-fan

2017-03-18 Thread Ralph Sennhauser
k.ozlabs.org/patch/427291/ Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts b/arch/arm/boot/dts/armada-xp-links

[PATCH 1/1] gpio: mvebu: use BIT macro instead of bit shifting

2017-03-17 Thread Ralph Sennhauser
Use the BIT macro instead of explicitly shifting bits for some added clarity. Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- Hi Linus, To use the BIT macro for the pwm-fan addition it would be nice to have the rest converted before hand. This patch takes care of that.

Re: [PATCH 0/4] gpio: mvebu: Add PWM fan support

2017-03-18 Thread Ralph Sennhauser
On Sat, 18 Mar 2017 16:39:06 +0100 Andrew Lunn <and...@lunn.ch> wrote: > On Thu, Mar 16, 2017 at 07:42:14AM +0100, Ralph Sennhauser wrote: > > Hi everyone > > > > this patch series was originally submitted by Andrew Lunn but got > > stalled. I picked

Re: [PATCH 1/4] gpio: mvebu: Add limited PWM support

2017-03-21 Thread Ralph Sennhauser
On Mon, 20 Mar 2017 14:51:31 +0100 Thierry Reding <thierry.red...@gmail.com> wrote: > On Fri, Mar 17, 2017 at 10:17:47AM +0100, Ralph Sennhauser wrote: > > On Thu, 16 Mar 2017 17:03:05 +0100 > > Linus Walleij <linus.wall...@linaro.org> wrote: > [...] > >

Re: [PATCH 1/4] gpio: mvebu: Add limited PWM support

2017-03-21 Thread Ralph Sennhauser
On Mon, 20 Mar 2017 14:42:52 +0100 Thierry Reding wrote: > > diff --git a/Documentation/devicetree/bindings/gpio/gpio-mvebu.txt > > b/Documentation/devicetree/bindings/gpio/gpio-mvebu.txt index > > a6f3bec..86932e3 100644 --- > >

[PATCH 2/4] mvebu: xp: Add pwm properties to .dtsi files

2017-03-16 Thread Ralph Sennhauser
From: Andrew Lunn <and...@lunn.ch> Add properties to the gpio nodes to allow them to be also used as pwm lines. Signed-off-by: Andrew Lunn <and...@lunn.ch> URL: https://patchwork.ozlabs.org/patch/427294/ Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- arch/a

[PATCH 1/4] gpio: mvebu: Add limited PWM support

2017-03-16 Thread Ralph Sennhauser
; URL: https://patchwork.ozlabs.org/patch/427287/ URL: https://patchwork.ozlabs.org/patch/427295/ [Ralph Sennhauser: * port forward * merge pwm portion into gpio-mvebu.c * merge doc patch * update MAINAINERS] Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- .../devicetree/bindings/g

[PATCH v2] ARM: dts: mvebu: linksys: enable buffer manager support

2017-03-16 Thread Ralph Sennhauser
Add appropriate properties to devices in the Linksys WRT AC Series for the mvneta driver to use hardware buffer management. Also update "soc" ranges property and set the status of bm and bm-bppi to "okay" (SRAM). Signed-off-by: Ralph Sennhauser <ralph.sennhau...@g

Re: [PATCH] ARM: dts: mvebu: linksys: enable buffer manager support

2017-03-15 Thread Ralph Sennhauser
On Wed, 15 Mar 2017 20:17:35 +0100 Gregory CLEMENT <gregory.clem...@free-electrons.com> wrote: > Hi Ralph, > > On mer., mars 08 2017, Ralph Sennhauser <ralph.sennhau...@gmail.com> > wrote: > > > > > @@ -88,6 +89,9 @@

[PATCH 0/6] gpio: mvebu: prepatatory cleanup for pwm-fan support

2017-03-16 Thread Ralph Sennhauser
. This series is split out to save the pwm folks from having to review this part as well. Thanks Ralph Ralph Sennhauser (6): gpio: mvebu: checkpatch: block comment fixes gpio: mvebu: start multiline block comments with blank line gpio: mvebu: checkpatch: unsigned int fixes gpio: mvebu

[PATCH 3/6] gpio: mvebu: checkpatch: unsigned int fixes

2017-03-16 Thread Ralph Sennhauser
Use unsigned int instead of plain unsigned as reported by checkpatch. Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- drivers/gpio/gpio-mvebu.c | 13 +++-- 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-m

[PATCH 2/6] gpio: mvebu: start multiline block comments with blank line

2017-03-16 Thread Ralph Sennhauser
While this isn't an issue according to checkpatch two styles are used. Add a blank line to the block comments missing a blank line at the start so multiline block comments look the same across the file. Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- drivers/gpio/gpio-m

[PATCH 6/6] gpio: mvebu: let the compiler inline

2017-03-16 Thread Ralph Sennhauser
A modern compiler should know better when to inline, so drop the inline keywords. Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- drivers/gpio/gpio-mvebu.c | 18 +++--- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/drivers/gpio/gpio-mvebu.c b/d

[PATCH 5/6] gpio: mvebu: extra whitespace fixes

2017-03-16 Thread Ralph Sennhauser
Fix whitespace errors missed by checkpatch. Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- drivers/gpio/gpio-mvebu.c | 13 ++--- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-mvebu.c index 1933e63..d

[PATCH 1/6] gpio: mvebu: checkpatch: block comment fixes

2017-03-16 Thread Ralph Sennhauser
Fix issues in block comments reported by checkpatch. Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- drivers/gpio/gpio-mvebu.c | 24 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-m

[PATCH 4/6] gpio: mvebu: checkpatch: whitespace fixes

2017-03-16 Thread Ralph Sennhauser
Fix whitespace errors reported by checkpatch. Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- drivers/gpio/gpio-mvebu.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpio/gpio-mvebu.c b/drivers/gpio/gpio-mvebu.c index a9522f4..1933e63 100644 --- a/drivers/gpi

[PATCH 4/4] mvebu: wrt1900ac: Use pwm-fan rather than gpio-fan

2017-03-16 Thread Ralph Sennhauser
k.ozlabs.org/patch/427291/ Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 8 +++- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/armada-xp-linksys-mamba.dts b/arch/arm/boot/dts/armada-xp-links

[PATCH 3/4] ARM: mvebu: Enable SENSORS_PWM_FAN in defconfig

2017-03-16 Thread Ralph Sennhauser
From: Andrew Lunn <and...@lunn.ch> Now that the gpio driver also supports PWM operation, enable the PWM framework and fan driver in mvebu_v7_defconfig. Signed-off-by: Andrew Lunn <and...@lunn.ch> URL: https://patchwork.ozlabs.org/patch/427297/ [Ralph Sennhauser: add fan driver

[PATCH 0/4] gpio: mvebu: Add PWM fan support

2017-03-16 Thread Ralph Sennhauser
Hi everyone this patch series was originally submitted by Andrew Lunn but got stalled. I picked up the series and addressed what was disscussed for the earlier submission with some helpful input from Andrew. Hopefully this time support for the PWM fan as found on Linksys WRT1900AC (Mamba) will

Re: [PATCH 1/4] gpio: mvebu: Add limited PWM support

2017-03-17 Thread Ralph Sennhauser
On Thu, 16 Mar 2017 17:03:05 +0100 Linus Walleij wrote: > > In essence I am very positive of this patch set and happy to merge > it as a PWM driver inside of GPIO if Thierry is OK with it. Hi Linus, thanks for merging the cleanup patches. > > > +static void

Re: [PATCH 6/6] gpio: mvebu: let the compiler inline

2017-03-17 Thread Ralph Sennhauser
On Thu, 16 Mar 2017 16:44:58 +0100 Linus Walleij <linus.wall...@linaro.org> wrote: > On Thu, Mar 16, 2017 at 7:34 AM, Ralph Sennhauser > <ralph.sennhau...@gmail.com> wrote: > > > A modern compiler should know better when to inline, so drop the > > inline keywo

[PATCH 1/1] ARM: dts: armada-xp-linksys-mamba: use wan instead of internet for DSA port

2017-04-04 Thread Ralph Sennhauser
3 | lan3| | 4 | lan4 | lan4| |-----| Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- Hi everybody, I underestimated th

Re: [PATCH 1/1] ARM: dts: armada-xp-linksys-mamba: use wan instead of internet for DSA port

2017-04-10 Thread Ralph Sennhauser
On Wed, 5 Apr 2017 18:08:08 +0200 Ralph Sennhauser <ralph.sennhau...@gmail.com> wrote: > Hi Andrew, > > On Wed, 5 Apr 2017 17:50:32 +0200 > Andrew Lunn <and...@lunn.ch> wrote: > > > > I would say, this is now too late. Changing an interface name > >

[PATCH] ARM: dts: armada-38x: label USB and SATA nodes

2017-03-31 Thread Ralph Sennhauser
Recently most nodes got labels to make them referenceable. The USB 3.0 nodes as well as the nodes for the SATA controllers were left out, rectify the omission. Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- Hi everybody In preparation to add support for the Linksys WRT3

Re: [PATCH] ARM: dts: armada-38x: label USB and SATA nodes

2017-04-01 Thread Ralph Sennhauser
On Fri, 31 Mar 2017 20:21:11 +0200 Andrew Lunn <and...@lunn.ch> wrote: > On Fri, Mar 31, 2017 at 07:39:20PM +0200, Ralph Sennhauser wrote: > > On Fri, 31 Mar 2017 18:50:15 +0200 > > Andrew Lunn <and...@lunn.ch> wrote: > > > >

[REGRESSION next-20170410] Commit a6ff6cbf1fab ("usb: xhci: Add helper function xhci_set_power_on().") breaks armada-385

2017-04-12 Thread Ralph Sennhauser
Hi Guoqing Zhang, Commit a6ff6cbf1fabe7500d8ac25e133e3346db0a0fca ("usb: xhci: Add helper function xhci_set_power_on().") causes a null pointer dereference on an armada-385. Below the kernel as well as the bisect log. Regards Ralph [2.481636] Unable to handle kernel NULL pointer

Re: [PATCH 1/1] ARM: dts: armada-xp-linksys-mamba: use wan instead of internet for DSA port

2017-04-05 Thread Ralph Sennhauser
On Wed, 5 Apr 2017 16:28:24 +0200 Andrew Lunn <and...@lunn.ch> wrote: > On Wed, Apr 05, 2017 at 07:28:46AM +0200, Ralph Sennhauser wrote: > > The LEDs for the "wan" port are already labeled "mamba:amber:wan" > > resp. "mamba:white:wan". So b

Re: [PATCH 1/1] ARM: dts: armada-xp-linksys-mamba: use wan instead of internet for DSA port

2017-04-05 Thread Ralph Sennhauser
Hi Andrew, On Wed, 5 Apr 2017 17:50:32 +0200 Andrew Lunn wrote: > > In fact "internet" label on the case is uppercase, would this matter > > for you for new bindings, or would you still use the lowercase > > version? > > I would use lower case, just to fix with the general

[PATCH v5 0/4] gpio: mvebu: Add PWM fan support

2017-04-09 Thread Ralph Sennhauser
Hi Therry, Resending this as v5 with some minor changes since v4. What is missing is an ACK from you so Linus can merge the driver and Gregory the dts changes. For this driver to make it into 4.12 it would be nice to have it in next soon. I hope you can make some room in your schedule to have

[PATCH v5 2/4] ARM: dts: mvebu: Add PWM properties to .dtsi files

2017-04-09 Thread Ralph Sennhauser
From: Andrew Lunn <and...@lunn.ch> Add properties to the GPIO nodes to allow them to be also used as PWM lines. Signed-off-by: Andrew Lunn <and...@lunn.ch> URL: https://patchwork.ozlabs.org/patch/427294/ [Ralph Sennhauser: Add new compatible string marvell,armada-370-xp-gpio

[PATCH v5 4/4] ARM: dts: armada-xp: Use pwm-fan rather than gpio-fan

2017-04-09 Thread Ralph Sennhauser
k.ozlabs.org/patch/427291/ [Ralph Sennhauser: drop flags paramter from pwms, no longer used] Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> Tested-by: Andrew Lunn <and...@lunn.ch> --- arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 8 +++- 1 file changed, 3 insertions(

[PATCH v5 3/4] ARM: mvebu: Enable SENSORS_PWM_FAN in defconfig

2017-04-09 Thread Ralph Sennhauser
From: Andrew Lunn <and...@lunn.ch> Now that the GPIO driver also supports PWM operation, enable the PWM framework and fan driver in mvebu_v7_defconfig. Signed-off-by: Andrew Lunn <and...@lunn.ch> URL: https://patchwork.ozlabs.org/patch/427297/ [Ralph Sennhauser: add fan driver

[PATCH v5 1/4] gpio: mvebu: Add limited PWM support

2017-04-09 Thread Ralph Sennhauser
; URL: https://patchwork.ozlabs.org/patch/427287/ URL: https://patchwork.ozlabs.org/patch/427295/ [Ralph Sennhauser: * Port forward * Merge PWM portion into gpio-mvebu.c * Switch to atomic PWM API * Add new compatible string marvell,armada-370-xp-gpio * Update and merge documentation patch * Update

Re: [PATCH] ubifs: Fix O_TMPFILE corner case in ubifs_link()

2017-04-17 Thread Ralph Sennhauser
On Tue, 11 Apr 2017 18:04:50 +0300 Amir Goldstein wrote: > On Tue, Apr 11, 2017 at 1:50 PM, Richard Weinberger > wrote: > > Hi! > > > > Am 11.04.2017 um 12:20 schrieb Amir Goldstein: > >> On Thu, Apr 6, 2017 at 3:26 PM, Richard Weinberger > >>

Re: [PATCH v5 1/4] gpio: mvebu: Add limited PWM support

2017-04-13 Thread Ralph Sennhauser
On Wed, 12 Apr 2017 19:11:21 +0200 Thierry Reding <thierry.red...@gmail.com> wrote: > On Sun, Apr 09, 2017 at 08:09:27PM +0200, Ralph Sennhauser wrote: > > From: Andrew Lunn <and...@lunn.ch> > > > > Armada 370/XP devices can 'blink' GPIO lines with a configurabl

Re: [PATCH v5 0/4] gpio: mvebu: Add PWM fan support

2017-04-13 Thread Ralph Sennhauser
On Wed, 12 Apr 2017 19:16:56 +0200 Thierry Reding <thierry.red...@gmail.com> wrote: > On Sun, Apr 09, 2017 at 08:09:26PM +0200, Ralph Sennhauser wrote: > > Hi Therry, > > > > Resending this as v5 with some minor changes since v4. What is > > missing is a

Re: [REGRESSION next-20170410] Commit a6ff6cbf1fab ("usb: xhci: Add helper function xhci_set_power_on().") breaks armada-385

2017-04-13 Thread Ralph Sennhauser
On Thu, 13 Apr 2017 09:29:23 +0300 Mathias Nyman <mathias.ny...@linux.intel.com> wrote: > On 12.04.2017 10:47, Ralph Sennhauser wrote: > > Hi Guoqing Zhang, > > > > Commit a6ff6cbf1fabe7500d8ac25e133e3346db0a0fca ("usb: xhci: Add > > helper function xhci_s

[PATCH v6 1/4] gpio: mvebu: Add limited PWM support

2017-04-14 Thread Ralph Sennhauser
; URL: https://patchwork.ozlabs.org/patch/427287/ URL: https://patchwork.ozlabs.org/patch/427295/ [Ralph Sennhauser: * Port forward * Merge PWM portion into gpio-mvebu.c * Switch to atomic PWM API * Add new compatible string marvell,armada-370-xp-gpio * Update and merge documentation patch * Update

[PATCH v6 4/4] ARM: dts: armada-xp: Use pwm-fan rather than gpio-fan

2017-04-14 Thread Ralph Sennhauser
k.ozlabs.org/patch/427291/ [Ralph Sennhauser: drop flags paramter from pwms, no longer used] Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> Tested-by: Andrew Lunn <and...@lunn.ch> --- arch/arm/boot/dts/armada-xp-linksys-mamba.dts | 8 +++- 1 file changed, 3 insertions(

[PATCH v5 0/4] gpio: mvebu: Add PWM fan support

2017-04-14 Thread Ralph Sennhauser
Hi everyone, With the bike shedding fixes as Thierry called them out of the way and the ACK by Rob for the bindings this version could be merged. The only thing still sort of open is whether to use npwm=1 and giving up the sysfs use case. Though an ACK was given for this implementation already I

[PATCH v6 2/4] ARM: dts: mvebu: Add PWM properties to .dtsi files

2017-04-14 Thread Ralph Sennhauser
From: Andrew Lunn <and...@lunn.ch> Add properties to the GPIO nodes to allow them to be also used as PWM lines. Signed-off-by: Andrew Lunn <and...@lunn.ch> URL: https://patchwork.ozlabs.org/patch/427294/ [Ralph Sennhauser: Add new compatible string marvell,armada-370-xp-gpio

[PATCH v6 3/4] ARM: mvebu: Enable SENSORS_PWM_FAN in defconfig

2017-04-14 Thread Ralph Sennhauser
From: Andrew Lunn <and...@lunn.ch> Now that the GPIO driver also supports PWM operation, enable the PWM framework and fan driver in mvebu_v7_defconfig. Signed-off-by: Andrew Lunn <and...@lunn.ch> URL: https://patchwork.ozlabs.org/patch/427297/ [Ralph Sennhauser: add fan driver

[PATCH] ARM: dts: mvebu: linksys: enable buffer manager support

2017-03-07 Thread Ralph Sennhauser
Add appropriate properties to devices in the Linksys WRT AC Series for the mvneta driver to use hardware buffer management. Also update "soc" ranges property and set the status of bm and bm-bppi to "okay" (SRAM). Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com&

Re: [PATCH v2] ARM: mvebu: add support for the Linksys WRT1900ACS (Shelby)

2017-03-07 Thread Ralph Sennhauser
On Tue, 07 Mar 2017 18:27:21 +0100 Gregory CLEMENT wrote: > > It is now in mvebu/dt and in the same time I fixed the title to: > "ARM: dts: armada-385: add support for the Linksys WRT1900ACS > (Shelby)" > > Gregory > Thanks Ralph PS: The sort order got

[PATCH v2] ARM: dts: armada-38x: label USB and SATA nodes

2017-04-08 Thread Ralph Sennhauser
ATA controller nodes. To avoid potential confusion by labeling an USB3.0 controller "usb2" use usb3_X as labels. This also coincides with the node names themselves (usb@x vs usb3@x). Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- Hi everybody, Using satacX for

[REGRESSION next-20170426] Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices") causes oops in mvneta

2017-04-26 Thread Ralph Sennhauser
Hi Sricharan R, Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices") causes a kernel panic as in the log below on an armada-385. Reverting the commit fixes the issue. Regards Ralph --- [ 18.288244] [c06d8480] *pgd=0061941e(bad) [

Re: [REGRESSION next-20170426] Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices") causes oops in mvneta

2017-04-27 Thread Ralph Sennhauser
On Thu, 27 Apr 2017 19:05:09 +0530 Sricharan R <sricha...@codeaurora.org> wrote: > Hi, > > On 4/26/2017 9:45 PM, Ralph Sennhauser wrote: > > Hi Sricharan R, > > > > Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe > > time for pla

Re: [REGRESSION next-20170426] Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices") causes oops in mvneta

2017-04-28 Thread Ralph Sennhauser
On Fri, 28 Apr 2017 17:26:41 +0530 Sricharan R wrote: > Hi Ralph, > > > > > > > Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe > > time for platform/amba/pci bus devices") causes a kernel panic > > as in the log below on an

Re: [REGRESSION next-20170426] Commit 09515ef5ddad ("of/acpi: Configure dma operations at probe time for platform/amba/pci bus devices") causes oops in mvneta

2017-04-28 Thread Ralph Sennhauser
On Fri, 28 Apr 2017 11:13:33 +0530 Sricharan R <sricha...@codeaurora.org> wrote: > Hi Ralph, > > On 4/27/2017 8:10 PM, Ralph Sennhauser wrote: > > On Thu, 27 Apr 2017 19:05:09 +0530 > > Sricharan R <sricha...@codeaurora.org> wrote: > > > >> Hi,

[PATCH REGRESSION 4.12-rc1] ovl: add missing CONFIG_EXPORTFS dependency

2017-05-16 Thread Ralph Sennhauser
node on copy up") Signed-off-by: Ralph Sennhauser <ralph.sennhau...@gmail.com> --- fs/overlayfs/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/overlayfs/Kconfig b/fs/overlayfs/Kconfig index 0daac51..c0c9683 100644 --- a/fs/overlayfs/Kconfig +++ b/fs/overlayfs/Kconfig @@ -1,5

Linux 4.11 - broken enlightenment window manager (fixed in 4.12)

2017-06-09 Thread Ralph Sennhauser
Hi Greg, With 4.11 the enlightenment window mangers fails to start setuid children due to commit 64b875f7ac8a ("ptrace: Capture the ptracer's creds not PT_PTRACE_CAP"). Commit c70d9d809fde ("ptrace: Properly initialize ptracer_cred on fork") in Linus tree fixes the issue. Tested with v4.11.4.

  1   2   3   >