Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1189673pxk; Fri, 4 Sep 2020 03:08:20 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTKzts70ktgxLhuqRm+D+jew+t0QuWjyzOsLlmc+C4gB1Ah1vVtUke2T+sL8WxRvvu0j8l X-Received: by 2002:a17:906:a985:: with SMTP id jr5mr1784332ejb.549.1599214100576; Fri, 04 Sep 2020 03:08:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599214100; cv=none; d=google.com; s=arc-20160816; b=0rpxaa5PVSf3ryRKYR3Th3Ehh6i1b2I4jClnWkVO8KkDCDROJ7vox8gsmdxQOHG/JH N8IqQ+GId/EpKkF0DDXhJrn7JRQtA2TsDjNVNRF7MqO77wGIFQlDRABByHsuhJgejQnt pEPfPSxaYBitoPKxJaozndrnpYdHcdw/Sxb4z7RKsLFWdoiErMB3rawlLnp23rHyyvjS Eahee+JQWGt/rUetRZP+glaPYrkt9S4sDcA8G22xLcufsEooSuI2/aBK8+HV0Kff7odj EsjMhU8P14sP2v87fUR4U4GdHqqMWLbouWGG5ueW6Fm/aFJsAuIPj++Bvm4vrDFKfS8h 1mmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=7kDssQpU9nGc5ZQqnND3Yup083KKUruioEYVnHPD8uw=; b=Cy1xqBzFKNtkzj5RqbkikkjZiXNTAcnkgO0vizbLQ12t+jIWtW6y8L1RMH99KcoqOg zCM9k+8VhehlAAPebv1pk6egneMXI1m22MyAGx2GTR+b8fqXdooRW33iv4rtr9+FmAXN 0Zlt2teVp/zZ7Wp03nkNzTa8PsnbElGLxaOorNi17eP7PMJcGGuwN4Y6y3YPoXfGDstx kcyaZBiIF5FN1oWY82NAeGQD0PA5Neb5e00RSMlwJCd6wKPIRclTJo5bzkHH9nAUAy1h bxli6f5OXZbM+yKQsXHPf4L/RJVawoGmqGKLA5FyUg0SDR/sd4EZwl0Q0us6hOINxTNB 96aA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t15si4258036ejx.644.2020.09.04.03.07.57; Fri, 04 Sep 2020 03:08:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=8bytes.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729997AbgIDKGB (ORCPT + 99 others); Fri, 4 Sep 2020 06:06:01 -0400 Received: from 8bytes.org ([81.169.241.247]:41090 "EHLO theia.8bytes.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726811AbgIDKF7 (ORCPT ); Fri, 4 Sep 2020 06:05:59 -0400 Received: by theia.8bytes.org (Postfix, from userid 1000) id DE4873D5; Fri, 4 Sep 2020 12:05:57 +0200 (CEST) Date: Fri, 4 Sep 2020 12:05:56 +0200 From: Joerg Roedel 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 Message-ID: <20200904100556.GU6714@8bytes.org> References: <20200824105415.21000-1-joro@8bytes.org> <34db343f-cd23-09af-3bc5-29b9d385f85d@amd.com> <20200828134639.GW3354@suse.de> <60067932-dbf4-d67b-cf11-4dd2b016ed63@amd.com> <20200828152943.GY3354@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. Regards, Joerg