]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitce4cc52b51dfaefff65c6d2f31f169122a8659d4
tree757f06b51b30aa16e6c5181dab33d74b4a630097
parentf5a68bb0752e0cf77c06f53f72258e7beb41381b
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