Re: [PATCH 1/5] iommu/vt-d: Fix misuse of ALIGN in qi_flush_piotlb()

2021-01-07 Thread Will Deacon
On Thu, 31 Dec 2020 08:53:19 +0800, Lu Baolu wrote: > Use IS_ALIGNED() instead. Otherwise, an unaligned address will be ignored. Applied patches 1, 4 and 5 to arm64 (for-next/iommu/fixes), thanks! [1/5] iommu/vt-d: Fix misuse of ALIGN in qi_flush_piotlb() https://git.kernel.org/arm64/c/1efd

[PATCH 1/5] iommu/vt-d: Fix misuse of ALIGN in qi_flush_piotlb()

2020-12-30 Thread Lu Baolu
Use IS_ALIGNED() instead. Otherwise, an unaligned address will be ignored. Fixes: 33cd6e642d6a7 ("iommu/vt-d: Flush PASID-based iotlb for iova over first level") Signed-off-by: Lu Baolu --- drivers/iommu/intel/dmar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/driver