Re: [PATCH 1/2] iommu/amd - Update the PASID information printed to the system log

From: Joerg Roedel
Date: Thu May 03 2018 - 16:29:35 EST


On Thu, May 03, 2018 at 01:09:18PM -0500, Gary R Hook wrote:
> Yes, I didn't quite get this right. Both values should be passed along. Or
> perhaps the entire event could be passed in and decoded by
> amd_iommu_report_page_fault()?

You already pass in the flags, you can chose the correct message by
looking at the GN flag there and treat the value as a domid or a pasid.


Joerg