From nobody Wed Nov 27 18:52:10 2024 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 78409166307; Wed, 9 Oct 2024 07:28:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728458896; cv=none; b=KCVsHTC+G0RqSptGcxBhe37e0BHZZFq7Q1lX8wBTvpO/UPUTrOwAQExRJY9bAP9xIsUUOs5dJGq6ur/0WpN8sGRLFIMDMGSNlI6fSm0pILhIZg/YrLTK7lvM2R7H9w2+ZIkrcS169TmfzbP+P9d3a4kCPmrK+IVewc1VwHUJWMs= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728458896; c=relaxed/simple; bh=DFZ/f2G030ayl8RBGNPku2LZ2t8SBPpzPS8cPjwszTA=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PHLHELB+msxFGhshheNHUIUeXPEXXg+Hef9H1G4lgy/m3UzHn+2NhpBFzbLWkKlz8T8R7Dqw5cS8gsiPBwgctQQ4FSNE/Z3IKR0cFH0WeMZgssS13/HkiUYDsmVUSEVy4wqZ/RpG18DfHz+jw3bbRvyjkiKmBfNXvZtkm69A63g= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qj+/1e+X; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qj+/1e+X" Received: by smtp.kernel.org (Postfix) with ESMTPS id 48B50C4CED2; Wed, 9 Oct 2024 07:28:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1728458896; bh=DFZ/f2G030ayl8RBGNPku2LZ2t8SBPpzPS8cPjwszTA=; h=From:Date:Subject:References:In-Reply-To:To:Cc:From; b=qj+/1e+XF7pot9gCaweZXjSPI9y+sNY2F/gpPLM9ekdPEGD612HOJ2HzVj7LUdx9H xGQpAYWS5VM8NvzsDNLIFtgLrXGKN4NMdsL7pUPrmE10iyQE94iCrGlJvgkS0v232D ttu1AiK+aB5RJXT6pPgUurBYcGSZl/hVc/W2ncZ2UveG01X1pa41F7gZHV9VpNdLcU 4BF/G//xErhsPUiA80HsB03TcEXyFob3AbOkJH4a6W2yCHWkmSO/UyWYXWyrQwjEX5 0LIynvdXVlMfH20JSM3duaCJSt2BrbdEu1a2duwrI6t4X6bC2LouiN7Lti3MYDKV+U 0jcrdLk6WKChQ== Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3BA8ECED61B; Wed, 9 Oct 2024 07:28:16 +0000 (UTC) From: Joel Granados Date: Wed, 09 Oct 2024 09:28:11 +0200 Subject: [PATCH v3 3/5] iommu: kconfig: Move IOMMU_IOPF into INTEL_IOMMU Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20241009-jag-iopfv8-v3-3-bd4271df5b2b@kernel.org> References: <20241009-jag-iopfv8-v3-0-bd4271df5b2b@kernel.org> In-Reply-To: <20241009-jag-iopfv8-v3-0-bd4271df5b2b@kernel.org> To: David Woodhouse , Lu Baolu , Joerg Roedel , Will Deacon , Robin Murphy , Jason Gunthorpe , Kevin Tian , Klaus Jensen Cc: linux-kernel@vger.kernel.org, iommu@lists.linux.dev, Joel Granados , Joel Granados X-Mailer: b4 0.15-dev-00a43 X-Developer-Signature: v=1; a=openpgp-sha256; l=1019; i=joel.granados@kernel.org; h=from:subject:message-id; bh=DFZ/f2G030ayl8RBGNPku2LZ2t8SBPpzPS8cPjwszTA=; b=owJ4nAHtARL+kA0DAAoBupfNUreWQU8ByyZiAGcGMI1kWyEIegIoy25Zf+v70/MKy/yzg1Agm tJTDsxDdzpxdIkBswQAAQoAHRYhBK5HCVcl5jElzssnkLqXzVK3lkFPBQJnBjCNAAoJELqXzVK3 lkFPC+YL/13Haqx5UkfXPFFAidrjr4KLB2A9o4PHyHC87z6XdTYZtAq/2L62iwqUpfTOUyCdyha 2dC4kAPf9r6KO2CDzjOFY9PXhFkyyYT5sIAis1kIOTLjZXqazbSULSgHody8BCs77ruwICE6VMJ udxkIENnXkKAkrvFs+/cksA9EVQoBpIXu1BvBj7YIkJqSeEMPCpPAvzIhflyGlw3BeDSuO87Wmz D66V8zgKJfMsWFMcmKPC+uJOQvb/HAHpFA3F2UXybawFRbN7D7a3fz4dVHhrRomFmFdcpOwWYJM 8MXvLHok6zQ9KIxa7okSDuDuHvuU/J7Z9nDeb5c3SFDcxA2fnhxuuKUY5jajy/3/FoVaEVk5XB5 LxHc1baHlhBoA6YqPpWlu+WCOxJxbcyNuGihrWj+rP1X9Jiph6n2KGsxnEGnsDXznoGeWUfx1br FYGlqcuB8dC/zYJJfIe5PWvD+jihbMqrIofClr7Zpr/vHnc8HhALnwGPgssBo3yT7xbyxzB64J5 po= X-Developer-Key: i=joel.granados@kernel.org; a=openpgp; fpr=F1F8E46D30F0F6C4A45FF4465895FAAC338C6E77 X-Endpoint-Received: by B4 Relay for joel.granados@kernel.org/default with auth_id=239 Move IOMMU_IOPF from under INTEL_IOMMU_SVM into INTEL_IOMMU. This certifies that the core intel iommu utilizes the IOPF library functions, independent of the INTEL_IOMMU_SVM config. Signed-off-by: Joel Granados --- drivers/iommu/intel/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iommu/intel/Kconfig b/drivers/iommu/intel/Kconfig index 88fd32a9323c..f2f538c70650 100644 --- a/drivers/iommu/intel/Kconfig +++ b/drivers/iommu/intel/Kconfig @@ -14,6 +14,7 @@ config INTEL_IOMMU depends on PCI_MSI && ACPI && X86 select IOMMU_API select IOMMU_IOVA + select IOMMU_IOPF select IOMMUFD_DRIVER if IOMMUFD select NEED_DMA_MAP_STATE select DMAR_TABLE @@ -50,7 +51,6 @@ config INTEL_IOMMU_SVM depends on X86_64 select MMU_NOTIFIER select IOMMU_SVA - select IOMMU_IOPF help Shared Virtual Memory (SVM) provides a facility for devices to access DMA resources through process address space by --=20 2.43.0