Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1300229rdb; Sun, 8 Oct 2023 00:55:03 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG3+Dn/SLr7QPZKwMU8jLEWZFo8eknR9y6FIQYuCadI6SMNK4B/xlLXzCfObVL101iRbQ5O X-Received: by 2002:a05:6a00:1956:b0:68c:1004:1feb with SMTP id s22-20020a056a00195600b0068c10041febmr14368851pfk.32.1696751702871; Sun, 08 Oct 2023 00:55:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696751702; cv=none; d=google.com; s=arc-20160816; b=HrkLmcvG3ryEa5+oclJFaS2VltjoY6Jt93neHeRD22fC65jt11BgDimlJGzGWbYmSu jwZmk1/bIKDHoiW7Ci3rsAuxAuhVTqAt3LWQYvF9FyNleCRJD7EDz7bhREADvSn6XwiZ 9zGp3CPWvVQB+mQBkQL7ShsoQEFZiSXKK9rih1k6Qhbb2dNBYevPds/gE1HXMzpvUunN aZw18c9O3qIzqvpTRR5UiHrnFjL4eyaGEU6fbJabykTkUE6yOtHphqrUEeLA6TTEVlHJ 267QkbHvNzc/Rt9WSX6CORIWUciG3Ehui5jYVxZGJQxOZ+L/b8I1jQeLOIYspksq/qp8 /uRg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :subject:cc:to:from:date; bh=quIoau/5CiLh4zJqsUQM7WxsbMoEnW2vsqO3wuiGIYI=; fh=hY3mSTuYxMRZS2K3jlAGv+qfdsubhcNe2ikn+6Ybag4=; b=m9UiUJ6ko0jx6GEMI7KcjmNeM06vPWTX7rBEK51OqKvRddAFP1EAZ3B/DjWZHa32NH fwRdCZQAa0DOiMrBPDcftgKSvj0eXUpBvZILGJh5Cr4X2RAXfLWRtFAXujqFak06Sphw RwPS7bV0RpI9ALGJAD0fYcsPDpGFUODnuiXk/Fhb2R0Ex2itvZarCZqviJbA5hy2sUS+ toqmCmk8e3xvgQrRGhbtcu7jpSMeWfcPExGc9NRq+HF+AnZBJjh/XYxAJyZ1++kPpo/i H523MH1Y21LmYk7OYi9vf3SPUaOvkiPgzzy/FZvcW2NFpRxwfwc1gf03zmZOrZURDhCN lLcA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id w28-20020a637b1c000000b0057c313b17bbsi7175065pgc.125.2023.10.08.00.55.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Oct 2023 00:55:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id B0AFB806E3F4; Sun, 8 Oct 2023 00:54:56 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230526AbjJHHgH (ORCPT + 52 others); Sun, 8 Oct 2023 03:36:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46414 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229441AbjJHHgG (ORCPT ); Sun, 8 Oct 2023 03:36:06 -0400 Received: from bues.ch (bues.ch [IPv6:2a01:138:9005::1:4]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E712B9; Sun, 8 Oct 2023 00:36:01 -0700 (PDT) Received: by bues.ch with esmtpsa (Exim 4.96) (envelope-from ) id 1qpOKS-0001K9-1j; Sun, 08 Oct 2023 09:35:55 +0200 Date: Sun, 8 Oct 2023 09:35:20 +0200 From: Michael =?UTF-8?B?QsO8c2No?= To: Randy Dunlap Cc: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org Subject: Re: [RFC PATCH] ssb: relax SSB_EMBEDDED dependencies Message-ID: <20231008093520.42ead15f@barney> In-Reply-To: <20231007182443.32300-1-rdunlap@infradead.org> References: <20231007182443.32300-1-rdunlap@infradead.org> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/9PIyIezhhAqouq34xqM7bjm"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Spam-Status: No, score=2.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_SBL_CSS,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 lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sun, 08 Oct 2023 00:54:56 -0700 (PDT) X-Spam-Level: ** --Sig_/9PIyIezhhAqouq34xqM7bjm Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Randy, thanks for the patch. On Sat, 7 Oct 2023 11:24:43 -0700 Randy Dunlap wrote: > This is a kconfig warning in a randconfig when CONFIG_PCI is not set: >=20 > WARNING: unmet direct dependencies detected for SSB_EMBEDDED > Depends on [n]: SSB [=3Dy] && SSB_DRIVER_MIPS [=3Dy] && > SSB_PCICORE_HOSTMODE [=3Dn] Selected by [y]: > - BCM47XX_SSB [=3Dy] && BCM47XX [=3Dy] >=20 > This is caused by arch/mips/bcm47xx/Kconfig's symbol BCM47XX_SSB > selecting SSB_EMBEDDED when CONFIG_PCI is not set. >=20 > This warning can be prevented by having SSB_EMBEDDED not depend on > SSB_PCICORE_HOSTMODE, although some parts of SSB use PCI. > diff -- a/drivers/ssb/Kconfig b/drivers/ssb/Kconfig > --- a/drivers/ssb/Kconfig > +++ b/drivers/ssb/Kconfig > @@ -134,7 +134,7 @@ config SSB_SFLASH > # Assumption: We are on embedded, if we compile the MIPS core. > config SSB_EMBEDDED > bool > - depends on SSB_DRIVER_MIPS && SSB_PCICORE_HOSTMODE > + depends on SSB_DRIVER_MIPS > default y > =20 > config SSB_DRIVER_EXTIF Could we instead make SSB_EMBEDDED depend on SSB_PCICORE_HOSTMODE if PCI!=3Dn. Wouldn't that also solve the problem? I don't fully remember how all this ssb config stuff works, but to me adding a PCICORE->PCI dependency sounds safer against build regressions in some other configurations. What do you think? --=20 Michael B=C3=BCsch https://bues.ch/ --Sig_/9PIyIezhhAqouq34xqM7bjm Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEihRzkKVZOnT2ipsS9TK+HZCNiw4FAmUiW7gACgkQ9TK+HZCN iw5kThAAzOTfIX882ys2ZC7uP4UJMeszEWOpPQX1XGO4FUkDALJyYIKHEmc3MV9N /lyLrIeH1X7DSpn8eo1UEQ6+wZYzR0uNUUrRNwponzQrp/TtzyEoW3eR54p/fZjA Rlc5hSd61FfAwF2rtWjyMuSV1Drsm2rg75I50xU60xL2U9WbkRHNpfI/dTfBiuNB POWxoCLF/YmsvRbix+CPHzMFO6fggTLLu1UrbnsHZp5PQqWEwxkfeT+UZBMZqjNC iJVxy0JHaT7Eh8GV1h2xE46+okLdBqTFtJre+Z5oebn7vNOROM6K/B9wGebCKfu4 7huGbxMl0oUr8FhNOgD544arI/l9cC3WmYQ0PXBFrveGdmfukUECOOIcTtRN9TQr yRhPOZSZNvgUKFZI4lRR8OEtNOcOjsVE2aAGdMgfYbgpSZJDELmwSjkx4yCAgZ7q GWnHCa6WbW1C9bNcwpt2eV1+Uyy8eU7IoUg5CZCwD6y0UriYD40DGNkpYQLfVwEL 9qc6RJh7ujook92qZlhUkdfUF34WbfGo/GxVgnCvteHwcnG3Ahh2se5T+tyPQm5u 5BIy2pPOGf+9SP0oGKtqrOtyUwdD/11R1q2qx84fhrYdh+FZf/vLVCDZAcMqUzfv 66xUwPleihuTxNxxFYZclRlvq6a48tWQC4kchMXeOMUcjEDv6PA= =LKqz -----END PGP SIGNATURE----- --Sig_/9PIyIezhhAqouq34xqM7bjm--