iommu/vt-d: Work around broken RMRR firmware entries
authorJoerg Roedel <jroedel@suse.de>
Mon, 22 Sep 2014 14:30:22 +0000 (16:30 +0200)
committerJoerg Roedel <jroedel@suse.de>
Thu, 2 Oct 2014 10:12:35 +0000 (12:12 +0200)
commit80f7b3d1b1f4ec6c80fa3b40c7c9a419e28b0897
tree609362f89702c8a2933a691df949378ca1c50974
parent57384592c43375d2c9a14d82aebbdc95fdda9e9d
iommu/vt-d: Work around broken RMRR firmware entries

The VT-d specification states that an RMRR entry in the DMAR
table needs to specify the full path to the device. This is
also how newer Linux kernels implement it.

Unfortunatly older drivers just match for the target device
and not the full path to the device, so that BIOS vendors
implement that behavior into their BIOSes to make them work
with older Linux kernels. But those RMRR entries break on
newer Linux kernels.

Work around this issue by adding a fall-back into the RMRR
matching code to match those old RMRR entries too.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dmar.c
This page took 0.037659 seconds and 5 git commands to generate.