Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp953184iob; Thu, 28 Apr 2022 14:48:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyrlINXAPvQrvYuO1o7mE2S1W+wFPEVZhEDW9nWInHjdoTLULBZIxLS1taCqjE8Q1Zfmrvi X-Received: by 2002:a17:902:f70b:b0:14d:643d:9c99 with SMTP id h11-20020a170902f70b00b0014d643d9c99mr36369492plo.18.1651182538784; Thu, 28 Apr 2022 14:48:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651182538; cv=none; d=google.com; s=arc-20160816; b=qYLhpvPWi2iFkRztKeNWFanJeTaYmPTNUdtHM/SFI1UOzuAqVFbfHel66vEZ3vQ70M 5w4ve5OUE2PhvdTqQjgeAYAALY2jqh2fZZMA8jtKpFqjOay6rinmGKsF4KLRJDl8VCPG CmD9gPPhwK2ha9CKhFJsYSnG8qshLP4cLFI6bY4/9nFLZb7wg8eIXl1XcBjalwUeezGL kVVYdkQQQvXDCnLpIr2vrfJTe1WpDbGP1sIEXS/NaK9oSEkbizVmvkw72dWfx18cJJuf /m1s84sigXzGsk34u7z03i+uV2tRp4M5XAI+Euq80UJib2ZoEXo/8wCK6qvdxdJ+MS9f yhgQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=IPk9m9CaSP6TFbDdkyyKPEJU5oOm1SW0w4HpR96ILxk=; b=ie6v2RGGXBNbX2e6aOb+HW4AabIdBmwP0kmNykqIbnrD9/L8EJ5i6vkhuFX6zTYqKk q/CoQ1Mf9T1rERsVLboPWMQfli3ny6LrhGBmc5tWoQp3To+tFNwLj7v5oNeRCeZGOZ32 n/0viI4/1SrFlyyOVRUL5FA7+ACbPJ//etf61DCNdaP17wDeA++c9h7bcHzOFJnSF42V 5LKok6SafJOolFyHTp/7nyMTPwWxft9VEBNH4E2hiID24NvuMjE5VljfsI+HZNjLykWB osUMM/4IQy1+1ZgbwyyqS++JCDxlNsOOi+qixg6jH7rS4a7WtFhdWgt2GN1hM5n3m7j8 Dzdg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o10-20020a170903300a00b0015cf060b23bsi4572643pla.583.2022.04.28.14.48.42; Thu, 28 Apr 2022 14:48:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S236609AbiD1Ial (ORCPT + 99 others); Thu, 28 Apr 2022 04:30:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344107AbiD1Iah (ORCPT ); Thu, 28 Apr 2022 04:30:37 -0400 Received: from theia.8bytes.org (8bytes.org [81.169.241.247]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CABB1A0BCE for ; Thu, 28 Apr 2022 01:27:22 -0700 (PDT) Received: by theia.8bytes.org (Postfix, from userid 1000) id 955572FB; Thu, 28 Apr 2022 10:27:20 +0200 (CEST) Date: Thu, 28 Apr 2022 10:27:19 +0200 From: Joerg Roedel To: Mario Limonciello Cc: Will Deacon , Christoph Hellwig , Marek Szyprowski , Robin Murphy , "open list:IOMMU DRIVERS" , Suthikulpanit Suravee , Hegde Vasant , open list Subject: Re: [PATCH v2 0/2] Fix issues with untrusted devices and AMD IOMMU Message-ID: References: <20220404204723.9767-1-mario.limonciello@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220404204723.9767-1-mario.limonciello@amd.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 04, 2022 at 03:47:21PM -0500, Mario Limonciello wrote: > Mario Limonciello (2): > iommu/amd: Enable swiotlb in all cases > dma-iommu: Check that swiotlb is active before trying to use it > > drivers/iommu/amd/iommu.c | 7 ------- > drivers/iommu/dma-iommu.c | 5 +++++ > 2 files changed, 5 insertions(+), 7 deletions(-) Applied to core branch, thanks.