From patchwork Fri Jan 13 11:03:18 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 1725894 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=none (no SPF record) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org; envelope-from=linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; secure) header.d=lists.infradead.org header.i=@lists.infradead.org header.a=rsa-sha256 header.s=bombadil.20210309 header.b=lhd2ddGR; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=GTvrUyod; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NtdrR3j96z23fd for ; Fri, 13 Jan 2023 22:05:59 +1100 (AEDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-ID:Subject:Cc: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=qUtWbcVQjgjzOas5K/bskI4WxkL/F1qCde6SrnvAEjE=; b=lhd2ddGREiriqu Yct7foauiMufIAF1xhOHRoT473TP2OUfEqPjQRejE1QYJr1o+0jLOcN56VGOxUGjRvjetYIdnGL1R FmYbUuR6zfPPLtduMrpcafxTT7OL2lcxIdGp4auF5MkzOVZGWK9ih2haxAbREzbLl0jkrXgH5AMi6 J3thh+9eQaTe0b/poqh6DUY8ObzQpFsJgX5bu/x2G1pVF0R+ajC6fEpTCXZc3+h60iwnIjxpHV+FJ oPRM6A8pV3+JlfpOVs/hcdG6JzIZJf4QontmEH6BNZb1r97qXW+Ra4oV5kv5VrfWBwU+Z1MYMS66f HIzsTSH3+1Wy0szLNpSA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGHsG-001zoN-GC; Fri, 13 Jan 2023 11:05:29 +0000 Received: from ams.source.kernel.org ([2604:1380:4601:e00::1]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pGHqI-001z1o-Mr for linux-arm-kernel@lists.infradead.org; Fri, 13 Jan 2023 11:03:28 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 1E343B820D5; Fri, 13 Jan 2023 11:03:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 95287C433EF; Fri, 13 Jan 2023 11:03:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673607803; bh=NfhxdsF9edW7RUM7O/BWU6t/1TksrMVcjhvCbku6DiI=; h=Date:From:To:Cc:Subject:From; b=GTvrUyodgEq/1CfEY5eKYHHmnQBJyM3eXNjBekKyOnjThnhJlCeAeVnGL12H0+tsG MsjjeHKoBH1AsFg2g8q4bVgcpZzN3W+4K9A8KUe7p+ROuIO3LeV/CpmwLx+fh2F83x j0xOgODrHbHrT0AB9hDB2fLaa4jLmS4tACgSPcxTrFS7iH4QqKtUgBLUVJ7D4bJytl vSiq5DX0GRps/YSMGseyMSyrOaLiM92dzNX0kgUogFOevvPCuuJsqmrFhaPkH2Hexp 47t2fzpc6x2DzcNkfEuQVwgqsEA4nutNzJ5Yc6bA6lQbpzm1pwVvb6Uwn+TNfLFx/c CnaURoKFJ5BGA== Date: Fri, 13 Jan 2023 11:03:18 +0000 From: Will Deacon To: joro@8bytes.org Cc: iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, robin.murphy@arm.com, kernel-team@android.com Subject: [GIT PULL] iommu/arm-smmu: Fixes for 6.2 Message-ID: <20230113110318.GA12771@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-20230113_030326_971341_49B82006 X-CRM114-Status: GOOD ( 10.33 ) X-Spam-Score: -5.4 (-----) X-Spam-Report: Spam detection software, running on the system "bombadil.infradead.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi Joerg, Please can you pull these Arm SMMU fixes for 6.2? The summary is in the tag, but the main thing is fixing a VFIO regression due to the way in which IOMMU_CAP_CACHE_COHERENCY is reported for SMMUv2 dev [...] Content analysis details: (-5.4 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at https://www.dnswl.org/, high trust [2604:1380:4601:e00:0:0:0:1 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.2 DKIMWL_WL_HIGH DKIMwl.org - High trust sender X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 fixes for 6.2? The summary is in the tag, but the main thing is fixing a VFIO regression due to the way in which IOMMU_CAP_CACHE_COHERENCY is reported for SMMUv2 devices. Cheers, Will --->8 The following changes since commit 1b929c02afd37871d5afb9d498426f83432e71c2: Linux 6.2-rc1 (2022-12-25 13:41:39 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/will/linux.git tags/arm-smmu-fixes for you to fetch changes up to f1ba05a70f7df4e2e4d2d7fed2d4e63a1e700660: iommu/arm-smmu-v3: Don't unregister on shutdown (2023-01-11 12:20:00 +0000) ---------------------------------------------------------------- Arm SMMU fixes for 6.2 - Fix VFIO regression on NXP SoCs by reporting IOMMU_CAP_CACHE_COHERENCY - Fix SMMU shutdown paths to avoid device unregistration race ---------------------------------------------------------------- Robin Murphy (1): iommu/arm-smmu: Report IOMMU_CAP_CACHE_COHERENCY even betterer Vladimir Oltean (2): iommu/arm-smmu: Don't unregister on shutdown iommu/arm-smmu-v3: Don't unregister on shutdown drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3.c | 4 +++- drivers/iommu/arm/arm-smmu/arm-smmu.c | 32 ++++++++++++++++++++--------- 2 files changed, 25 insertions(+), 11 deletions(-)