Message ID | 1305644565-26233-1-git-send-email-premi@ti.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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 -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
> -----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 > -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
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 */
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(-)