Re: [PATCH] iommu/vt-d: gracefully handle DMAR units with no supported address widths

David Woodhouse
2021-01-20T20:10:32Z

[-- Attachment #1: Type: text/plain, Size: 619 bytes --]

On Wed, 2021-01-20 at 18:04 +0100, Greg KH wrote:
> I tried applying these to 5.4, 4.19, and 4.14, and they all fail to
> build:
>
> drivers/iommu/dmar.c: In function ‘free_iommu’:
> drivers/iommu/dmar.c:1140:35: error: ‘struct intel_iommu’ has no member named ‘drhd’
> 1140 | if (intel_iommu_enabled && !iommu->drhd->ignored) {
> | ^~
>
> So if you could provide a working set of patches backported, I will be
> glad to queue them up.

Thanks.

I'm just heckling at Sam's backport of those, and we'll post tested
patches as soon as we're done.