Re: linux 4.2-rc1 broken Nokia N900

2015-07-28 Thread Pali Rohár
On Tuesday 28 July 2015 14:26:13 Sebastian Reichel wrote: > Hi Pali, > > On Tue, Jul 28, 2015 at 10:39:32AM +0200, Pali Rohár wrote: > > Sebastian or Michael: Can you add check for pm_runtime_get_sync() > > function and send patch for including in mainline kernel? > > This actually already happen

Re: linux 4.2-rc1 broken Nokia N900

2015-07-28 Thread Sebastian Reichel
Hi Pali, On Tue, Jul 28, 2015 at 10:39:32AM +0200, Pali Rohár wrote: > Sebastian or Michael: Can you add check for pm_runtime_get_sync() > function and send patch for including in mainline kernel? This actually already happened before your Tested-By. I accidently did not CC you, sorry for that:

Re: linux 4.2-rc1 broken Nokia N900

2015-07-28 Thread Pali Rohár
On Saturday 25 July 2015 10:55:50 Pali Rohár wrote: > On Wednesday 22 July 2015 04:03:07 Sebastian Reichel wrote: > > Hi, > > > > On Tue, Jul 21, 2015 at 07:17:41PM -0500, Michael Welling wrote: > > > On Tue, Jul 21, 2015 at 11:34:41AM +0200, Pavel Machek wrote: > > > > > > This code has my head

Re: linux 4.2-rc1 broken Nokia N900

2015-07-25 Thread Pali Rohár
On Wednesday 22 July 2015 04:03:07 Sebastian Reichel wrote: > Hi, > > On Tue, Jul 21, 2015 at 07:17:41PM -0500, Michael Welling wrote: > > On Tue, Jul 21, 2015 at 11:34:41AM +0200, Pavel Machek wrote: > > > > This code has my head spinning. > > > > I found that the errors do not occur when the d

Re: linux 4.2-rc1 broken Nokia N900

2015-07-24 Thread Pali Rohár
On Friday 24 July 2015 10:40:58 Pali Rohár wrote: > On Friday 24 July 2015 16:18:09 Dave Young wrote: > > On 07/11/15 at 02:05pm, Pali Rohár wrote: > > > Hello, > > > > > > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers > > > are broken and cause kernel oops... > > > > > > Basic

Re: linux 4.2-rc1 broken Nokia N900

2015-07-24 Thread Pali Rohár
On Friday 24 July 2015 18:28:44 Dave Young wrote: > On 07/24/15 at 11:30am, Ivaylo Dimitrov wrote: > > > > > > On 24.07.2015 11:18, Dave Young wrote: > > > > >Pali, could you tell how do you test mainline kernel on n900? > > > > > >I used to use n900 as a usb dbgp gadget with a backport patch to

Re: linux 4.2-rc1 broken Nokia N900

2015-07-24 Thread Pali Rohár
On Friday 24 July 2015 18:33:51 Dave Young wrote: > Hi, Pali > > On 07/24/15 at 10:40am, Pali Rohár wrote: > > On Friday 24 July 2015 16:18:09 Dave Young wrote: > > > On 07/11/15 at 02:05pm, Pali Rohár wrote: > > > > Hello, > > > > > > > > now I tested 4.2-rc1 release on Nokia N900 and couple of

Re: linux 4.2-rc1 broken Nokia N900

2015-07-24 Thread Dave Young
On 07/24/15 at 10:51am, Pavel Machek wrote: > On Fri 2015-07-24 16:18:09, Dave Young wrote: > > On 07/11/15 at 02:05pm, Pali Rohár wrote: > > > Hello, > > > > > > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are > > > broken and cause kernel oops... > > > > > > Basically wifi,

Re: linux 4.2-rc1 broken Nokia N900

2015-07-24 Thread Dave Young
Hi, Pali On 07/24/15 at 10:40am, Pali Rohár wrote: > On Friday 24 July 2015 16:18:09 Dave Young wrote: > > On 07/11/15 at 02:05pm, Pali Rohár wrote: > > > Hello, > > > > > > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are > > > broken and cause kernel oops... > > > > > > Bas

