Page MenuHomeFreeBSD

Move GAS prototypes and flags
ClosedPublic

Authored by br on Jul 25 2020, 3:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Mar 9, 6:49 PM
Unknown Object (File)
Jan 17 2024, 9:48 PM
Unknown Object (File)
Dec 23 2023, 3:42 AM
Unknown Object (File)
Dec 12 2023, 5:44 AM
Unknown Object (File)
Nov 20 2023, 10:57 PM
Unknown Object (File)
Sep 26 2023, 5:40 AM
Unknown Object (File)
Sep 7 2023, 10:52 AM
Unknown Object (File)
Sep 7 2023, 10:51 AM
Subscribers

Details

Summary

Move GAS prototypes, and domain flags to iommu.h

I will rename DMAR_ to IOMMU_ for these flags on next diff

Test Plan

Boot on amd64

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

br requested review of this revision.Jul 25 2020, 3:39 PM
br created this revision.
br edited the summary of this revision. (Show Details)
br retitled this revision from move GAS headers and flags to Move GAS prototypes and flags.Jul 25 2020, 3:49 PM
br edited the summary of this revision. (Show Details)
br edited the test plan for this revision. (Show Details)
sys/dev/iommu/iommu_gas.c
738

Does this var need to be extern after the move ?

Remove TUNABLE_INT_FETCH and make check_free static

sys/dev/iommu/iommu_gas.c
738

I think TUNABLE_INT_FETCH is not needed since we use SYSCTL_INT ?
So I removed it and made check_free static

kib added inline comments.
sys/dev/iommu/iommu_gas.c
736

Ok but make node non-static, and add hw.iommu node declaration into the header. Then convert all hw.dmar into hw.iommu.dmar. All this in the next commit.

This revision is now accepted and ready to land.Jul 25 2020, 6:36 PM
This revision was automatically updated to reflect the committed changes.