Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F151419447
D47752.id146961.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
331 B
Referenced Files
None
Subscribers
None
D47752.id146961.diff
View Options
diff --git a/sys/x86/iommu/amd_drv.c b/sys/x86/iommu/amd_drv.c
--- a/sys/x86/iommu/amd_drv.c
+++ b/sys/x86/iommu/amd_drv.c
@@ -277,7 +277,7 @@
pmap_qenter(seg_vaddr, &m, 1);
}
reg = i == 0 ? AMDIOMMU_DEVTAB_BASE : AMDIOMMU_DEVTAB_S1_BASE +
- i - 1;
+ ((i - 1) << 3);
amdiommu_write8(sc, reg, rval);
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Apr 9, 7:34 AM (1 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31142974
Default Alt Text
D47752.id146961.diff (331 B)
Attached To
Mode
D47752: amdiommu: Fix device table segment base register offsets
Attached
Detach File
Event Timeline
Log In to Comment