[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YwNmosMGZdGtY3LX@infradead.org>
Date: Mon, 22 Aug 2022 04:21:06 -0700
From: Christoph Hellwig <hch@...radead.org>
To: Robin Murphy <robin.murphy@....com>
Cc: joro@...tes.org, will@...nel.org, catalin.marinas@....com,
jean-philippe@...aro.org, inki.dae@...sung.com,
sw0312.kim@...sung.com, kyungmin.park@...sung.com,
tglx@...utronix.de, maz@...nel.org, alex.williamson@...hat.com,
cohuck@...hat.com, iommu@...ts.linux.dev,
linux-arm-kernel@...ts.infradead.org, linux-acpi@...r.kernel.org,
dri-devel@...ts.freedesktop.org, linux-kernel@...r.kernel.org,
kvm@...r.kernel.org
Subject: Re: [PATCH 2/3] iommu/dma: Move public interfaces to linux/iommu.h
> diff --git a/include/linux/iommu.h b/include/linux/iommu.h
> index 70393fbb57ed..79cb6eb560a8 100644
> --- a/include/linux/iommu.h
> +++ b/include/linux/iommu.h
> @@ -1059,4 +1059,40 @@ void iommu_debugfs_setup(void);
> static inline void iommu_debugfs_setup(void) {}
> #endif
>
> +#ifdef CONFIG_IOMMU_DMA
> +#include <linux/msi.h>
I don't think msi.h is actually needed here.
Just make the struct msi_desc and struct msi_msg forward declarations
unconditional and we should be fine.
Powered by blists - more mailing lists