[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <fa84736ae121902d4bee24eb23ca1d0b@kernel.crashing.org>
Date: Sat, 19 May 2007 14:28:14 +0200
From: Segher Boessenkool <segher@...nel.crashing.org>
To: "Albert Cahalan" <acahalan@...il.com>
Cc: tglx@...utronix.de, "Sergei Shtylyov" <sshtylyov@...mvista.com>,
linux-kernel@...r.kernel.org, linuxppc-dev@...abs.org
Subject: Re: [PATCH 2.6.21-rt2] PowerPC: decrementer clockevent driver
>> Unfortunately, FIT exists only on Book E CPUs and MPC74xx aren't Book
>> E, IIUC.
>
> By the name "FIT" perhaps, but MPC74xx has essentially
> the same thing.
> Set MMCR0[TBEE], set MMCR0[PMXE], and choose a TBL bit via
> MMCR0[TBSEL].
That's the performance monitor, which could very well be
in use already (for performance monitoring stuff, who
would have guessed).
> It's also possible to trigger on the CPU cycle counter, but this would
> cost one of the performance counters. MPC7400 has 4, later CPUs have 6
> or more, and I think xPC7x0 had only 2.
7xx has at least four as well.
Segher
-
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