Commit 3f47d3e4 authored by Nipun Gupta's avatar Nipun Gupta Committed by Greg Kroah-Hartman

iommu: Add iommu probe for CDX bus

Add CDX bus to iommu_buses so that IOMMU probe is called
for it.
Signed-off-by: default avatarNipun Gupta <nipun.gupta@amd.com>
Reviewed-by: default avatarPieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com>
Reviewed-by: default avatarLu Baolu <baolu.lu@linux.intel.com>
Tested-by: default avatarNikhil Agarwal <nikhil.agarwal@amd.com>
Link: https://lore.kernel.org/r/20230313132636.31850-3-nipun.gupta@amd.comSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 2959ab24
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
#include <linux/fsl/mc.h> #include <linux/fsl/mc.h>
#include <linux/module.h> #include <linux/module.h>
#include <linux/cc_platform.h> #include <linux/cc_platform.h>
#include <linux/cdx/cdx_bus.h>
#include <trace/events/iommu.h> #include <trace/events/iommu.h>
#include <linux/sched/mm.h> #include <linux/sched/mm.h>
#include <linux/msi.h> #include <linux/msi.h>
...@@ -129,6 +130,9 @@ static struct bus_type * const iommu_buses[] = { ...@@ -129,6 +130,9 @@ static struct bus_type * const iommu_buses[] = {
#ifdef CONFIG_TEGRA_HOST1X_CONTEXT_BUS #ifdef CONFIG_TEGRA_HOST1X_CONTEXT_BUS
&host1x_context_device_bus_type, &host1x_context_device_bus_type,
#endif #endif
#ifdef CONFIG_CDX_BUS
&cdx_bus_type,
#endif
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment