[Skiboot] [PATCH] Qemu: don't print PR_WARNING on qemu defining rtc/uart

Stewart Smith stewart at linux.ibm.com
Wed Aug 22 16:46:04 AEST 2018


This helps us boot more warning/error free on qemu

Signed-off-by: Stewart Smith <stewart at linux.ibm.com>
---
 platforms/qemu/qemu.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/platforms/qemu/qemu.c b/platforms/qemu/qemu.c
index a9b4f57b57b4..2e9884d2cb2e 100644
--- a/platforms/qemu/qemu.c
+++ b/platforms/qemu/qemu.c
@@ -135,7 +135,7 @@ static void qemu_dt_fixup_uart(struct dt_node *lpc)
 	/* check if the UART device was defined by qemu */
 	dt_for_each_child(lpc, uart) {
 		if (dt_node_is_compatible(uart, "pnpPNP,501")) {
-			prlog(PR_WARNING, "QEMU: uart device already here\n");
+			prlog(PR_DEBUG, "QEMU: uart device already here\n");
 			return;
 		}
 	}
@@ -174,7 +174,7 @@ static void qemu_dt_fixup_rtc(struct dt_node *lpc)
 	/* check if the RTC device was defined by qemu */
 	dt_for_each_child(lpc, rtc) {
 		if (dt_node_is_compatible(rtc, "pnpPNP,b00")) {
-			prlog(PR_WARNING, "QEMU: rtc device already here\n");
+			prlog(PR_DEBUG, "QEMU: rtc device already here\n");
 			return;
 		}
 	}
-- 
2.17.1



More information about the Skiboot mailing list