]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Fix the wrong printing in RHSA parsing
authorZhenzhong Duan <zhenzhong.duan@gmail.com>
Thu, 12 Mar 2020 06:09:54 +0000 (14:09 +0800)
committerJoerg Roedel <jroedel@suse.de>
Sat, 14 Mar 2020 08:37:58 +0000 (09:37 +0100)
commit6ede6a126140030f6de445de97f3983c577e93b2
tree4e96350bcfc1dfb205008f1158025a3ea7a9dab1
parent01d5e50db88d946ff190a154e7e62a2af2a441c0
iommu/vt-d: Fix the wrong printing in RHSA parsing

When base address in RHSA structure doesn't match base address in
each DRHD structure, the base address in last DRHD is printed out.

This doesn't make sense when there are multiple DRHD units, fix it
by printing the buggy RHSA's base address.

Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@gmail.com>
Fixes: 6eb296e2f6f89 ("intel-iommu: Set a more specific taint flag for invalid BIOS DMAR tables")
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dmar.c