All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Turquette <mturquette-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: Peter De Schrijver
	<pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	Stephen Warren <swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
Cc: Russell King <linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org>,
	"linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org"
	<devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org>,
	"linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Rob Herring <rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org>,
	Pritesh Raithatha
	<praithatha-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	Laxman Dewangan
	<ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
	"linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	"linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org"
	<linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org>,
	Hiroshi Doyu <hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Subject: Re: [PATCH v9 00/14] Tegra114 clockframework
Date: Thu, 04 Apr 2013 14:20:02 -0700	[thread overview]
Message-ID: <20130404212002.8665.12387@quantum> (raw)
In-Reply-To: <20130404082043.GY18519-Rysk9IDjsxmJz7etNGeUX8VPkgjIgRvpAL8bYrjMMd8@public.gmane.org>

Quoting Peter De Schrijver (2013-04-04 01:20:44)
> On Thu, Apr 04, 2013 at 01:23:05AM +0200, Stephen Warren wrote:
> > On 04/03/2013 12:27 PM, Stephen Warren wrote:
> > > On 04/03/2013 11:52 AM, Stephen Warren wrote:
> > >> On 04/03/2013 08:40 AM, Peter De Schrijver wrote:
> > >>> This is the nineth version of the Tegra114 clockframework. It is based on the
> > >>> next-20130320-fixed branch of
> > >>> git://nv-tegra.nvidia.com/user/swarren/linux-2.6.git,
> > > ... [it depends on]
> > >>> http://patchwork.ozlabs.org/patch/233415/
> > >>
> > >> That is Joseph's "clocksource: tegra: enable arch_timer". Is this
> > >> actually a dependency, or an optimization, or ...?
> > >>
> > >> Rob Herring objected to that patch since it isn't necessary if his
> > >> series "ARM arch, sp804 and integrator timer CLKSRC_OF support" is applied.
> > >>
> > >> If I apply just your (Peter's) CCF series without Joseph's or Rob's
> > >> patches, will everything still work, or is this a hard dependency to
> > >> create a working system?
> > > 
> > > I manage to get this series applied on top of my local dev branch, based
> > > on next-20130328 (it was painful). Testing indicates that there is no
> > > dependency on Joseph's patch mentioned above; I could boot, log in, and
> > > play audio (with local patches) with /or/ without Joseph's patch applied.
> > > 
> > > However, I still find that I need to revert f7db706 ARM: "7674/1: smp:
> > > Avoid dummy clockevent being preferred over real hardware clock-event",
> > > or I get a hard system hang right after the root fs is mounted. As such,
> > > I not sure if it's worthwhile applying this series since it's unlikely
> > > to actually work once merged into Torvalds' tree.
> > > 
> > > Do you have any idea what the problem is here?
> > > 
> > > I'll try rebasing my local test branch on top of the latest linux-next
> > > just in case some other fix solved this already, but I'm not going to
> > > hold my breath.
> > 
> > I've found the problem. My bootloader wasn't initializing the TSC and
> > hence I guess it wasn't working properly, even with Joseph's patch to
> > add a call to the initialization function.
> > 
> 
> Ok.
> 
> > So, if I:
> > 
> > a) Fix my bootloader to enable TSC.
> > 
> > b) Merge Rob's patch series to enable the TSC. This is needed rather
> > than Joseph's patch since the two conflict, and I assume that Rob's
> > patch is going into 3.10.
> > 
> > c) Undo my local revert of "ARM: 7674/1: smp: Avoid dummy clockevent
> > being preferred over real hardware clock-event".
> > 
> 
> Ok. Good. That's close to what I have and works here. As well.
> 
> > ... then everything now works.
> > 
> > So the only remaining issues are:
> > 
> > 1) Should the mux clocks still be defined in the binding document?
> > Prashant didn't seem to think so.
> > 
> 
> I guess we should remove them then.
> 
> > 2) I need Mike's ack to apply this series to the Tegra tree.
> 
> Ok. Mike?
> 

Cool to see this come together!

For the drivers/clk bits:

Acked-by: Mike Turquette <mturquette-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>

> Cheers,
> 
> Peter.

WARNING: multiple messages have this Message-ID (diff)
From: Mike Turquette <mturquette@linaro.org>
To: Peter De Schrijver <pdeschrijver@nvidia.com>,
	Stephen Warren <swarren@wwwdotorg.org>
