summaryrefslogtreecommitdiff
path: root/sys/arch/arm64/dev/agintc.c
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2021-03-01 21:35:04 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2021-03-01 21:35:04 +0000
commit40586f1496ac789077a41d7e9f95600ed50c05e9 (patch)
tree8fc90774e25eaed0e7f003cf3e0c194c469904ca /sys/arch/arm64/dev/agintc.c
parent76c328d82dcb88306fe44a414cb80a4b98c5a076 (diff)
Instead of sprinkling the device's DMA tag, always return a new DMA tag
which is based on the IOMMU's. If you think about it, using the IOMMU's DMA tag makes more sense because it is the IOMMU that does the actual DMA. Noticed while debugging, since the SMMU's map function was called twice: once for the PCI device, and once for its ppb(4). As the transaction has the PCI device's Stream ID, not the ppb(4)'s, this would be useless work. Suggested by kettenis@
Diffstat (limited to 'sys/arch/arm64/dev/agintc.c')
0 files changed, 0 insertions, 0 deletions