Received: by 2002:a05:7412:798b:b0:fc:a2b0:25d7 with SMTP id fb11csp784747rdb; Thu, 22 Feb 2024 22:33:36 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUcad9WHtb6NMvIF+dz7H7H6LKXeSLwk2ZCsBiq2LjQ+7KCwFPr77oN1Nnc+Vnbkxkhc9xp+sRvTxWNzJi6pqycG1PB858fFX2hbIDqmg== X-Google-Smtp-Source: AGHT+IFeIdNq/ZZYBcHL97lIIYA1LKdbdfR1wP2WBDkx8QLo5EhoTLql4nloSQCbFzO7QSp+35gd X-Received: by 2002:a05:622a:1745:b0:42e:553e:5e8c with SMTP id l5-20020a05622a174500b0042e553e5e8cmr1485964qtk.18.1708670015879; Thu, 22 Feb 2024 22:33:35 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708670015; cv=pass; d=google.com; s=arc-20160816; b=di1yLG5Xr9SVMsTBLXCm+RkIutCKrEPsSrD0StBoBHupEJfVfJbBm7JoviAqMvYN5j e7TiRe7aObzjc94bCOmsNPF7z45KjAYBpZTgz4yp5gNy9seubOkn+DB23LgCrtnXNceh fWp9PSAEFyMQPUovkpngdfzEtdU+0zt3KRvPzW71CaXs0UUwjHn7tSsZC97ctAWE6btO HKLhMWYQRuem38qgPDO71X1geLgxu8iUQb2BUWcVrYDcyjpJdllSkkKCNfqYAnWE/E/v 2wXbMRJikPE187CNzNEqo/PubT+x5FB88pvLTXcQfKJN9byt8oErdIkx3fJkaZL5JTvH T88w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Y0Kon0V3DGkM5nUsmO70OqEaUHYQ+qvIXhSvlkE93P4=; fh=uadsCw4LbmKqkQbb0OKFjV2IsziEWXW2Je8FEGbqabU=; b=MYU6KbOqcIT+HYA/1VvndNa2ky4BfVf1YpVWVEPyWijaRpHYXvh4jpz777Dkglhu/o RgMtJEeZ61ZKaxHZ7geFEqmO+u7rnhhqk65Zg0DnYTnxFQgTMYrtmDD3Moeb1TFb6BGF eahI9/CqZlo8uvOkSntsp436wYa3elFlpqlTKDPHMVwnzcH3Bkl25h8Obgy/sT2zK3Xz 5/2mdTn3WMeev3J2Cjdy7Rtc1Hcm6L+rLOPU3qVZIptZ9H9/5oil7jMoipsi0eB59ggn eQ8YijNHb5S4zNwXecpZRn8Oicjn1cwZ+Am2cpEzVgU1eT2nMcw52rsCyLs9XSL1dNGP XHfw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bbGXLkDp; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-77837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77837-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id q11-20020ac8450b000000b0042e646b6d41si244076qtn.509.2024.02.22.22.33.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Feb 2024 22:33:35 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-77837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=bbGXLkDp; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-77837-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-77837-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 92C511C21F59 for ; Fri, 23 Feb 2024 06:33:35 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8C9C112B99; Fri, 23 Feb 2024 06:33:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="bbGXLkDp" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B35CD125B3; Fri, 23 Feb 2024 06:33:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708670006; cv=none; b=Fd3TtKzSUqJWhvsFB9ZCTiNivlUB40wwk6+ZBAlOOUSC/EfTxBD/0AjNRE8JOmUj923w1gNzOMwpkCxMm0LqOF90XuFWetPBf3iQXB5Bam9vNoIaeTfrD80sU/GKOTyxqUGJtSKHXXef4ANHMK3mCVSQNuXU/KZvIkvXZnF+DrQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708670006; c=relaxed/simple; bh=dThcPl3XK7RY5dgaObaEGYKBmy4AdP7HURVc8OjMtqM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Unuu5gq1S/Uoo2/spxIpBsd0tqqarw+ntxtzcQ/yYvDwvIB8wxEYUSyaI9AZYd3RAdRjdfsxwYMgBxNon8JpZEwcy/homQSnmfkA1F7xUXsdZ5vMRpoKXe67STrdSdysAfq4B/GpXwHqRWEP4WGVbx1t2CWO1y8i3nvwi1xEq0k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=bbGXLkDp; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 40D37C433C7; Fri, 23 Feb 2024 06:33:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1708670006; bh=dThcPl3XK7RY5dgaObaEGYKBmy4AdP7HURVc8OjMtqM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=bbGXLkDp5iFFUzcPFhjNZZZda8EkIIp350je1FEuGhT5XE9PiyT3g+NZVCSI4OQlr BXX4mdQwq6AsXhyKzVQIGo1aw0RDEUt2j1Y+Kla2HPDX1pizKfWy/4sdcbYlIIBe3+ 4dkOcnvQXydNa9kd53NyHNIzLFoUnBVnHjU20F2c= Date: Fri, 23 Feb 2024 07:33:22 +0100 From: Greg KH To: Dan Williams Cc: Pierre-Louis Bossart , Marc Herbert , "Rafael J. Wysocki" , linux-kernel@vger.kernel.org, linux-pci@vger.kernel.org, linux-coco@lists.linux.dev, alsa-devel@alsa-project.org Subject: Re: [PATCH 0/3] sysfs: Group visibility fixups Message-ID: <2024022342-unbroken-september-e58d@gregkh> References: <170863444851.1479840.10249410842428140526.stgit@dwillia2-xfh.jf.intel.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <170863444851.1479840.10249410842428140526.stgit@dwillia2-xfh.jf.intel.com> On Thu, Feb 22, 2024 at 12:40:48PM -0800, Dan Williams wrote: > Hey Greg, > > Marc was able to get me a backtrace for that bootup hang scenario that > Pierre noted here [1]. A Tested-by is still pending, but I am certain > this is the issue, and it may impact more than just the one platform if > that "empty_attrs" pattern has been repeated anywhere else in the > kernel. > > I also took some time to document how to use the helpers a bit better, > and introduce DEFINE_SIMPLE_SYSFS_GROUP_VISIBLE() for cases where all > that matters is group visibility and not per attribute visibility. > > [1]: http://lore.kernel.org/r/b93ec9c2-23f5-486b-a3dc-ed9b960df359@linux.intel.com I'll just queue these up now on my normal driver-core-next branch, and not worry about a stable tag as I doubt anyone wants that now. But if they do, please let me know and I can provide one. thanks for the quick fixes! greg k-h