From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Mon, 19 Oct 2009 07:18:06 +0200 (CEST) Received: from mail-vw0-f199.google.com ([209.85.212.199]:62481 "EHLO mail-vw0-f199.google.com" rhost-flags-OK-OK-OK-OK) by ftp.linux-mips.org with ESMTP id S1492004AbZJSFR6 (ORCPT ); Mon, 19 Oct 2009 07:17:58 +0200 Received: by vws37 with SMTP id 37so1824653vws.22 for ; Sun, 18 Oct 2009 22:17:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=/VL8XZaLF0PIFKW9KjSi/6tqMUVoRRn20fdvmodZpto=; b=JYTCnYAowAM9M7SbIPCubzydWAOfDNWyr9kpXCwhgiZCAkH45B0bclqXStidsVASw5 AKfMB6e2QD93UxKq0i9sL4YZPrNQ2PewOtKEM2uU2QbDxnBOQdjmlI2rPupHR3lPeWn4 Jvv0GEPpw8oNy6IAdxdiaGTnpapsagIvCr8iA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=wWhyqWU0gPc+cKXykC3j/xc/bK94dRTiEN51hMVvnJZW1bZuKRUTmsaVsS8UBueetJ RL10pt796ac5uPeYhw55nJZPhs3ZPJyvNwDC/ikl6H0apnZfcJz9zgZlOlERXNdBMlHH 1MoUN4iQWkc/LRnidVpJQ7A51vIti+M3Xwnyk= MIME-Version: 1.0 Received: by 10.220.13.211 with SMTP id d19mr1745233vca.108.1255929468028; Sun, 18 Oct 2009 22:17:48 -0700 (PDT) In-Reply-To: <1255819715-19763-1-git-send-email-linus.walleij@stericsson.com> References: <1255819715-19763-1-git-send-email-linus.walleij@stericsson.com> Date: Sun, 18 Oct 2009 23:17:47 -0600 Message-ID: Subject: Re: [PATCH] Make MIPS dynamic clocksource/clockevent clock code generic From: Shane McDonald To: Linus Walleij Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@linux-mips.org, Thomas Gleixner , Mikael Pettersson , Ralf Baechle Content-Type: multipart/alternative; boundary=001517576e08ce08ab047642dd3b Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 24378 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: mcdonald.shane@gmail.com Precedence: bulk X-list: linux-mips --001517576e08ce08ab047642dd3b Content-Type: text/plain; charset=ISO-8859-1 Hello: On Sat, Oct 17, 2009 at 4:48 PM, Linus Walleij wrote: > This moves the clocksource_set_clock() and clockevent_set_clock() > from the MIPS timer code into clockchips and clocksource where > it belongs. The patch was triggered by code posted by Mikael > Pettersson duplicating this code for the IOP ARM system. The > function signatures where altered slightly to fit into their > destination header files, unsigned int changed to u32 and inlined. > > Signed-off-by: Linus Walleij > Cc: Thomas Gleixner > Cc: Mikael Pettersson > Cc: Ralf Baechle > --- > Ralf has stated in earlier conversation that this should be moved, > now we risk duplicating code so let's move it. > > I don't have access to a MIPS cross-compiler so please can the > MIPS people test this? > I have tested this patch on an RM7000-based MIPS system. The patch compiles fine, and the kernel successfully runs. You can add my: Tested-by: Shane McDonald Shane --001517576e08ce08ab047642dd3b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello:

On Sat, Oct 17, 2009 at 4:48 PM, Linus Walleij <linus.walleij@steri= csson.com> wrote:
This moves the clocksource_set_clock() and clockevent_set_clock()
from the MIPS timer code into clockchips and clocksource where
it belongs. The patch was triggered by code posted by Mikael
Pettersson duplicating this code for the IOP ARM system. The
function signatures where altered slightly to fit into their
destination header files, unsigned int changed to u32 and inlined.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Cc: Thomas Gleixner <tglx@linutron= ix.de>
Cc: Mikael Pettersson <mikpe@it.uu.se<= /a>>
Cc: Ralf Baechle <
ralf@linux-mips= .org>
---
Ralf has stated in earlier conversation that this should be moved,
now we risk duplicating code so let's move it.

