Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp105810pxb; Tue, 31 Aug 2021 16:20:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyt+an76pTaFMWIizu5ttmRcIr7lQ27IHp6uJhzph1FzpcM4vqU4CSKyu/G6dDyGV+6Y8cS X-Received: by 2002:a17:906:169a:: with SMTP id s26mr32513180ejd.190.1630452038307; Tue, 31 Aug 2021 16:20:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630452038; cv=none; d=google.com; s=arc-20160816; b=mXmAhewEabt/DaMB+YjqB0PvEVxAgnrIRijGkRUWf2Ux0Spa2mLkKai8f11/2E83LT XtGoNrhQqQ1u4yJjTTBvCwoMMWbNRdBH8nt52fMWNBYBC5tKopfTnNL/jJQJIkYYOFKs Ep74S0ivvGKgq1h3DefJGAbB3oD7o8TSFYosn2uT9w7RpYPzrOfolhWy8gbI68VAO8oT xw7W6rA2dMpwVDsIg36LwweXG4zJ1i1Jb0QkfKIMEyJWmY6rlUDk6ZGrZuwIQZsvFjl3 ZdM1JlbrN62s6gw5zzN+Xou90EksTSfkZbAqe49tXwb8zzG0sNpLDIB880G3nXpgoK4s kbtA== 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=2wL8/wRUvEDd6ogTDR0YqoLaeaLJvK00dL5YaYqaNWI=; b=Y7c+VwMDcUYtWJefs/VvsCJjBT1kczZSzXdd42PVwrBdNc9Pe2WBOEUpCgO/ib0EQ8 7swtzk84JdUOTlsHjpBIkQ6/Ex50dkklnl8QWurYybNIG2bw5dunj6+UG7vPb3jSMhF1 fdbXssxgMBa0r++5HpflKRTHVVHTatX/ItB4tl2nBUM9wIrKKF3F9OeX5E//iYS3NywO AX2penqcnTiQvPRAYqjnmLlcy44Ju8DPf4vCKZwaaKNO/M+4oBqmNXoGyHWUN9aITmDm ZJ+DMCVAjt/lGnpG2pur9AaZyEbYHa32HnfhZmNsb0tYeTVnNE5MkqH3BKzDBILWwArU cTPw== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id dj6si17954018edb.587.2021.08.31.16.20.03; Tue, 31 Aug 2021 16:20:38 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241307AbhHaXGH (ORCPT + 99 others); Tue, 31 Aug 2021 19:06:07 -0400 Received: from rosenzweig.io ([138.197.143.207]:44874 "EHLO rosenzweig.io" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241192AbhHaXGG (ORCPT ); Tue, 31 Aug 2021 19:06:06 -0400 Date: Tue, 31 Aug 2021 17:40:32 -0400 From: Alyssa Rosenzweig To: Sven Peter Cc: iommu@lists.linux-foundation.org, Joerg Roedel , Will Deacon , Robin Murphy , Arnd Bergmann , Mohamed Mediouni , Alexander Graf , Hector Martin , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 8/8] iommu/dart: Remove force_bypass logic Message-ID: References: <20210828153642.19396-1-sven@svenpeter.dev> <20210828153642.19396-9-sven@svenpeter.dev> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210828153642.19396-9-sven@svenpeter.dev> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Now that the dma-iommu API supports IOMMU granules which are larger than > the CPU page size and that the kernel no longer runs into a BUG_ON when > devices are attached to a domain with such a granule there's no need to > force bypass mode anymore. > > Signed-off-by: Sven Peter > --- > drivers/iommu/apple-dart.c | 14 ++------------ > 1 file changed, 2 insertions(+), 12 deletions(-) This was such an ugly hack, glad to see it go. This patch is Reviewed-by: Alyssa Rosenzweig