Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp30413707rwd; Thu, 6 Jul 2023 05:43:34 -0700 (PDT) X-Google-Smtp-Source: APBJJlGFnKXmXazjjGlTfsCwEEmjoI4/q6ATOJrJNSFPhdSPMfXfhoUO3qCuY2iRTzJaTcMuNa1+ X-Received: by 2002:a05:6a00:1acb:b0:64f:aea5:7b49 with SMTP id f11-20020a056a001acb00b0064faea57b49mr1569746pfv.17.1688647414018; Thu, 06 Jul 2023 05:43:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688647414; cv=none; d=google.com; s=arc-20160816; b=isKqQeVHM2frSGDFdVQoieXFY85zLAtGdpWXv6Czp1fiCTwI8eF9TeIkQ0UW5NNhEJ kDoTGd4NJKtwsMsYnPcD20hTAoup+Sj+3GfJ0S1KNJKm3dtSafo2fjU5EQ7fNe9+SQ65 VV0eLHkZ+iKuwU/QmlFk0nfusnb8y1Jb+gQ6tJQLbLaZrw4MoO9lzitifmKTeoLxNgUc ELPFHQ5kFoYqui1qXcj+3Qhzex4ZG7PfeQDf7ZdfNYNlj/InUFUfIf4AWP7U//sqB91K 3H9BttCNLd7VGn+rIPiDkHdUuvqGI9uh2LS2pqk820sjwIMCM271KSWRRjsU3o64q3bh fHng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=d2uArrrdyqzC3RE2DVSv1W8eDe4OUxqRgOlAJpvEdUw=; fh=UhwYX6sJ1DJGCONPa1eVek1jdmtQJJWw7DRr7DdS12c=; b=Zgkl9SVvoiG+poppSgCuFV9lpQW51uV+EOVxpAg+57xqnsMtPzFdVGdCdJqmpPYlj2 3vQH2iC4o0c4SG17IwY5YICR6aX9g5VYS4Agv/HwiDkBrqvCR0Sd+3WQkBlbocLD1IZA qD0CiPEJvP1OOuwO3bwkYY/65m9MQ2rfnRycUMJSmM0sSK+130w7nU0edZRpl/tRbqH2 O3/l/Lcm49K9nkIInQqnrWWGQVDG0L+hFpuKT0RLhmzv5OHoRLLIIcoCeO85TeawEuqU Oc0pf7L0qFCXnAVQWUnDJdiIHah4L3H0vLUEui79CaMAkP6wF3M4STpdpnytY2Peh4CX hs/w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=AC6iTwZb; 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 d15-20020a63d70f000000b005533f27a25csi1286528pgg.511.2023.07.06.05.43.19; Thu, 06 Jul 2023 05:43:33 -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=@kernel.org header.s=k20201202 header.b=AC6iTwZb; 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 S231169AbjGFMeB (ORCPT + 99 others); Thu, 6 Jul 2023 08:34:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40694 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231712AbjGFMds (ORCPT ); Thu, 6 Jul 2023 08:33:48 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D95C1BEA for ; Thu, 6 Jul 2023 05:33:47 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id C9818618EB for ; Thu, 6 Jul 2023 12:33:46 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DF2A6C433C8; Thu, 6 Jul 2023 12:33:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688646826; bh=j3Bj1sSsS6/rr623KKWCqgGRCT39zzClBMwB4l36CAs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=AC6iTwZbjWGrAJMvOynJCL/srgn4a2AzvqKPHWv3m+iu3rtfiroBdfVpGciZKczav HZTqDgXTa5JjddDN0THlD3FcQ6bGSBYX40IEeVCMc9XTMiprF54YRj4yoUztq7jTuk wyzLaqA9fMZeyKnYG3IZ1FONVUiuDXldvsPjoaQ5kVCSUmzMSzMOZkYjH7uCnBEnqq ECxUOJZ5K+Y3ooRICbqk9Rg83IZ/DY5DvVNo0rD44FXax0O6tIkApcSAnJSKVJUFbh LuhKchKf7hoCg62keSeUxa/4wYrEQPJlS/bzQaAR5wQ9y1LhPwI8z2Uei0UVCvlLSw Mw7q1Sydr3YnA== Date: Thu, 6 Jul 2023 13:33:40 +0100 From: Mark Brown To: Geert Uytterhoeven Cc: Greg Kroah-Hartman , "Rafael J . Wysocki" , Lee Jones , Liam Girdwood , Jaroslav Kysela , Takashi Iwai , Benjamin Gray , Christophe Leroy , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] regmap: Replace "default y if" by select Message-ID: References: <525c37a568b10623ffb2d108850afd7e37f9350e.1688643442.git.geert@linux-m68k.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8w2QbIDms0NhgMtB" Content-Disposition: inline In-Reply-To: <525c37a568b10623ffb2d108850afd7e37f9350e.1688643442.git.geert@linux-m68k.org> X-Cookie: Don't read everything you believe. X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 --8w2QbIDms0NhgMtB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jul 06, 2023 at 01:42:02PM +0200, Geert Uytterhoeven wrote: > Merely setting the default to enabled is no guarantee that a Kconfig > option is actually enabled. While this works for an invisible option, > the user can still disable it manually if the option is visible. > Hence since the REGMAP option was made visible if KUNIT_ALL_TESTS is > enabled, the user can now manually disable REGMAP, causing build > failures if any of the REGMAP_* configuration options are enabled. >=20 > Fix this by replacing "default y if ..." by individual "select REGMAP" > statements for all users. I already have a separate patch which will go after the merge window that will move the KUnit visible option to a separate Kconfig since the current bodge to work around your desire to not have KUnit enable anything automatically had really substantial usability issues anyway. I'm getting fed up with all the problems that these KUNIT_ALL_TESTS issues TBH, the inital patch here seriously damaged the usability. --8w2QbIDms0NhgMtB Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmSmtKAACgkQJNaLcl1U h9BgDwf/bxvria0yTNlFgcVB47sqjg89/9bKKZ4Z60b9HloA1Ex3l68CaUxnphFt 1BUIy+pcsYDj1ph5LfEPQCHTemXXgdVbfbUrWOzuD65KY1Bbmg7MVxhdODDf27UI RFGIRtKTgQQqDjJxbmbJ9j7nEp+zd+q5M7caDVioLGPk+kkll6SL+79blhqrAqUb KSjlJOQnFIqe32/IIvviffVEIJU2RvVPNvup83qdeGUVRdvaSzsVOubOgGJUOY3p 60fQaYz1ejTBpOwNicfFsvGGRGzgK47V/i2Yh8IB8dJ1LaqU+L+l4t0Spmw6qq3N Wlin1nMDR3ppHaJtZVCDELCSq2YPmQ== =iv0q -----END PGP SIGNATURE----- --8w2QbIDms0NhgMtB--