[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4cc935e2-8b24-8060-5070-fd6eb85f07b6@arm.com>
Date: Tue, 21 Feb 2023 11:56:30 +0000
From: Robin Murphy <robin.murphy@....com>
To: Nipun Gupta <nipun.gupta@....com>, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, gregkh@...uxfoundation.org,
rafael@...nel.org, eric.auger@...hat.com,
alex.williamson@...hat.com, cohuck@...hat.com,
song.bao.hua@...ilicon.com, mchehab+huawei@...nel.org,
maz@...nel.org, f.fainelli@...il.com, jeffrey.l.hugo@...il.com,
saravanak@...gle.com, Michael.Srba@...nam.cz, mani@...nel.org,
yishaih@...dia.com, jgg@...pe.ca, jgg@...dia.com, will@...nel.org,
joro@...tes.org, masahiroy@...nel.org, ndesaulniers@...gle.com,
rdunlap@...radead.org, linux-arm-kernel@...ts.infradead.org,
linux-kbuild@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org
Cc: okaya@...nel.org, harpreet.anand@....com, nikhil.agarwal@....com,
michal.simek@....com, git@....com
Subject: Re: [PATCH v8 2/7] iommu/arm-smmu-v3: support ops registration for
CDX bus
On 2023-02-17 13:28, Nipun Gupta wrote:
Nit: subject should be "iommu: Support ops registration for CDX bus",
since this is no longer a driver-specific thing.
Thanks,
Robin.
> With new CDX bus supported for AMD FPGA devices on ARM
> platform, the bus requires registration for the SMMU v3
> driver.
>
> Signed-off-by: Nipun Gupta <nipun.gupta@....com>
> Tested-by: Nikhil Agarwal <nikhil.agarwal@....com>
> ---
> drivers/iommu/iommu.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/drivers/iommu/iommu.c b/drivers/iommu/iommu.c
> index 1fbe53354532..c2ff7754a4b3 100644
> --- a/drivers/iommu/iommu.c
> +++ b/drivers/iommu/iommu.c
> @@ -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
> };
>
> /*
Powered by blists - more mailing lists