From: Greg KH <gregkh@linuxfoundation.org>
To: Shawn Guo <shawn.guo@linaro.org>
Cc: Huang Shijie <b32955@freescale.com>,
shc_work@mail.ru, festevam@gmail.com,
linux-serial@vger.kernel.org,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2] serial: imx: enable the clocks for console
Date: Sun, 9 Jun 2013 10:26:28 -0700 [thread overview]
Message-ID: <20130609172628.GA17829@kroah.com> (raw)
In-Reply-To: <20130609130544.GC20780@S2101-09.ap.freescale.net>
On Sun, Jun 09, 2013 at 09:05:47PM +0800, Shawn Guo wrote:
> On Sun, Jun 09, 2013 at 04:34:11PM +0800, Shawn Guo wrote:
> > On Sun, Jun 09, 2013 at 10:01:19AM +0800, Huang Shijie wrote:
> > > The console's clocks are disabled after the uart driver is probed.
> > > It makes that we can see less log from the console now
> > > (though we still can get all the log by the `dmesg`).
> > >
> > > So enable the clocks for console, and we can see all the log again.
> > >
> > > This patch also disables the sport->clk_per when we fail to enable
> > > the sport->clk_ipg;
> > >
> > > Signed-off-by: Huang Shijie <b32955@freescale.com>
> >
> > Tested-by: Shawn Guo <shawn.guo@linaro.org>
>
> Sorry. I have to take that back.
>
> Though it works fine with BusyBox, I'm getting the following warnings
> when booting with an Ubuntu 13.04 rootfs, in which case imx_startup()
> and imx_shutdown() will be called for a number of iterations. That
> causes unbalanced clk_prepare_enable vs. clk_disable_unprepare, since
> the clk_prepare_enable is under condition if (!uart_console(port)) in
> imx_startup(), while clk_disable_unprepare in imx_shutdown() is not.
I had just applied this to my tree, should I revert it because of this
problem?
thanks,
greg k-h
WARNING: multiple messages have this Message-ID (diff)
From: gregkh@linuxfoundation.org (Greg KH)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] serial: imx: enable the clocks for console
Date: Sun, 9 Jun 2013 10:26:28 -0700 [thread overview]
Message-ID: <20130609172628.GA17829@kroah.com> (raw)
In-Reply-To: <20130609130544.GC20780@S2101-09.ap.freescale.net>
On Sun, Jun 09, 2013 at 09:05:47PM +0800, Shawn Guo wrote:
> On Sun, Jun 09, 2013 at 04:34:11PM +0800, Shawn Guo wrote:
> > On Sun, Jun 09, 2013 at 10:01:19AM +0800, Huang Shijie wrote:
> > > The console's clocks are disabled after the uart driver is probed.
> > > It makes that we can see less log from the console now
> > > (though we still can get all the log by the `dmesg`).
> > >
> > > So enable the clocks for console, and we can see all the log again.
> > >
> > > This patch also disables the sport->clk_per when we fail to enable
> > > the sport->clk_ipg;
> > >
> > > Signed-off-by: Huang Shijie <b32955@freescale.com>
> >
> > Tested-by: Shawn Guo <shawn.guo@linaro.org>
>
> Sorry. I have to take that back.
>
> Though it works fine with BusyBox, I'm getting the following warnings
> when booting with an Ubuntu 13.04 rootfs, in which case imx_startup()
> and imx_shutdown() will be called for a number of iterations. That
> causes unbalanced clk_prepare_enable vs. clk_disable_unprepare, since
> the clk_prepare_enable is under condition if (!uart_console(port)) in
> imx_startup(), while clk_disable_unprepare in imx_shutdown() is not.
I had just applied this to my tree, should I revert it because of this
problem?
thanks,
greg k-h
next prev parent reply other threads:[~2013-06-09 17:25 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-04 1:59 [PATCH V2] serial: imx: enable the clocks only when the uart is used Huang Shijie
2013-06-04 1:59 ` Huang Shijie
2013-06-08 6:01 ` Shawn Guo
2013-06-08 6:01 ` Shawn Guo
2013-06-08 6:22 ` Huang Shijie
2013-06-08 6:22 ` Huang Shijie
2013-06-08 6:23 ` Shawn Guo
2013-06-08 6:23 ` Shawn Guo
2013-06-08 8:04 ` [PATCH] serial: imx: enable the clocks for console Huang Shijie
2013-06-08 8:04 ` Huang Shijie
2013-06-08 13:11 ` Fabio Estevam
2013-06-08 13:11 ` Fabio Estevam
2013-06-09 2:01 ` [PATCH v2] " Huang Shijie
2013-06-09 2:01 ` Huang Shijie
2013-06-09 8:34 ` Shawn Guo
2013-06-09 8:34 ` Shawn Guo
2013-06-09 13:05 ` Shawn Guo
2013-06-09 13:05 ` Shawn Guo
2013-06-09 17:26 ` Greg KH [this message]
2013-06-09 17:26 ` Greg KH
2013-06-10 0:55 ` Shawn Guo
2013-06-10 0:55 ` Shawn Guo
2013-06-09 2:17 ` [PATCH] " Huang Shijie
2013-06-09 2:17 ` Huang Shijie
2013-06-08 11:56 ` Re[2]: [PATCH V2] serial: imx: enable the clocks only when the uart is used Alexander Shiyan
2013-06-08 11:56 ` Alexander Shiyan
2013-06-08 8:15 ` Russell King - ARM Linux
2013-06-08 8:15 ` Russell King - ARM Linux
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=20130609172628.GA17829@kroah.com \
--to=gregkh@linuxfoundation.org \
--cc=b32955@freescale.com \
--cc=festevam@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-serial@vger.kernel.org \
--cc=shawn.guo@linaro.org \
--cc=shc_work@mail.ru \
/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.