devices: lower a TPM log line to debug level

Signed-off-by: Wei Liu <liuwe@microsoft.com>
This commit is contained in:
Wei Liu
2026-05-30 16:04:07 -07:00
committed by Rob Bradford
parent d262c81210
commit f91b748253

View File

@@ -12,7 +12,7 @@ use anyhow::anyhow;
use arch::aarch64::layout::{TPM_SIZE, TPM_START};
#[cfg(target_arch = "x86_64")]
use arch::x86_64::layout::{TPM_SIZE, TPM_START};
use log::{debug, error, warn};
use log::{debug, error};
use thiserror::Error;
use tpm::TPM_CRB_BUFFER_MAX;
use tpm::emulator::{BackendCmd, Emulator};
@@ -512,7 +512,7 @@ impl BusDevice for Tpm {
}
}
CRB_LOC_CTRL => {
warn!("CRB_LOC_CTRL locality to write = {locality:?} val = {v:?}");
debug!("CRB_LOC_CTRL locality to write = {locality:?} val = {v:?}");
match v {
CRB_LOC_CTRL_RESET_ESTABLISHMENT_BIT => {}
CRB_LOC_CTRL_RELINQUISH => {