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: 43175 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp209521wrt; Fri, 13 Jan 2023 03:14:13 -0800 (PST) X-Google-Smtp-Source: AMrXdXvTIbEHPATCdLV8kMCkb8VvzP85Gt9xTOYryjbM5S/bPD837+rZWQ0780iwhVzFW/9v0/iL X-Received: by 2002:a17:90b:3718:b0:229:2a91:c8b4 with SMTP id mg24-20020a17090b371800b002292a91c8b4mr1456419pjb.37.1673608453394; Fri, 13 Jan 2023 03:14:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673608453; cv=none; d=google.com; s=arc-20160816; b=Ve25MXWfrw57qnFXprogEQ+HTmc9QTA6xie0XnEw+R3vbFiOe/EV/Q/AslZclA52ls 6lfGme98D5CE8WQm6elRfhmnLlqx/DxiqmPiTKgrPcMmtbOzWs8/ZhxUnuuPZsG7q0Ry 9mdHV7T77aMnYTu2TtLmB8cl5XU0wQ53UTVTOBQMjCSu5WzBePu4U2wtHIlVkaPZ2goT W70arQRdp+Y20RNf2OlmQboR18pslrCPQGl1XHpIFS9o0DQZnHlZM1JMEWOz6InQfTC6 VFe7fNBkYgWbM1+2sMjUSl+UWQOSUAZzaO7ASO7z5NUOCLPtOhP4T3Nq5pDDY46uYTkU 83wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:content-disposition:mime-version :message-id:subject:cc:to:from:date:dkim-signature; bh=+Ippge+BfhDPG39rrzKHMyOTKZHIzkm2KvdKj8ElCV8=; b=JkgnaWSihRxhdwAfRQeiEJJOF8yIFoQYKO03I2iZT/UfX494pRwkdKL4frLhkPx088 s4WJ0/UX2E454XqsjkrBhPXpnc/z2TLnwqzi1hbegR4AGfgwTMwIGQkU5a4krXWtYWCt xBDqY99rom/6wAwydFcCT0A7VDhJM8U+qliTNKlciwQfqMOY9QDA24C4wgLjLmqDxtCU 7RK0msXNtMjm2atxuFr6F8BkK4XN9im0pLSgDFRXE4nB1icXDqlJ2vfsqnPthX+x5KPV 201NFZS+TcPDbpPIec9t0eWhb41DRAMbZkHvve99YUlvZsicjAn4UJAMpB7WqGEZcTUs 5YLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GTvrUyod; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g11-20020a65580b000000b0047701022c7dsi20295712pgr.729.2023.01.13.03.13.59; Fri, 13 Jan 2023 03:14:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=GTvrUyod; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241211AbjAMLL4 (ORCPT + 99 others); Fri, 13 Jan 2023 06:11:56 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240865AbjAMLKt (ORCPT ); Fri, 13 Jan 2023 06:10:49 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0E9F7CDC4 for ; Fri, 13 Jan 2023 03:03:24 -0800 (PST) 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 dfw.source.kernel.org (Postfix) with ESMTPS id 662ED61274 for ; Fri, 13 Jan 2023 11:03:24 +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-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754905657577426709?= X-GMAIL-MSGID: =?utf-8?q?1754905657577426709?= 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(-)