Cc: Rob Herring <rob.herring@calxeda.com>,
	Prashant Gaikwad <pgaikwad@nvidia.com>,
	"linux-arm-kernel@lists.infradead.org" 
	<linux-arm-kernel@lists.infradead.org>,
	Grant Likely <grant.likely@secretlab.ca>,
	Rob Landley <rob@landley.net>,
	Russell King <linux@arm.linux.org.uk>,
	Simon Glass <sjg@chromium.org>, Rhyland Klein <rklein@nvidia.com>,
	Pritesh Raithatha <praithatha@nvidia.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	Hiroshi Doyu <hdoyu@nvidia.com>,
	Laxman Dewangan <ldewangan@nvidia.com>,
	Andrew Chew <AChew@nvidia.com>,
	Thierry Reding <thierry.reding@avionic-design.de>,
	"devicetree-discuss@lists.ozlabs.org" 
	<devicetree-discuss@lists.ozlabs.org>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
	"linux-tegra@vger.kernel.org" <linux-tegra@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v9 00/14] Tegra114 clockframework
Date: Thu, 04 Apr 2013 14:20:02 -0700	[thread overview]
Message-ID: <20130404212002.8665.12387@quantum> (raw)
In-Reply-To: <20130404082043.GY18519@tbergstrom-lnx.Nvidia.com>

Quoting Peter De Schrijver (2013-04-04 01:20:44)
> On Thu, Apr 04, 2013 at 01:23:05AM +0200, Stephen Warren wrote:
> > On 04/03/2013 12:27 PM, Stephen Warren wrote:
> > > On 04/03/2013 11:52 AM, Stephen Warren wrote:
> > >> On 04/03/2013 08:40 AM, Peter De Schrijver wrote:
> > >>> This is the nineth version of the Tegra114 clockframework. It is based on the
> > >>> next-20130320-fixed branch of
> > >>> git://nv-tegra.nvidia.com/user/swarren/linux-2.6.git,
> > > ... [it depends on]
> > >>> http://patchwork.ozlabs.org/patch/233415/
> > >>
> > >> That is Joseph's "clocksource: tegra: enable arch_timer". Is this
> > >> actually a dependency, or an optimization, or ...?
> > >>
> > >> Rob Herring objected to that patch since it isn't necessary if his
> > >> series "ARM arch, sp804 and integrator timer CLKSRC_OF support" is applied.
> > >>
> > >> If I apply just your (Peter's) CCF series without Joseph's or Rob's
> > >> patches, will everything still work, or is this a hard dependency to
> > >> create a working system?
> > > 
> > > I manage to get this series applied on top of my local dev branch, based
> > > on next-20130328 (it was painful). Testing indicates that there is no
> > > dependency on Joseph's patch mentioned above; I could boot, log in, and
> > > play audio (with local patches) with /or/ without Joseph's patch applied.
> > > 
> > > However, I still find that I need to revert f7db706 ARM: "7674/1: smp:
> > > Avoid dummy clockevent being preferred over real hardware clock-event",
> > > or I get a hard system hang right after the root fs is mounted. As such,
> > > I not sure if it's worthwhile applying this series since it's unlikely
> > > to actually work once merged into Torvalds' tree.
> > > 
> > > Do you have any idea what the problem is here?
> > > 
> > > I'll try rebasing my local test branch on top of the latest linux-next
> > > just in case some other fix solved this already, but I'm not going to
> > > hold my breath.
> > 
> > I've found the problem. My bootloader wasn't initializing the TSC and
> > hence I guess it wasn't working properly, even with Joseph's patch to
> > add a call to the initialization function.
> > 
> 
> Ok.
> 
> > So, if I:
> > 
> > a) Fix my bootloader to enable TSC.
> > 
> > b) Merge Rob's patch series to enable the TSC. This is needed rather
> > than Joseph's patch since the two conflict, and I assume that Rob's
> > patch is going into 3.10.
> > 
> > c) Undo my local revert of "ARM: 7674/1: smp: Avoid dummy clockevent
> > being preferred over real hardware clock-event".
> > 
> 
> Ok. Good. That's close to what I have and works here. As well.
> 
> > ... then everything now works.
> > 
> > So the only remaining issues are:
> > 
> > 1) Should the mux clocks still be defined in the binding document?
> > Prashant didn't seem to think so.
> > 
> 
> I guess we should remove them then.
> 
> > 2) I need Mike's ack to apply this series to the Tegra tree.
> 
> Ok. Mike?
> 

Cool to see this come together!

For the drivers/clk bits:

