Commit ede8bb3d authored by Dmytro Maluka's avatar Dmytro Maluka Committed by Todd Kjos
Browse files

ANDROID: GKI: x86: Enable support for Intel IOMMU



Enable support for Intel IOMMU using DMA Remapping (DMAR) devices to
allow for independent address translations for Direct Memory Access
(DMA) from devices. These DMAR devices are reported via ACPI tables
and include PCI device scope covered by these DMA remapping devices.

The Intel IOMMU support is required to allow for enforcing DMA isolation
of protected VMs memory (pKVM) or untrusted devices (e.g. WiFi, external
Thunderbolt devices).

Two additional built-in setting are automatically selected to satisfy
dependencies:

> CONFIG_PCI_PRI=y
> CONFIG_PCI_PASID=y

PRI is the PCI Page Request Interface. It allows PCI devices that are
behind an IOMMU to recover from page faults.

Process Address Space Identifiers (PASIDs) can be used by PCI devices
to access more than one IO address space at the same time. To make
use of this feature an IOMMU is required which also supports PASIDs.

Bug: 425338236
Change-Id: Iba220fd66dc4cbb9201194600227cf5ebe9ed349
Signed-off-by: default avatarDmytro Maluka <dmaluka@google.com>
Signed-off-by: default avatarSlawomir Rosek <srosek@google.com>
parent a157c8f4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment