From: Felipe Balbi <balbi@ti.com>
To: Paul Walmsley <paul@pwsan.com>
Cc: Felipe Balbi <balbi@ti.com>, Tony Lindgren <tony@atomide.com>,
Linux OMAP Mailing List <linux-omap@vger.kernel.org>,
Linux ARM Kernel Mailing List
<linux-arm-kernel@lists.infradead.org>,
devicetree@vger.kernel.org
Subject: Re: [PATCH 1/4] arm: omap: hwmod: 43xx: add DebugSS hwmod data
Date: Tue, 10 Feb 2015 17:56:29 -0600 [thread overview]
Message-ID: <20150210235629.GA4785@saruman.tx.rr.com> (raw)
In-Reply-To: <alpine.DEB.2.02.1502102311570.3767@utopia.booyaka.com>
[-- Attachment #1: Type: text/plain, Size: 2420 bytes --]
Hi,
On Tue, Feb 10, 2015 at 11:12:40PM +0000, Paul Walmsley wrote:
> > > > > > > > hm... modulemode SWCTRL causes wait_target_ready to fail. Any hints ?
> > > > > > >
> > > > > > > gets stuck in transition state. PRCM_CM_WKUP_DBGSS_CLKCTRL is always
> > > > > > > read as 0x 12510f00 which would translate into:
> > > > > > >
> > > > > > > - module disabled
> > > > > > > - all opt clocks are on
> > > > > > > - module is transitioning
> > > > > > > - module in standby
> > > > > > > - clkA as TPIU and STM trace clock
> > > > > > > - all dividers set to 2
> > > > > >
> > > > > > just fyi, checking with HW folks, this might be a new bug, unless
> > > > > > debugss needs something special.
> > > > >
> > > > > If that happens on DEBUGSS disable, it's probably the same issue as on
> > > > > AM33xx:
> > > > >
> > > > > http://www.spinics.net/lists/arm-kernel/msg320801.html
> > > > > http://www.spinics.net/lists/arm-kernel/msg321930.html
> > > > > http://www.spinics.net/lists/arm-kernel/msg329151.html
> > > > >
> > > > > Does adding HWMOD_INIT_NO_IDLE fix the issue you're seeing?
> > > >
> > > > I'll try it out in a bit...
> > >
> > > nope, same thing.
> > >
> > > [ 27.633235] omap_hwmod: debugss: _wait_target_disable failed
> >
> > OK, looking at the code, this makes sense. So here's what I'd suggest
> > asking the hardware team: is the right approach to:
> >
> > 1. keep the DEBUGSS CLKCTRL MODULEMODE bitfield at 0x2 all the time, even
> > when it's not in use or when entering chip low-power states, or
> >
> > 2. program the DEBUGSS CLKCTRL MODULEMODE bitfield to 0x0 when the DEBUGSS
> > is not in use or when entering chip low-power states, but ignore the
> > DEBUGSS CLKCTRL IDLEST register
> >
> > We'll need a new hwmod flag either way; the question is whether it should
> > be something like HWMOD_CANNOT_DISABLE (case 1), or
> > HWMOD_DISABLE_IGNORE_IDLEST (case 2).
>
> Just checking on this. Heard anything from the hardware team? If not I'd
> say the HWMOD_CANNOT_DISABLE approach is probably the right one for now...
nothing from HW team yet. Last I heard is that they can reproduce the
issue, and are now digging through documentation (and maybe RTL, but I'm
speculating) to see if that should be supported or not.
From my point of view, however, the thing idles, it just doesn't report
it.
--
balbi
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
next prev parent reply other threads:[~2015-02-10 23:56 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-23 23:11 [PATCH 0/4] arm: am43xx: add PMU support Felipe Balbi
2015-01-23 23:11 ` [PATCH 1/4] arm: omap: hwmod: 43xx: add DebugSS hwmod data Felipe Balbi
[not found] ` <1422054704-14915-2-git-send-email-balbi-l0cyMroinI0@public.gmane.org>
2015-01-26 2:04 ` Paul Walmsley
[not found] ` <alpine.DEB.2.02.1501260142590.5450-rwI8Ez+7Ko+d5PgPZx9QOdBPR1lH4CV8@public.gmane.org>
2015-01-26 16:56 ` Felipe Balbi
2015-01-26 19:49 ` Felipe Balbi
2015-01-27 16:01 ` Felipe Balbi
2015-01-27 17:12 ` Paul Walmsley
2015-01-27 17:15 ` Felipe Balbi
[not found] ` <20150127171532.GC14878-HgARHv6XitJaoMGHk7MhZQC/G2K4zDHf@public.gmane.org>
2015-01-27 17:18 ` Felipe Balbi
[not found] ` <20150127171843.GD14878-HgARHv6XitJaoMGHk7MhZQC/G2K4zDHf@public.gmane.org>
2015-01-27 17:55 ` Paul Walmsley
2015-02-10 23:12 ` Paul Walmsley
2015-02-10 23:56 ` Felipe Balbi [this message]
2015-02-11 0:38 ` Paul Walmsley
2015-01-23 23:11 ` [PATCH 2/4] arm: dts: am4372: add missing debugss clocks Felipe Balbi
2015-01-23 23:11 ` [PATCH 3/4] clk: ti: 43xx: add debugss clocks to DT_CLK() table Felipe Balbi
2015-01-24 2:25 ` Felipe Balbi
[not found] ` <1422054704-14915-1-git-send-email-balbi-l0cyMroinI0@public.gmane.org>
2015-01-23 23:11 ` [PATCH 4/4] arm: dts: am4372: add pmu DT data Felipe Balbi
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=20150210235629.GA4785@saruman.tx.rr.com \
--to=balbi@ti.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-omap@vger.kernel.org \
--cc=paul@pwsan.com \
--cc=tony@atomide.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).