]> git.baikalelectronics.ru Git - kernel.git/commit
iommu/vt-d: Copy translation tables from old kernel
authorJoerg Roedel <jroedel@suse.de>
Fri, 12 Jun 2015 09:56:10 +0000 (11:56 +0200)
committerJoerg Roedel <jroedel@suse.de>
Tue, 16 Jun 2015 08:59:34 +0000 (10:59 +0200)
commit6cc5979be1885cafa3c0744e1da82646ddf7c3a9
tree17f928c9c514a2603f290a17a49cf6d7d1fc5873
parent0e969d02bb2223128e12f1266789eec2848db02e
iommu/vt-d: Copy translation tables from old kernel

If we are in a kdump kernel and find translation enabled in
the iommu, try to copy the translation tables from the old
kernel to preserve the mappings until the device driver
takes over.
This supports old and the extended root-entry and
context-table formats.

Tested-by: ZhenHua Li <zhen-hual@hp.com>
Tested-by: Baoquan He <bhe@redhat.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/intel-iommu.c