Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp349042rdb; Thu, 5 Oct 2023 07:44:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFty5T4xBeqwTGh6seu7e3yk7jw3XsnwnMvRv6QNjhPkpk4c425E+FnA8kuHdlKWZfHd2H7 X-Received: by 2002:a17:90b:3911:b0:276:d357:c4bd with SMTP id ob17-20020a17090b391100b00276d357c4bdmr5634201pjb.28.1696517094695; Thu, 05 Oct 2023 07:44:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696517094; cv=none; d=google.com; s=arc-20160816; b=UMYrbHCMeWB8+QIBXhjOYusYeCzv1MW2mcrvyxhTSz7vC3Wyz3lpNu+rLWt+VGhnVI Ml8lxCm2TaCMIehmlj9fFGBVuoqmf50/pLxOT4tRXKxHXYgHkV6wym66gZR3LRmFMbwH RYZ/W5mB27CHhmPfXQ1aToIQnJcfn4ACn68K8doQ85JVD+3cYoYTpemWbr4ya+klZyzQ Vir5KydsKffXVGnzPb8VCFMpF7izIfPeIHXJV7yr30D78sqDMHtQgeDNWoCtIWmU9YEh uS1QTgHmWcq6AOG3dWd+6L5kV4KP9yzcbCN+ICpwuqUXQdfAnhahUuhuoZoYCsKH/uih Ck/Q== 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 :content-language:references:cc:to:from:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=xI9D0u+yoYYsJdkIvSe8JXPBnwa/Nxxj0m/Q/hnHJoI=; fh=U37MjE98W9cyqji0HGUu4mTLQSamzTSSKSglMbyir/g=; b=kIgMlRQ2bOr8mRzJmn/fEPLUSj1M6nvLxm308MT6LhJaNs+3VSQmvrHzo57nybKGMC ecWSqoJGDeQ+oU/NZXOeeikAtIMmZTsKOgc50qfCmbkFpTgyq3/wm7CDHyr4hsIrjMsU 5cTHFGLDwY1glCmm5w13wCNvIvYYJOlTW/a87cRmFwBrhqXXFwVgYnfuTkaQxnmYDQ8n 3HLLYveV2mfwnnNVWKQnXSkzKF7DsZXU/hRwqn07amxXu3XAEQY9smRlI7oMBF9liCaE WByJ44AQ1GBfEcJ0MnbWZlUATrSSaBHe+lkIgktVbUZ/eiqGnw1E/s0j/1E3OlVaL2F/ SceQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lHxgyD75; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id ci18-20020a17090afc9200b002774c98054csi1718076pjb.116.2023.10.05.07.44.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 07:44:54 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=lHxgyD75; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id C483181EE3B3; Thu, 5 Oct 2023 07:44:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237614AbjJEOm4 (ORCPT + 99 others); Thu, 5 Oct 2023 10:42:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45830 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235150AbjJEOiK (ORCPT ); Thu, 5 Oct 2023 10:38:10 -0400 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 70A508A60; Thu, 5 Oct 2023 07:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1696514613; x=1728050613; h=message-id:date:mime-version:subject:from:to:cc: references:in-reply-to:content-transfer-encoding; bh=Q31/LRmUHPnliZEY/I/TLopH3gR0VgvYKU2xCR9wHdI=; b=lHxgyD75DyxfxW/IPUBZwq1e8wyGDpb5Nkd+TXjwWlDsFq+RqmeK2F3l PqpY45fys0ZcNX9kYesXh2XgLcjqrI0dwhV4Y74fZP3YvTreKwQNwdR+c 60ENcGGsA0SQ6Ax/EHpEzVMrZC6qEn+DwYaG+FJWJMWXWwduaYbMYMVjK yy/iC0HC4fG1rk4WZ8D2DsEh8zrx7iVLk6SdUpcEJBGI1SrCKRzfLIKTa jXmE/fzjlvLmeUpwfN9su19KDjSglFbO8y6S+PPs62IrfrAKJtcgaRQaa BHq9lyj5NTxe7qd/lCcX44Bhs/A7XTHPFWVTieJv5+M3oSk526yIxiVqw w==; X-IronPort-AV: E=McAfee;i="6600,9927,10853"; a="382347791" X-IronPort-AV: E=Sophos;i="6.03,203,1694761200"; d="scan'208";a="382347791" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2023 05:24:42 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10853"; a="822089057" X-IronPort-AV: E=Sophos;i="6.03,203,1694761200"; d="scan'208";a="822089057" Received: from akesselm-mobl.amr.corp.intel.com (HELO [10.212.122.181]) ([10.212.122.181]) by fmsmga004-auth.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 05 Oct 2023 05:24:40 -0700 Message-ID: Date: Thu, 5 Oct 2023 08:24:39 -0400 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] soundwire: fix initializing sysfs for same devices on different buses From: Pierre-Louis Bossart To: Mark Brown Cc: Greg Kroah-Hartman , Krzysztof Kozlowski , Vinod Koul , Bard Liao , Sanyog Kale , Philippe Ombredanne , Takashi Iwai , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Vijendar Mukunda , Mastan Katragadda References: <20231004130243.493617-1-krzysztof.kozlowski@linaro.org> <6628a5f6-ed22-4039-b5c2-2301c05c7e3e@linux.intel.com> <2023100453-perfected-palm-3503@gregkh> <624b044a-1f0f-4961-8b57-cb5346e7b0d3@linux.intel.com> <2023100452-craziness-unpopular-7d97@gregkh> <04c5911a-a894-44b3-9f0e-fe9e6de203f2@linux.intel.com> Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Thu, 05 Oct 2023 07:44:15 -0700 (PDT) > I think we keep circling on the differences between "Controller" and > "link" (aka bus). A Controller can have one or more links. A system can > have one or more controllers. > > Intel platforms have one controller and 4 or more links. > QCOM platforms have one or more controllers with one link each. > > I am not sure how this IDA-generated bus_id helps deal with these two > cases, since we can't really make any assumptions on how > controllers/links will be started and probed. > > What we are missing is a hierarchical controller/link definition, IOW a > controller_id should be given to the master by a higher level instead of > using an IDA. Tentative patches to introduce a 'controller_id' that's not an IDA are here: https://github.com/thesofproject/linux/pull/4616 Initial results are positive for Intel devices. it *should* work for other devices but I can't test. If folks at Linaro/Qualcomm and AMD can give it a try, that would be much appreciated. Thanks.