diff options
author | 2022-02-14 14:11:44 +0100 | |
---|---|---|
committer | 2022-04-18 07:21:10 +0200 | |
commit | 78013eaadf696d2105982abb4018fbae394ca08f (patch) | |
tree | 018da6dc9f81f26fc4d5ce8df7e1a9e9903593ed /arch/x86/kernel/tboot.c | |
parent | MIPS/octeon: use swiotlb_init instead of open coding it (diff) | |
download | linux-78013eaadf696d2105982abb4018fbae394ca08f.tar.gz linux-78013eaadf696d2105982abb4018fbae394ca08f.tar.bz2 linux-78013eaadf696d2105982abb4018fbae394ca08f.zip |
x86: remove the IOMMU table infrastructure
The IOMMU table tries to separate the different IOMMUs into different
backends, but actually requires various cross calls.
Rewrite the code to do the generic swiotlb/swiotlb-xen setup directly
in pci-dma.c and then just call into the IOMMU drivers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tested-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Diffstat (limited to 'arch/x86/kernel/tboot.c')
-rw-r--r-- | arch/x86/kernel/tboot.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kernel/tboot.c b/arch/x86/kernel/tboot.c index f9af561c3cd4..0c1154a1c403 100644 --- a/arch/x86/kernel/tboot.c +++ b/arch/x86/kernel/tboot.c @@ -24,7 +24,6 @@ #include <asm/processor.h> #include <asm/bootparam.h> #include <asm/pgalloc.h> -#include <asm/swiotlb.h> #include <asm/fixmap.h> #include <asm/proto.h> #include <asm/setup.h> |