Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp330078rdb; Thu, 5 Oct 2023 07:15:18 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFjtHxJQfqpwaLGXG07Uycag58nLx407QLaOgatkXECAu6ouTEno8mYcjwyiem9cdAnGgb4 X-Received: by 2002:a05:6e02:16c6:b0:350:f2a0:5c44 with SMTP id 6-20020a056e0216c600b00350f2a05c44mr7284043ilx.2.1696515317903; Thu, 05 Oct 2023 07:15:17 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1696515317; cv=pass; d=google.com; s=arc-20160816; b=kocIupcWNlVtwYVCbkh1PU4EosMTz+vK8w9Uv57d6jzWqmYIBBYX75uwEPfIIqA3Gp aDVi+hOhpxVFWw3gvVZyMbVO8WEJTlKxTymfUYWGBbZAjEAswzpCW7iSHWyXKClrrak1 d67mnJe1xbSGU8C/d03qgNhjSqIFwLQrjzFedpbMQEa5jiOj8QPVksg8+ahjVF8fZn/n EuMnRQiCzPjupk2yu5TCXSTfxfvB9ArT868c/zaRucjwBZVJPbQyOjFae0MQgvaBRLiP gWIqYc6gX1JrY9MAFEm/tudJt+CzGCp61sNC0FWyaUw7qADnTKfD1w/i+HLk2d7TYsLX lpOw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:from:references:cc:to:content-language:subject :user-agent:date:message-id:dkim-signature; bh=Cjb85P2/nmUWVN7cd2yxID4UI4DYX00unwo3wBELHYs=; fh=J8NYYj0SEZX7tqmLyAOjnRVpj0tx7nvEVD6UDrZEyeo=; b=q9Kio0unTWR84quRUxW1f378IDCm5Ved9AD9AbtZYupjt3zkXfahOn/fXmGQwfdep2 rkIt7pAqMOI8+XKJiNCwfdU2UD/l0Qfmod6jEb4zS9Ar/PJo51mtqSgdXmzgwaEdCcws nbicS8yxvtfa4DsSrYbP6wuwYvUzn7w87TFHFFbMZG71plabQiW8ITmOTylxd5J8V6ue xXsx7GKSD5BOKEzlbGxO6N9vDaXVgWkmgmFMCG031z2rZc1OGP9NzGQvcOxNEI91loVT ecMRm9jFZNVzVHvHnS/cJWypxvPGue7eUrJRkOYG+noGfWxsXqYplff/pW0yKH2F316Y MbVA== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@amd.com header.s=selector1 header.b=ZjDXk42N; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id i185-20020a6387c2000000b00578e4bff431si1528323pge.420.2023.10.05.07.15.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 07:15:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@amd.com header.s=selector1 header.b=ZjDXk42N; arc=pass (i=1 spf=pass spfdomain=amd.com dkim=pass dkdomain=amd.com dmarc=pass fromdomain=amd.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=amd.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 0A79A8116E7A; Thu, 5 Oct 2023 07:15:16 -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 S232198AbjJEOOp (ORCPT + 99 others); Thu, 5 Oct 2023 10:14:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49646 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233188AbjJEOMQ (ORCPT ); Thu, 5 Oct 2023 10:12:16 -0400 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (mail-mw2nam10on2060b.outbound.protection.outlook.com [IPv6:2a01:111:f400:7e89::60b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A627026A52; Thu, 5 Oct 2023 05:38:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ogu6fhizznZbue/uGPAiyPsHfeoGPjpwofRS01eUCylI2aqXV10dyvOz7GDLy5IxzyVjRHdfpTXPwPDO4xHW1AqPts7bp/o9XLSt1QPbnivsnaKoPPQZpM/Es+1wd2J9HnwBSLJbL99ko0stCyU6EHn/ufcc/NnhiSu17aSZgMW0/oLT0TngfCdN4ZDFVIQzua3ZfMisqYYM39QYUfF9Zk9UPuy9h0d1jZDa+FzJbFoIU+hpQPnDU/tcphw2InU4D+1qNMXVZGnG/PIIaKEom3hNQef64lKRe1a6E+nUNAhdZHgu5xZF/0ZEwMEojA8kebkg+VvpyAqcqdA1HTDTTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Cjb85P2/nmUWVN7cd2yxID4UI4DYX00unwo3wBELHYs=; b=Q5WzS3AN3+zMSbr/UXezYxXO4QT5+7RptoRifrBjxPsCA3ZW0rJScAIK7y59X6vb2Rt7cy6VmRgbU6k/k0rFrS5/p75O4W6R+tFI6JylKKlRiamiNC3Qy/4oHlXPSSBezV+glOP8AkJ648EB3skai5PuSnSSkKByjQmAbQmmLByaZFBHFIZJj7PG4q+4j/H0rfYP1l2r/nuJNwbtQvZ7PkJ7W4LEBVxKDYxwdKJcjMqLX/NypktYhr2YdiaPqNJc/V244CjNpwNrikyaSrwPQC7I9sSP8hDNQ9DlgOSti/GniGFnTkTrcUQR1KFA8e0e1wN3hUinokflEMGjmeXnNQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=amd.com; dmarc=pass action=none header.from=amd.com; dkim=pass header.d=amd.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amd.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Cjb85P2/nmUWVN7cd2yxID4UI4DYX00unwo3wBELHYs=; b=ZjDXk42NSF548NJbkVTynMEAE5DN7XDBEXsipPJ7tqlzulmDBmx2lrGSG4UrFsJ3oqWrE0/OVy/2ky3evZqKPrc4p7mfVQBJtSC4w4+fXMl5slLD8hCONMemn5QSK+lhaUg2StXbEUbf7wtzRAF8rNxaBqEc9AsiP+AR2TvfmRs= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=amd.com; Received: from DM6PR12MB4123.namprd12.prod.outlook.com (2603:10b6:5:21f::23) by BY5PR12MB4934.namprd12.prod.outlook.com (2603:10b6:a03:1db::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6838.37; Thu, 5 Oct 2023 12:38:22 +0000 Received: from DM6PR12MB4123.namprd12.prod.outlook.com ([fe80::1ec:3e1e:98f4:b1b9]) by DM6PR12MB4123.namprd12.prod.outlook.com ([fe80::1ec:3e1e:98f4:b1b9%7]) with mapi id 15.20.6838.029; Thu, 5 Oct 2023 12:38:22 +0000 Message-ID: Date: Thu, 5 Oct 2023 18:08:09 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] soundwire: fix initializing sysfs for same devices on different buses Content-Language: en-US To: Pierre-Louis Bossart , 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, Mastan Katragadda , "Dommati, Sunil-kumar" , "Hiregoudar, Basavaraj" , "kondaveeti, Arungopal" 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> From: "Mukunda,Vijendar" In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-ClientProxiedBy: PN2PR01CA0192.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:e8::17) To DM6PR12MB4123.namprd12.prod.outlook.com (2603:10b6:5:21f::23) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DM6PR12MB4123:EE_|BY5PR12MB4934:EE_ X-MS-Office365-Filtering-Correlation-Id: b00d0f9c-74f5-4182-c3f8-08dbc59ff5eb X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: z1Lskv1gkYc39p+3ZgNXX4FCZm2ASJn1ekGOjsLO+OF6/ZhSeVHGSSCGenoXdjmkDZ8aIU6ngbKMNsn+7g/Yoh+DiMbYFBH9eSaPy88BWuiBjC1oOizEapNiLCgoJ0Ajkg32+guvr4OJGQJeUCeT+XpvjCRkksIaX//+L82I3xB7UNeRLUzSmPBTf83LzPBYnxg6f8m68/1+q3Ezu+hGrBaVLSY4n5JUmn7GQqtkluv+YbUIo0MUcehYqkBM05warEGc4mfKB1NoWhGiJKwQfQr7zTbjO00Ig/IPFI1RvV1BRcq4HHVgC0Yf5DQ1GDdqccMLQ36XiNQlUW1uFmF/Y3VXjSeLvZUgJuuZxBxyd5H2vmJQpXsRQTdsJyRvjCRZay9VVKs5YBfDV3T+UskNDp0hhjw35mEF7yOrRIIsJXmV+XDH9pnrXQ10pxfaIU9T8/9yrglKvELMrbEbMAEdk6Ws1GbV9bXlN6pZ24dJDNuVFh0G/TkzZa1BnPD1Zc/sKVBxFnv60ZM9Y4NUuEpZ/pLMxxqsI+DU+r57QD0ll44jI35D6gqZOF5cJkbybqiaccBx5rRaXkWKeSf87qJa7GA9VftV6CbOWwqckapbD5ukreA/uT8xdUHNtNKdtGfLvb0O+XHu936V44w/M2xN2Q== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DM6PR12MB4123.namprd12.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(136003)(366004)(39860400002)(376002)(346002)(396003)(230922051799003)(64100799003)(186009)(451199024)(1800799009)(8676002)(110136005)(66556008)(66476007)(316002)(66946007)(54906003)(6486002)(6506007)(8936002)(38100700002)(2616005)(26005)(4326008)(6666004)(41300700001)(966005)(5660300002)(7416002)(31686004)(53546011)(6512007)(2906002)(478600001)(66899024)(31696002)(86362001)(36756003)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?VjY4MUFFNnVSZm1DeXVpeldRSkJ6WW1ONmVrMDZaZkpWRUFxcHlKb00zN3Q4?= =?utf-8?B?UHhyNjBVNzFMRnA2T0pvOGd5b1NwcFVlZlFPOEVZek5ld0ZpRnk3Z3J5WUgz?= =?utf-8?B?ZTdNUnhLdUxkUEF0SzFGYkt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Z4MHZZeFpVemV4N2x5RWlwYUVuUXBMOWw3NHZ2eXJyaHlJWkxVOG5k?= =?utf-8?B?MmRkL0xHd1V3c0FqeHUvUFFlZE8xQ2JMSDI5MEpkMkdKS0NKRzVGc1BkR20z?= =?utf-8?B?ZWRuQjd5NmZhYnhtQjFqWXE2Q0JINnNTS04reWNLOFUvcmUvZXJFdGdlYmRw?= =?utf-8?Q?x6LVXBMAPGtn+9gY/od/0AlYJ?= X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: b00d0f9c-74f5-4182-c3f8-08dbc59ff5eb X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB4123.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 05 Oct 2023 12:38:22.0908 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: yq85hjNhLEXZG3nJublPE1/RsdvRk8X2sVVhzUwSvqpCLylVbPbyA9NLIxswKndIhW2H35OUAoFgJgG4PR3+YA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4934 X-Spam-Status: No, score=-5.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, NICE_REPLY_A,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_PASS,SPF_NONE, URIBL_BLOCKED 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 05 Oct 2023 07:15:16 -0700 (PDT) On 05/10/23 17:54, Pierre-Louis Bossart wrote: > > >> 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. Will test on AMD platforms and let you know the result. > > Thanks.