Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1064747rwb; Tue, 27 Sep 2022 08:02:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4q38JvVyEbHHuaw49UNOEy+c6ovx1ZVr90U46UBg39XKHjecnK1LnIix+WlzagMQTtdx7f X-Received: by 2002:a17:907:1c08:b0:782:a340:56d7 with SMTP id nc8-20020a1709071c0800b00782a34056d7mr18347296ejc.98.1664290924386; Tue, 27 Sep 2022 08:02:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664290924; cv=none; d=google.com; s=arc-20160816; b=hQRI/UrlkbSXJ29KoXbR7ODeeyD1VZV1BwTL9TukJaWPPrDo/7SpOOu2F5IY+7yzp0 NM8MPS2ns5h8hrKnOAK+ctgr1l0WEtxz7Z/DePQtqSawaoBwdZ7Das3mN/a3/Mi48SXs S9tm87duuIeIYogTzE5MBRR3xA6V9sSy7UtYM2boD3GUaw7u0SN4/saIFWzvAdVaG2Lw g3ApoX+bomKKmBXGdJb7QvKCklIOJWkwn4JilKM51b54zIp333uUW2OxvbqP752nKXkm ZFC9uRLCwo/l1YB7w8bFS5IKRtM9Rpgx5Kj+8EUulr7DvXzO+gnv9DRH6SzIzCAU53EJ n9mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version; bh=sIkic6SUoveiF5m/KjLf8xeEdyIptPVHhr889tOMLnU=; b=aLuhw4MCOmiMoELBR6gyU3fEcs2MZOJG0rluuisQZ4nwSE+rQ024XyEwPN4gqM+zsZ yEKd/Nz6LpBi5FrF9DGZhmtQAAVq34dUn2eKin0qHJd1Q43T2+W7MbuPfhDiXIDfCzZ2 FDx87BytiwFYlWH/40oc/IfhRp/wMP3suVoXceyZaNs0lskpUs9+4kXScVS8VlG0pLC6 sFyDMIjrvDKaWVooamY1itwizWgNQcbQBqHapc7cCRCnbKQ/NvTIuDqBKbOXNcbaY7sP xfHjrj0rSeAEAb6tfV/2wCRcgG1JDld1FaLT+KNFfBGDpb4dq13ICGFxOvpnHvGmBekC 76Og== 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 c14-20020a05640227ce00b00451747ba5f4si2079524ede.505.2022.09.27.08.01.37; Tue, 27 Sep 2022 08:02:04 -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 S232366AbiI0OvM (ORCPT + 99 others); Tue, 27 Sep 2022 10:51:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233204AbiI0OuR (ORCPT ); Tue, 27 Sep 2022 10:50:17 -0400 Received: from mail-qk1-f169.google.com (mail-qk1-f169.google.com [209.85.222.169]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C9BA3BC3E for ; Tue, 27 Sep 2022 07:48:41 -0700 (PDT) Received: by mail-qk1-f169.google.com with SMTP id g2so6171444qkk.1 for ; Tue, 27 Sep 2022 07:48:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=sIkic6SUoveiF5m/KjLf8xeEdyIptPVHhr889tOMLnU=; b=nYzOcKx3EJuyAfJ9aDUTKc7o3DLunj3aAejfVjB0X73KAdvT3KafO//JxCjPR8ufRT MayerniMjK2tqrlBl9VY6HP+t9/hw05OI83yQIpwAr0UIhuWevST1fd0RiHB+ZVWwJ6L 3PoyAiELEARRMn7w7sXGb5yqQjJJixxrEV5OUj98FnhM80XGIDZuLEZS0sOGxhKatOp1 i6mIPxLG0Wh7At3ImvI+LdY5s+myK3pGHhLf6jBaWNAkw7fuFz2bcocQcrDeiSlLaiih BO85ML5Y9852c49Swi7/N+JaJLrLe8rMMaLv5f2KhfI415rlLWYxFAMTcRL4CoOc8Azy kdgA== X-Gm-Message-State: ACrzQf2KuCc8aZAg4Y4xD5ySpRv926nnBeyel/ctUJZQM969HHgjobUc WGT1MFy+nePFDthfKiTgvZKTXq6RQxa1VA== X-Received: by 2002:a37:8a87:0:b0:6cf:3ee4:56e0 with SMTP id m129-20020a378a87000000b006cf3ee456e0mr17640225qkd.200.1664290120685; Tue, 27 Sep 2022 07:48:40 -0700 (PDT) Received: from mail-yw1-f180.google.com (mail-yw1-f180.google.com. [209.85.128.180]) by smtp.gmail.com with ESMTPSA id w23-20020a05620a0e9700b006b60d5a7205sm1105363qkm.51.2022.09.27.07.48.39 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Sep 2022 07:48:39 -0700 (PDT) Received: by mail-yw1-f180.google.com with SMTP id 00721157ae682-3457bc84d53so103180717b3.0 for ; Tue, 27 Sep 2022 07:48:39 -0700 (PDT) X-Received: by 2002:a81:758a:0:b0:345:450b:6668 with SMTP id q132-20020a81758a000000b00345450b6668mr24868987ywc.316.1664290119137; Tue, 27 Sep 2022 07:48:39 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Geert Uytterhoeven Date: Tue, 27 Sep 2022 16:48:27 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] iommu/io-pgtable: Make IOMMU_IO_PGTABLE_DART invisible To: Robin Murphy Cc: Geert Uytterhoeven , Joerg Roedel , Will Deacon , Sven Peter , Janne Grunau , Hector Martin , iommu@lists.linux.dev, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Hi Robin, On Tue, Sep 27, 2022 at 4:15 PM Robin Murphy wrote: > 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. IOMMU_IO_PGTABLE_LPAE and IOMMU_IO_PGTABLE_ARMV7S are selected by other symbols that can be enabled when compile-testing, so the tests can still be enabled in those cases, too Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds