Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: implement generic IOMMU configuration

Add the necessary call to of_iommu_init.

Acked-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>

authored by

Robin Murphy and committed by
Catalin Marinas
78d51e0b 9d3bfbb4

+2
+2
arch/arm64/kernel/setup.c
··· 40 40 #include <linux/fs.h> 41 41 #include <linux/proc_fs.h> 42 42 #include <linux/memblock.h> 43 + #include <linux/of_iommu.h> 43 44 #include <linux/of_fdt.h> 44 45 #include <linux/of_platform.h> 45 46 #include <linux/efi.h> ··· 406 405 407 406 static int __init arm64_device_init(void) 408 407 { 408 + of_iommu_init(); 409 409 of_platform_populate(NULL, of_default_bus_match_table, NULL, NULL); 410 410 return 0; 411 411 }