Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp3520321pxv; Mon, 26 Jul 2021 06:04:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxF+jgvHnJCjlDGSfT3V2OLweiOeousLOt7qOUvx4L7At4nWLpyCbWjMGcwiX5tC3rXZC7J X-Received: by 2002:a05:6602:2245:: with SMTP id o5mr15004527ioo.20.1627304662678; Mon, 26 Jul 2021 06:04:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627304662; cv=none; d=google.com; s=arc-20160816; b=oZ1sgF41FdurcHtIneeL/H+zPxaNseIWPimv0cgd9WJsTUfdKGq4/mj1bmxF7t3chZ rOWazZ/StWDofCLwdRANlxbR+7HYZ2uWK476sAZwpwvnVOpCNyqA5RoOzT+CnGI/k9gg 4BxE8lQ7t94Iq0YeY+vBvNb/DehtE4HMQytD+7QJ+nnVYzV8zkc5UoKP7udzamBMEYKG yzm3ubOo6JSmqkVXhN8Gl8i/Oxw5TuClQB6zFF2U7rv5jh8G3qZMHYK8RSXQl3nxvQ0J gc4WS7R54jPicRkreD0bTiVT1tZi7cR/EFYzEIlWhUMh7NpzxQxfRQwIvnhgq//tQ4Ic 2WNg== 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=9ROe38UmbpVm0B7P0JyKho9a8JPHUlvbtONPUwTJc3s=; b=O30f6I5IoZJedTIfVubC9trkMwXtUlpcbo6dgwMAGn3umIxTIBcScyQnvhJ5V9LgZi 6ToB2Vou94bnk5VTE9qGmiDusfx/cXsl7mp+KabrQadxrMxCZ29Jedm2GYLh6QEzqiNN n4ixF8cAyd5OL/5BNcQ6fXyj69YGo1JBPEmPXAkqyo9+fn0sarZ+XCDL0avME8S40bQj DtboEyT5iWTApPKZ1LFKqY7em3gnTIBqz7O7drbIbyR9TdH81RqWMuhMoBX45qVfxkAy jUAesYbN27+Z1MXHncHyCYiDcDdH/KFNT6qAJLtwlXXeuHKArrd8wgmcTi1xKugnfWP9 oTGg== 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 f7si13361166ioq.12.2021.07.26.06.04.09; Mon, 26 Jul 2021 06:04:22 -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 S232334AbhGZMVx (ORCPT + 99 others); Mon, 26 Jul 2021 08:21:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37302 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231874AbhGZMVw (ORCPT ); Mon, 26 Jul 2021 08:21:52 -0400 Received: from theia.8bytes.org (8bytes.org [IPv6:2a01:238:4383:600:38bc:a715:4b6d:a889]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 69A98C061757 for ; Mon, 26 Jul 2021 06:02:21 -0700 (PDT) Received: by theia.8bytes.org (Postfix, from userid 1000) id B79822B0; Mon, 26 Jul 2021 15:02:18 +0200 (CEST) Date: Mon, 26 Jul 2021 15:02:14 +0200 From: Joerg Roedel To: Robin Murphy Cc: will@kernel.org, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, suravee.suthikulpanit@amd.com, baolu.lu@linux.intel.com, john.garry@huawei.com, dianders@chromium.org Subject: Re: [PATCH 00/23] iommu: Refactor DMA domain strictness Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Robin, On Wed, Jul 21, 2021 at 07:20:11PM +0100, Robin Murphy wrote: > Robin Murphy (23): > iommu: Pull IOVA cookie management into the core > iommu/amd: Drop IOVA cookie management > iommu/arm-smmu: Drop IOVA cookie management > iommu/vt-d: Drop IOVA cookie management > iommu/exynos: Drop IOVA cookie management > iommu/ipmmu-vmsa: Drop IOVA cookie management > iommu/mtk: Drop IOVA cookie management > iommu/rockchip: Drop IOVA cookie management > iommu/sprd: Drop IOVA cookie management > iommu/sun50i: Drop IOVA cookie management > iommu/virtio: Drop IOVA cookie management > iommu/dma: Unexport IOVA cookie management > iommu/dma: Remove redundant "!dev" checks > iommu: Introduce explicit type for non-strict DMA domains > iommu/amd: Prepare for multiple DMA domain types > iommu/arm-smmu: Prepare for multiple DMA domain types > iommu/vt-d: Prepare for multiple DMA domain types > iommu: Express DMA strictness via the domain type > iommu: Expose DMA domain strictness via sysfs > iommu: Allow choosing DMA strictness at build time > iommu/dma: Factor out flush queue init > iommu: Allow enabling non-strict mode dynamically > iommu/arm-smmu: Allow non-strict in pgtable_quirks interface I really like this patch-set. It is a nice cleanup and the implementation is straightforward. Given no other major objections and reviews I think this is material for 5.15. Thanks, Joerg