freebsd-dev/sys/arm64
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
..
acpica acpi: add sys/kernel.h 2022-07-02 10:35:49 -06:00
arm64 Add experimental 16k page support on arm64 2022-07-19 10:57:03 +01:00
broadcom arm/arm64 broadcom: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:44 -07:00
cavium Add fdt to name of a fdt specific function 2022-05-23 15:24:35 +01:00
conf pca954x: harmonize pca9547 and pca954x and add pca9540 support 2022-07-04 19:12:01 +00:00
coresight arm64 coresight: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:45 -07:00
freescale/imx arm/arm64 freescale: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:44 -07:00
include pmap_mapdev: Consistently use vm_paddr_t for the first argument. 2022-07-28 15:55:10 -07:00
intel arm64 intel: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:45 -07:00
iommu iommu_gas: Eliminate redundant parameters and push down lock acquisition 2022-07-30 14:28:48 -05:00
linux Rework how shared page related data is stored 2022-07-18 16:27:32 +02:00
nvidia/tegra210 arm/arm64 nvidia: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:45 -07:00
qoriq arm64, qoriq_therm: fix handling sites on version 1 and 2 2022-07-18 11:51:03 +00:00
qualcomm arm/arm64 qualcomm: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-09 14:26:45 -07:00
rockchip Add RK3568 SoC support to pinctrl driver. 2022-07-09 13:06:52 +00:00