Re: linux 4.2-rc1 broken Nokia N900

2015-07-24 Thread Dave Young
On 07/24/15 at 11:30am, Ivaylo Dimitrov wrote: > > > On 24.07.2015 11:18, Dave Young wrote: > > >Pali, could you tell how do you test mainline kernel on n900? > > > >I used to use n900 as a usb dbgp gadget with a backport patch to > >2.6.28 so that I can get early debug kernel message from my la

Re: linux 4.2-rc1 broken Nokia N900

2015-07-24 Thread Pavel Machek
On Fri 2015-07-24 16:18:09, Dave Young wrote: > On 07/11/15 at 02:05pm, Pali Rohár wrote: > > Hello, > > > > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are > > broken and cause kernel oops... > > > > Basically wifi, touchscreen and rtc drivers not working... > > > > Pali,

Re: linux 4.2-rc1 broken Nokia N900

2015-07-24 Thread Pali Rohár
On Friday 24 July 2015 16:18:09 Dave Young wrote: > On 07/11/15 at 02:05pm, Pali Rohár wrote: > > Hello, > > > > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are > > broken and cause kernel oops... > > > > Basically wifi, touchscreen and rtc drivers not working... > > > > Pa

Re: linux 4.2-rc1 broken Nokia N900

2015-07-24 Thread Ivaylo Dimitrov
On 24.07.2015 11:18, Dave Young wrote: Pali, could you tell how do you test mainline kernel on n900? I used to use n900 as a usb dbgp gadget with a backport patch to 2.6.28 so that I can get early debug kernel message from my laptop. I tried mainline previously with Fedora arm, text mode wor

Re: linux 4.2-rc1 broken Nokia N900

2015-07-24 Thread Dave Young
On 07/11/15 at 02:05pm, Pali Rohár wrote: > Hello, > > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are > broken and cause kernel oops... > > Basically wifi, touchscreen and rtc drivers not working... > Pali, could you tell how do you test mainline kernel on n900? I used to

Re: linux 4.2-rc1 broken Nokia N900

2015-07-22 Thread Pali Rohár
On Wednesday 22 July 2015 15:33:18 Sebastian Reichel wrote: > Hi, > > On Wed, Jul 22, 2015 at 09:27:32AM +0200, Pali Rohár wrote: > > > > diff --git a/drivers/spi/spi-omap2-mcspi.c > > > > b/drivers/spi/spi-omap2-mcspi.c > > > > index 5867384..f7d9ffd 100644 > > > > --- a/drivers/spi/spi-omap2-mc

Re: linux 4.2-rc1 broken Nokia N900

2015-07-22 Thread Sebastian Reichel
Hi, On Wed, Jul 22, 2015 at 09:27:32AM +0200, Pali Rohár wrote: > > > diff --git a/drivers/spi/spi-omap2-mcspi.c b/drivers/spi/spi-omap2-mcspi.c > > > index 5867384..f7d9ffd 100644 > > > --- a/drivers/spi/spi-omap2-mcspi.c > > > +++ b/drivers/spi/spi-omap2-mcspi.c > > > @@ -245,6 +245,7 @@ static

Re: linux 4.2-rc1 broken Nokia N900

2015-07-22 Thread Pavel Machek
On Wed 2015-07-22 04:03:07, Sebastian Reichel wrote: > Hi, > > On Tue, Jul 21, 2015 at 07:17:41PM -0500, Michael Welling wrote: > > On Tue, Jul 21, 2015 at 11:34:41AM +0200, Pavel Machek wrote: > > > > This code has my head spinning. > > > > I found that the errors do not occur when the driver i

Re: linux 4.2-rc1 broken Nokia N900

