[AMD Official Use Only - Internal Distribution Only] > -----Original Message----- > From: Joerg Roedel > Sent: Friday, September 4, 2020 6:06 AM > To: Deucher, Alexander > Cc: jroedel@suse.de; Kuehling, Felix ; > iommu@lists.linux-foundation.org; Huang, Ray ; > Koenig, Christian ; Lendacky, Thomas > ; Suthikulpanit, Suravee > ; linux-kernel@vger.kernel.org > Subject: Re: [PATCH 0/2] iommu/amd: Fix IOMMUv2 devices when SME is > active > > On Fri, Aug 28, 2020 at 03:47:07PM +0000, Deucher, Alexander wrote: > > Ah, right, So CZ and ST are not an issue. Raven is paired with Zen based > CPUs. > > Okay, so for the Raven case, can you add code to the amdgpu driver which > makes it fail to initialize on Raven when SME is active? There is a global > checking function for that, so that shouldn't be hard to do. > Sure. How about the attached patch? Alex