Re: [PATCH 0/2] iommu/amd: Fix IOMMUv2 devices when SME is active
From: jroedel@xxxxxxx
Date: Fri Aug 28 2020 - 09:47:34 EST
On Wed, Aug 26, 2020 at 03:25:58PM +0000, Deucher, Alexander wrote:
> > Alex, do you know if anyone has tested amdgpu on an APU with SME
> > enabled? Is this considered something we support?
>
> It's not something we've tested. I'm not even sure the GPU portion of
> APUs will work properly without an identity mapping. SME should work
> properly with dGPUs however, so this is a proper fix for them. We
> don't use the IOMMUv2 path on dGPUs at all.
Is it possible to make the IOMMUv2 paths optional on iGPUs as well when
SME is active (or better, when the GPU is not identity mapped)?
Regards,
Joerg