[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <771436d6-fda5-eeae-16ee-4cb760a056bb@linux.intel.com>
Date: Tue, 8 Feb 2022 12:27:16 +0800
From: Lu Baolu <baolu.lu@...ux.intel.com>
To: Christoph Hellwig <hch@....de>
Cc: baolu.lu@...ux.intel.com, Joerg Roedel <joro@...tes.org>,
Kevin Tian <kevin.tian@...el.com>,
Ashok Raj <ashok.raj@...el.com>, Liu Yi L <yi.l.liu@...el.com>,
Jacob Pan <jacob.jun.pan@...ux.intel.com>,
Robin Murphy <robin.murphy@....com>,
Jason Gunthorpe <jgg@...dia.com>,
iommu@...ts.linux-foundation.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v1 01/10] iommu/vt-d: Move DMAR specific helpers into
dmar.c
On 2/7/22 3:08 PM, Christoph Hellwig wrote:
>> --- 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?
>
It's difficult. References to these structures are scattered in iommu.c.
Best regards,
baolu
Powered by blists - more mailing lists