Page MenuHomeFreeBSD

DMAR split-out (part 2)
ClosedPublic

Authored by br on Jul 14 2020, 1:01 PM.
Tags
None
Referenced Files
F81532848: D25665.id74622.diff
Wed, Apr 17, 4:12 PM
Unknown Object (File)
Fri, Apr 12, 3:20 AM
Unknown Object (File)
Thu, Mar 28, 10:50 AM
Unknown Object (File)
Jan 19 2024, 12:35 AM
Unknown Object (File)
Jan 16 2024, 5:04 PM
Unknown Object (File)
Jan 5 2024, 8:05 PM
Unknown Object (File)
Jan 5 2024, 8:05 PM
Unknown Object (File)
Dec 23 2023, 3:32 AM

Details

Summary

o Change DMAR->IOMMU in comments
o Add IOMMU_PAGE_SIZE / IOMMU_PAGE_MASK
o x86 only: dmar_quirks_pre_use() / dmar_instantiate_rmrr_ctxs()

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

br requested review of this revision.Jul 14 2020, 1:01 PM
br created this revision.
val_packett.cool added inline comments.
sys/x86/iommu/busdma_dmar.c
118

"I/O Memory Management Unit unit" - maybe no need for that second "unit"..

Move entries_cnt to iommu_domain.
Move iommu_test_boundary to sys/iommu.h.

x86 headers included for amd64/x86 only

kib added inline comments.
sys/x86/iommu/intel_dmar.h
80

So what is the plan WRT intel_gas.c, which is probably the most useful MI part of the dmar driver ?

This revision is now accepted and ready to land.Jul 17 2020, 9:22 PM
This revision was automatically updated to reflect the committed changes.
sys/x86/iommu/intel_dmar.h
80

splitting-out GAS is my next step. Please look at this first:
https://reviews.freebsd.org/D25720