Reduce verbosity, do not announce details of irte programming by default.

Sponsored by:	Mellanox Technologies
MFC after:	1 week
This commit is contained in:
kib 2019-04-18 14:02:33 +00:00
parent d88fa777c9
commit f9ebd5245d

View File

@ -270,9 +270,11 @@ dmar_ir_program_irte(struct dmar_unit *unit, u_int idx, uint64_t low,
irte = &(unit->irt[idx]);
high = DMAR_IRTE2_SVT_RID | DMAR_IRTE2_SQ_RID |
DMAR_IRTE2_SID_RID(rid);
device_printf(unit->dev,
"programming irte[%d] rid %#x high %#jx low %#jx\n",
idx, rid, (uintmax_t)high, (uintmax_t)low);
if (bootverbose) {
device_printf(unit->dev,
"programming irte[%d] rid %#x high %#jx low %#jx\n",
idx, rid, (uintmax_t)high, (uintmax_t)low);
}
DMAR_LOCK(unit);
if ((irte->irte1 & DMAR_IRTE1_P) != 0) {
/*