Re: [git pull] IOMMU Updates for Linux v5.16

From: Lu Baolu
Date: Fri Nov 05 2021 - 04:04:35 EST


On 2021/11/5 15:35, Joerg Roedel wrote:
On Thu, Nov 04, 2021 at 11:10:53AM -0700, Linus Torvalds wrote:
That too seems to be stale and unused since commit 9bfecd058339
("x86/cpufeatures: Force disable X86_FEATURE_ENQCMD and remove
update_pasid()")

I left it alone because I didn't want to do any extra development in
the merge commit itself, but it looks to me like there's some room for
more cleanips. No?

Yes, looks like this define is unused now. I talk to Baolu whether this
can be cleaned up too, Baolu?

Yes.

PASID_DISABLED is unused after

commit 9bfecd058339 ("x86/cpufeatures: Force disable X86_FEATURE_ENQCMD
and remove update_pasid()").

and

commit 00ecd5401349a ("iommu/vt-d: Clean up unused PASID updating
functions")

Best regards,
baolu