Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1181394

Re: Gemini Soc timers

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: Gemini Soc timers
Date Fri, 10 Jul 2015 10:50:03 +0200
Message-ID <pKCan-3EX-33@gated-at.bofh.it> (permalink)
References <fZEPv-4wo-7@gated-at.bofh.it> <pnT0C-6Xs-25@gated-at.bofh.it> <pK6au-ti-7@gated-at.bofh.it> <pKf47-69s-49@gated-at.bofh.it> <pKiEI-88T-53@gated-at.bofh.it> <pKjKq-Ae-21@gated-at.bofh.it> <pKmfg-1Xe-39@gated-at.bofh.it> <pKnbj-2xX-7@gated-at.bofh.it>
X-Original-To Roman Yeryomin <roman@advem.lv>
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=hULoKtxuZLNhpTmUtbNjclL4YkcMT1FkI4WPHVu6teo=; b=ITYo/QpzaM0PjoVcD9kmZgKoJzJZ0UcRIqbROznh5X3TuorONZe9eEs6sfyzlbO2uZ fNDtKsg4NIKVEKm08dMCVZNDkI2hDizVgSTGkvzyygStZISkd4WZFKCOg0fP64gE+eWT ZpVioVo1w7e5KEaAg3MKKkqbSWPbfeWOA59CP1v+PwzvSBPSZuVmf8Fz5yC1UyTPOYz+ Gbm4q9+Hm+jMv6SYEEIz3wFAajjFJTboHTAtkkW8YHJ/nUw5XnvzvyzsnLxw66kgFc+J S4MinHs4hr8cMaaLYWiXSE5jxMgVbQD6IK2zbbj7x9b6qJ4OZ+0ax0U6zD1dgICwej2j gjoQ==
X-Gm-Message-State ALoCoQkCuIM4Jpao+dViNyDWKFGlvqyufs+pRiT8h6Fce7fSwhAuOnotdTytOTvhgXpYGV0UvUp9
MIME-Version 1.0
X-Received by 10.202.65.67 with SMTP id o64mr17563678oia.45.1436518106477; Fri, 10 Jul 2015 01:48:26 -0700 (PDT)
Content-Type text/plain; charset=UTF-8
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 46
Organization linux.* mail to news gateway
X-Original-Cc Hans Ulli Kroll <ulli.kroll@googlemail.com>, Arnd Bergmann <arnd@arndb.de>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, Felix Fietkau <nbd@openwrt.org>, "rtc-linux@googlegroups.com" <rtc-linux@googlegroups.com>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, Alexandre Belloni <alexandre.belloni@free-electrons.com>, Russell King <rmk+kernel@arm.linux.org.uk>
X-Original-Date Fri, 10 Jul 2015 10:48:26 +0200
X-Original-Message-ID <CACRpkdbf2CfT7fJ6wAC3WB9=-Cp0A5xZAO1-Rh78o-U26Fr0Ag@mail.gmail.com>
X-Original-References <1292339307-14336-2-git-send-email-ulli.kroll@googlemail.com> <2131951.l0j0CIttAZ@wuerfel> <f22e65faa7d86074cda27973f83d7a52@advem.lv> <1781580.JRD7b0UrJA@wuerfel> <alpine.LNX.2.00.1507091343150.24357@localhost> <5e6214ee669fbd797ad2ef257ce52068@advem.lv> <CACRpkdYm-W8FqBgvustJUweizocmX9LtVS6Q=7j8EjF8D+H77Q@mail.gmail.com> <975d474dd947bcef8d3dd70ef18a5c29@advem.lv>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1181394

Show key headers only | View raw


On Thu, Jul 9, 2015 at 6:48 PM, Roman Yeryomin <roman@advem.lv> wrote:
> [Me]
>> As usual they are just keeping it out of mainline, and this
>> is adding sched_clock() and other goodies so should
>> probably be upstreamed ASAP.
>
>
> This is what I initially submitted here.

Ah. I missed part of the start of the discussion it seems.

> But Arnd wanted to see a smaller patch which only fixes gemini timer issue
> (t.i. shed clock being 100Hz instead of 25MHz).
> Also I've submitted 4.1 support yesterday, but patches didn't change much
> comparing to 3.18

On the other hand I think the bigger patch is OK actually.

I rewrote the timer support some time back and did not get
anyone to test it properly at the time, so the patch went in
untested. So this is a fix.

I think this should be applied as-is since you can actually
test the whole thing on real hardware, and also add:

Fixes: f3372c01816e "ARM: gemini: convert to GENERIC_CLOCKEVENTS"
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>

> I would love to see all those patches/drivers in mainline - tell me where do
> I submit all that :)

I recently looked at some of the patch stacks in OpenWRT and
get a bit sad that the stuff did not go upstream, so I am ready
to help in any way I can.

Anything GPIO related I am ready to help in reviewing/applying
and I will also help out with ARM32 if I can. Sadly I do not have
a Gemini system.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Re: [1/2] RTC: Add core rtc support for Gemini Soc devices Arnd Bergmann <arnd@arndb.de> - 2015-07-09 10:10 +0200
  Re: [1/2] RTC: Add core rtc support for Gemini Soc devices Hans Ulli Kroll <ulli.kroll@googlemail.com> - 2015-07-09 14:00 +0200
    Gemini Soc timers Roman Yeryomin <roman@advem.lv> - 2015-07-09 15:10 +0200
      Re: Gemini Soc timers Linus Walleij <linus.walleij@linaro.org> - 2015-07-10 10:50 +0200

csiph-web