]> Gentwo Git Trees - linux/.git/commit
iommu/vt-d: Fix unused invalidation hint in qi_desc_iotlb
authorAashish Sharma <aashish@aashishsharma.net>
Wed, 19 Nov 2025 05:16:13 +0000 (13:16 +0800)
committerJoerg Roedel <joerg.roedel@amd.com>
Thu, 20 Nov 2025 10:33:04 +0000 (11:33 +0100)
commit6b38a108eeb3936b21643191db535a35dd7c890b
treefe8b74ddfa7b305cf3c7d1589ac7b7a4f96816fc
parentcb3db5a39e2a6b6396df1780d39a250f649d2e3a
iommu/vt-d: Fix unused invalidation hint in qi_desc_iotlb

Invalidation hint (ih) in the function 'qi_desc_iotlb' is initialized
to zero and never used. It is embedded in the 0th bit of the 'addr'
parameter. Get the correct 'ih' value from there.

Fixes: f701c9f36bcb ("iommu/vt-d: Factor out invalidation descriptor composition")
Signed-off-by: Aashish Sharma <aashish@aashishsharma.net>
Link: https://lore.kernel.org/r/20251009010903.1323979-1-aashish@aashishsharma.net
Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/iommu/intel/iommu.h