From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mx1.emlix.com (mx1.emlix.com [178.63.209.131]) (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 C764022DFAD for ; Tue, 11 Mar 2025 10:15:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.63.209.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741688151; cv=none; b=l8aFMlBUYcrqQVQZrvJoFjDm8FyIJsH1A500pI4yfriwet+2PNooslh/e3FqdtQ4VFipJvqE2AG7ypSuNnZMH9LabGqqJOPLjrZ+P7gcEC7HRjDf1O0zkepfFBEsv2yMF77mhquM0ym3rS2hsYwJmV2gmTZIRm4EgCKXvq70ft0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1741688151; c=relaxed/simple; bh=TcXlkWHAcLlKA5YdGtboJUi8xph6EctsfembkpGTiMY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=a/P7pZz+iEG2eV03xjgfivM1fFQgKGI0s7IvDMs8NhIis7AJiajjDB5V0OQ+VFx2cxDYky8b3n30PN9CGwc9JNYDV/ohGO423egBhl9a5AfcrL3QAT39XKxgRMchdGNgCdyOmqCSj5Do+/fE+CtLqeh2U5cPLsJx+LmVTRgpp/8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=emlix.com; spf=pass smtp.mailfrom=emlix.com; arc=none smtp.client-ip=178.63.209.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=emlix.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=emlix.com Received: from mailer.emlix.com (p5098be52.dip0.t-ipconnect.de [80.152.190.82]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.emlix.com (Postfix) with ESMTPS id 11BBD5F8F8; Tue, 11 Mar 2025 11:15:26 +0100 (CET) From: Rolf Eike Beer To: Joerg Roedel , Will Deacon Cc: iommu@lists.linux.dev, linux-kernel@vger.kernel.org, Jerry Snitselaar , Lu Baolu Subject: [PATCH 2/4] iommu: make inclusion of intel directory conditional Date: Tue, 11 Mar 2025 11:10:17 +0100 Message-ID: <3271463.5fSG56mABF@devpool47.emlix.com> Organization: emlix GmbH In-Reply-To: <2301497.iZASKD2KPV@devpool47.emlix.com> References: <2301497.iZASKD2KPV@devpool47.emlix.com> Precedence: bulk X-Mailing-List: iommu@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Nothing in there is active if CONFIG_INTEL_IOMMU is not enabled, so the who= le directory can depend on that switch as well. =46ixes: ab65ba57e3ac ("iommu/vt-d: Move Kconfig and Makefile bits down int= o intel directory") Signed-off-by: Rolf Eike Beer =2D-- drivers/iommu/Makefile | 3 ++- drivers/iommu/intel/Makefile | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/iommu/Makefile b/drivers/iommu/Makefile index 5e5a83c6c2aa..ed673c8fd056 100644 =2D-- a/drivers/iommu/Makefile +++ b/drivers/iommu/Makefile @@ -1,5 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 =2Dobj-y +=3D amd/ intel/ arm/ iommufd/ riscv/ +obj-y +=3D amd/ arm/ iommufd/ riscv/ +obj-$(CONFIG_INTEL_IOMMU) +=3D intel/ obj-$(CONFIG_IOMMU_API) +=3D iommu.o obj-$(CONFIG_IOMMU_API) +=3D iommu-traces.o obj-$(CONFIG_IOMMU_API) +=3D iommu-sysfs.o diff --git a/drivers/iommu/intel/Makefile b/drivers/iommu/intel/Makefile index 6c7528130cf9..7007db03b351 100644 =2D-- a/drivers/iommu/intel/Makefile +++ b/drivers/iommu/intel/Makefile @@ -5,7 +5,5 @@ obj-$(CONFIG_DMAR_TABLE) +=3D trace.o obj-$(CONFIG_DMAR_PERF) +=3D perf.o obj-$(CONFIG_INTEL_IOMMU_DEBUGFS) +=3D debugfs.o obj-$(CONFIG_INTEL_IOMMU_SVM) +=3D svm.o =2Difdef CONFIG_INTEL_IOMMU obj-$(CONFIG_IRQ_REMAP) +=3D irq_remapping.o =2Dendif obj-$(CONFIG_INTEL_IOMMU_PERF_EVENTS) +=3D perfmon.o =2D-=20 2.48.1 =2D-=20 Rolf Eike Beer We are nominated for the embedded award Visit us at the embedded=20 world 2025 March 11th to 13th, 2025 | Nuremberg Find us in hall 4 at=20 booth 336 emlix GmbH Headquarters: Berliner Str. 12, 37073 G=C3=B6ttingen, Germany Phone +49 (0)551 30664-0, e-mail info@emlix.com District Court of G=C3=B6ttingen, Registry Number HR B 3160 Managing Directors: Heike Jordan, Dr. Uwe Kracke VAT ID No. DE 205 198 055 Office Berlin: Panoramastr. 1, 10178 Berlin, Germany Office Bonn: Bachstr. 6, 53115 Bonn, Germany http://www.emlix.com emlix - your embedded Linux partner