Re: [PATCH 1/1] iommu/amd: Fix the overwritten field in IVMD header

2020-10-01 Thread Joerg Roedel
On Sat, Sep 26, 2020 at 06:26:02PM +0800, Adrian Huang wrote: > From: Adrian Huang > > Commit 387caf0b759a ("iommu/amd: Treat per-device exclusion > ranges as r/w unity-mapped regions") accidentally overwrites > the 'flags' field in IVMD (struct ivmd_header) when the I/O > virtualization memory d

[PATCH 1/1] iommu/amd: Fix the overwritten field in IVMD header

2020-09-26 Thread Adrian Huang
From: Adrian Huang Commit 387caf0b759a ("iommu/amd: Treat per-device exclusion ranges as r/w unity-mapped regions") accidentally overwrites the 'flags' field in IVMD (struct ivmd_header) when the I/O virtualization memory definition is associated with the exclusion range entry. This leads to the