2015-07-22 Thread Pali Rohár
On Wednesday 22 July 2015 00:13:34 Michael Welling wrote: > On Wed, Jul 22, 2015 at 04:03:07AM +0200, Sebastian Reichel wrote: > > Hi, > > > > On Tue, Jul 21, 2015 at 07:17:41PM -0500, Michael Welling wrote: > > > On Tue, Jul 21, 2015 at 11:34:41AM +0200, Pavel Machek wrote: > > > > > > This code

Re: linux 4.2-rc1 broken Nokia N900

2015-07-21 Thread Michael Welling
On Wed, Jul 22, 2015 at 04:03:07AM +0200, Sebastian Reichel wrote: > Hi, > > On Tue, Jul 21, 2015 at 07:17:41PM -0500, Michael Welling wrote: > > On Tue, Jul 21, 2015 at 11:34:41AM +0200, Pavel Machek wrote: > > > > This code has my head spinning. > > > > I found that the errors do not occur whe

Re: linux 4.2-rc1 broken Nokia N900

2015-07-21 Thread Sebastian Reichel
Hi, On Tue, Jul 21, 2015 at 07:17:41PM -0500, Michael Welling wrote: > On Tue, Jul 21, 2015 at 11:34:41AM +0200, Pavel Machek wrote: > > This code has my head spinning. > > I found that the errors do not occur when the driver is built into the kernel. > > I also found that with the patch below

Re: linux 4.2-rc1 broken Nokia N900

2015-07-21 Thread Michael Welling
On Tue, Jul 21, 2015 at 11:34:41AM +0200, Pavel Machek wrote: This code has my head spinning. I found that the errors do not occur when the driver is built into the kernel. I also found that with the patch below the errors go away. Not sure if it is acceptible but see if it fixes things on your

Re: linux 4.2-rc1 broken Nokia N900

2015-07-21 Thread Michael Welling
On Tue, Jul 21, 2015 at 11:34:41AM +0200, Pavel Machek wrote: > Actually.. for the record I'm _not_ using modules. So either I hit > something different, or problem happens regardless of modules. > Pavel I was able to reproduce

Re: linux 4.2-rc1 broken Nokia N900

2015-07-21 Thread Pavel Machek
On Mon 2015-07-20 15:46:47, Michael Welling wrote: > On Tue, Jul 14, 2015 at 09:14:12AM +0200, Pali Rohár wrote: > > On Monday 13 July 2015 17:36:07 Michael Welling wrote: > > > On Tue, Jul 14, 2015 at 12:02:44AM +0200, Pali Rohár wrote: > > > > I think nothing special. I just call: > > > > > > >

Re: linux 4.2-rc1 broken Nokia N900

2015-07-21 Thread Pali Rohár
On Tuesday 21 July 2015 09:33:00 Pavel Machek wrote: > On Tue 2015-07-21 09:31:27, Pavel Machek wrote: > > On Wed 2015-07-15 15:10:48, Michael Welling wrote: > > > On Wed, Jul 15, 2015 at 09:49:33PM +0200, Pavel Machek wrote: > > > > Hi! > > > > > > > > > > Ok, so: > > > > > > > > > > > > 4.2-rc1

Re: linux 4.2-rc1 broken Nokia N900

2015-07-21 Thread Pavel Machek
On Tue 2015-07-21 09:31:27, Pavel Machek wrote: > On Wed 2015-07-15 15:10:48, Michael Welling wrote: > > On Wed, Jul 15, 2015 at 09:49:33PM +0200, Pavel Machek wrote: > > > Hi! > > > > > > > > Ok, so: > > > > > > > > > > 4.2-rc1 worked for me, IIRC. > > > > > > > > This does not make sense. > >

Re: linux 4.2-rc1 broken Nokia N900

2015-07-21 Thread Pavel Machek
On Wed 2015-07-15 15:10:48, Michael Welling wrote: > On Wed, Jul 15, 2015 at 09:49:33PM +0200, Pavel Machek wrote: > > Hi! > > > > > > Ok, so: > > > > > > > > 4.2-rc1 worked for me, IIRC. > > > > > > This does not make sense. > > > > > > Nothing has changed in drivers/spi between these versions

