Skip to contentSkip to conversation

arm / kirkwood (openrd): cpu_idle

DISCUSSION Dieter Kiermaier 5 participants 6 messages Oct 15, 2009 – Oct 17, 2009

lore
Share & tools
lore
#0 lore raw

Hi all,

we've discussed some days ago the cpu_idle issue on marvell kirkwood devices. I got following output sometimes. I don't know if this is really a problem?

------------[ cut here ]------------
WARNING: at arch/arm/kernel/process.c:171 cpu_idle+0x74/0xbc()
Modules linked in:
[<c002b8bc>] (unwind_backtrace+0x0/0xd8) from [<c003af1c>] (warn_slowpath_common+0x4c/0x68)
[<c003af1c>] (warn_slowpath_common+0x4c/0x68) from [<c00278c4>] (cpu_idle+0x74/0xbc)
[<c00278c4>] (cpu_idle+0x74/0xbc) from [<c0008b2c>] (start_kernel+0x22c/0x27c)
[<c0008b2c>] (start_kernel+0x22c/0x27c) from [<00008034>] (0x8034)
---[ end trace 134046cd7af57c60 ]---

I've tried to apply the patch Simon mentioned at
http://lists.infradead.org/pipermail/linux-arm-kernel/2009-October/001624.html
http://patchwork.kernel.org/patch/40871/

But it looks like that in rc4 something has changed so the patch didn't apply without errors. And I don't know enough about this stuff to know what I'm doing :(

Any help would be appreciated!
Thanks in advance,
Dieter

#1 lore raw
Quoted 2 lines · Dieter Kiermaier

But it looks like that in rc4 something has changed so the patch didn't apply without errors.

It was quite easy to resolve (even though I don't understand any of the touched code), see [1] for a rebased patch.
I'm wondering why it wasn't merged upstream yet, though.

[1]
http://sascha.silbe.org/openrd/0001-apply-cpu_idle-IRQ-fix-from-http-patchwork.kernel.patch

CU Sascha

Signature · 9 lines
http://sascha.silbe.org/
http://www.infra-silbe.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 489 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20091015/233666d6/attachment.sig>
#2 lore raw

Am Donnerstag 15 Oktober 2009 14:10:22 schrieb Sascha Silbe:

Quoted 6 lines · Dieter Kiermaier
Quoted 3 lines

But it looks like that in rc4 something has changed so the patch didn't apply without errors.

It was quite easy to resolve (even though I don't understand any of the touched code), see [1] for a rebased patch.

Many thanks, I was to yellow :)

Quoted 1 line

I'm wondering why it wasn't merged upstream yet, though.

I'm wondering, too.
Dieter

Quoted 7 lines

[1]
http://sascha.silbe.org/openrd/0001-apply-cpu_idle-IRQ-fix-from-http-patchwork.kernel.patch

CU Sascha

#3 lore raw
Quoted 8 lines · Dieter Kiermaier

Am Donnerstag 15 Oktober 2009 14:10:22 schrieb Sascha Silbe:

Quoted 6 lines · Dieter Kiermaier
Quoted 3 lines

But it looks like that in rc4 something has changed so the patch didn't apply without errors.

It was quite easy to resolve (even though I don't understand any of the touched code), see [1] for a rebased patch.

I can confirm that the patch fixes the issue; I have been testing for 48 hours on an openrd-client without seeing the WARNING.

Quoted 3 lines
Quoted 1 line

I'm wondering why it wasn't merged upstream yet, though.

I'm wondering, too.

Agreed. What can we do to help it on it's way?

Joel

#4 lore raw
Quoted 12 lines · Joel Stanley
Quoted 9 lines · Dieter Kiermaier

Am Donnerstag 15 Oktober 2009 14:10:22 schrieb Sascha Silbe:

Quoted 6 lines · Dieter Kiermaier
Quoted 3 lines

But it looks like that in rc4 something has changed so the patch didn't apply without errors.

It was quite easy to resolve (even though I don't understand any of the touched code), see [1] for a rebased patch.

Quoted 9 lines

I can confirm that the patch fixes the issue; I have been testing for 48 hours on an openrd-client without seeing the WARNING.

Quoted 3 lines
Quoted 1 line

I'm wondering why it wasn't merged upstream yet, though.

I'm wondering, too.

Agreed. What can we do to help it on it's way?

I guess someone could add a bunch of Tested-By's to the LKML posting.

http://patchwork.kernel.org/patch/50728/

Cheers

Signature · 3 lines
Alexander Clouter
.sigmonster says: "We live, in a very kooky time."
                  		-- Herb Blashtfalt
#5 lore raw
Quoted 7 lines · Alexander Clouter
Quoted 6 lines
Quoted 3 lines
Quoted 1 line

I'm wondering why it wasn't merged upstream yet, though.

I'm wondering, too.

Agreed. What can we do to help it on it's way?

I guess someone could add a bunch of Tested-By's to the LKML posting.

I did and Andrew Morton said he'll make sure it ends up in 2.6.32.

Signature · 2 lines
Martin Michlmayr
http://www.cyrius.com/