Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F160345492
D33417.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
417 B
Referenced Files
None
Subscribers
None
D33417.diff
View Options
diff --git a/sys/arm64/arm64/gicv3_its.c b/sys/arm64/arm64/gicv3_its.c
--- a/sys/arm64/arm64/gicv3_its.c
+++ b/sys/arm64/arm64/gicv3_its.c
@@ -1470,6 +1470,8 @@
sc = device_get_softc(dev);
ctx = iommu_get_dev_ctx(child);
+ if(ctx == NULL)
+ return ENXIO;
error = iommu_map_msi(ctx, PAGE_SIZE, GITS_TRANSLATER,
IOMMU_MAP_ENTRY_WRITE, IOMMU_MF_CANWAIT, &sc->ma);
*domain = iommu_get_ctx_domain(ctx);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Jun 24, 12:51 PM (13 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34283536
Default Alt Text
D33417.diff (417 B)
Attached To
Mode
D33417: Do not call iommu_map_msi when ctx is NULL
Attached
Detach File
Event Timeline
Log In to Comment