freebsd-dev/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 Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
intel_idpgtbl.c DMAR: clean up warnings about write-only variables 2021-10-21 21:40:46 +03:00
intel_intrmap.c Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
intel_qi.c Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
intel_quirks.c Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
intel_reg.h Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
intel_utils.c dmar: Disable protected memory regions after initialization 2021-10-29 10:08:25 +02:00
iommu_intrmap.h Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00