Re: [PATCH] iommu: Add Kconfig help text for IOMMU_SVA

From: Linus Torvalds
Date: Mon May 08 2023 - 12:42:49 EST


On Mon, May 8, 2023 at 9:35 AM Jacob Pan <jacob.jun.pan@xxxxxxxxxxxxxxx> wrote:
>
> Conversely, we could also have some part of PASID that is not about SVA.

If that's the case, then we should *definitely* have that IOMMU_PASID
kind of config option.

Then IOMMU_SVA - that needs PASID - can "select" it, but any other use
- that doesn't bother about SVA but might want PASID for its own
nefarious purposes - can also select it.

This is why we have config options. Not just for legibility, but also
for "there are different scenarios".

Linus