From patchwork Tue Nov 10 13:56:58 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 1397663 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2001:8b0:10b:1231::1; helo=merlin.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=merlin.20170209 header.b=XADho1Zn; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=default header.b=0KCiYdky; dkim-atps=neutral Received: from merlin.infradead.org (merlin.infradead.org [IPv6:2001:8b0:10b:1231::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CVqDj5yBCz9sPB for ; Wed, 11 Nov 2020 00:57:25 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.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=8fo+I+Bk6aAEW+UtnTED2FceijKOao8kAVNnsf8Cwjg=; b=XADho1ZnHwMCR6nksK6oy7jtob tXJxoUVQnvPwqwWiAqbQ+/KoHZA/9zjh6wlt6EjQuGuPASxzh4WsGEAvzctNWbOUqkIPTwxsoZMWT 9kx015pGFFsitCrpZx8GdEopuNP6EJIVLvbeK32w04EUHwSRkjoL/gAAVNncRYujgUjppNu9ogcgh qYLGQwDFFeCaLRBQ+JnetVjPAjmV6AL8xF3mVsUJ2gB5YHEFFrDboQzeQSzThA/dk2sfp2Hv6cHpI L2YhEtbn35x3Vzo32wzIzlzq1QJQ1in4WrwFerxjM9Mxrf9g7Y6tG0CnBva7OcsSjM6ERDpuViJoN xtko/zFA==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcU8w-0005E7-3C; Tue, 10 Nov 2020 13:57:06 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kcU8t-0005Di-Rw for linux-arm-kernel@lists.infradead.org; Tue, 10 Nov 2020 13:57:04 +0000 Received: from willie-the-truck (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 6E89920797; Tue, 10 Nov 2020 13:57:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1605016622; bh=pUCSLw0dp38jb6CdCj20KMAJ24P3TkHkgt3ZT3RYx0k=; h=Date:From:To:Cc:Subject:From; b=0KCiYdkyFaR5w/qPRTfH+xDMnjI09MxOjiucXHAY9YlPQfNr1y4j4FeXENtrJeyOP 9GFYL2y2nBVLmWT8dVYee4pFrETH/0D1gql3kOhB8tcu7yO0GXEayqV1UFzrxcPtXT cEfTcFL+JT9MvvwFugQ7nr1lhhz4GLBXoMDJOgGQ= Date: Tue, 10 Nov 2020 13:56:58 +0000 From: Will Deacon To: joro@8bytes.org Subject: [GIT PULL] iommu/arm-smmu: First batch of updates for 5.11 Message-ID: <20201110135657.GA17034@willie-the-truck> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201110_085704_010347_1419A6CA X-CRM114-Status: GOOD ( 14.71 ) X-Spam-Score: -5.2 (-----) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-5.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [198.145.29.99 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.0 DKIMWL_WL_HIGH DKIMwl.org - High trust sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, bjorn.andersson@linaro.org, iommu@lists.linux-foundation.org, john.stultz@linaro.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 Hi Joerg, Please can you pull these Arm SMMU updates for 5.11 so that they can get into -next? I think Bjorn is keen to get a bunch of DT updates moving, so the sooner we can get this lot out there, the better. Summary in the tag. There are a few other patches kicking around on the list, so I may send a second pull on top in a couple of weeks or so. Cheers, Will --->8 The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec: Linux 5.10-rc1 (2020-10-25 15:14:11 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git tags/arm-smmu-updates for you to fetch changes up to a29bbb0861f487a5e144dc997a9f71a36c7a2404: dt-bindings: arm-smmu: Add compatible string for Adreno GPU SMMU (2020-11-10 12:25:49 +0000) ---------------------------------------------------------------- First batch of Arm SMMU updates for 5.11 - Allow implementations to hook writes to S2CR and SCTLR registers - Handle broken Qualcomm bootloader/firmware - Support Adreno tightly-coupled SMMU implementation - Use devm_krealloc() - Use 'true' instead of '1' when assigning 'bool disable_bypass' ---------------------------------------------------------------- Bjorn Andersson (3): iommu/arm-smmu: Allow implementation specific write_s2cr iommu/arm-smmu-qcom: Read back stream mappings iommu/arm-smmu-qcom: Implement S2CR quirk Jordan Crouse (2): iommu/arm-smmu-qcom: Add implementation for the adreno GPU SMMU dt-bindings: arm-smmu: Add compatible string for Adreno GPU SMMU Kaixu Xia (1): iommu/arm-smmu-v3: Assign boolean values to a bool variable Rob Clark (1): iommu/arm-smmu: Add a way for implementations to influence SCTLR Robin Murphy (1): iommu/arm-smmu: Use new devm_krealloc() .../devicetree/bindings/iommu/arm,smmu.yaml | 9 +- drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 2 +- drivers/iommu/arm/arm-smmu/arm-smmu-impl.c | 8 +- drivers/iommu/arm/arm-smmu/arm-smmu-nvidia.c | 17 +- drivers/iommu/arm/arm-smmu/arm-smmu-qcom.c | 259 ++++++++++++++++++++- drivers/iommu/arm/arm-smmu/arm-smmu.c | 18 +- drivers/iommu/arm/arm-smmu/arm-smmu.h | 4 + 7 files changed, 284 insertions(+), 33 deletions(-)