Re: [PATCH] iommu/vt-d: Add Scalable Mode fault information

From: Mehta, Sohil
Date: Tue Sep 10 2019 - 13:30:13 EST


On Tue, 2019-09-10 at 10:08 +0200, Joerg Roedel wrote:
> > +ÂÂÂÂÂ"Unknown", "Unknown", "Unknown", "Unknown", "Unknown",
> "Unknown", "Unknown", /* 0x49-0x4F */
>
> Maybe add the number (0x49-0x4f) to the respecting "Unknown" fields?
> If
> we can't give a reason we should give the number for easier debugging
> in
> the future. Same for the "Unknown" fields below.

I believe a fault number is always printed inÂdmar_fault_do_one() even
if the reason is unknown.

DMAR: [DMA Write] Request device [00:02.0] fault addr 108a000 [fault
reason 23] Unknown

--Sohil