Skip to content
Commit f5a68bb0 authored by Barret Rhoden's avatar Barret Rhoden Committed by Joerg Roedel
Browse files

iommu/vt-d: Mark firmware tainted if RMRR fails sanity check



RMRR entries describe memory regions that are DMA targets for devices
outside the kernel's control.

RMRR entries that fail the sanity check are pointing to regions of
memory that the firmware did not tell the kernel are reserved or
otherwise should not be used.

Instead of aborting DMAR processing, this commit marks the firmware
as tainted. These RMRRs will still be identity mapped, otherwise,
some devices, e.x. graphic devices, will not work during boot.

Signed-off-by: default avatarBarret Rhoden <brho@google.com>
Signed-off-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
Fixes: f036c7fa ("iommu/vt-d: Check VT-d RMRR region in BIOS is reported as reserved")
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 53291622
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment