Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F108661904
D34978.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
409 B
Referenced Files
None
Subscribers
None
D34978.diff
View Options
diff --git a/sys/dev/iommu/iommu_gas.c b/sys/dev/iommu/iommu_gas.c
--- a/sys/dev/iommu/iommu_gas.c
+++ b/sys/dev/iommu/iommu_gas.c
@@ -305,7 +305,7 @@
a->entry->start = roundup2(beg + IOMMU_PAGE_SIZE,
a->common->alignment);
- if (a->entry->start + a->size > maxaddr)
+ if (a->entry->start + a->offset + a->size > maxaddr)
return (false);
/* IOMMU_PAGE_SIZE to create gap after new entry. */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jan 28, 3:52 AM (8 m, 10 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16245350
Default Alt Text
D34978.diff (409 B)
Attached To
Mode
D34978: Respect maxaddr limit with nonzero offset in iommu_gas_match_one
Attached
Detach File
Event Timeline
Log In to Comment