From patchwork Thu Sep 20 16:10:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Robin Murphy X-Patchwork-Id: 10607999 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E02166CB for ; Thu, 20 Sep 2018 16:12:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 469AC2E1A2 for ; Thu, 20 Sep 2018 16:12:14 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 435142E18A; Thu, 20 Sep 2018 16:12:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 0E5F62E175 for ; Thu, 20 Sep 2018 16:12:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:To :From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=l81TRvGOfzYV/rFkkDCWIHZ2O5DSgR+NF4kS5h1muRk=; b=t/cCKzGphmjnwP S/uaFrBG/d8YEHAtQXxoQn1YIceoDmdhFHHFe4uCv7v2GSqrcKcv5K9dXH3e4cwKbOHtG0E9q/hFW ROdnrBwZpAMlHG+EbC/NfaQRxqPZr7yj/B5VF9z20Blv4YDZhhHqjTtH/Wd+yq5ecbExNF3ATPeW2 o+7gIYCmDGbS9jiKaNDk45Q4ArVkGaMtT1qWpr2uVczZahT6BWpzDLRcB0C194AHhVW48IGzMUc/t gIsuSgmQpwwm+yY5+S60+xPIeIed2iM5FAKm8ttqQ3HqlIvQLizz0pIxhqpRIsyPA5muuI7KlXhbv CZLexdKpeE32quU6s3Xg==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g31Yc-0002J7-5t; Thu, 20 Sep 2018 16:11:58 +0000 Received: from foss.arm.com ([217.140.101.70]) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g31XR-0001n8-K3 for linux-arm-kernel@lists.infradead.org; Thu, 20 Sep 2018 16:11:08 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C708D80D; Thu, 20 Sep 2018 09:10:32 -0700 (PDT) Received: from e110467-lin.cambridge.arm.com (e110467-lin.Emea.Arm.com [10.4.12.131]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id F23CE3F557; Thu, 20 Sep 2018 09:10:30 -0700 (PDT) From: Robin Murphy To: joro@8bytes.org, will.deacon@arm.com, thunder.leizhen@huawei.com, iommu@lists.linux-foundation.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v8 0/7] Add non-strict mode support for iommu-dma Date: Thu, 20 Sep 2018 17:10:20 +0100 Message-Id: X-Mailer: git-send-email 2.19.0.dirty MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180920_091045_697983_AA28DE52 X-CRM114-Status: GOOD ( 12.67 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: john.garry@huawei.com, linuxarm@huawei.com, huawei.libin@huawei.com, guohanjun@huawei.com Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Hi all, Hopefully this is the last spin of the series - I've now dropped my light touch and fixed up all the various prose text, plus implemented the proper quirk support for short-descriptor because it's actually just a trivial cut-and-paste job. Robin. Robin Murphy (2): iommu/io-pgtable-arm-v7s: Add support for non-strict mode iommu/arm-smmu: Support non-strict mode Zhen Lei (5): iommu/arm-smmu-v3: Implement flush_iotlb_all hook iommu/dma: Add support for non-strict mode iommu: Add "iommu.strict" command line option iommu/io-pgtable-arm: Add support for non-strict mode iommu/arm-smmu-v3: Add support for non-strict mode .../admin-guide/kernel-parameters.txt | 12 +++ drivers/iommu/arm-smmu-v3.c | 89 +++++++++++++----- drivers/iommu/arm-smmu.c | 93 +++++++++++++------ drivers/iommu/dma-iommu.c | 32 ++++++- drivers/iommu/io-pgtable-arm-v7s.c | 11 ++- drivers/iommu/io-pgtable-arm.c | 14 ++- drivers/iommu/io-pgtable.h | 5 + drivers/iommu/iommu.c | 23 +++++ include/linux/iommu.h | 1 + 9 files changed, 225 insertions(+), 55 deletions(-) Tested-by: John Garry