]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
iommu_gas: add iommu_gas_remove()
authorKonstantin Belousov <kib@FreeBSD.org>
Sun, 31 Jul 2022 08:43:43 +0000 (11:43 +0300)
committerKonstantin Belousov <kib@FreeBSD.org>
Mon, 15 Aug 2022 14:54:57 +0000 (17:54 +0300)
commitc9e4d25052065d1e0cbdb3a0eea3f21c9225d1d1
tree4ec5c5d9677c4e32d269032e87ab448810747e6a
parentc9be47b34dd847da1d4ab0feee4a6100b2c5ea0d
iommu_gas: add iommu_gas_remove()

The function removes the range of addresses from GAS.  Right now it is
unused.

The initial version of the patch was extracted from the stalled work for
integration of DMAR and bhyve, see D25672. Having the function in the
main tree would allow it to co-evolve with other active changes to the
IOMMU driver.

Requested by: alc
Reviewed by: alc, dougm
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D36001
sys/dev/iommu/iommu.h
sys/dev/iommu/iommu_gas.c
sys/dev/iommu/iommu_gas.h