Acked-by: Mike Turquette <mturquette@linaro.org>

> Cheers,
> 
> Peter.

WARNING: multiple messages have this Message-ID (diff)
From: mturquette@linaro.org (Mike Turquette)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v9 00/14] Tegra114 clockframework
Date: Thu, 04 Apr 2013 14:20:02 -0700	[thread overview]
Message-ID: <20130404212002.8665.12387@quantum> (raw)
In-Reply-To: <20130404082043.GY18519@tbergstrom-lnx.Nvidia.com>

Quoting Peter De Schrijver (2013-04-04 01:20:44)
> On Thu, Apr 04, 2013 at 01:23:05AM +0200, Stephen Warren wrote:
> > On 04/03/2013 12:27 PM, Stephen Warren wrote:
> > > On 04/03/2013 11:52 AM, Stephen Warren wrote:
> > >> On 04/03/2013 08:40 AM, Peter De Schrijver wrote:
> > >>> This is the nineth version of the Tegra114 clockframework. It is based on the
> > >>> next-20130320-fixed branch of
> > >>> git://nv-tegra.nvidia.com/user/swarren/linux-2.6.git,
> > > ... [it depends on]
> > >>> http://patchwork.ozlabs.org/patch/233415/
> > >>
> > >> That is Joseph's "clocksource: tegra: enable arch_timer". Is this
> > >> actually a dependency, or an optimization, or ...?
> > >>
> > >> Rob Herring objected to that patch since it isn't necessary if his
> > >> series "ARM arch, sp804 and integrator timer CLKSRC_OF support" is applied.
> > >>
> > >> If I apply just your (Peter's) CCF series without Joseph's or Rob's
> > >> patches, will everything still work, or is this a hard dependency to
> > >> create a working system?
> > > 
> > > I manage to get this series applied on top of my local dev branch, based
> > > on next-20130328 (it was painful). Testing indicates that there is no
> > > dependency on Joseph's patch mentioned above; I could boot, log in, and
> > > play audio (with local patches) with /or/ without Joseph's patch applied.
> > > 
> > > However, I still find that I need to revert f7db706 ARM: "7674/1: smp:
> > > Avoid dummy clockevent being preferred over real hardware clock-event",
> > > or I get a hard system hang right after the root fs is mounted. As such,
> > > I not sure if it's worthwhile applying this series since it's unlikely
> > > to actually work once merged into Torvalds' tree.
> > > 
> > > Do you have any idea what the problem is here?
> > > 
> > > I'll try rebasing my local test branch on top of the latest linux-next
> > > just in case some other fix solved this already, but I'm not going to
> > > hold my breath.
> > 
> > I've found the problem. My bootloader wasn't initializing the TSC and
> > hence I guess it wasn't working properly, even with Joseph's patch to
> > add a call to the initialization function.
> > 
> 
> Ok.
> 
> > So, if I:
> > 
> > a) Fix my bootloader to enable TSC.
> > 
> > b) Merge Rob's patch series to enable the TSC. This is needed rather
> > than Joseph's patch since the two conflict, and I assume that Rob's
> > patch is going into 3.10.
> > 
> > c) Undo my local revert of "ARM: 7674/1: smp: Avoid dummy clockevent
> > being preferred over real hardware clock-event".
> > 
> 
> Ok. Good. That's close to what I have and works here. As well.
> 
> > ... then everything now works.
> > 
> > So the only remaining issues are:
> > 
> > 1) Should the mux clocks still be defined in the binding document?
> > Prashant didn't seem to think so.
> > 
> 
> I guess we should remove them then.
> 
> > 2) I need Mike's ack to apply this series to the Tegra tree.
> 
> Ok. Mike?
> 

Cool to see this come together!

For the drivers/clk bits:

Acked-by: Mike Turquette <mturquette@linaro.org>