I don't have access to a MIPS cross-compiler so please can the
MIPS people test this?

I have tested this patch o= n an RM7000-based MIPS system.=A0 The patch compiles fine, and the kernel s= uccessfully runs.=A0 You can add my:

Tested-by: Shane McDonald <<= a href=3D"mailto:mcdonald.shane@gmail.com">mcdonald.shane@gmail.com>=

Shane
--001517576e08ce08ab047642dd3b-- From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-vw0-f199.google.com ([209.85.212.199]:62481 "EHLO mail-vw0-f199.google.com" rhost-flags-OK-OK-OK-OK) by ftp.linux-mips.org with ESMTP id S1492004AbZJSFR6 (ORCPT ); Mon, 19 Oct 2009 07:17:58 +0200 MIME-Version: 1.0 In-Reply-To: <1255819715-19763-1-git-send-email-linus.walleij@stericsson.com> References: <1255819715-19763-1-git-send-email-linus.walleij@stericsson.com> Date: Sun, 18 Oct 2009 23:17:47 -0600 Message-ID: Subject: Re: [PATCH] Make MIPS dynamic clocksource/clockevent clock code generic From: Shane McDonald Content-Type: multipart/alternative; boundary=001517576e08ce08ab047642dd3b Return-Path: Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org To: Linus Walleij Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mips@linux-mips.org, Thomas Gleixner , Mikael Pettersson , Ralf Baechle Message-ID: <20091019051747.fpS4pmi8fHf4-f01ltJPtc-fbOOH97QmcM-n9ye0wts@z> --001517576e08ce08ab047642dd3b Content-Type: text/plain; charset=ISO-8859-1 Hello: On Sat, Oct 17, 2009 at 4:48 PM, Linus Walleij wrote: > This moves the clocksource_set_clock() and clockevent_set_clock() > from the MIPS timer code into clockchips and clocksource where > it belongs. The patch was triggered by code posted by Mikael > Pettersson duplicating this code for the IOP ARM system. The > function signatures where altered slightly to fit into their > destination header files, unsigned int changed to u32 and inlined. > > Signed-off-by: Linus Walleij > Cc: Thomas Gleixner > Cc: Mikael Pettersson > Cc: Ralf Baechle > --- > Ralf has stated in earlier conversation that this should be moved, > now we risk duplicating code so let's move it. > > I don't have access to a MIPS cross-compiler so please can the > MIPS people test this? > I have tested this patch on an RM7000-based MIPS system. The patch compiles fine, and the kernel successfully runs. You can add my: Tested-by: Shane McDonald Shane --001517576e08ce08ab047642dd3b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello:

On Sat, Oct 17, 2009 at 4:48 PM, Linus Walleij <linus.walleij@steri= csson.com> wrote:
This moves the clocksource_set_clock() and clockevent_set_clock()
from the MIPS timer code into clockchips and clocksource where
it belongs. The patch was triggered by code posted by Mikael
Pettersson duplicating this code for the IOP ARM system. The
function signatures where altered slightly to fit into their
destination header files, unsigned int changed to u32 and inlined.

Signed-off-by: Linus Walleij <linus.walleij@stericsson.com>
Cc: Thomas Gleixner <tglx@linutron= ix.de>
Cc: Mikael Pettersson <mikpe@it.uu.se<= /a>>
Cc: Ralf Baechle <
ralf@linux-mips= .org>
---
Ralf has stated in earlier conversation that this should be moved,
now we risk duplicating code so let's move it.

I don't have access to a MIPS cross-compiler so please can the
MIPS people test this?

I have tested this patch o= n an RM7000-based MIPS system.=A0 The patch compiles fine, and the kernel s= uccessfully runs.=A0 You can add my:

Tested-by: Shane McDonald <<= a href=3D"mailto:mcdonald.shane@gmail.com">mcdonald.shane@gmail.com>=

Shane
--001517576e08ce08ab047642dd3b--