mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2025-01-05 04:15:20 +00:00
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 <robert.bradford@intel.com>
This commit is contained in:
parent
a5f655a032
commit
19b006eb84
@ -306,25 +306,25 @@ impl Pl011 {
|
|||||||
let elapsed = self.timestamp.elapsed();
|
let elapsed = self.timestamp.elapsed();
|
||||||
|
|
||||||
match self.debug {
|
match self.debug {
|
||||||
0x00..=0x1f => info!(
|
0x00..=0x1f => warn!(
|
||||||
"[Debug I/O port: Firmware code: 0x{:x}] {}.{:>06} seconds",
|
"[Debug I/O port: Firmware code: 0x{:x}] {}.{:>06} seconds",
|
||||||
self.debug,
|
self.debug,
|
||||||
elapsed.as_secs(),
|
elapsed.as_secs(),
|
||||||
elapsed.as_micros()
|
elapsed.as_micros()
|
||||||
),
|
),
|
||||||
0x20..=0x3f => info!(
|
0x20..=0x3f => warn!(
|
||||||
"[Debug I/O port: Bootloader code: 0x{:x}] {}.{:>06} seconds",
|
"[Debug I/O port: Bootloader code: 0x{:x}] {}.{:>06} seconds",
|
||||||
self.debug,
|
self.debug,
|
||||||
elapsed.as_secs(),
|
elapsed.as_secs(),
|
||||||
elapsed.as_micros()
|
elapsed.as_micros()
|
||||||
),
|
),
|
||||||
0x40..=0x5f => info!(
|
0x40..=0x5f => warn!(
|
||||||
"[Debug I/O port: Kernel code: 0x{:x}] {}.{:>06} seconds",
|
"[Debug I/O port: Kernel code: 0x{:x}] {}.{:>06} seconds",
|
||||||
self.debug,
|
self.debug,
|
||||||
elapsed.as_secs(),
|
elapsed.as_secs(),
|
||||||
elapsed.as_micros()
|
elapsed.as_micros()
|
||||||
),
|
),
|
||||||
0x60..=0x7f => info!(
|
0x60..=0x7f => warn!(
|
||||||
"[Debug I/O port: Userspace code: 0x{:x}] {}.{:>06} seconds",
|
"[Debug I/O port: Userspace code: 0x{:x}] {}.{:>06} seconds",
|
||||||
self.debug,
|
self.debug,
|
||||||
elapsed.as_secs(),
|
elapsed.as_secs(),
|
||||||
|
Loading…
Reference in New Issue
Block a user