Re: [PATCHv3] x86, mrst: share APB timer code with other platforms

From: Jacob Pan
Date: Mon May 09 2011 - 14:07:14 EST


On Sun, 8 May 2011 18:16:17 +0100
Jamie Iles <jamie@xxxxxxxxxxxxx> wrote:

> On Tue, Apr 12, 2011 at 12:10:30PM +0100, Jamie Iles wrote:
> > The APB timers are an IP block from Synopsys (DesignWare APB timers)
> > and are also found in other systems including ARM SoC's. This patch
> > adds functions for creating clock_event_devices and clocksources
> > from APB timers but does not do the resource allocation. This is
> > handled in a higher layer to allow the timers to be created from
> > multiple methods such as platform_devices.
> >
> > Changes since v2:
> > - Make eoi() for clock_event_device optional for x86 where
> > eoi is handled in firmware.
> > Changes since v1:
> > - Use the correct timer for clocksource on x86
> > - Select the correct timer rating for x86
> > - Restore freerunning timer behaviour for oneshot event
> > devices
> > - Reenable event irq correctly for hotplug
> >
> > Cc: John Stultz <johnstul@xxxxxxxxxx>
> > Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> > Cc: Ingo Molnar <mingo@xxxxxxxxxx>
> > Cc: "H. Peter Anvin" <hpa@xxxxxxxxx>
> > Cc: Jacob Pan <jacob.jun.pan@xxxxxxxxxxxxxxx>
> > Signed-off-by: Jamie Iles <jamie@xxxxxxxxxxxxx>
>
> Ping?
Just to confirm on my side of testing, they are good on Moorestown
platform.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/