[Skiboot] [PATCH] cpu: Quieten OS endian switch messages
Joel Stanley
joel at jms.id.au
Wed Oct 24 11:07:30 AEDT 2018
Users see these when loading an OS from Petitboot:
[ 119.486794100,5] OPAL: Switch to big-endian OS
[ 120.022302604,5] OPAL: Switch to little-endian OS
Which is expected and doesn't provide any information the user can act
on. Switch them to PR_INFO so they still appear in the log, but not on
the serial console.
Signed-off-by: Joel Stanley <joel at jms.id.au>
---
core/cpu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/core/cpu.c b/core/cpu.c
index cc5b88c5ce8a..4f518a4c10b2 100644
--- a/core/cpu.c
+++ b/core/cpu.c
@@ -1467,9 +1467,9 @@ static int64_t opal_reinit_cpus(uint64_t flags)
prlog(PR_DEBUG, "OPAL: CPU re-init with flags: 0x%llx\n", flags);
if (flags & OPAL_REINIT_CPUS_HILE_LE)
- prlog(PR_NOTICE, "OPAL: Switch to little-endian OS\n");
+ prlog(PR_INFO, "OPAL: Switch to little-endian OS\n");
else if (flags & OPAL_REINIT_CPUS_HILE_BE)
- prlog(PR_NOTICE, "OPAL: Switch to big-endian OS\n");
+ prlog(PR_INFO, "OPAL: Switch to big-endian OS\n");
again:
lock(&reinit_lock);
--
2.19.1
More information about the Skiboot
mailing list