Re: linux 4.2-rc1 broken Nokia N900

2015-07-20 Thread Pali Rohár
On Monday 20 July 2015 22:46:47 Michael Welling wrote: > On Tue, Jul 14, 2015 at 09:14:12AM +0200, Pali Rohár wrote: > > On Monday 13 July 2015 17:36:07 Michael Welling wrote: > > > On Tue, Jul 14, 2015 at 12:02:44AM +0200, Pali Rohár wrote: > > > > I think nothing special. I just call: > > > > >

Re: linux 4.2-rc1 broken Nokia N900

2015-07-20 Thread Michael Welling
On Wed, Jul 15, 2015 at 09:49:33PM +0200, Pavel Machek wrote: > Hi! > > > > Ok, so: > > > > > > 4.2-rc1 worked for me, IIRC. > > > > This does not make sense. > > > > Nothing has changed in drivers/spi between these versions. > > Are you sure that 4.2-rc1 worked for you? > > Tested again: yes,

Re: linux 4.2-rc1 broken Nokia N900

2015-07-20 Thread Michael Welling
On Tue, Jul 14, 2015 at 09:14:12AM +0200, Pali Rohár wrote: > On Monday 13 July 2015 17:36:07 Michael Welling wrote: > > On Tue, Jul 14, 2015 at 12:02:44AM +0200, Pali Rohár wrote: > > > I think nothing special. I just call: > > > > > > export ARCH=arm > > > export CROSS_COMPILE=arm-linux-gnueabi-

Re: linux 4.2-rc1 broken Nokia N900

2015-07-15 Thread Michael Welling
On Wed, Jul 15, 2015 at 09:49:33PM +0200, Pavel Machek wrote: > Hi! > > > > Ok, so: > > > > > > 4.2-rc1 worked for me, IIRC. > > > > This does not make sense. > > > > Nothing has changed in drivers/spi between these versions. > > Are you sure that 4.2-rc1 worked for you? > > Tested again: yes,

Re: linux 4.2-rc1 broken Nokia N900

2015-07-15 Thread Pavel Machek
Hi! > > Ok, so: > > > > 4.2-rc1 worked for me, IIRC. > > This does not make sense. > > Nothing has changed in drivers/spi between these versions. > Are you sure that 4.2-rc1 worked for you? Tested again: yes, I have 4.2-rc1 booted on the device... based on Linus' 1c4c7159ed2468f3ac4ce5a7f08d79

Re: linux 4.2-rc1 broken Nokia N900

2015-07-14 Thread Michael Welling
On Tue, Jul 14, 2015 at 10:01:26PM +0200, Pavel Machek wrote: > On Tue 2015-07-14 11:33:42, Michael Welling wrote: > > On Tue, Jul 14, 2015 at 09:14:12AM +0200, Pali Rohár wrote: > > > On Monday 13 July 2015 17:36:07 Michael Welling wrote: > > > > On Tue, Jul 14, 2015 at 12:02:44AM +0200, Pali Rohá

Re: linux 4.2-rc1 broken Nokia N900

2015-07-14 Thread Pavel Machek
On Tue 2015-07-14 11:33:42, Michael Welling wrote: > On Tue, Jul 14, 2015 at 09:14:12AM +0200, Pali Rohár wrote: > > On Monday 13 July 2015 17:36:07 Michael Welling wrote: > > > On Tue, Jul 14, 2015 at 12:02:44AM +0200, Pali Rohár wrote: > > > > I think nothing special. I just call: > > > > > > >

Re: linux 4.2-rc1 broken Nokia N900

2015-07-14 Thread Michael Welling
On Tue, Jul 14, 2015 at 09:14:12AM +0200, Pali Rohár wrote: > On Monday 13 July 2015 17:36:07 Michael Welling wrote: > > On Tue, Jul 14, 2015 at 12:02:44AM +0200, Pali Rohár wrote: > > > I think nothing special. I just call: > > > > > > export ARCH=arm > > > export CROSS_COMPILE=arm-linux-gnueabi-

