diff options
author | Joerg Roedel <joerg.roedel@amd.com> | 2009-11-23 12:50:00 +0100 |
---|---|---|
committer | Joerg Roedel <joerg.roedel@amd.com> | 2009-11-23 12:54:17 +0100 |
commit | be831297716036de5b24308447ecb69f1706a846 (patch) | |
tree | 3e4fa3c904f9ea8dd55fb7226d49df9fab71920c /arch/x86/kernel/trampoline.c | |
parent | 9f800de38b05d84809e89f16671d636a140eede7 (diff) |
x86/amd-iommu: attach devices to pre-allocated domains early
For some devices the ACPI table may define unity map
requirements which must me met when the IOMMU is enabled. So
we need to attach devices to their domains as early as
possible so that these mappings are in place when needed.
This patch assigns the domains right after they are
allocated. Otherwise this can result in I/O page faults
before a driver binds to a device and BIOS is still using
it.
Cc: stable@kernel.org
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Diffstat (limited to 'arch/x86/kernel/trampoline.c')
0 files changed, 0 insertions, 0 deletions