Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp968335rwb; Tue, 27 Sep 2022 06:55:38 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5LW5O55icQ9a2dppCADLCd7SF6GxlcEyXTc29si2bGRXuBKJKCa334/BOeFs5KFgpJ96s4 X-Received: by 2002:a17:902:f710:b0:178:a692:b1f7 with SMTP id h16-20020a170902f71000b00178a692b1f7mr27596293plo.112.1664286938132; Tue, 27 Sep 2022 06:55:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664286938; cv=none; d=google.com; s=arc-20160816; b=nIs/1B692Mo04yHxoMWfPMQAM+Qe3rPsu7GP6pPqQwugCaYraNt19B47QuMdCCMn0v MxWTCpg5F57h8PucaXd2LkZAxi0bYeoI0mDnVth1LAYgmqLC1uWhbsipAc1gANw5ZkMg jFw2F6s1giVoH3LOTxQ9atM6BYuzuIH0hb8I3PEVRTiVaxoKhEqCuxEgu1DBnx0Owklq ltBPpN+BI4FupQR78PVgaV0RV6C9W5OOMacTroODTk1SiMVqDDMMN3gz3QZhrfGQ/DWJ 6axeL2uTfJwvAONUmtfTGImKHqtnUzaB4IWUFRwfXtLwKFLn45usgry3sva2Pu3xRBbO BiTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=kKiEFWMOHBTS7SfQmegZwpWXGn9YmE9Is73iIlJJzuc=; b=ZLVFKiZr85r3GTGJviuAldqu6VraCvF0lQGvdMEm2hBOZ0SptXj2IlJU2Wv9CR+XeH hoEpO7HO0EWOJKPzyCEWQQXcydWGFvs4877jT4mXPZLRtQ+A9XBkK5iQ5EwfmeONF/Pw SOxCNQeT5VBgCe80Jk6vtMHfpgxu2OYtIjC5/Rul+f9ZLmBAJ0diTUcqMI/syuvkoew0 HuDMQbjJJBViHh3/eEW/wyl11/ObU8S3EN81gT70dkups+9ahdb9wMAE8nkWy2tifkN8 s6l64GvY20ML48x5SeW83kgpPp6KeZd61oB5Lb0GfhnYSswxBvykhBYf/VNE8GLL3syy ZXfg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o20-20020a635d54000000b0043980f3cf36si2217533pgm.602.2022.09.27.06.55.25; Tue, 27 Sep 2022 06:55:38 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232535AbiI0NgN (ORCPT + 99 others); Tue, 27 Sep 2022 09:36:13 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33078 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231827AbiI0NgH (ORCPT ); Tue, 27 Sep 2022 09:36:07 -0400 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6FC0E41983 for ; Tue, 27 Sep 2022 06:36:05 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed50:d95b:5c9b:4085:7c0d]) by michel.telenet-ops.be with bizsmtp id R1c3280073Qogd1061c30a; Tue, 27 Sep 2022 15:36:04 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1odAkk-006Qe5-HN; Tue, 27 Sep 2022 15:36:02 +0200 Received: from geert by rox.of.borg with local (Exim 4.93) (envelope-from ) id 1odAkj-000vhD-Vn; Tue, 27 Sep 2022 15:36:02 +0200 From: Geert Uytterhoeven To: Joerg Roedel , Will Deacon , Robin Murphy , Sven Peter , Janne Grunau , Hector Martin Cc: iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] iommu/io-pgtable: Make IOMMU_IO_PGTABLE_DART invisible Date: Tue, 27 Sep 2022 15:36:01 +0200 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE 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 There is no point in asking the user about both "Apple DART Formats" and "Apple DART IOMMU Support", as the former is useless without the latter, and the latter auto-selects the former. Fixes: 745ef1092bcfcf3b ("iommu/io-pgtable: Move Apple DART support to its own file") Signed-off-by: Geert Uytterhoeven --- Should IOMMU_IO_PGTABLE_LPAE and IOMMU_IO_PGTABLE_ARMV7S be made invisible, too? Are there users that do not select them? --- drivers/iommu/Kconfig | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/drivers/iommu/Kconfig b/drivers/iommu/Kconfig index dc5f7a156ff5ec73..f1affca6022e0a54 100644 --- a/drivers/iommu/Kconfig +++ b/drivers/iommu/Kconfig @@ -68,16 +68,13 @@ config IOMMU_IO_PGTABLE_ARMV7S_SELFTEST If unsure, say N here. config IOMMU_IO_PGTABLE_DART - bool "Apple DART Formats" + bool select IOMMU_IO_PGTABLE - depends on ARM64 || (COMPILE_TEST && !GENERIC_ATOMIC64) help Enable support for the Apple DART pagetable formats. These include the t8020 and t6000/t8110 DART formats used in Apple M1/M2 family SoCs. - If unsure, say N here. - endmenu config IOMMU_DEBUGFS -- 2.25.1