Re: [PATCH 0/2] iommu/amd: Fix IOMMUv2 devices when SME is active

From: Felix Kuehling
Date: Mon Sep 07 2020 - 23:38:25 EST


Am 2020-09-06 um 12:08 p.m. schrieb Deucher, Alexander:
> [AMD Official Use Only - Internal Distribution Only]
>
>> -----Original Message-----
>> From: Joerg Roedel <joro@xxxxxxxxxx>
>> Sent: Friday, September 4, 2020 6:06 AM
>> To: Deucher, Alexander <Alexander.Deucher@xxxxxxx>
>> Cc: jroedel@xxxxxxx; Kuehling, Felix <Felix.Kuehling@xxxxxxx>;
>> iommu@xxxxxxxxxxxxxxxxxxxxxxxxxx; Huang, Ray <Ray.Huang@xxxxxxx>;
>> Koenig, Christian <Christian.Koenig@xxxxxxx>; Lendacky, Thomas
>> <Thomas.Lendacky@xxxxxxx>; Suthikulpanit, Suravee
>> <Suravee.Suthikulpanit@xxxxxxx>; linux-kernel@xxxxxxxxxxxxxxx
>> 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?

The patch is

Acked-by: Felix Kuehling <Felix.Kuehling@xxxxxxx>

Thanks,
  Felix


>
> Alex
>