nb/intel/sandybridge: Enable basic IOMMU support
Sandy Bridge and Ivy Bridge processors have two IOMMU units. One for the
integrated graphics controller and one for all other PCI devices. Assign
resources for both IOMMUs and apply some quirks.
Tested with kontron/ktqm77 and a Muen based system that makes use of the
IOMMUs. Not tested on Sandy Bridge, but register dumps show the same
settings that are applied here.
Signed-off-by: Nico Huber <firstname.lastname@example.org>
Tested-by: build bot (Jenkins)
Reviewed-by: Duncan Laurie <email@example.com>
Reviewed-by: Patrick Georgi <firstname.lastname@example.org>
5 files changed