Page MenuHomeFreeBSD

make set_buswide() generic
ClosedPublic

Authored by br on Jul 28 2020, 1:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 22, 7:34 PM
Unknown Object (File)
Dec 23 2023, 5:33 AM
Unknown Object (File)
Aug 10 2023, 11:28 AM
Unknown Object (File)
Aug 10 2023, 11:28 AM
Unknown Object (File)
Aug 10 2023, 11:27 AM
Unknown Object (File)
Aug 7 2023, 9:21 AM
Unknown Object (File)
Aug 7 2023, 9:14 AM
Subscribers

Details

Summary

Rename these functions:

bus_dma_dmar_set_buswide()
dmar_is_buswide_ctx()
dmar_set_buswide_ctx()

Not really sure if they are needed for SMMU, but we need to build them on arm64 at least

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

br requested review of this revision.Jul 28 2020, 1:35 PM
br created this revision.

Rename bus_dma_dmar_load_ident() as well

So please plan for the following two next changes:

  1. Removal of headers from iommu.h
  2. Providing the vtable for implementation of map/unmap to be used from iommu_gas.
sys/dev/iommu/iommu.h
41

sys/types.h should go first.

43

I think that bringing all that headers into iommu.h was the wrong idea. All of that should be removed and provided by the header' consumers.

This revision is now accepted and ready to land.Jul 28 2020, 3:40 PM