Received: by 2002:a05:7208:9594:b0:7e:5202:c8b4 with SMTP id gs20csp582778rbb; Sat, 24 Feb 2024 14:06:45 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUq0P1dQVcyBUU52HHFbKqdJ0mUDNpRwNVCW2wsRsty6lc+1/jP6C5x07JNAp6NuA497xmrL7qr5DdmWdFD/PKOutspP5gM7oiRhJzeUw== X-Google-Smtp-Source: AGHT+IFK5gYSneg80GYc726UqTMdf3okZkFSyyliJZ8j2HrU44lKQcH3d5qeH+Euz1J05G9CXunq X-Received: by 2002:a05:6402:50c:b0:565:7bca:eebe with SMTP id m12-20020a056402050c00b005657bcaeebemr2318108edv.13.1708812405643; Sat, 24 Feb 2024 14:06:45 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708812405; cv=pass; d=google.com; s=arc-20160816; b=bMP7ziF7bp6Tp5Yb7JkVB4Q315ppjcyPl7p7/kELkSFD1i07S3T0DDJ8/q6IffJPZi prfyaiY4NsB7EJJoHANsvmoMQ9NKep/vSn1EMIymRlfRsB0JNNLWEECIDy0zUT9m8qzF wkB1J+WFlZoS2UWGL/OOpgpFAS0Nh1ixi7WsAsYeK+jtpdTMJos+tkR7wua/Jdtl/6lF gZjuY+cHJRIpa8ObRbnkQyR6UnyuGLzjOquJcGMtV1NlkLDyuhciXQCmH1BrxJhL4srh +PoPpgpQmWJR1bKOUgN3eUaI48MRS3ZPg+IxMUSlh1d+CBvvHZvEuscKj5avopIZuiaX SApw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:message-id:subject:cc:to:from:date :dkim-signature; bh=4COjiB6jYAMffLiqgI3z0kYOT5hlSxkruAV0Gnvnmh4=; fh=KFF5Ysak9SZbsrhLr1VNssZneHrqrBEvJZOMqZE84j8=; b=dCVwbDTtK/5saitvaZWc+oAANbXBzAEnqwDtg6Lw/6Yyqr1Ycnl+zkDhaSPTIjZ+6h f5bwf7CWMauhzBDeM8PEbooyRbLwVWZ7wMKAVmeZP0WRrbBYAtC2F7Z7EHLWi6rh+dzn IsvxHlM3f8ANF1+J+rVodQao1m5UjhNMeLOSgcDyWshdsp+KT5bs1dd8Bw+HKTPbfkP/ TDfJoQz9jMv2cX8WBFJaGFugnv21LA5SA0WV4Rhcj1C2lSjH7juID75OdklvrTp1W9rM nN6cfZZJdZTtQDsx4fJ/SNeoS64Ac7f03TSg8lOt/oRKxRDbQWEZQh+ld78e4ZaeVo6s OOCw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@8bytes.org header.s=default header.b=ROllbFbJ; arc=pass (i=1 spf=pass spfdomain=8bytes.org dkim=pass dkdomain=8bytes.org); spf=pass (google.com: domain of linux-kernel+bounces-79884-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79884-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id r10-20020a056402234a00b00565b79c4ec9si482661eda.452.2024.02.24.14.06.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Feb 2024 14:06:45 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-79884-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@8bytes.org header.s=default header.b=ROllbFbJ; arc=pass (i=1 spf=pass spfdomain=8bytes.org dkim=pass dkdomain=8bytes.org); spf=pass (google.com: domain of linux-kernel+bounces-79884-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-79884-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id A76AC1F209AF for ; Sat, 24 Feb 2024 22:06:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DD5884D5A2; Sat, 24 Feb 2024 22:06:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=8bytes.org header.i=@8bytes.org header.b="ROllbFbJ" Received: from mail.8bytes.org (mail.8bytes.org [85.214.250.239]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 5F6B84CDFB for ; Sat, 24 Feb 2024 22:06:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.250.239 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708812397; cv=none; b=ghfPqA8kZor5z1zlx1LQexJgIov/BlxZ9yVsHydsW8BsoqJpQTYvqa2yTUuugjUHHG1BiiaexXYRQRtdjh1eeT4l+yXAcFP79aEOZdr55y56qdnNTl77dGzGJUGBpxJ4WmXWljyj4SHssP8b7drTwK2IT13MDpAxQLcZNhEglDQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708812397; c=relaxed/simple; bh=ieBA33WGs4Kt+fmMNbz2jVA32D/Ax2LrmYRtNByr9rc=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=NFz/wzCEwZ5XxFmXC8OJ1F1LvAvwXW3daHwVW61m8DB+UXS/YlnvOuxibjWXeRYhduGFr1pwESiV+9XPL754mqrsykMyM5WtwWOvM9O9s3wD9uH21OB9w2ZLCuuQiTnuFQscb6hhtf2XlLSF5zXXzrffxSmqNc1hl/zf8iiuZEE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=8bytes.org; spf=pass smtp.mailfrom=8bytes.org; dkim=pass (2048-bit key) header.d=8bytes.org header.i=@8bytes.org header.b=ROllbFbJ; arc=none smtp.client-ip=85.214.250.239 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=8bytes.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=8bytes.org Received: from 8bytes.org (p4ffe0c3c.dip0.t-ipconnect.de [79.254.12.60]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.8bytes.org (Postfix) with ESMTPSA id 829C61C62A2; Sat, 24 Feb 2024 23:06:27 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=8bytes.org; s=default; t=1708812387; bh=ieBA33WGs4Kt+fmMNbz2jVA32D/Ax2LrmYRtNByr9rc=; h=Date:From:To:Cc:Subject:From; b=ROllbFbJ35aqzbPD3ZW7uSn6QnQ1C1I5d8buXPTOJjwFspYZXSWcIVeMKI61xbj+8 aik7e6UclKzAJ64zFvsnN2Ul7BGwO5v4LEkaikSky3rQolXn6s8JOAH4mo41Q2JN8q lx7/4yky/uDPoA6Uc9oRTTr24qkyJOOMs/nE7/IYTBnKnaaS8HxKHG1aEmyaOCiPty xfpJXbVIkLKnAunZUzoKt7Wyk2YcqSxwO0+9O0W/FhPSdLde6g/jRCRa77d2/kLaTp GDY2N3Y3O6uOk0YsYb1oH+089a/859Mhs82UC3BZXU+JT1xeiJPw//DiU9gABN90pm AqmtI4UaBEFEQ== Date: Sat, 24 Feb 2024 23:06:26 +0100 From: Joerg Roedel To: Linus Torvalds Cc: Will Deacon , linux-kernel@vger.kernel.org, iommu@lists.linux.dev Subject: [git pull] IOMMU Fixes for Linux v6.8-rc5 Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="8udg5sVDv6UBipkG" Content-Disposition: inline --8udg5sVDv6UBipkG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi Linus, The following changes since commit b401b621758e46812da61fa58a67c3fd8d91de0d: Linux 6.8-rc5 (2024-02-18 12:56:25 -0800) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/joro/iommu.git tags/iommu-fixes-v6.8-rc5 for you to fetch changes up to 65d4418c5002ec5b0e529455bf4152fd43459079: iommu/sva: Restore SVA handle sharing (2024-02-23 16:45:05 +0100) ---------------------------------------------------------------- IOMMU Fixes for Linux v6.8-rc5 Including: - Intel VT-d fixes for nested domain handling: - Cache invalidation for changes in a parent domain - Dirty tracking setting for parent and nested domains - Fix a constant-out-of-range warning - ARM SMMU fixes: - Fix CD allocation from atomic context when using SVA with SMMUv3 - Revert the conversion of SMMUv2 to domain_alloc_paging(), as it breaks the boot for Qualcomm MSM8996 devices - Restore SVA handle sharing in core code as it turned out there are still drivers relying on it ---------------------------------------------------------------- Arnd Bergmann (1): iommu/vt-d: Fix constant-out-of-range warning Dmitry Baryshkov (1): Revert "iommu/arm-smmu: Convert to domain_alloc_paging()" Jason Gunthorpe (2): iommu/arm-smmu-v3: Do not use GFP_KERNEL under as spinlock iommu/sva: Restore SVA handle sharing Joerg Roedel (1): Merge tag 'arm-smmu-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/will/linux into iommu/fixes Yi Liu (9): iommu/vt-d: Track nested domains in parent iommu/vt-d: Add __iommu_flush_iotlb_psi() iommu/vt-d: Add missing iotlb flush for parent domain iommu/vt-d: Update iotlb in nested domain attach iommu/vt-d: Add missing device iotlb flush for parent domain iommu/vt-d: Remove domain parameter for intel_pasid_setup_dirty_tracking() iommu/vt-d: Wrap the dirty tracking loop to be a helper iommu/vt-d: Add missing dirty tracking set for parent domain iommu/vt-d: Set SSADE when attaching to a parent with dirty tracking drivers/iommu/arm/arm-smmu-v3/arm-smmu-v3-sva.c | 38 ++--- drivers/iommu/arm/arm-smmu/arm-smmu.c | 17 +- drivers/iommu/intel/iommu.c | 214 ++++++++++++++++++------ drivers/iommu/intel/iommu.h | 7 + drivers/iommu/intel/nested.c | 16 +- drivers/iommu/intel/pasid.c | 5 +- drivers/iommu/intel/pasid.h | 1 - drivers/iommu/iommu-sva.c | 17 ++ include/linux/iommu.h | 3 + 9 files changed, 225 insertions(+), 93 deletions(-) Please pull. Thanks, Joerg --8udg5sVDv6UBipkG Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEr9jSbILcajRFYWYyK/BELZcBGuMFAmXaaGIACgkQK/BELZcB GuN9fBAAjszaR5P6P941H8PXC1JOUMDQVdFK3kuxrS9+t0KL1C6NbyalkkYkVV8x TbQ8dh0R8ZxVoM5E+vFYM6QlE1DPsUw9a3K6h4JGZJwfOqHCGncK8rAWa+30/MtM Tam+gaHy4TvSwRwHXe0oY2s0L03ETyLTGoa5SumHL69vaWSQM6GGOvC/CzHcoTTX LhZwsajEzwDVenqCnEdCdxKqhVVQoLwpvudmXuEIUkk8BEJ4/OgZMm+hQlAE6MTB 9He43DzzIgb5ikLHNV1E0ReERNyK+jUKgdgVfp4Fi5Gyfap7qMPycPCOD/CdPf2u sJYrZyYLjWXJXwbt6+Iz0tZ0duPnEx89NdtR75P4tRssrxSdCmwauKdEd9CvYjCO frTNBpftVlhosapkdBCPtN+BMPIFRCpgALCxxfbzeegD7KN4KAIh03CUbM2mWU07 Ok80Wm94RzphE/ObmvNH53mhz2QBUrsfLiBX02mdjwGz3sJ/ZgLg4E9NQn+KIAMr lNsxkGTSlMuNkPqS3XCMDQLUpiZRdmD7rOX72dvz6RGmKnU0X9X2EIDjPZF4P/cO aQVquRnmFS+55B0+AokqODlwqmhYTsMd440EeyaIfxAIz7rNUgFENiPvatqkV1+l 7UWkcw72I5t2hw7wQ1mo9OVXOXRWLaxoxyudEtNQwj1yEJor8P4= =3AY4 -----END PGP SIGNATURE----- --8udg5sVDv6UBipkG--