Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp1422650rdb; Sun, 8 Oct 2023 07:09:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFEH2zd3XOo1wvvsdC65e7rbl7odisV5WW1hCvEzbtdEiRxtOclUPCoAq8BeFOVY8Tf1WKU X-Received: by 2002:a05:6358:4414:b0:15a:e6ac:ee5d with SMTP id z20-20020a056358441400b0015ae6acee5dmr13202986rwc.17.1696774142383; Sun, 08 Oct 2023 07:09:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696774142; cv=none; d=google.com; s=arc-20160816; b=jdSqP69J5rl+ZB4fGKbHCWBmHeagUVkQg7K+GqePzagqj69Xc/SF2g3n1c0gm0L1U6 9Vc0KpqTcxmx+HwZJQUm3HoWwaaRMvYe0KipPc8ZeUcsMj1kUVZrN5plXiVAMKvlInXP 1wHbejaDX9PYPTNdcGBlLgh8W+yRA5LsdSn4+bXucXP3v/BV+WKAtvQLw++ntFav3mLt 7ka4NaftK3taTVEQumzO4OE2Nnr6eLarM1aduDLHaX6qaIpbb17tMPolJrQS5PmRgcKS OTN3KuJS7HvcTMgvL77iNYhmVlYaNL4vIbaD0UHe50Mq22cFkNdSgpx3mYdS7Txt4lOX xodA== 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:dkim-signature; bh=wmFHnrq2vm7ZZb21NIE4ZIne9K2JfxgkcpFShgCSvo8=; fh=Ia8YtK0D7sYqu0kBUHEC9vSQPPKAVfNt3EL5nhvRpkg=; b=ZJ7S4ty9e7eDGhM0skSYMf5r0dkhIVm8yPOfZhkGv7eJStTe0HcivkpLU+PYTCcmPM 4wlGj74JhkRhWDxzLHMbjftSZ4JNuA+/3cMCZ4gDwCUVj22iIh/DIlC/rtlBsSxcYoKw hhAbUfF7pORt1Vf82H5xIk8ozKErjOPvrrNE8xcqwGqDrFiEsV4y4zSW4NOdNGnERl4K P8gfpkKfGuB15NB/MmO/7t4lM+zbDw7s/Kdf/oZcuJUgH11iw6JFVAHQGbMpTZzsfmWl huJbQWVUUD1QA3IDows0qn5X9WdBCIn70b53vOuTtTuvPtI56tfltLvCbkHVhrgNCISZ GhmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="WycHbR/P"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id bk13-20020a056a02028d00b0058988dc95cfsi5775218pgb.463.2023.10.08.07.09.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 Oct 2023 07:09:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b="WycHbR/P"; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 6E4F180527E3; Sun, 8 Oct 2023 07:09:01 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344871AbjJHOIu (ORCPT + 52 others); Sun, 8 Oct 2023 10:08:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344849AbjJHOIt (ORCPT ); Sun, 8 Oct 2023 10:08:49 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB984A4; Sun, 8 Oct 2023 07:08:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Sender:Reply-To:Content-ID:Content-Description; bh=wmFHnrq2vm7ZZb21NIE4ZIne9K2JfxgkcpFShgCSvo8=; b=WycHbR/PvR1N4lh9e1WrGNTVGZ LVDkRSsUe+dkZW6HlP4gFQy8kP4iI/TwDkj09DG+Iv/LgOvb4hc22pqpU+PP8peNW44pxLvBynIfA WaEYY7iQGVn12vgNGKAVn+wvMRnd5gFkNE/l2CCzm0Bpwq5ciN8cLI5SJAGIsiP7jhFjmuM0+lek4 ayfD5K82/4VgQkbemkvCeeei5Wbby039dkaqUAnjJi93HNOxh72kgsFSTJxRnLZ7JYEZd9dEurOWI 1SaIXJ25mvP6kt3k4hMYsZaGxvIrHObcr14xmi6cHNwv1WZWPjoJO4MfYefRAsCtIQMdtTu1lpHAT C7nxWzQQ==; Received: from [50.53.46.231] (helo=[192.168.254.15]) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qpUSd-008vvc-2S; Sun, 08 Oct 2023 14:08:47 +0000 Message-ID: <22bc05d3-86e9-4cf6-aec6-10d11df1acc3@infradead.org> Date: Sun, 8 Oct 2023 07:08:47 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC PATCH] ssb: relax SSB_EMBEDDED dependencies Content-Language: en-US To: =?UTF-8?Q?Michael_B=C3=BCsch?= Cc: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org References: <20231007182443.32300-1-rdunlap@infradead.org> <20231008093520.42ead15f@barney> From: Randy Dunlap In-Reply-To: <20231008093520.42ead15f@barney> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_BLOCKED, 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-wireless@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 08 Oct 2023 07:09:01 -0700 (PDT) On 10/8/23 00:35, Michael Büsch wrote: > 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: >> >> WARNING: unmet direct dependencies detected for SSB_EMBEDDED >> Depends on [n]: SSB [=y] && SSB_DRIVER_MIPS [=y] && >> SSB_PCICORE_HOSTMODE [=n] Selected by [y]: >> - BCM47XX_SSB [=y] && BCM47XX [=y] >> >> This is caused by arch/mips/bcm47xx/Kconfig's symbol BCM47XX_SSB >> selecting SSB_EMBEDDED when CONFIG_PCI is not set. >> >> 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 >> >> config SSB_DRIVER_EXTIF > > Could we instead make SSB_EMBEDDED depend on SSB_PCICORE_HOSTMODE if > PCI!=n. 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? I'll test it some and see how it works out. Thanks. -- ~Randy