> Cheers,
> 
> Peter.

  parent reply	other threads:[~2013-04-04 21:20 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-03 14:40 [PATCH v9 00/14] Tegra114 clockframework Peter De Schrijver
2013-04-03 14:40 ` Peter De Schrijver
2013-04-03 14:40 ` Peter De Schrijver
2013-04-03 14:40 ` [PATCH v9 01/14] clk: tegra: provide dummy cpu car ops Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40 ` [PATCH v9 02/14] clk: tegra: Refactor PLL programming code Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40 ` [PATCH v9 03/14] clk: tegra: Add TEGRA_PLL_BYPASS flag Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40 ` [PATCH v9 05/14] clk: tegra: Add PLL post divider table Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40 ` [PATCH v9 07/14] clk: tegra: Add new fields and PLL types for Tegra114 Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40 ` [PATCH v9 09/14] clk: tegra: Workaround for Tegra114 MSENC problem Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40 ` [PATCH v9 11/14] clk: tegra: Implement clocks for Tegra114 Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40 ` [PATCH v9 12/14] clk: tegra: devicetree match for nvidia,tegra114-car Peter De Schrijver
2013-04-03 14:40   ` [PATCH v9 12/14] clk: tegra: devicetree match for nvidia, tegra114-car Peter De Schrijver
2013-04-03 14:40   ` [PATCH v9 12/14] clk: tegra: devicetree match for nvidia,tegra114-car Peter De Schrijver
     [not found]   ` <1365000110-8916-13-git-send-email-pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-04-03 18:10     ` [PATCH v9 12/14] clk: tegra: devicetree match for nvidia, tegra114-car Stephen Warren
2013-04-03 18:10       ` Stephen Warren
2013-04-03 18:10       ` [PATCH v9 12/14] clk: tegra: devicetree match for nvidia,tegra114-car Stephen Warren
2013-04-03 14:40 ` [PATCH v9 13/14] ARM: dt: Add references to tegra_car clocks Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40 ` Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40 ` [PATCH v9 14/14] clk: tegra: Remove forced clk_enable of uartd Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 14:40   ` Peter De Schrijver
2013-04-03 17:52 ` [PATCH v9 00/14] Tegra114 clockframework Stephen Warren
2013-04-03 17:52   ` Stephen Warren
     [not found]   ` <515C6C6E.6060302-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-04-03 18:27     ` Stephen Warren
2013-04-03 18:27       ` Stephen Warren
2013-04-03 18:27       ` Stephen Warren
     [not found]       ` <515C7495.8060106-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-04-03 23:23         ` Stephen Warren
2013-04-03 23:23           ` Stephen Warren
2013-04-03 23:23           ` Stephen Warren
     [not found]           ` <515CB9D9.90303-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org>
2013-04-04  8:20             ` Peter De Schrijver
2013-04-04  8:20               ` Peter De Schrijver
2013-04-04  8:20               ` Peter De Schrijver
     [not found]               ` <20130404082043.GY18519-Rysk9IDjsxmJz7etNGeUX8VPkgjIgRvpAL8bYrjMMd8@public.gmane.org>
2013-04-04 21:20                 ` Mike Turquette [this message]
2013-04-04 21:20                   ` Mike Turquette
2013-04-04 21:20                   ` Mike Turquette
     [not found] ` <1365000110-8916-1-git-send-email-pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2013-04-03 14:40   ` [PATCH v9 04/14] clk: tegra: introduce TEGRA_PLL_HAS_LOCK_ENABLE Peter De Schrijver
2013-04-03 14:40     ` Peter De Schrijver
2013-04-03 14:40     ` Peter De Schrijver
2013-04-03 14:40   ` [PATCH v9 06/14] clk: tegra: move from a lock bit idx to a lock mask Peter De Schrijver
2013-04-03 14:40     ` Peter De Schrijver
2013-04-03 14:40     ` Peter De Schrijver
2013-04-03 14:40   ` [PATCH v9 08/14] clk: tegra: Add flags to tegra_clk_periph() Peter De Schrijver
2013-04-03 14:40     ` Peter De Schrijver
2013-04-03 14:40     ` Peter De Schrijver
2013-04-03 14:40   ` [PATCH v9 10/14] ARM: tegra: Define Tegra114 CAR binding Peter De Schrijver
2013-04-03 14:40     ` Peter De Schrijver
2013-04-03 14:40     ` Peter De Schrijver
2013-04-03 17:55     ` Stephen Warren
2013-04-03 17:55       ` Stephen Warren
2013-04-04 23:29   ` [PATCH v9 00/14] Tegra114 clockframework Stephen Warren
2013-04-04 23:29     ` Stephen Warren
2013-04-04 23:29     ` Stephen Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130404212002.8665.12387@quantum \
    --to=mturquette-qsej5fyqhm4dnm+yrofe0a@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    --cc=hdoyu-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=ldewangan-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
    --cc=linux-doc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-lFZ/pmaqli7XmaaqVzeoHQ@public.gmane.org \
    --cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=pdeschrijver-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=praithatha-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
    --cc=rob.herring-bsGFqQB8/DxBDgjK7y7TUQ@public.gmane.org \
    --cc=swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.