diff options
author | Lu Baolu | 2021-06-10 10:00:55 +0800 |
---|---|---|
committer | Joerg Roedel | 2021-06-10 09:06:12 +0200 |
commit | 719a19335692083c0f4ebdc6eef65131e7394ac8 (patch) | |
tree | 3362a20765975535207fe9ca82bce6a7706dcc66 /lib/bcd.c | |
parent | 367f82de5a9c8ee77058f40bb470b83bfa521e3d (diff) |
iommu/vt-d: Tweak the description of a DMA fault
The Intel IOMMU driver reports the DMA fault reason in a decimal number
while the VT-d specification uses a hexadecimal one. It's inconvenient
that users need to covert them everytime before consulting the spec.
Let's use hexadecimal number for a DMA fault reason.
The fault message uses 0xffffffff as PASID for DMA requests w/o PASID.
This is confusing. Tweak this by adding "NO_PASID" explicitly.
Reviewed-by: Ashok Raj <ashok.raj@intel.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Link: https://lore.kernel.org/r/20210517065425.4953-1-baolu.lu@linux.intel.com
Link: https://lore.kernel.org/r/20210610020115.1637656-4-baolu.lu@linux.intel.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'lib/bcd.c')
0 files changed, 0 insertions, 0 deletions