freebsd-dev/sys/arm64/iommu
Alan Cox 4670f90846 iommu_gas: Eliminate redundant parameters and push down lock acquisition
Since IOMMU map entries store a reference to the domain in which they
reside, there is no need to pass the domain to iommu_gas_free_entry(),
iommu_gas_free_space(), and iommu_gas_free_region().

Push down the acquisition and release of the IOMMU domain lock into
iommu_gas_free_space() and iommu_gas_free_region().

Both of these changes allow for simplifications in the callers of the
functions without really complicating the functions themselves.
Moreover, the latter change eliminates the direct use of the IOMMU
domain lock from the x86-specific DMAR code.

Reviewed by:	kib
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D35995
2022-07-30 14:28:48 -05:00
..
iommu_if.m Add OFW support to arm64's IOMMU framework. 2022-05-18 14:11:23 +01:00
iommu_pmap.c Change __unused to __diagused. 2022-05-09 11:24:47 +01:00
iommu_pmap.h
iommu_pte.h
iommu.c iommu_gas: Eliminate redundant parameters and push down lock acquisition 2022-07-30 14:28:48 -05:00
iommu.h Add OFW support to arm64's IOMMU framework. 2022-05-18 14:11:23 +01:00
smmu_acpi.c arm64: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:45 -07:00
smmu_fdt.c Add OFW support to arm64's IOMMU framework. 2022-05-18 14:11:23 +01:00
smmu_quirks.c
smmu.c Add OFW support to arm64's IOMMU framework. 2022-05-18 14:11:23 +01:00
smmureg.h
smmuvar.h Add FDT attachment driver for ARM System MMU v3.2 controller. 2022-05-07 11:18:35 +01:00