Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F111884396
D32589.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
441 B
Referenced Files
None
Subscribers
None
D32589.diff
View Options
diff --git a/sys/x86/iommu/intel_ctx.c b/sys/x86/iommu/intel_ctx.c
--- a/sys/x86/iommu/intel_ctx.c
+++ b/sys/x86/iommu/intel_ctx.c
@@ -561,7 +561,7 @@
error = domain_init_rmrr(domain1, dev, bus,
slot, func, dev_domain, dev_busno, dev_path,
dev_path_len);
- if (error == 0)
+ if (error == 0 && dev != NULL)
error = dmar_reserve_pci_regions(domain1, dev);
if (error != 0) {
dmar_domain_destroy(domain1);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Mar 10, 7:22 PM (12 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17088308
Default Alt Text
D32589.diff (441 B)
Attached To
Mode
D32589: dmar: Don't try to reserve PCI regions for non-existing devices
Attached
Detach File
Event Timeline
Log In to Comment