Commit a60496a0 authored by Gary R Hook's avatar Gary R Hook Committed by Herbert Xu

crypto: ccp - Change mode for detailed CCP init messages

The CCP initialization messages only need to be sent to
syslog in debug mode.
Signed-off-by: default avatarGary R Hook <gary.hook@amd.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 19998acb
...@@ -531,7 +531,7 @@ static int ccp_find_lsb_regions(struct ccp_cmd_queue *cmd_q, u64 status) ...@@ -531,7 +531,7 @@ static int ccp_find_lsb_regions(struct ccp_cmd_queue *cmd_q, u64 status)
status >>= LSB_REGION_WIDTH; status >>= LSB_REGION_WIDTH;
} }
queues = bitmap_weight(cmd_q->lsbmask, MAX_LSB_CNT); queues = bitmap_weight(cmd_q->lsbmask, MAX_LSB_CNT);
dev_info(cmd_q->ccp->dev, "Queue %d can access %d LSB regions\n", dev_dbg(cmd_q->ccp->dev, "Queue %d can access %d LSB regions\n",
cmd_q->id, queues); cmd_q->id, queues);
return queues ? 0 : -EINVAL; return queues ? 0 : -EINVAL;
...@@ -573,7 +573,7 @@ static int ccp_find_and_assign_lsb_to_q(struct ccp_device *ccp, ...@@ -573,7 +573,7 @@ static int ccp_find_and_assign_lsb_to_q(struct ccp_device *ccp,
*/ */
cmd_q->lsb = bitno; cmd_q->lsb = bitno;
bitmap_clear(lsb_pub, bitno, 1); bitmap_clear(lsb_pub, bitno, 1);
dev_info(ccp->dev, dev_dbg(ccp->dev,
"Queue %d gets LSB %d\n", "Queue %d gets LSB %d\n",
i, bitno); i, bitno);
break; break;
...@@ -731,7 +731,6 @@ static int ccp5_init(struct ccp_device *ccp) ...@@ -731,7 +731,6 @@ static int ccp5_init(struct ccp_device *ccp)
ret = -EIO; ret = -EIO;
goto e_pool; goto e_pool;
} }
dev_notice(dev, "%u command queues available\n", ccp->cmd_q_count);
/* Turn off the queues and disable interrupts until ready */ /* Turn off the queues and disable interrupts until ready */
for (i = 0; i < ccp->cmd_q_count; i++) { for (i = 0; i < ccp->cmd_q_count; i++) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment