From: Joerg Roedel Date: Mon, 22 Sep 2014 14:30:22 +0000 (+0200) Subject: iommu/vt-d: Work around broken RMRR firmware entries X-Git-Tag: fixes-against-v3.18-rc2~67^2^5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=80f7b3d1b1f4ec6c80fa3b40c7c9a419e28b0897;p=pandora-kernel.git 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 --- Reading git-diff-tree failed