From patchwork Fri Jul 27 11:51:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 950140 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="QhZFUdyh"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41cS47499Zz9ryt for ; Fri, 27 Jul 2018 21:51:51 +1000 (AEST) 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=8IygvLj9M0kx5yr0LEd3l35HWiV66fUA2eA9Bpo/kC4=; b=QhZFUdyhAHnnCS 2Bt86QzoD6b4lCAqIh0STEL0xPGbcHHs2wjTpj3RMYte3WO7L7upRYI2yp3CAe2FRNVWN1+As25aU vz1GhWMHy1ET6ou6SK4w9YxOxLenuPHdtPwUQFdHARPvKyQBbK9OqRE7ahYEqDUfritODeRjVNYUK coFySWa8B3yvo3OtIGHX5byIpD+gx8orxAXH1/MBOGb93aeDg9AFhAv+ffaQrMd1ewul24oqECeg3 iiaKpzRhGasEWeqBZDD/QX/csMBXRr7mpBXS9NkgZRwMh5UBGK9QL8qagiEuQOuZniZ72yRs++0B5 vfv2sPGCMkZ9bx4hrWuA==; 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 1fj1Hg-0005As-TQ; Fri, 27 Jul 2018 11:51:48 +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 1fj1Hc-0005A7-F5 for linux-arm-kernel@lists.infradead.org; Fri, 27 Jul 2018 11:51:46 +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 3196315BE; Fri, 27 Jul 2018 04:51:42 -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 02B653F575; Fri, 27 Jul 2018 04:51:42 -0700 (PDT) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 7DD881AE2DA4; Fri, 27 Jul 2018 12:51:42 +0100 (BST) Date: Fri, 27 Jul 2018 12:51:42 +0100 From: Will Deacon To: joro@8bytes.org Subject: [GIT PULL] iommu/arm-smmu: Updates for 4.19 Message-ID: <20180727115141.GE25592@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-20180727_045144_514267_428FDC06 X-CRM114-Status: GOOD ( 13.75 ) X-Spam-Score: -5.0 (-----) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-5.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [217.140.101.70 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list 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+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org Hi Joerg, Please pull these ARM SMMU updates for 4.19. Most of these are non-critical fixes, but the main change is switching our default behaviour so that we now abort transactions originating from unknown devices (i.e. those which are not attached to an iommu domain) rather than silently let them bypass the SMMU. Cheers, Will --->8 The following changes since commit ce397d215ccd07b8ae3f71db689aedb85d56ab40: Linux 4.18-rc1 (2018-06-17 08:04:49 +0900) 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 b63b3439b85609338e4faabd5d2588dbda137e5c: iommu/arm-smmu-v3: Abort all transactions if SMMU is enabled in kdump kernel (2018-07-27 11:12:37 +0100) ---------------------------------------------------------------- Jean-Philippe Brucker (2): iommu/io-pgtable-arm: Fix pgtable allocation in selftest iommu/io-pgtable-arm-v7s: Abort allocation when table address overflows the PTE Miao Zhong (1): iommu/arm-smmu-v3: sync the OVACKFLG to PRIQ consumer register Vivek Gautam (1): iommu/arm-smmu: Error out only if not enough context interrupts Will Deacon (1): iommu/arm-smmu-v3: Abort all transactions if SMMU is enabled in kdump kernel Zhen Lei (1): iommu/arm-smmu-v3: Prevent any devices access to memory without registration drivers/iommu/arm-smmu-v3.c | 25 ++++++++++++++++++------- drivers/iommu/arm-smmu.c | 16 ++++++++++------ drivers/iommu/io-pgtable-arm-v7s.c | 7 ++++++- drivers/iommu/io-pgtable-arm.c | 3 ++- 4 files changed, 36 insertions(+), 15 deletions(-)