]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Add RMRR base and end addresses sanity check
authorBarret Rhoden <brho@google.com>
Wed, 15 Jan 2020 03:03:57 +0000 (11:03 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 24 Jan 2020 14:32:53 +0000 (15:32 +0100)
commit207ffc165a8e0e8d68bb1d79b3beb3b9aef3ea6e
tree757f06b51b30aa16e6c5181dab33d74b4a630097
parent66fa9102eeeb875261b267a2cfd96c142fb6b6f0
iommu/vt-d: Add RMRR base and end addresses sanity check

The VT-d spec specifies requirements for the RMRR entries base and
end (called 'Limit' in the docs) addresses.

This commit will cause the DMAR processing to mark the firmware as
tainted if any RMRR entries that do not meet these requirements.

Signed-off-by: Barret Rhoden <brho@google.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c