Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp16376pxb; Tue, 12 Jan 2021 18:35:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJwzUkWO6Betg2Ux0Q+heqyRiVgGRgM+cvmovhNrBe10GYkC0J58JPkxLGneCl3mvTDLmMkG X-Received: by 2002:a05:6402:4382:: with SMTP id o2mr1704981edc.371.1610505302823; Tue, 12 Jan 2021 18:35:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610505302; cv=none; d=google.com; s=arc-20160816; b=TfK+IhpvxCn9BSOhMQvzdponeGYi2rQ+ty5l3aaVh/ZTwI0/iTGtz2DyTK+XpKYSSH myACFZVDdX7HXTh0QSQj0GTTv6fMRhRoV9yqOeBdK9Y8ecjgFOtsC2yx/ryOnb73f4Au Z4BFZEHy1lCbqmmKOSWGfySVDQpVnE2FpryB1xwejfQzEggRNc9pnluh8qYH4q0MeDt8 EbzyyWEj5RMO2jedl9hszk+bjVtVl/JGuJWmJZLGdaH38BOb7B4yjHK3k1yXpbEj/gdX D1gT+rZpO6G6p1FuTpTCN7ED9DNFenHdjqAUNYCr9va+Ro6Cm1EMHRLyKjQa/p1N4Bts uY4A== 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; bh=go9xCNDjLcmVIRsn3DKSunso+RDy6gtA3N/k5O7xbaY=; b=EDjoJ9km7FXAXYcJ+VbBCaj2HuqHf6CxKYrE2IDBc3gVUmQHteMj0CTrOSv+Z7ycM7 QL6o/sRxUzRGdQKOpyi3fyIWxBolFyl+XCVcRDFtz36TkbIgVVChjN3jjU3LagEjL3r5 jR8giIxSbwggw33a18VfWlELRy+DM8uvmsgFDpwmbXFMDXLuScHMKVeH0ZB4372qvFCb bTyf0VxQc46WG2kWt2GMHJ/a+Jfh7xxHj7bFBNCLtZLQeJC6MwL3VVnVXsTAKWMpcEMC 68U+BF187KpGCp5ouTxnzUaNHtjWlN74I7ewb0BCNLUmwEPEK8zhJrCLKzL+0DrHG/yb yFIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NECVjxVo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h8si264716ejf.491.2021.01.12.18.34.39; Tue, 12 Jan 2021 18:35:02 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NECVjxVo; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S2437588AbhALVeb (ORCPT + 99 others); Tue, 12 Jan 2021 16:34:31 -0500 Received: from mail.kernel.org ([198.145.29.99]:36134 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2436954AbhALUch (ORCPT ); Tue, 12 Jan 2021 15:32:37 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id E53EB23120 for ; Tue, 12 Jan 2021 20:31:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1610483517; bh=GY2dA0tnQaLR9kEC3NT4xt1yRQpDneTbZbrAIKrMDus=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=NECVjxVoRln3d4p1r5Ulst7EhYowHP8qioQf/sAQDaOxnilA1DmINtX3aRy0F6gG1 Irc41z9hx6ObGoAEx03mWjl7VrIDzHgMJ6dgZsRQLqPbutbM9LH1er+Wmb4YQ+Jaqy yasUDIprrPZebVSs8YRhihGkJCasksBWNrqM0HR0lk353Ux40ffjjqYJHaEEuPgVrQ kXYFG6rxaEKJsf7DusfkIZ3wuK9fFo20Jo/QqcUuAWVj99SxoJpLLlv1EwiUQpabni yXxwmaVTPFGobikiujLpi7njtrQkUEztji41fImb5SAGLnkDpn+uSD0I6rYf/pM7yY vmReBAbI6nmOQ== Received: by mail-oi1-f172.google.com with SMTP id s2so3760838oij.2 for ; Tue, 12 Jan 2021 12:31:56 -0800 (PST) X-Gm-Message-State: AOAM531LVXE/TgZV3Y/9Xx1c2ZE6ddYiTVGhhwtv5hl29kjVztBkkqC8 GSLaH3B5ycEMenaZBVFeHD0GrzUC6u37XXTfnJ4= X-Received: by 2002:aca:44d:: with SMTP id 74mr629231oie.4.1610483516212; Tue, 12 Jan 2021 12:31:56 -0800 (PST) MIME-Version: 1.0 References: <20210105190808.613050-1-arnd@kernel.org> <59a36212-2412-2dd3-62f2-69c6f65312b1@linux.intel.com> In-Reply-To: From: Arnd Bergmann Date: Tue, 12 Jan 2021 21:31:40 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [Sound-open-firmware] [PATCH] ASoC: SOF: Intel: avoid reverse module dependency To: Pierre-Louis Bossart Cc: Takashi Iwai , ALSA Development Mailing List , Kai Vehmanen , Arnd Bergmann , "linux-kernel @ vger . kernel . org" , Takashi Iwai , YueHaibing , Liam Girdwood , Jaroslav Kysela , Mark Brown , Ranjani Sridharan , Daniel Baluta , sound-open-firmware@alsa-project.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 12, 2021 at 9:17 PM Pierre-Louis Bossart wrote: > > > >> Since this is going to be a really invasive change, and past > >> experience shows that mucking with Kconfigs will invariably raise a > >> number of broken corner cases, if there is support from > >> Mark/Takashi/Jaroslav on this idea, we should first test it in the SOF > >> tree so that we get a good test coverage and don't break too many eggs > >> in Mark's tree. We would also need to concurrently change our CI > >> scripts which are dependent on module names. > > > > I'm in favor of the way Arnd proposed. It's more straightforward and > > less code. > > Thanks Takashi for the feedback. > > Since yesterday I looked at another problem where we can have unmet > dependencies between SoundWire (m) and SOF (y), so we probably need to > rethink all this. We had similar issue with SOF and HDaudio before, it's > time to revisit all this. I think I ran into the same thing yesterday, and came up with a patch for that one as well. I think it should be independent of the other one but I did not try it by itself. I'll send it along with a fixed version of the one in this thread, together the have now survived a few hundred randconfig builds. Arnd