aboutsummaryrefslogtreecommitdiff
path: root/libstb/trustedboot.c
diff options
context:
space:
mode:
authorPridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com>2018-02-08 00:01:13 +0530
committerStewart Smith <stewart@linux.vnet.ibm.com>2018-02-07 21:22:22 -0600
commitb90b08fc2f9a9e6b54be8f50b804dedb8a52f1e8 (patch)
tree8e5e6978bfda69efb72945ed8b33e819c153e750 /libstb/trustedboot.c
parent9b7289511d7ebdce5a289a37a06d3cb9f4543e28 (diff)
downloadskiboot-b90b08fc2f9a9e6b54be8f50b804dedb8a52f1e8.zip
skiboot-b90b08fc2f9a9e6b54be8f50b804dedb8a52f1e8.tar.gz
skiboot-b90b08fc2f9a9e6b54be8f50b804dedb8a52f1e8.tar.bz2
libstb: increase the log level of verify/measure messages to PR_NOTICE.
Currently libstb logs the verify and hash caluculation messages in PR_INFO level. So when there is a secure boot enforcement happens in loading last flash resource(Ex: BOOTKERNEL), the previous verify and measure messages are not logged to console, which is not clear to the end user which resource is verified and measured. So this patch fixes this by increasing the log level to PR_NOTICE. Signed-off-by: Pridhiviraj Paidipeddi <ppaidipe@linux.vnet.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'libstb/trustedboot.c')
-rw-r--r--libstb/trustedboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstb/trustedboot.c b/libstb/trustedboot.c
index e2df0e6..058e45e 100644
--- a/libstb/trustedboot.c
+++ b/libstb/trustedboot.c
@@ -215,7 +215,7 @@ int trustedboot_measure(enum resource_id id, void *buf, size_t len)
rc = call_cvc_sha512(buf_aux, len_aux, digest, SHA512_DIGEST_LENGTH);
if (rc == OPAL_SUCCESS) {
- prlog(PR_INFO, "%s hash calculated\n", name);
+ prlog(PR_NOTICE, "%s hash calculated\n", name);
} else if (rc == OPAL_PARAMETER) {
prlog(PR_ERR, "%s NOT MEASURED, invalid param. buf=%p, "
"len=%zd, digest=%p\n", name, buf_aux,