opnsense-src/sys/amd64
Konstantin Belousov 671a00491d vm_iommu_map()/unmap(): stop transiently wiring already wired pages
Namely, switch from vm_fault_quick_hold() to pmap_extract() KPI to
translate gpa to hpa. Assert that the looked up hpa belongs to the wired
page, as it should be for the VM which is configured for pass-throu
(this is theoretically a restriction that could be removed on newer
DMARs).

Noted by:	alc
Reviewed by:	alc, jhb, markj
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D43140
2023-12-22 19:34:27 +02:00
..
acpica sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
amd64 sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
conf Add a COMPAT_FREEBSD14 kernel option 2023-10-10 11:48:22 +02:00
ia32 sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
include vmm.h: remove dup declaration 2023-12-21 01:51:47 +02:00
linux sccs: Manual changes 2023-11-26 22:23:58 -07:00
linux32 sccs: Manual changes 2023-11-26 22:23:58 -07:00
pci x86: Support multiple PCI MCFG regions 2023-11-29 10:32:39 -08:00
sgx sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
vmm vm_iommu_map()/unmap(): stop transiently wiring already wired pages 2023-12-22 19:34:27 +02:00
Makefile sys: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00