Page MenuHomeFreeBSD

D58725.diff
No OneTemporary

D58725.diff

diff --git a/sys/x86/iommu/amd_intrmap.c b/sys/x86/iommu/amd_intrmap.c
--- a/sys/x86/iommu/amd_intrmap.c
+++ b/sys/x86/iommu/amd_intrmap.c
@@ -254,7 +254,7 @@
} else {
error = amdiommu_find_unit(src, &unit, &rid, &dte, &edte,
bootverbose);
- if (error == 0) {
+ if (error == 0 && unit->irte_enabled) {
ioctx = iommu_instantiate_ctx(AMD2IOMMU(unit), src, false);
if (ioctx != NULL)
ctx = IOCTX2CTX(ioctx);

File Metadata

Mime Type
text/plain
Expires
Tue, Aug 18, 5:52 AM (12 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
36293353
Default Alt Text
D58725.diff (433 B)

Event Timeline