Skip to contentSkip to conversation

powerpc: Remove DEBUG define in 64-bit early setup code

PATCH Applied Benjamin Herrenschmidt 2 participants 4 messages Nov 22, 2017 – Dec 12, 2017 PowerPC

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 powerpc: Remove DEBUG define in 64-bit early setup code

This statement causes some not very useful messages to always be printed on the serial port at boot, even on quiet boots.

---
 arch/powerpc/kernel/setup_64.c | 2 --
 1 file changed, 2 deletions(-)
arch/powerpc/kernel/setup_64.c +0 -2
index b89c6aac48c9..001ac30c0f98 100644
@@ -10,8 +10,6 @@
  *      2 of the License, or (at your option) any later version.
  */
 
-#define DEBUG
-
 #include <linux/export.h>
 #include <linux/string.h>
 #include <linux/sched.h>
Signature · 1 line
2.14.3
#1 lore raw

PATCH 2/2 powerpc: Reduce log level of "OPAL detected !" message

This message isn't terribly useful.

---
 arch/powerpc/platforms/powernv/opal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/powerpc/platforms/powernv/opal.c +1 -1
index 65c79ecf5a4d..464dccebf3df 100644
@@ -127,7 +127,7 @@ int __init early_init_dt_scan_opal(unsigned long node,
 
 	if (of_flat_dt_is_compatible(node, "ibm,opal-v3")) {
 		powerpc_firmware_features |= FW_FEATURE_OPAL;
-		pr_info("OPAL detected !\n");
+		pr_debug("OPAL detected !\n");
 	} else {
 		panic("OPAL != V3 detected, no longer supported.\n");
 	}
Signature · 1 line
2.14.3