From patchwork Mon Oct 1 14:27:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 10622219 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 6FFCB1515 for ; Mon, 1 Oct 2018 14:27:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4FBE428950 for ; Mon, 1 Oct 2018 14:27:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 414392900A; Mon, 1 Oct 2018 14:27:51 +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 D79BB28950 for ; Mon, 1 Oct 2018 14:27:50 +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:Subject:To:From :Date: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=YqmWBCrfSVj8Tz5dB48w2YtZXRQDD+7XjtBBnM2RBtE=; b=SE/5knTpK0Zx+k fY5DHO8AW26dJHBNWP9VLmEZ1M3Ww9SnHgBLFA2lpq5FIZpB+qifNpwmIx6EF3ZQOLRrDH65gfj/m 1VsR4zNWt5YMpCVB6Bgnrtj1PUB0lRgdXuawdReA9lKaWa0YT8yVSEAyaaxYuv9eSOBjDp5NVRxzG 9supcYnUfS38xh0CRD/MTnzKE72tN7pkQrhkUCLCtMcDauItcOjJpvHSsuFbfoKlklJRtQ2Aqzf2T 11MMN2CL+nYHL1jegQWnbiUPSI033Nsc8ZMgeKmIDyfi2a4EosxQzvRBv4zxRx3bAdVer8VjiZXIn AJelei5kYPbvQ8r6YNIw==; 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 1g6zAp-0003xx-4C; Mon, 01 Oct 2018 14:27:47 +0000 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70] helo=foss.arm.com) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1g6z9x-0003vS-PF for linux-arm-kernel@lists.infradead.org; Mon, 01 Oct 2018 14:27:44 +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 62E4D7A9; Mon, 1 Oct 2018 07:26:43 -0700 (PDT) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 33EFE3F5B3; Mon, 1 Oct 2018 07:26:43 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id D590D1AE3C57; Mon, 1 Oct 2018 15:27:06 +0100 (BST) Date: Mon, 1 Oct 2018 15:27:06 +0100 From: Will Deacon To: joro@8bytes.org Subject: [GIT PULL] iommu/arm-smmu: Updates for 4.20 Message-ID: <20181001142706.GB9716@arm.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181001_072653_874547_2073B71A X-CRM114-Status: GOOD ( 18.00 ) 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: iommu@lists.linux-foundation.org, robin.murphy@arm.com, linux-arm-kernel@lists.infradead.org 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 Joerg Please pull these Arm SMMU updates for 4.20. The big thing here is the long-awaited "lazy" invalidation mode, using the generic timer-based infrastructure for moving TLB invalidation out of the fast-path. Thanks to Zhen Lei for the initial work here, and to Robin for getting it into shape for upstream. We've also got some minor fixes dotted around, some of which address issues that were found by code inspection during the lazy invalidation code review. I didn't manage to queue Vivek's runtime PM patches this time around. This was partly because we ran out of review bandwidth earlier in the cycle but also because the interaction with the lazy invalidation is unclear at the moment. Cheers, Will --->8 The following changes since commit 5b394b2ddf0347bef56e50c69a58773c94343ff3: Linux 4.19-rc1 (2018-08-26 14:11:59 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git for-joerg/arm-smmu/updates for you to fetch changes up to 44f6876a00e83df5fd28681502b19b0f51e4a3c6: iommu/arm-smmu: Support non-strict mode (2018-10-01 13:01:34 +0100) ---------------------------------------------------------------- John Garry (1): iommu/arm-smmu-v3: Fix a couple of minor comment typos Robin Murphy (3): iommu/io-pgtable-arm: Fix race handling in split_blk_unmap() iommu/io-pgtable-arm-v7s: Add support for non-strict mode iommu/arm-smmu: Support non-strict mode Will Deacon (1): iommu/arm-smmu: Ensure that page-table updates are visible before TLBI Zhen Lei (7): iommu/arm-smmu-v3: Fix unexpected CMD_SYNC timeout iommu/arm-smmu-v3: Avoid back-to-back CMD_SYNC operations 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 Documentation/admin-guide/kernel-parameters.txt | 12 +++ drivers/iommu/arm-smmu-v3.c | 115 +++++++++++++++++------- drivers/iommu/arm-smmu.c | 99 ++++++++++++++------ drivers/iommu/dma-iommu.c | 32 ++++++- drivers/iommu/io-pgtable-arm-v7s.c | 11 ++- drivers/iommu/io-pgtable-arm.c | 23 +++-- drivers/iommu/io-pgtable.h | 5 ++ drivers/iommu/iommu.c | 14 +++ include/linux/iommu.h | 1 + 9 files changed, 243 insertions(+), 69 deletions(-)