Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp36050rwr; Thu, 4 May 2023 14:26:57 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6sypWykNwH7tl/ZEpIhpDtRVtl492815vwChj1C41TZypLjIEpezwi4VpN5yIVCg5DN9Mu X-Received: by 2002:a17:903:4cd:b0:1aa:d9c5:9cd5 with SMTP id jm13-20020a17090304cd00b001aad9c59cd5mr4718447plb.11.1683235617230; Thu, 04 May 2023 14:26:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683235617; cv=none; d=google.com; s=arc-20160816; b=ghYAlLX0QEt20wqix7HBjICcc1ovaaNnfeqUgCrMdCHMgh5st1Y14RsjaPQurYDyTu EWMZSp+RIbXjGzkzVDCrVngIe61DGziMHYAAae2azMQUJKyMShNciqaeULI/gIyO0TJ9 jGH7MjmflosQxheS3dXpgkzj3S3SDL2T9qQajtmJxfnFF6FTV/od61Q9carOts8oqXor nLFuHB9VbfbqCMzSE7dY3/mXwHuaKLE5thEWp8YdZAciyRpz9vKPCxznNM342aH059/q b5lVvC9t/rVUbJCSJVShVpj8TOk+1oak79/R2WM73sEqfnsiJWWJvZntrVuBgRSA0Gbv pCeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=XrqAUyyzEc+Y9fn4XCP1+AORdPAx89CzWF1ucQudk0o=; b=Vu5TINubBTUMRPnSxTwb5Bibb769keatXYnoUiYbbcty6xPdD6iS/BhBGmuTuCEjXB Bx/UjJrhT+wrpFrRJ6baGpkd5v8aXgtamdAwPa2UqB0v88mcRqXMySzz1nsdQXj1WRIk F3Lg1MdDgdHxg/tU2L6oPQfg5p6mUW6P9OGKYkfyh879VYUWDaf9IWyN8vk+qMpHKJU2 I8FftMxSAO9ZpsrYDvd/RWPopSkSqZg2Frxx6Q6qX3W4Nn1/y5EmcTDCcXD9DPABM18+ IAuAT3GIo47Y54jKGYCdBUcu264DTvn7LtqSQHYfW3IB5Anvcya2CSQVqW/jT2H3q1lt RNpg== 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=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w4-20020a656944000000b00503a029385asi289366pgq.849.2023.05.04.14.26.42; Thu, 04 May 2023 14:26:57 -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=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229499AbjEDVLE (ORCPT + 99 others); Thu, 4 May 2023 17:11:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43056 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229601AbjEDVLB (ORCPT ); Thu, 4 May 2023 17:11:01 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0533814923 for ; Thu, 4 May 2023 14:11:00 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id EC7F61FB; Thu, 4 May 2023 14:11:44 -0700 (PDT) Received: from e121345-lin.cambridge.arm.com (e121345-lin.cambridge.arm.com [10.1.196.40]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id B81253F67D; Thu, 4 May 2023 14:10:59 -0700 (PDT) From: Robin Murphy To: joro@8bytes.org, jgg@nvidia.com Cc: will@kernel.org, schnelle@linux.ibm.com, iommu@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] iommu: Make flush queues a proper capability Date: Thu, 4 May 2023 22:10:54 +0100 Message-Id: X-Mailer: git-send-email 2.39.2.101.g768bb238c484.dirty MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 Hi all, Since it came up in discussion on the default domain series, it seemed pertinent to dig this idea up, whcih I started a while ago, and finish it off. Cheers, Robin. Robin Murphy (2): iommu: Add a capability for flush queue support iommu: Use flush queue capability drivers/iommu/amd/iommu.c | 2 ++ drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 2 +- drivers/iommu/arm/arm-smmu/arm-smmu.c | 4 ++-- drivers/iommu/dma-iommu.c | 3 ++- drivers/iommu/intel/iommu.c | 2 +- drivers/iommu/iommu.c | 3 ++- include/linux/iommu.h | 6 ++++++ 7 files changed, 16 insertions(+), 6 deletions(-) -- 2.39.2.101.g768bb238c484.dirty