Re: [PATCH v1 01/10] iommu/vt-d: Move DMAR specific helpers into dmar.c

From: Christoph Hellwig
Date: Mon Feb 07 2022 - 02:18:25 EST


> --- a/include/linux/dmar.h
> +++ b/include/linux/dmar.h
> @@ -52,6 +52,32 @@ struct dmar_drhd_unit {
> struct intel_iommu *iommu;
> };
>
> +struct dmar_rmrr_unit {

> +struct dmar_atsr_unit {

> +struct dmar_satc_unit {

What about moving all code that is using the structures to dmar.c
to keep the definitions local?