diff options
author | Barret Rhoden <brho@google.com> | 2020-01-15 11:03:56 +0800 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2020-01-24 15:32:15 +0100 |
commit | f5a68bb0752e0cf77c06f53f72258e7beb41381b (patch) | |
tree | 806cdb4721bf0a596af36af81b1138b5fa30938d /drivers/fpga/Kconfig | |
parent | 53291622e2607db53ded78b534874b8fb515ba57 (diff) | |
download | linux-stable-f5a68bb0752e0cf77c06f53f72258e7beb41381b.tar.gz linux-stable-f5a68bb0752e0cf77c06f53f72258e7beb41381b.tar.bz2 linux-stable-f5a68bb0752e0cf77c06f53f72258e7beb41381b.zip |
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: Barret Rhoden <brho@google.com>
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Fixes: f036c7fa0ab60 ("iommu/vt-d: Check VT-d RMRR region in BIOS is reported as reserved")
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/fpga/Kconfig')
0 files changed, 0 insertions, 0 deletions