* [PATCH] omap3: boot message is not an error
@ 2011-05-17 15:02 Sanjeev Premi
2011-05-17 17:33 ` Kevin Hilman
0 siblings, 1 reply; 5+ messages in thread
From: Sanjeev Premi @ 2011-05-17 15:02 UTC (permalink / raw)
To: linux-omap; +Cc: Sanjeev Premi
With current level, it shows up on the console
despite using 'silent' in bootargs.
Signed-off-by: Sanjeev Premi <premi@ti.com>
---
1) Couldn't find better text on commit message.
Any suggestions?
2) Though pm34xx.x is changed, the change itself
is no related to power management. Hence, did
annotate "pm:"
arch/arm/mach-omap2/pm34xx.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c
index 343027f..7584ba8 100644
--- a/arch/arm/mach-omap2/pm34xx.c
+++ b/arch/arm/mach-omap2/pm34xx.c
@@ -901,7 +901,7 @@ static int __init omap3_pm_init(void)
pm_errata_configure();
- printk(KERN_ERR "Power Management for TI OMAP3.\n");
+ pr_info ("Power Management for TI OMAP3.\n");
/* XXX prcm_setup_regs needs to be before enabling hw
* supervised mode for powerdomains */
--
1.7.2.2
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH] omap3: boot message is not an error 2011-05-17 15:02 [PATCH] omap3: boot message is not an error Sanjeev Premi @ 2011-05-17 17:33 ` Kevin Hilman 2011-05-18 5:45 ` Jarkko Nikula 0 siblings, 1 reply; 5+ messages in thread From: Kevin Hilman @ 2011-05-17 17:33 UTC (permalink / raw) To: Sanjeev Premi; +Cc: linux-omap Hi Sanjeev, On Tue, 2011-05-17 at 20:32 +0530, Sanjeev Premi wrote: > With current level, it shows up on the console > despite using 'silent' in bootargs. > > Signed-off-by: Sanjeev Premi <premi@ti.com> > --- > > 1) Couldn't find better text on commit message. > Any suggestions? > > 2) Though pm34xx.x is changed, the change itself > is no related to power management. Hence, did > annotate "pm:" Well, it's a change to PM core code, so PM prefix is fine. How about: OMAP3: PM: boot message is not an error, use pr_info Also, please Cc linux-arm-kernel, and I will queue this fix for 2.6.40. Minor comment below.. > arch/arm/mach-omap2/pm34xx.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/arch/arm/mach-omap2/pm34xx.c b/arch/arm/mach-omap2/pm34xx.c > index 343027f..7584ba8 100644 > --- a/arch/arm/mach-omap2/pm34xx.c > +++ b/arch/arm/mach-omap2/pm34xx.c > @@ -901,7 +901,7 @@ static int __init omap3_pm_init(void) > > pm_errata_configure(); > > - printk(KERN_ERR "Power Management for TI OMAP3.\n"); > + pr_info ("Power Management for TI OMAP3.\n"); Drop space before the opening '('. > /* XXX prcm_setup_regs needs to be before enabling hw > * supervised mode for powerdomains */ Kevin ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] omap3: boot message is not an error 2011-05-17 17:33 ` Kevin Hilman @ 2011-05-18 5:45 ` Jarkko Nikula 2011-05-18 8:57 ` Kevin Hilman 0 siblings, 1 reply; 5+ messages in thread From: Jarkko Nikula @ 2011-05-18 5:45 UTC (permalink / raw) To: Kevin Hilman; +Cc: Sanjeev Premi, linux-omap On Tue, 17 May 2011 19:33:41 +0200 Kevin Hilman <khilman@ti.com> wrote: > Hi Sanjeev, > > On Tue, 2011-05-17 at 20:32 +0530, Sanjeev Premi wrote: > > With current level, it shows up on the console > > despite using 'silent' in bootargs. > > > > Signed-off-by: Sanjeev Premi <premi@ti.com> > > --- > > > > 1) Couldn't find better text on commit message. > > Any suggestions? > > > > 2) Though pm34xx.x is changed, the change itself > > is no related to power management. Hence, did > > annotate "pm:" > > Well, it's a change to PM core code, so PM prefix is fine. How about: > > OMAP3: PM: boot message is not an error, use pr_info > > Also, please Cc linux-arm-kernel, and I will queue this fix for 2.6.40. ... > > arch/arm/mach-omap2/pm34xx.c | 2 +- > > 1 files changed, 1 insertions(+), 1 deletions(-) > > Does this bootup info print here bring any benefit for pm developers and users? For me it looks it can be removed as the pm34xx.c is always compiled and initialized for CONFIG_ARCH_OMAP3 so IMHO only error prints from pm34xx.c are relevant. -- Jarkko ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] omap3: boot message is not an error 2011-05-18 5:45 ` Jarkko Nikula @ 2011-05-18 8:57 ` Kevin Hilman 2011-05-18 8:58 ` Premi, Sanjeev 0 siblings, 1 reply; 5+ messages in thread From: Kevin Hilman @ 2011-05-18 8:57 UTC (permalink / raw) To: Jarkko Nikula; +Cc: Sanjeev Premi, linux-omap Jarkko Nikula <jhnikula@gmail.com> writes: > On Tue, 17 May 2011 19:33:41 +0200 > Kevin Hilman <khilman@ti.com> wrote: > >> Hi Sanjeev, >> >> On Tue, 2011-05-17 at 20:32 +0530, Sanjeev Premi wrote: >> > With current level, it shows up on the console >> > despite using 'silent' in bootargs. >> > >> > Signed-off-by: Sanjeev Premi <premi@ti.com> >> > --- >> > >> > 1) Couldn't find better text on commit message. >> > Any suggestions? >> > >> > 2) Though pm34xx.x is changed, the change itself >> > is no related to power management. Hence, did >> > annotate "pm:" >> >> Well, it's a change to PM core code, so PM prefix is fine. How about: >> >> OMAP3: PM: boot message is not an error, use pr_info >> >> Also, please Cc linux-arm-kernel, and I will queue this fix for 2.6.40. > ... >> > arch/arm/mach-omap2/pm34xx.c | 2 +- >> > 1 files changed, 1 insertions(+), 1 deletions(-) >> > > Does this bootup info print here bring any benefit for pm developers > and users? > > For me it looks it can be removed as the pm34xx.c is always compiled > and initialized for CONFIG_ARCH_OMAP3 so IMHO only error prints from > pm34xx.c are relevant. Good point. It's probably better to simply remove the printk. Kevin ^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [PATCH] omap3: boot message is not an error 2011-05-18 8:57 ` Kevin Hilman @ 2011-05-18 8:58 ` Premi, Sanjeev 0 siblings, 0 replies; 5+ messages in thread From: Premi, Sanjeev @ 2011-05-18 8:58 UTC (permalink / raw) To: Hilman, Kevin, Jarkko Nikula; +Cc: linux-omap@vger.kernel.org > -----Original Message----- > From: Hilman, Kevin > Sent: Wednesday, May 18, 2011 2:27 PM > To: Jarkko Nikula > Cc: Premi, Sanjeev; linux-omap@vger.kernel.org > Subject: Re: [PATCH] omap3: boot message is not an error > > Jarkko Nikula <jhnikula@gmail.com> writes: > > > On Tue, 17 May 2011 19:33:41 +0200 > > Kevin Hilman <khilman@ti.com> wrote: > > > >> Hi Sanjeev, > >> > >> On Tue, 2011-05-17 at 20:32 +0530, Sanjeev Premi wrote: > >> > With current level, it shows up on the console > >> > despite using 'silent' in bootargs. > >> > > >> > Signed-off-by: Sanjeev Premi <premi@ti.com> > >> > --- > >> > > >> > 1) Couldn't find better text on commit message. > >> > Any suggestions? > >> > > >> > 2) Though pm34xx.x is changed, the change itself > >> > is no related to power management. Hence, did > >> > annotate "pm:" > >> > >> Well, it's a change to PM core code, so PM prefix is fine. > How about: > >> > >> OMAP3: PM: boot message is not an error, use pr_info > >> > >> Also, please Cc linux-arm-kernel, and I will queue this > fix for 2.6.40. > > ... > >> > arch/arm/mach-omap2/pm34xx.c | 2 +- > >> > 1 files changed, 1 insertions(+), 1 deletions(-) > >> > > > Does this bootup info print here bring any benefit for pm developers > > and users? > > > > For me it looks it can be removed as the pm34xx.c is always compiled > > and initialized for CONFIG_ARCH_OMAP3 so IMHO only error prints from > > pm34xx.c are relevant. > > Good point. It's probably better to simply remove the printk. Ok. I will resend the patch with removal... > > Kevin > ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-05-18 8:58 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-05-17 15:02 [PATCH] omap3: boot message is not an error Sanjeev Premi 2011-05-17 17:33 ` Kevin Hilman 2011-05-18 5:45 ` Jarkko Nikula 2011-05-18 8:57 ` Kevin Hilman 2011-05-18 8:58 ` Premi, Sanjeev
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).