Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1017889rwb; Tue, 27 Sep 2022 07:27:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5vQ5n4KNmeK6K4Sopb/vShp3c8Lqu7gGO1y3EiE6yRjamiJUHbciqHvNgRSJP/GukCy9gs X-Received: by 2002:a17:906:4ac1:b0:780:3448:ff06 with SMTP id u1-20020a1709064ac100b007803448ff06mr23181316ejt.403.1664288847786; Tue, 27 Sep 2022 07:27:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664288847; cv=none; d=google.com; s=arc-20160816; b=yeEmU21e4O8YVJoAw7budX6miUWMgPXZRA8EznKO+y4OG0Uf9HFo2spPsChCY84kap uVoi/ieZeloTmQn+DV0TU5RJtuwR2LWoE708wMBZL+FVufHfjZiMT5RJx7REloNu6C4u sgZubo90ZxDD3K8wzii7KVjSiT8s5AJIrCX8qbgYbOd55HhrMN3mGkIqDcnkjHCuESh5 m9H1HO0d3uxqhtPlubl5Bn9IBQfMIpdfXpksW9wVq1PQrTONbVp8NRw5l2XkxilcbV1g iLw1EfoTdWTzD0OLxFD5ji2DX+ASCxR45l5li6ZGjv5dNxxsVidvYMv+heZFFMxJr3aZ Z9wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id; bh=90VmBKnGXw7fjzzAHc8qq9GDY3zVA6uNx2KbwO8LhZ0=; b=CI8/RsVR3H8e3zgswDHB83ur0qL95l8CTrq9Uwi/dZygi1XWoGk022wWezPZwBHScB LvRsXNPr/zST9QMH3x9FCpHznuuClYhDq5obhCXFMhqErTCjaLq4AxdPOOqR+fsxzJvj PRmn2QhwTxlxPZ/2HzHRPryAZoT+KXKv0SaEsdRzOH2uqKOrEuZrdK13ePn3MUTyqqqN 6gAldHeFx1Ki6+Ni+fziyV+VfgzpZcaZ3apfPsHEZvtH657sp1/21dV6PgBT4JwNhu54 KSa5MQIlg8q2VekXFpGNYiPa13ArQoumysYFBIRrRloDCXE+QbQ4RO9iVba1brJiqZqM Kvtw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ga26-20020a1709070c1a00b007417a74299fsi1974292ejc.773.2022.09.27.07.27.02; Tue, 27 Sep 2022 07:27:27 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=arm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231938AbiI0OPZ (ORCPT + 99 others); Tue, 27 Sep 2022 10:15:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46184 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231184AbiI0OPX (ORCPT ); Tue, 27 Sep 2022 10:15:23 -0400 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 0A3A0D33DA for ; Tue, 27 Sep 2022 07:15:17 -0700 (PDT) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 5935C1063; Tue, 27 Sep 2022 07:15:23 -0700 (PDT) Received: from [10.57.65.170] (unknown [10.57.65.170]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 57AD93F73B; Tue, 27 Sep 2022 07:15:15 -0700 (PDT) Message-ID: Date: Tue, 27 Sep 2022 15:15:06 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:102.0) Gecko/20100101 Thunderbird/102.3.0 Subject: Re: [PATCH] iommu/io-pgtable: Make IOMMU_IO_PGTABLE_DART invisible Content-Language: en-GB To: Geert Uytterhoeven , Joerg Roedel , Will Deacon , Sven Peter , Janne Grunau , Hector Martin Cc: iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org References: From: Robin Murphy In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 On 2022-09-27 14:36, Geert Uytterhoeven wrote: > 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? The aim was for formats to be independently selectable for COMPILE_TEST coverage. The Arm formats are manually selectable for the sake of their runtime self-tests, which are self-contained, but since DART format doesn't do anything by itself I'd agree there's no need to prompt when !COMPILE_TEST here. Thanks, Robin. > --- > 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