opnsense-src/sys/arm64
Alan Cox fb110e5104 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

(cherry picked from commit 4670f90846)
2022-08-08 02:07:50 -05:00
..
acpica Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2022-02-08 15:00:55 -05:00
arm64 Decode the arm64 SVE ID register 2022-07-19 08:03:31 +01:00
broadcom genet: fix output packet corruption in uncommon case 2022-05-23 06:53:01 -05:00
cavium Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2022-02-08 15:00:55 -05:00
cloudabi32 Add infrastructure required for Linux coredump support 2022-05-12 15:12:59 -07:00
cloudabi64 Add infrastructure required for Linux coredump support 2022-05-12 15:12:59 -07:00
conf pca954x: harmonize pca9547 and pca954x and add pca9540 support 2022-07-18 01:00:20 +00:00
coresight arm64: clean up empty lines in .c and .h files 2020-09-01 21:18:06 +00:00
freescale/imx imx7gpc: Remove unused functions 2020-11-16 11:54:38 +00:00
include Decode the arm64 SVE ID register 2022-07-19 08:03:31 +01:00
intel Add support for Intel Stratix 10 platform. 2019-09-13 16:50:57 +00:00
iommu iommu_gas: Eliminate redundant parameters and push down lock acquisition 2022-08-08 02:07:50 -05:00
linux linux(4): To reuse MD linux.h hide kernel dependencies unde _KERNEL constraint 2022-07-06 14:02:15 +03:00
nvidia/tegra210 tegra: Fix a common typo in source code comments 2022-02-09 07:20:05 +01:00
qoriq arm64, qoriq_therm: fix handling sites on version 1 and 2 2022-07-26 22:41:47 +00:00
qualcomm Enable Qualcomm Debug Subsystem (QDSS) block on MSM8916 SoC. 2018-04-10 12:53:48 +00:00
rockchip arm: rockchip: rk3288: Use the macros that already exists in rk_cru.h 2022-05-16 17:27:24 +02:00