powerpc/vas: Cleanup some debug code
Clean up vas.h and the debug code around ifdef vas_debug. Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:

committed by
Michael Ellerman

parent
51b537124f
commit
0a2c2c24cf
@@ -726,7 +726,10 @@ static void init_winctx_for_rxwin(struct vas_window *rxwin,
|
||||
static bool rx_win_args_valid(enum vas_cop_type cop,
|
||||
struct vas_rx_win_attr *attr)
|
||||
{
|
||||
dump_rx_win_attr(attr);
|
||||
pr_debug("Rxattr: fault %d, notify %d, intr %d, early %d, fifo %d\n",
|
||||
attr->fault_win, attr->notify_disable,
|
||||
attr->intr_disable, attr->notify_early,
|
||||
attr->rx_fifo_size);
|
||||
|
||||
if (cop >= VAS_COP_TYPE_MAX)
|
||||
return false;
|
||||
@@ -1050,7 +1053,8 @@ int vas_paste_crb(struct vas_window *txwin, int offset, bool re)
|
||||
else
|
||||
rc = -EINVAL;
|
||||
|
||||
print_fifo_msg_count(txwin);
|
||||
pr_debug("Txwin #%d: Msg count %llu\n", txwin->winid,
|
||||
read_hvwc_reg(txwin, VREG(LRFIFO_PUSH)));
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
Reference in New Issue
Block a user