Re: [PATCH 2/2] iommu: Use the user PGD for SVA if PTI is enabled

From: Dave Hansen
Date: Mon Aug 22 2022 - 19:25:43 EST


On 8/22/22 16:24, Jacob Pan wrote:
> Sounds good. I thought about a helper also, thinking there are so many other
> cpu_has(X86_FEATURE_PTI) checks already :)

Yes, but almost all of those are in PTI-#ifdef'd code already.