Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2693063rdb; Wed, 4 Oct 2023 08:41:33 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHZ4KXBcXHOnpDQVW2DTWzeyYABb0Xo1mLnKbC24UfF20XneCf4QhhorKMweIIWmm05YeWo X-Received: by 2002:a05:6e02:1bc7:b0:34f:7e1b:a7a2 with SMTP id x7-20020a056e021bc700b0034f7e1ba7a2mr3140958ilv.13.1696434093322; Wed, 04 Oct 2023 08:41:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696434093; cv=none; d=google.com; s=arc-20160816; b=irjHSF6DzVHEKTFmyCa2ilcjMMpXPvwrdiQGE94YvoOwk7GDZZD626mhSu5F55bHys ZOeDaK1M5YMTmWUaU24/OsyPu4SSDOzwkYf3Zn5SzklBfBUpBf3Y8o4qT98uyg5KBJZd X+65YbdaYnwUTJIOfNSpq5hAurYf0FtDzey01s9TkosLvuI+DWFuq8Sj9pNGzGac8W4s iRTvObx0sb59IkZXRSTmovuvyJwWJzUMQu7RjqXtHXTfC+O4roghDY/NdevirDHEJ2mF TKbFSflF9gEeZm7zQEosg1XQ5EJeL6Eppt78Epw+2byp2uf8tSXm5KYOMKasnK83hueE PNlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=df8KZVSxg7fpWft4bfdcKowE+/YFVMdWA60GDzXP/SA=; fh=9vyoM8cp9pfAojTLCyOnZk0cmAt5Yz69lJbEywbfbZM=; b=M9QZgTsEGJb4CwmCTYV/OCjzTansjsjlEcbr/yZcJlNOhCX1UysrNdikfgZzpp56N5 moZ6eTcKCoNmjrB8NgKN1Semy8hGfUq2X0E4yGajXc9+yshk1QngJMMyNdg0kJYJQL7u TGlk8FZGQnKE+a4/CAGhdEDu6+gjpdmmJJiXNxh3TgmDx+LqfdW2a8S6vhme3yxrCWwk WtBnAfYENnXY3Y0rJPXllICoXYD1W1IggjfrUDdWDiQOvuw+ycS0RpBSNmXQomzocEKy vHZlnLINZFI5Dth3yd+pVGMnc3fqNDmeM4OrwvRfNqDTMCy562pd6+w0QVX8fJUg4Apk QrAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=qyB2BHOg; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id c5-20020a6566c5000000b005859e224617si4146175pgw.818.2023.10.04.08.41.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 08:41:33 -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=@kernel.org header.s=k20201202 header.b=qyB2BHOg; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 1BEB480C65E1; Wed, 4 Oct 2023 08:40:53 -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 S242939AbjJDPkf (ORCPT + 99 others); Wed, 4 Oct 2023 11:40:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36276 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242945AbjJDPkb (ORCPT ); Wed, 4 Oct 2023 11:40:31 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4AD85E5; Wed, 4 Oct 2023 08:40:23 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75F8BC433C8; Wed, 4 Oct 2023 15:40:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696434023; bh=df8KZVSxg7fpWft4bfdcKowE+/YFVMdWA60GDzXP/SA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=qyB2BHOgxF8GQS+OT5aMzixIcMGOMkIlJUdzNz/zkYVW/2KT5hD86elSvXvBR1aOF HfuB84Exme7eqzvCmMfGVZX/2zLHvshcJ3nrn1AX1ps9db0ZvOorxznPT4zjrpP4dg iVpclSSmQ7mAGXzlLhf3loHYTM74I5o80TwUBnDH6jGuGU8HpdB4uM1Fee2b/+J6SC MXXLWRCYRQCRQOXCdti2Od2bORajK0Zaq8Ry1lCkjZTrY8p3xi3lDLM3OgmYsRKs+Y jt4qYeZ6qP4QJGnktKPIyWSzR3ALNypsNV9PDwoI+YPlHEJcGT6f59/3SjDIqDR+pl sfJYoEVjcffTA== Date: Wed, 4 Oct 2023 16:40:16 +0100 From: Mark Brown To: Pierre-Louis Bossart 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 Subject: Re: [PATCH] soundwire: fix initializing sysfs for same devices on different buses Message-ID: 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> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="dDaSu7Aom8sfapyH" Content-Disposition: inline In-Reply-To: <04c5911a-a894-44b3-9f0e-fe9e6de203f2@linux.intel.com> X-Cookie: This space intentionally left blank. X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS 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]); Wed, 04 Oct 2023 08:40:53 -0700 (PDT) --dDaSu7Aom8sfapyH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Oct 04, 2023 at 11:16:09AM -0400, Pierre-Louis Bossart wrote: > > matching the name is fine (if you are matching it against an existing > > name) but expecting the name to be anything specific is not going to > > work as the name is dynamic and can/will change each boot. > Not following, sorry. > In the SoundWire context, the device name directly follows the ACPI or > Device Tree information, I don't really see how its name could change on > each boot (assuming no DSDT override or overlays of course). The > platform descriptors are pretty much fixed, aren't they? > Intel and AMD make such assumptions on names for pretty much all machine > drivers, it's not really something new - probably 15+ years? Adding Mark > Brown in CC: to make sure he's aware of this thread. FWIW DT is much less affected here since all the inter-device references are explicit in the DT (modulo needing to work around breakage) so we're not hard coding in the way ACPI so unfortunately requires. --dDaSu7Aom8sfapyH Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmUdh2AACgkQJNaLcl1U h9Dg2Qf/TTjAvH7rrj88JqMZ5e52pLzKRkYsKDlpQCGarm9GRbl3b1sbc4orAwYD nhn2kx1bqWrZANB5fm83hWKNBRtiWvVbau+lR+CbxXAAi/D26zd7btSx7k2yfXNW g5jolY8IR1AR1CNOwIFWPvO9uvZGlfFU96iiPTyaOHMyytLu91ygLkbFY7ImfOWe bnlr48wrjy4idRhEH1L8ST+CHS/ENx+lj3uXXYy0zfeiyZNgWFAQ5C0m95lfecF+ ZZmVnKbRikSlIL+ZHAtukR1ywmRkWdOTy8Y2y4yfYzquIQ2QoMa3GDr3wAq8L8/q VSutkzU+PAYOrHHfngft5JSKCGv5QQ== =AlEx -----END PGP SIGNATURE----- --dDaSu7Aom8sfapyH--