On Fri, May 06, 2022 at 08:00:43PM +0800, Kun(llfl) wrote:
From: Sanjay Kumar sanjay.k.kumar@intel.com
ANBZ: #1105
What is this?
commit 37764b952e1b39053defc7ebe5dcd8c4e3e78de9 upstream.
This fixes a bug in context cache clear operation. The code was not following the correct invalidation flow. A global device TLB invalidation should be added after the IOTLB invalidation. At the same time, it uses the domain ID from the context entry. But in scalable mode, the domain ID is in PASID table entry, not context entry.
Fixes: 7373a8cc38197 ("iommu/vt-d: Setup context and enable RID2PASID support") Cc: stable@vger.kernel.org # v5.0+
Is this a 5.10 backport for us to pick up? What about 5.4?
thanks,
greg k-h