Page MenuHomeFreeBSD

Remove headers from iommu.h
ClosedPublic

Authored by br on Jul 29 2020, 1:43 PM.
Tags
None
Referenced Files
F150450527: D25878.id.diff
Wed, Apr 1, 7:46 AM
Unknown Object (File)
Sat, Mar 28, 11:27 AM
Unknown Object (File)
Sat, Mar 28, 3:33 AM
Unknown Object (File)
Wed, Mar 25, 6:12 AM
Unknown Object (File)
Tue, Mar 24, 5:43 PM
Unknown Object (File)
Tue, Mar 24, 5:30 PM
Unknown Object (File)
Tue, Mar 24, 4:37 AM
Unknown Object (File)
Mon, Mar 23, 5:43 PM
Subscribers

Details

Summary

Remove headers from iommu.h

Test Plan

boot amd64

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

br requested review of this revision.Jul 29 2020, 1:43 PM
br created this revision.
sys/dev/iommu/iommu_gas.c
72 ↗(On Diff #75123)

This is quite weird #ifdef block. Why pci and iommu are under ifdef ?

sys/x86/iommu/intel_drv.c
72 ↗(On Diff #75123)

I propose to make the order of headers consistent. Put dev/pci right after vm/, then dev/iommu, then x86 headers.

sys/x86/iommu/intel_drv.c
72 ↗(On Diff #75123)

dev/iommu/busdma_iommu.h depends on struct bus_dma_tag_common, which is defined in x86/include/busdma_impl.h.
so x86 header should go first ?

sys/x86/iommu/intel_drv.c
72 ↗(On Diff #75123)

Might be. What provides a similar common structure on arm64 ?

Fix order of headers:
sys/vm/contrib/dev/machine/x86

sys/x86/iommu/intel_drv.c
72 ↗(On Diff #75123)

arm64/include/bus_dma_impl.h

This revision is now accepted and ready to land.Jul 29 2020, 9:48 PM