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: 10546947 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 AF680112B for ; Fri, 27 Jul 2018 11:51:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C7F02B7FB for ; Fri, 27 Jul 2018 11:51:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 911352B801; Fri, 27 Jul 2018 11:51: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 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 3FDC82B7FB for ; Fri, 27 Jul 2018 11:51:51 +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=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-8a; 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-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.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(-)