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

Sponsored by:	Mellanox Technologies
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2019-04-18 14:02:33 +00:00
parent 1c75b9d2cd
commit 1ad4a0314f
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346350

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) {
/*