Re: linux 4.2-rc1 broken Nokia N900

2015-07-14 Thread Tony Lindgren
* Pali Rohár [150714 00:16]: > On Monday 13 July 2015 17:36:07 Michael Welling wrote: > > On Tue, Jul 14, 2015 at 12:02:44AM +0200, Pali Rohár wrote: > > > I think nothing special. I just call: > > > > > > export ARCH=arm > > > export CROSS_COMPILE=arm-linux-gnueabi- > > > make rx51_defconfig > >

Re: linux 4.2-rc1 broken Nokia N900

2015-07-14 Thread Pali Rohár
On Monday 13 July 2015 17:36:07 Michael Welling wrote: > On Tue, Jul 14, 2015 at 12:02:44AM +0200, Pali Rohár wrote: > > I think nothing special. I just call: > > > > export ARCH=arm > > export CROSS_COMPILE=arm-linux-gnueabi- > > make rx51_defconfig > > rm -f arch/arm/boot/zImage > > make -j12 zI

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Krzysztof Kozlowski
On 14.07.2015 04:32, Sebastian Reichel wrote: > Hi, > > On Mon, Jul 13, 2015 at 06:05:47PM +0200, Pali Rohár wrote: >> now I'm testing 4.2-rc2 release and rtc is working: >> >> [ 27.426055] omap_i2c 48072000.i2c: controller timed out >> [ 28.723358] twl_rtc 4807.i2c:twl@48:rtc: Power up re

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Michael Welling
On Tue, Jul 14, 2015 at 12:02:44AM +0200, Pali Rohár wrote: > I think nothing special. I just call: > > export ARCH=arm > export CROSS_COMPILE=arm-linux-gnueabi- > make rx51_defconfig > rm -f arch/arm/boot/zImage > make -j12 zImage modules omap3-n900.dtb CONFIG_DEBUG_SECTION_MISMATCH=y > cat arch/

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Pali Rohár
On Monday 13 July 2015 23:52:32 Michael Welling wrote: > On Mon, Jul 13, 2015 at 10:34:21PM +0200, Pali Rohár wrote: > > On Monday 13 July 2015 22:28:35 Michael Welling wrote: > > > On Mon, Jul 13, 2015 at 07:09:06PM +0200, Pali Rohár wrote: > > > > Hello, here is my objdump of 4.2-rc2 version: > >

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Michael Welling
On Mon, Jul 13, 2015 at 10:34:21PM +0200, Pali Rohár wrote: > On Monday 13 July 2015 22:28:35 Michael Welling wrote: > > On Mon, Jul 13, 2015 at 07:09:06PM +0200, Pali Rohár wrote: > > > Hello, here is my objdump of 4.2-rc2 version: > > > > > > 0064 : > > > 64: e3003182movw

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Pali Rohár
On Monday 13 July 2015 22:28:35 Michael Welling wrote: > On Mon, Jul 13, 2015 at 07:09:06PM +0200, Pali Rohár wrote: > > Hello, here is my objdump of 4.2-rc2 version: > > > > 0064 : > > 64: e3003182movwr3, #386; 0x182 > > 68: e19030b3ldrh

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Michael Welling
On Mon, Jul 13, 2015 at 07:09:06PM +0200, Pali Rohár wrote: > Hello, here is my objdump of 4.2-rc2 version: > > 0064 : > 64: e3003182movwr3, #386; 0x182 > 68: e19030b3ldrhr3, [r0, r3] > 6c: e3130004tst r3, #4 >

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Sebastian Reichel
Hi, On Mon, Jul 13, 2015 at 06:05:47PM +0200, Pali Rohár wrote: > now I'm testing 4.2-rc2 release and rtc is working: > > [ 27.426055] omap_i2c 48072000.i2c: controller timed out > [ 28.723358] twl_rtc 4807.i2c:twl@48:rtc: Power up reset detected. > [ 30.127014] twl_rtc 4807.i2c:twl

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Michael Welling
On Mon, Jul 13, 2015 at 07:09:06PM +0200, Pali Rohár wrote: > On Monday 13 July 2015 19:03:44 Michael Welling wrote: > > On Mon, Jul 13, 2015 at 10:09:21AM +0200, Sebastian Reichel wrote: > > > [+cc Michael Welling , author of all omap-spi > > > patches between 4.1 and 4.2-rc1] > > > > > > Hi, > >

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Pali Rohár
On Monday 13 July 2015 19:03:44 Michael Welling wrote: > On Mon, Jul 13, 2015 at 10:09:21AM +0200, Sebastian Reichel wrote: > > [+cc Michael Welling , author of all omap-spi > > patches between 4.1 and 4.2-rc1] > > > > Hi, > > > > On Sun, Jul 12, 2015 at 11:44:25PM -0700, Tony Lindgren wrote: > >

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Michael Welling
On Mon, Jul 13, 2015 at 10:09:21AM +0200, Sebastian Reichel wrote: > [+cc Michael Welling , author of all omap-spi patches > between 4.1 and 4.2-rc1] > > Hi, > > On Sun, Jul 12, 2015 at 11:44:25PM -0700, Tony Lindgren wrote: > > * Pali Rohár [150711 05:07]: > > > Hello, > > > > > > now I teste

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Pali Rohár
On Monday 13 July 2015 17:51:39 Sebastian Reichel wrote: > Hi, > > On Sat, Jul 11, 2015 at 02:05:05PM +0200, Pali Rohár wrote: > > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are > > broken and cause kernel oops... > > > > Basically wifi, touchscreen and rtc drivers not worki

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Sebastian Reichel
Hi, On Sat, Jul 11, 2015 at 02:05:05PM +0200, Pali Rohár wrote: > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are > broken and cause kernel oops... > > Basically wifi, touchscreen and rtc drivers not working... I just tried 4.2-rc2 and I can't see any of the problems you hav

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Tony Lindgren
* Pali Rohár [150713 04:13]: > > Ok, and any idea what is with rtc? Probably one of these: $ git log --pretty=oneline v4.1..v4.2-rc2 drivers/mfd/*twl* drivers/i2c/busses/i2c-omap.c 24867481b8c0a3bc3ab53b634e3cc03680ac3ac6 Merge branch 'i2c/for-4.2' of git://git.kernel.org/pub/scm/linux/kernel

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Pali Rohár
On Sunday 12 July 2015 23:44:25 Tony Lindgren wrote: > * Pali Rohár [150711 05:07]: > > Hello, > > > > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are > > broken and cause kernel oops... > > > > Basically wifi, touchscreen and rtc drivers not working... > > > > Here are som

Re: linux 4.2-rc1 broken Nokia N900

2015-07-13 Thread Sebastian Reichel
[+cc Michael Welling , author of all omap-spi patches between 4.1 and 4.2-rc1] Hi, On Sun, Jul 12, 2015 at 11:44:25PM -0700, Tony Lindgren wrote: > * Pali Rohár [150711 05:07]: > > Hello, > > > > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are > > broken and cause kernel o

Re: linux 4.2-rc1 broken Nokia N900

2015-07-12 Thread Tony Lindgren
* Pali Rohár [150711 05:07]: > Hello, > > now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are > broken and cause kernel oops... > > Basically wifi, touchscreen and rtc drivers not working... > > Here are some relevant snippets form dmesg: > > [ 13.933959] Unhandled fault: ex

linux 4.2-rc1 broken Nokia N900

2015-07-11 Thread Pali Rohár
Hello, now I tested 4.2-rc1 release on Nokia N900 and couple of drivers are broken and cause kernel oops... Basically wifi, touchscreen and rtc drivers not working... Here are some relevant snippets form dmesg: [ 13.933959] Unhandled fault: external abort on non-linefetch (0x1028) at 0xfa098