2009-11-11 14:06:20

by Thomas Gleixner

[permalink] [raw]
Subject: [patch 0/3] Provide generic function to calc mult/shift factors for clocks

The MIPS tree has functions to calculate the mult/shift factors for
clock events and clock sources. ARM needs such functions as well.

This patch set provides a generic function which replaces the MIPS
implementation.

Thanks,

tglx


2009-11-11 14:23:48

by Linus Walleij

[permalink] [raw]
Subject: RE: [patch 0/3] Provide generic function to calc mult/shift factors forclocks

[tglx]
> This patch set provides a generic function which replaces the MIPS
> implementation.

Sweet as pie!

Acked-by: Linus Walleij <[email protected]>

Linus Walleij

2009-11-12 11:37:36

by Ralf Baechle

[permalink] [raw]
Subject: Re: [patch 0/3] Provide generic function to calc mult/shift factors for clocks

On Wed, Nov 11, 2009 at 02:05:19PM -0000, Thomas Gleixner wrote:

> The MIPS tree has functions to calculate the mult/shift factors for
> clock events and clock sources. ARM needs such functions as well.
>
> This patch set provides a generic function which replaces the MIPS
> implementation.

Looks good to me, feel free to throw in my Ack-by. I suggest you merge the
MIPS part of the series through your tree.

Ralf

2009-11-12 16:59:31

by Mikael Pettersson

[permalink] [raw]
Subject: Re: [patch 0/3] Provide generic function to calc mult/shift factors for clocks

Thomas Gleixner writes:
> The MIPS tree has functions to calculate the mult/shift factors for
> clock events and clock sources. ARM needs such functions as well.
>
> This patch set provides a generic function which replaces the MIPS
> implementation.

I rebased my ARM IOP clocksource/clockevent patch kit on these
generic functions, and it works fine and results in the exact
same shift/mult values as with my clone of the MIPS code.

Tested-by: Mikael Pettersson <[email protected]>