[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080413075845.GJ20332@elte.hu>
Date: Sun, 13 Apr 2008 09:58:45 +0200
From: Ingo Molnar <mingo@...e.hu>
To: "Rafael J. Wysocki" <rjw@...k.pl>
Cc: Yinghai Lu <yinghai.lu@....com>,
Andrew Morton <akpm@...ux-foundation.org>,
LKML <linux-kernel@...r.kernel.org>, Pavel Machek <pavel@....cz>,
Thomas Gleixner <tglx@...utronix.de>,
"H. Anvin" <hpa@...or.com>, Arjan van de Ven <arjan@...radead.org>,
Greg Kroah-Hartman <gregkh@...e.de>
Subject: [rfc] hw resource debugging checks (was: Re: x86 git tree broken
(bisected))
* Rafael J. Wysocki <rjw@...k.pl> wrote:
> > > btw., Xorg works fine here on a comparable AMD system - but i use
> > > a rather new distro (Fedora 8) which has Xorg 7.2.
> >
> > My system is an OpenSUSE 10.3 and it has Xorg 7.2 as well.
> >
> > I think the problem is somehow related to the Radeon.
>
> The bisection turned up commit
> ea1441bdf53692c3dc1fd2658addcf1205629661 "x86: use bus conf in NB conf
> fun1 to get bus range on, on 64-bit" as the one causing problems.
thanks Rafael for bisecting this!
This was a rather nasty problem - and i'm wondering what else we could
do to harden our hw resource management code. I'm wondering, is there
any particular reason why clearly broken resource setup is not detected
somewhere, automatically, and WARN_ON()-ed about?
for example, in the scheduler code we used to have similar bug patterns
again and again: architecture code set up scheduler domains incorrectly
and broke the system in subtle ways. So we added sched_domain_debug()
which is active under CONFIG_SCHED_DEBUG=y and does a few sanity checks
and complains if something is wrong. This caught quite a few bugs
whenever the sched-domains code was modified.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists