From 3538afc1fef3a88a4bceea208edc2186740a0ac0 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 19 May 2022 15:14:06 +0100 Subject: [PATCH] devices: debug_port: Move 0x80 output to warn!() level This allows the capturing of the debug port event without requiring more verbose logging which itself has a performance impact. Unless users are using our custom kernel or their own custom patches they are unlikely to see the impact. Signed-off-by: Rob Bradford --- devices/src/legacy/debug_port.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/src/legacy/debug_port.rs b/devices/src/legacy/debug_port.rs index 95fe9bcf0..2568e9c8c 100644 --- a/devices/src/legacy/debug_port.rs +++ b/devices/src/legacy/debug_port.rs @@ -73,7 +73,7 @@ impl BusDevice for DebugPort { let elapsed = self.timestamp.elapsed(); let code = data[0]; - info!( + warn!( "[{} code 0x{:x}] {}.{:>06} seconds", DebugIoPortRange::from_u8(code), code,