// SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only)
/* Copyright(c) 2020 Intel Corporation */
+
+#define pr_fmt(fmt) "QAT: " fmt
+
#include <linux/bitops.h>
#include <linux/iopoll.h>
#include <asm/div64.h>
u32 __expect_val = (expect_val); \
u32 actual_val = op(args); \
(__expect_val == actual_val) ? 0 : \
- (pr_err("QAT: Fail to restore %s register. Expected 0x%x, actual 0x%x\n", \
+ (pr_err("Fail to restore %s register. Expected 0x%x, actual 0x%x\n", \
name, __expect_val, actual_val), -EINVAL); \
})
*/
val = state->ringexpstat;
if (val) {
- pr_info("QAT: Bank %u state not fully restored due to exception in saved state (%#x)\n",
+ pr_info("Bank %u state not fully restored due to exception in saved state (%#x)\n",
bank, val);
return 0;
}
/* Ensure that the restoration process completed without exceptions */
tmp_val = ops->read_csr_exp_stat(base, bank);
if (tmp_val) {
- pr_err("QAT: Bank %u restored with exception: %#x\n",
- bank, tmp_val);
+ pr_err("Bank %u restored with exception: %#x\n", bank, tmp_val);
return -EFAULT;
}