commit | 1c5ebba95b486f1ea0e17d76dd8f6d7f1a8d1e89 | [log] [tgz] |
---|---|---|
author | Joerg Roedel <jroedel@suse.de> | Thu Aug 25 13:52:51 2016 +0200 |
committer | Joerg Roedel <jroedel@suse.de> | Mon Sep 05 13:00:28 2016 +0200 |
tree | 9514acd0448ff520f87ceaedf3eeff3e183aea50 | |
parent | 76208356a0ab357a1fb9f43bedb7fd1046ad8ece [diff] |
iommu/vt-d: Make sure RMRRs are mapped before domain goes public When a domain is allocated through the get_valid_domain_for_dev path, it will be context-mapped before the RMRR regions are mapped in the page-table. This opens a short time window where device-accesses to these regions fail and causing DMAR faults. Fix this by mapping the RMRR regions before the domain is context-mapped. Signed-off-by: Joerg Roedel <jroedel@suse.de>