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: 13100515 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B065EC54EBD for ; Fri, 13 Jan 2023 11:06:46 +0000 (UTC) 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-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+linux-arm-kernel=archiver.kernel.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(-)