From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH] mackerel: Do not enable TMU timer in default config
Date: Tue, 28 Feb 2012 01:23:45 +0000 [thread overview]
Message-ID: <201202280223.45948.rjw@sisk.pl> (raw)
In-Reply-To: <1329111377-15676-1-git-send-email-horms@verge.net.au>
On Monday, February 27, 2012, Simon Horman wrote:
> On Sun, Feb 26, 2012 at 11:57:01PM +0100, Rafael J. Wysocki wrote:
> > On Thursday, February 23, 2012, Simon Horman wrote:
> > > This allows the mackerel to boot using a kernel compiled
> > > using the mackerel default config. Without this change
> > > the kernel boot hangs during or immediately after SCIF
> > > initialisation.
> > >
> > > SuperH SCI(F) driver initialized
> > > sh-sci.0: ttySC0 at MMIO 0xe6c40000 (irq = 80) is a scifa
> > > sh-sci sh-sci.0: start latency exceeded, new value 5416 ns
> > > console [ttySC0] enabled, bootconsole disabled
> > > console [ttySC0] enabled, bootconsole disabled
> > >
> > > Signed-off-by: Simon Horman <horms@verge.net.au>
> > >
> > > ---
> > >
> > > Hi Rafael,
> > >
> > > I would appreciate it if you could consider this change for 3.3.
> > >
> > > It is a band-aid solution, however, it resolves a regression -
> > > the boot or lack thereof of a mackerel board using the default config -
> > > since 3.2.
> > >
> > > I have discussed this a little with Magnus Damm and he is of
> > > the opinion that this problem likely relates to an interaction
> > > between TMU and power domains and that a full fix would be difficult
> > > within the 3.3 time-frame.
> >
> > >From my inspection of the sh_tmu driver it looks like that driver doesn't
> > support power management and the device it handles isn't taken into account
> > in our PM domains configuration (it belongs to the A4R domain, so that
> > domain can't be powered off while the driver is present).
> >
> > For this reason, I propose to apply the appended change (which reflects the
> > current status of the driver AFAICS) for now and revisit the driver at one
> > point in future.
>
> Hi Rafael,
>
> thanks for taking time to look into this.
> Your proposal seems good to me.
>
> Tested-by: Simon Horman <horms@verge.net.au>
However, having looked at both sh_tmu and sh_cmt I don't see why the former
should break things (during boot), while the latter doesn't, so I've done
some more testing and, surprisingly enough, it turns out that disabling runtime
PM in sh-sci makes the boot hang with sh_tmu enabled go away. So perhaps sh_tmu
is just a messenger here and the real problem is with sh-sci.
I think that more investigation is needed.
Thanks,
Rafael
next prev parent reply other threads:[~2012-02-28 1:23 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-13 5:36 [PATCH] mackerel: Do not enable TMU timer in default config Simon Horman
2012-02-13 23:33 ` Paul Mundt
2012-02-14 0:35 ` Simon Horman
2012-02-23 10:06 ` Simon Horman
2012-02-23 15:30 ` Paul Mundt
2012-02-23 22:14 ` Rafael J. Wysocki
2012-02-26 22:57 ` Rafael J. Wysocki
2012-02-27 0:55 ` Simon Horman
2012-02-27 6:06 ` Paul Mundt
2012-02-27 22:30 ` Rafael J. Wysocki
2012-02-28 1:23 ` Rafael J. Wysocki [this message]
2012-02-28 1:38 ` Simon Horman
2012-02-28 6:09 ` Paul Mundt
2012-02-28 9:29 ` Simon Horman
2012-02-28 23:59 ` Rafael J. Wysocki
2012-02-29 1:32 ` Simon Horman
2012-03-02 23:27 ` Rafael J. Wysocki
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=201202280223.45948.rjw@sisk.pl \
--to=rjw@sisk.pl \
--cc=linux-sh@vger.kernel.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 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).