linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] [POWERPC] lockdep support for ppc64
@ 2008-04-02  7:52 Benjamin Herrenschmidt
  2008-04-02  7:52 ` [PATCH 1/4] [POWERPC] Initialize paca->current earlier Benjamin Herrenschmidt
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Benjamin Herrenschmidt @ 2008-04-02  7:52 UTC (permalink / raw)
  To: linuxppc-dev

[Not to merge just yet ... almost]

This serie of patches adds lockdep support for 64 bits
powerpc. Dale's patch for 32 bits still need me to review
and test it which I'll try to do asap.

It needs the iSeries hardirq enable fix that I posted
earlier (which is probably 2.6.25 material).

Note that we can already see potential problems exposed
by it. So far on my list:

 - something wrong with iseries veth. Haven't got to figure
out what yet, could be a false positive

 - possible deadlock with the device-tree rwlock. The one that
I caught with lockdep here is pSeries rtas_set_rtc_time() calls
rtas_token() from softirq, which does on of_find_property(),
which takes the read lock. Other things can call prom_add_propety()
which can take the write lock, while softirqs are enabled -> boom.
Maybe we should forbid OF device-tree access from IRQs and thus
things that need to use rtas_token() will have to cache the token.

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-04-02 13:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-02  7:52 [PATCH 0/4] [POWERPC] lockdep support for ppc64 Benjamin Herrenschmidt
2008-04-02  7:52 ` [PATCH 1/4] [POWERPC] Initialize paca->current earlier Benjamin Herrenschmidt
2008-04-02 12:30   ` Stephen Rothwell
2008-04-02  7:52 ` [PATCH 2/4] [POWERPC] lockdep stacktrace support Benjamin Herrenschmidt
2008-04-02 12:29   ` Stephen Rothwell
2008-04-02  7:52 ` [PATCH 4/4] [POWERPC] irqtrace support to 64-bit powerpc Benjamin Herrenschmidt
2008-04-02  7:52 ` [PATCH 3/4] [POWERPC] Fixup softirq preempt count Benjamin Herrenschmidt
2008-04-02  9:50 ` [PATCH 0/4] [POWERPC] lockdep support for ppc64 Johannes Berg
2008-04-02 11:02   ` Benjamin Herrenschmidt
2008-04-02 13:20     ` Johannes Berg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).