From: Mikael Pettersson <mikpe@csd.uu.se>
To: albert@users.sourceforge.net, benh@kernel.crashing.org
Cc: linux-kernel@vger.kernel.org
Subject: Re: [PATCH][2.6.9-rc2-mm3] perfctr ppc32 preliminary interrupt support
Date: Wed, 29 Sep 2004 13:48:42 +0200 (MEST) [thread overview]
Message-ID: <200409291148.i8TBmgbH014789@alkaid.it.uu.se> (raw)
On Tue, 28 Sep 2004 08:54:04 +1000, Benjamin Herrenschmidt wrote:
>On Tue, 2004-09-28 at 06:05, Albert Cahalan wrote:
>> Benjamin Herrenschmidt writes:
>>
>> > Be careful that some G4's have a bug which can cause a
>> > perf monitor interrupt to crash your kernel :( Basically, the
>> > problem is if any of TAU or PerfMon interrupt happens at the
>> > same time as a DEC interrupt, some revs of the CPU can get
>> > confused and lose the previous exception state.
>>
>> Instead of excluding all these CPUs, simply put the
>> clock tick on the PerfMon interrupt. There's a bit-flip
>> that'll go at about 4 kHz on a system with a 100 MHz bus.
>> That should do. One need not change HZ; the interrupt
>> can be ignored whenever the timebase hasn't advanced
>> enough to require another clock tick.
>
>True, we can use the perfmon instead of the DEC for those
In principle, yes. The problem is that integrating two
unrelated uses of the perfmon HW will require major
changes in perfctr's ppc32 driver. And the kernel would
also have to be patched to redirect all DEC accesses to
the emulation code.
I have more pressing API issues to resolve, so I won't
do anything about this broken HW workaround for now.
/Mikael
next reply other threads:[~2004-09-29 11:49 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-29 11:48 Mikael Pettersson [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-09-27 20:05 Albert Cahalan
2004-09-27 22:54 ` Benjamin Herrenschmidt
2004-09-27 0:25 Mikael Pettersson
2004-09-27 0:36 ` Benjamin Herrenschmidt
2004-09-26 23:05 Mikael Pettersson
2004-09-26 23:49 ` Benjamin Herrenschmidt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200409291148.i8TBmgbH014789@alkaid.it.uu.se \
--to=mikpe@csd.uu.se \
--cc=albert@users.sourceforge.net \
--cc=benh@kernel.crashing.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®