freebsd-nq/sys/x86/iommu
Kornel Duleba 06e6ca6dd3 dmar: Disable protected memory regions after initialization
Some BIOSes protect memory region they reside in by using DMAR to
prevent devices from doing any DMA transactions to that part of RAM.
AMI refers to this as "DMA Control Guarantee".
Disable the protection when address translation is enabled.
I stumbled upon this while investigation a failing coredump on a device
which has this feature enabled.

Sponsored by:		Stormshield
Obtained from:		Semihalf
Reviewed by:		kib
Differential revision:	https://reviews.freebsd.org/D32591
2021-10-29 10:08:25 +02:00
..
intel_ctx.c dmar: Disable protected memory regions after initialization 2021-10-29 10:08:25 +02:00
intel_dmar.h dmar: Disable protected memory regions after initialization 2021-10-29 10:08:25 +02:00
intel_drv.c dmar: Disable protected memory regions after initialization 2021-10-29 10:08:25 +02:00
intel_fault.c
intel_idpgtbl.c
intel_intrmap.c
intel_qi.c
intel_quirks.c
intel_reg.h
intel_utils.c dmar: Disable protected memory regions after initialization 2021-10-29 10:08:25 +02:00
iommu_intrmap.h