omap3: boot message is not an error
PATCH 1/1 omap3: boot message is not an error
With current level, it shows up on the console
despite using 'silent' in bootargs.
---
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(-)
arch/arm/mach-omap2/pm34xx.c +1 -1
@@ -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 */
Signature · 1 line
1.7.2.2
Hi Sanjeev,
Quoted 4 lines · Sanjeev Premi
With current level, it shows up on the console
despite using 'silent' in bootargs.Signed-off-by Sanjeev Premi <[email protected]>
Quoted 8 lines
---
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 static int __init omap3_pm_init(void) · line 904
Quoted 13 lines
arch/arm/mach-omap2/pm34xx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)arch/arm/mach-omap2/pm34xx.c +1
-1@@ -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 '('.
arch/arm/mach-omap2/pm34xx.c static int __init omap3_pm_init(void) · line 907
Quoted 2 lines
arch/arm/mach-omap2/pm34xx.c +0
-0/* XXX prcm_setup_regs needs to be before enabling hw * supervised mode for powerdomains */
Kevin
Quoted 21 lines · On Tue, 17 May 2011 19:33:41 +0200 Kevin Hilman <[email protected]> wrote:
Hi Sanjeev,
Quoted 4 lines · Sanjeev Premi
With current level, it shows up on the console
despite using 'silent' in bootargs.Signed-off-by Sanjeev Premi <[email protected]>Quoted 8 lines
---
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_infoAlso, please Cc linux-arm-kernel, and I will queue this fix for 2.6.40.
...
Quoted 3 lines
Quoted 3 lines
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.
Signature · 1 line
Jarkko
Quoted 28 lines · Jarkko Nikula
Quoted 21 lines · On Tue, 17 May 2011 19:33:41 +0200 Kevin Hilman <[email protected]> wrote:
Hi Sanjeev,
Quoted 4 lines · Sanjeev Premi
With current level, it shows up on the console
despite using 'silent' in bootargs.Signed-off-by Sanjeev Premi <[email protected]>Quoted 8 lines
---
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_infoAlso, please Cc linux-arm-kernel, and I will queue this fix for 2.6.40.
...
Quoted 3 lines
Quoted 3 lines
arch/arm/mach-omap2/pm34xx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Quoted 6 lines
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.cis always compiled and initialized forCONFIG_ARCH_OMAP3so IMHO only error prints frompm34xx.care relevant.
Good point. It's probably better to simply remove the printk.
Kevin
Quoted 39 lines
-----Original Message-----
From: Hilman, Kevin
Sent: Wednesday, May 18, 2011 2:27 PM
To: Jarkko Nikula
Cc: Premi, Sanjeev; [email protected]
Subject: Re: [PATCH] omap3: boot message is not an errorQuoted 12 lines · Jarkko Nikula
Quoted 9 lines · On Tue, 17 May 2011 19:33:41 +0200 Kevin Hilman <[email protected]> wrote:
Hi Sanjeev,
Quoted 6 lines · Sanjeev Premi
With current level, it shows up on the console
despite using 'silent' in bootargs.Signed-off-by Sanjeev Premi <[email protected]>---
Quoted 8 lines
Quoted 8 lines
Quoted 6 lines
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:
Quoted 4 lines
Quoted 4 lines
OMAP3: PM: boot message is not an error, use
pr_infoAlso, please Cc linux-arm-kernel, and I will queue this
fix for 2.6.40.
Quoted 4 lines
...
Quoted 3 lines
Quoted 3 lines
arch/arm/mach-omap2/pm34xx.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Quoted 8 lines
Quoted 6 lines
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.cis always compiled and initialized forCONFIG_ARCH_OMAP3so IMHO only error prints frompm34xx.care relevant.Good point. It's probably better to simply remove the printk.
Ok. I will resend the patch with removal...
Quoted 3 lines
Kevin