Received: by 2002:a05:6358:489b:b0:bb:da1:e618 with SMTP id x27csp1568878rwn; Thu, 8 Sep 2022 23:53:08 -0700 (PDT) X-Google-Smtp-Source: AA6agR6TOXHCL6LVdarKXdezOLow/rz6sm4VHNk0K1qKd0LNeIg3pQdUN6QyoAJ3hD2RcWniRJfU X-Received: by 2002:a05:651c:2105:b0:25a:42ee:49ae with SMTP id a5-20020a05651c210500b0025a42ee49aemr3489108ljq.200.1662706387958; Thu, 08 Sep 2022 23:53:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1662706387; cv=none; d=google.com; s=arc-20160816; b=T9Q+BR94dgg6VQfEMHEU8158pWF0azIKME3C/tgrSyNg8Y/DbCOSLQc9Qw4oOebyuz Yu5lSvYeazOrLrtcj6+emjj9Jm8nKTpE0ruDW+Q27aYk32Px0v1lMiavp8dUNC7yAz+y NrpHHkKqP3v1pqRpDG9mOZY31r+9YCODJz2Yqz3F0cRVIAqx5UiQfCqIxDp0HCXXEYlp aZ5DSsnw3xArfjZLegBKVpK3WKgDuYzdha6F4tqXknJnG5ErEfhFJFvZt9wvo1ah+zKp g83aHOOsD2249T9HRv8NHeE067jZgWEqeOx5shG18QYr5LDWLUbz1UwBsJ0NwxzQCipx LKcg== 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:dkim-signature:dkim-filter; bh=EC6SilsAEK+rN2ggVzG9YNR83SYMtw1PO6ELBTyPU4s=; b=ggwDm7PqeIk/XDyhln199zbtLOBHk3nxZ7xPU8eLEed7ke0wUMDrZQmc3PEEgsgY9Z fZWJZzW+adI5DvnVGB41phU1wfx544zV5ie+oalHJ/9u5mwogeY/eHPPWNSNrzCiHJJx SzCsg8GxXB7N/Nf81uWg1ExQW0gJAB7zoHbc1MMNpfuZPhuYGAW03xiUwrHkrsSx8FF5 cZVa8WHaKVawYaMvA3bVMpUjk3i5Hf3eHy6h3BjgJEjHJEfGqi88aXtJ9lLDZ3t/iUv6 CfGWUkIrqHIuAd9wzwavpZ6/RYclA/HLqjsg1GTeVy7bZD4OtJ2pK9iHQd0FDSJJVrRK oF2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Z4Iq+sGO; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h2-20020a2e3a02000000b0026ad31757dcsi476953lja.112.2022.09.08.23.52.38; Thu, 08 Sep 2022 23:53:07 -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; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=Z4Iq+sGO; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230508AbiIIG3s (ORCPT + 99 others); Fri, 9 Sep 2022 02:29:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52558 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230439AbiIIG3p (ORCPT ); Fri, 9 Sep 2022 02:29:45 -0400 Received: from condef-04.nifty.com (condef-04.nifty.com [202.248.20.69]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 792F625C4B; Thu, 8 Sep 2022 23:29:40 -0700 (PDT) Received: from conssluserg-05.nifty.com ([10.126.8.84])by condef-04.nifty.com with ESMTP id 2896NOpK024120; Fri, 9 Sep 2022 15:23:24 +0900 Received: from mail-oa1-f46.google.com (mail-oa1-f46.google.com [209.85.160.46]) (authenticated) by conssluserg-05.nifty.com with ESMTP id 2896N4Kd026323; Fri, 9 Sep 2022 15:23:05 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 2896N4Kd026323 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1662704586; bh=EC6SilsAEK+rN2ggVzG9YNR83SYMtw1PO6ELBTyPU4s=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Z4Iq+sGOHFUbQ0/UZ6nR1ateoXI8KCtspaH8rRWbxDnsNZ6RR/Gt1hExbWQp+fZIk qP/FNEda9rCf+QN7lYnqQn2H65WYwXoQJEUn/llRp7+WEhcI9U7MPsr7tA6uiNnunc /BE4TrWOH+Pql+oAsPouunJxvcDbA3r1sKe9FcEW5qFPGl2h1LM5rByLAGBhT/lJUr cDIYNDy5EmpyyY2mwvHUWZ583ylgzx36N4FuM/+Dit/tcyOWnxlqS66/KYjsjkB01B GQ2rsEzHFQutLYgpP9O+8WuCsoYcxVSiPWP2nKpw+LO5O7J30JphjDaPss0zVPkXF6 Kp7aYsgIqHcyQ== X-Nifty-SrcIP: [209.85.160.46] Received: by mail-oa1-f46.google.com with SMTP id 586e51a60fabf-1280590722dso1563920fac.1; Thu, 08 Sep 2022 23:23:05 -0700 (PDT) X-Gm-Message-State: ACgBeo3ALP6yWJODm0PjJTELDrwfddYnW9q51u8e6euEqzO6jK82wHli 9+5sJtyqInUGW1DM74Evxm/OTCwPJxh6TIANNI4= X-Received: by 2002:a05:6870:c58b:b0:10b:d21d:ad5e with SMTP id ba11-20020a056870c58b00b0010bd21dad5emr3919876oab.287.1662704584434; Thu, 08 Sep 2022 23:23:04 -0700 (PDT) MIME-Version: 1.0 References: <20220908104337.11940-1-lukas.bulwahn@gmail.com> <20220908104337.11940-5-lukas.bulwahn@gmail.com> In-Reply-To: From: Masahiro Yamada Date: Fri, 9 Sep 2022 15:22:28 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 4/6] usb: chipidea: make configs for glue drivers visible with EXPERT To: Greg Kroah-Hartman Cc: Lukas Bulwahn , Russell King , linux-arm-kernel , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , X86 ML , Mauro Carvalho Chehab , Linux Media Mailing List , Peter Chen , linux-usb , Andrew Morton , Mike Rapoport , Linux Memory Management List , Linux Kbuild mailing list , kernel-janitors@vger.kernel.org, Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL, T_SCC_BODY_TEXT_LINE 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 On Thu, Sep 8, 2022 at 8:33 PM Greg Kroah-Hartman wrote: > > On Thu, Sep 08, 2022 at 12:43:35PM +0200, Lukas Bulwahn wrote: > > Commit 6a108a14fa35 ("kconfig: rename CONFIG_EMBEDDED to CONFIG_EXPERT") > > introduces CONFIG_EXPERT to carry the previous intent of CONFIG_EMBEDDED > > and just gives that intent a much better name. That has been clearly a good > > and long overdue renaming, and it is clearly an improvement to the kernel > > build configuration that has shown to help managing the kernel build > > configuration in the last decade. > > > > However, rather than bravely and radically just deleting CONFIG_EMBEDDED, > > this commit gives CONFIG_EMBEDDED a new intended semantics, but keeps it > > open for future contributors to implement that intended semantics: > > > > A new CONFIG_EMBEDDED option is added that automatically selects > > CONFIG_EXPERT when enabled and can be used in the future to isolate > > options that should only be considered for embedded systems (RISC > > architectures, SLOB, etc). > > > > Since then, this CONFIG_EMBEDDED implicitly had two purposes: > > > > - It can make even more options visible beyond what CONFIG_EXPERT makes > > visible. In other words, it may introduce another level of enabling the > > visibility of configuration options: always visible, visible with > > CONFIG_EXPERT and visible with CONFIG_EMBEDDED. > > > > - Set certain default values of some configurations differently, > > following the assumption that configuring a kernel build for an > > embedded system generally starts with a different set of default values > > compared to kernel builds for all other kind of systems. > > > > Considering the first purpose, at the point in time where CONFIG_EMBEDDED > > was renamed to CONFIG_EXPERT, CONFIG_EXPERT already made 130 more options > > become visible throughout all different menus for the kernel configuration. > > Over the last decade, this has gradually increased, so that currently, with > > CONFIG_EXPERT, roughly 170 more options become visible throughout all > > different menus for the kernel configuration. In comparison, currently with > > CONFIG_EMBEDDED enabled, just seven more options are visible, one in x86, > > one in arm, and five for the ChipIdea Highspeed Dual Role Controller. > > > > As the numbers suggest, these two levels of enabling the visibility of even > > more configuration options---beyond what CONFIG_EXPERT enables---never > > evolved to a good solution in the last decade. In other words, this > > additional level of visibility of configuration option with CONFIG_EMBEDDED > > compared to CONFIG_EXPERT has since its introduction never become really > > valuable. It requires quite some investigation to actually understand what > > is additionally visible and it does not differ significantly in complexity > > compared to just enabling CONFIG_EXPERT. This CONFIG_EMBEDDED---or any > > other config to show more detailed options beyond CONFIG_EXPERT---is > > unlikely to be valuable unless somebody puts significant effort in > > identifying how such visibility options can be properly split and creating > > clear criteria, when some config option is visible with CONFIG_EXPERT and > > when some config option is visible only with some further option enabled > > beyond CONFIG_EXPERT, such as CONFIG_EMBEDDED attempted to do. For now, it > > is much more reasonable to simply make those additional seven options that > > visible with CONFIG_EMBEDDED, visible with CONFIG_EXPERT, and then remove > > CONFIG_EMBEDDED. If anyone spends significant effort in structuring the > > visibility of config options, they may re-introduce suitable new config > > options simply as they see fit. > > > > Make the configs for usb chipidea glue drivers visible when CONFIG_EXPERT > > is enabled. > > > > Signed-off-by: Lukas Bulwahn > > --- > > drivers/usb/chipidea/Kconfig | 10 +++++----- > > 1 file changed, 5 insertions(+), 5 deletions(-) > > Now queued up in my USB tree, thanks. > > greg k-h Reviewed-by: Masahiro Yamada -- Best Regards Masahiro Yamada