diff mbox series

[trivial] hostservices: Silence special wakeup assert/release logs

Message ID 20191031052519.9153-1-hegdevasant@linux.vnet.ibm.com
State Accepted
Headers show
Series [trivial] hostservices: Silence special wakeup assert/release logs | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (d75e82dbfbb9443efeb3f9a5921ac23605aab469)
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot success Test snowpatch/job/snowpatch-skiboot on branch master
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco success Signed-off-by present

Commit Message

Vasant Hegde Oct. 31, 2019, 5:25 a.m. UTC
During `opal-prd pm-complex reset` OPAL msglog is filled
with these logs.. which are not useful for debugging. And
Hence lets silence these logs.

Cc: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
Cc: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>
---
 platforms/ibm-fsp/hostservices.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Oliver O'Halloran Nov. 5, 2019, 8:17 a.m. UTC | #1
On Thu, Oct 31, 2019 at 4:25 PM Vasant Hegde
<hegdevasant@linux.vnet.ibm.com> wrote:
>
> During `opal-prd pm-complex reset` OPAL msglog is filled
> with these logs.. which are not useful for debugging. And
> Hence lets silence these logs.
>
> Cc: Vaidyanathan Srinivasan <svaidy@linux.vnet.ibm.com>
> Cc: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
> Signed-off-by: Vasant Hegde <hegdevasant@linux.vnet.ibm.com>


Merged as of b8bac56ad6b3f78623351ba9bbc211684ef8031a
diff mbox series

Patch

diff --git a/platforms/ibm-fsp/hostservices.c b/platforms/ibm-fsp/hostservices.c
index 1c199af11..19a87e4cb 100644
--- a/platforms/ibm-fsp/hostservices.c
+++ b/platforms/ibm-fsp/hostservices.c
@@ -561,7 +561,7 @@  int hservice_wakeup(uint32_t i_core, uint32_t i_mode)
 		cpu = find_cpu_by_pir(i_core);
 		if (!cpu)
 			return OPAL_PARAMETER;
-		prlog(PR_DEBUG, "HBRT: Special wakeup assert for core 0x%x,"
+		prlog(PR_TRACE, "HBRT: Special wakeup assert for core 0x%x,"
 		      " count=%d\n", i_core, cpu->hbrt_spec_wakeup);
 		if (cpu->hbrt_spec_wakeup == 0)
 			rc = dctl_set_special_wakeup(cpu);
@@ -572,7 +572,7 @@  int hservice_wakeup(uint32_t i_core, uint32_t i_mode)
 		cpu = find_cpu_by_pir(i_core);
 		if (!cpu)
 			return OPAL_PARAMETER;
-		prlog(PR_DEBUG, "HBRT: Special wakeup release for core"
+		prlog(PR_TRACE, "HBRT: Special wakeup release for core"
 		      " 0x%x, count=%d\n", i_core, cpu->hbrt_spec_wakeup);
 		if (cpu->hbrt_spec_wakeup == 0) {
 			prerror("HBRT: Special wakeup clear"