From 19b006eb843d1c24b7c1b162158cef7f1f471f43 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Fri, 16 Sep 2022 13:47:15 +0100 Subject: [PATCH] devices: legacy: pl011: Move boot timestamping to warn!() This makes it consistent with x86_64 and allows the performance metrics tooling to continue to work on aarch64. Signed-off-by: Rob Bradford --- devices/src/legacy/uart_pl011.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/devices/src/legacy/uart_pl011.rs b/devices/src/legacy/uart_pl011.rs index 109cba657..6e096bd81 100644 --- a/devices/src/legacy/uart_pl011.rs +++ b/devices/src/legacy/uart_pl011.rs @@ -306,25 +306,25 @@ impl Pl011 { let elapsed = self.timestamp.elapsed(); match self.debug { - 0x00..=0x1f => info!( + 0x00..=0x1f => warn!( "[Debug I/O port: Firmware code: 0x{:x}] {}.{:>06} seconds", self.debug, elapsed.as_secs(), elapsed.as_micros() ), - 0x20..=0x3f => info!( + 0x20..=0x3f => warn!( "[Debug I/O port: Bootloader code: 0x{:x}] {}.{:>06} seconds", self.debug, elapsed.as_secs(), elapsed.as_micros() ), - 0x40..=0x5f => info!( + 0x40..=0x5f => warn!( "[Debug I/O port: Kernel code: 0x{:x}] {}.{:>06} seconds", self.debug, elapsed.as_secs(), elapsed.as_micros() ), - 0x60..=0x7f => info!( + 0x60..=0x7f => warn!( "[Debug I/O port: Userspace code: 0x{:x}] {}.{:>06} seconds", self.debug, elapsed.as_secs(),