mirror of
https://github.com/torvalds/linux.git
synced 2026-05-24 23:22:31 +02:00
iommu: Add iommu probe for CDX bus
Add CDX bus to iommu_buses so that IOMMU probe is called for it. Signed-off-by: Nipun Gupta <nipun.gupta@amd.com> Reviewed-by: Pieter Jansen van Vuuren <pieter.jansen-van-vuuren@amd.com> Reviewed-by: Lu Baolu <baolu.lu@linux.intel.com> Tested-by: Nikhil Agarwal <nikhil.agarwal@amd.com> Link: https://lore.kernel.org/r/20230313132636.31850-3-nipun.gupta@amd.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
2959ab2470
commit
3f47d3e44d
|
|
@ -28,6 +28,7 @@
|
|||
#include <linux/fsl/mc.h>
|
||||
#include <linux/module.h>
|
||||
#include <linux/cc_platform.h>
|
||||
#include <linux/cdx/cdx_bus.h>
|
||||
#include <trace/events/iommu.h>
|
||||
#include <linux/sched/mm.h>
|
||||
#include <linux/msi.h>
|
||||
|
|
@ -129,6 +130,9 @@ static struct bus_type * const iommu_buses[] = {
|
|||
#ifdef CONFIG_TEGRA_HOST1X_CONTEXT_BUS
|
||||
&host1x_context_device_bus_type,
|
||||
#endif
|
||||
#ifdef CONFIG_CDX_BUS
|
||||
&cdx_bus_type,
|
||||
#endif
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user