Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp828402rdb; Fri, 9 Feb 2024 02:21:10 -0800 (PST) X-Google-Smtp-Source: AGHT+IEmqGnHP4MnAFm8Ckx6ihDR3rct1+Koiy/WsYPDw2ZzDk5JSudSVZx4p/ykkreYgggHa8P1 X-Received: by 2002:aa7:c6d8:0:b0:560:dc3b:4edc with SMTP id b24-20020aa7c6d8000000b00560dc3b4edcmr959353eds.7.1707474069908; Fri, 09 Feb 2024 02:21:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707474069; cv=pass; d=google.com; s=arc-20160816; b=PDNlIIaHrbWS0/8+J1110IqJdsOdZW5+xcK5YDKu63zjse/rocR4nYzmLAFiOTpGKu QdYjBp69RCPkag8QBEPcmaz8DUCtQbe6jcvEG1nPi27ImfU0rk0ZthdmnCk0qrBTB+X3 64Bdd++sUyzv6+PnlkEana21GXYP79pBS1Q+NuYsLviP5Z6eW0Jz8RO5NWU2F2g3rNqH sv/TLt0tqMfIZrZ07nUYcagSq5VwUzM7yP/LOIwVaxwa8Vii4Sq7ZV6vzPLDWA8I4JHr /v6buwYw05SOg5lffJRIPybYxcWjQ4ano8vEMmtpcNQgu/cLEPMAKWn1JIzAR/bGmEkz DCXA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=subject:cc:to:from:date:references:in-reply-to:message-id :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:feedback-id:dkim-signature:dkim-signature; bh=YlVp2fVc8IbNSfuq3P/i0hjvzDSLwhQ0RUOswf2KtYw=; fh=yJhYgtPVY+DQAFHwSmeutZMZO1RKBHK4PtK6/NVs/sU=; b=i6xeZ0KcMIpi7vMhhRt+lGD8ZcYJbxvPLzG2rfeglJU9WJH8hQji9CmYnmQ3zMkMp1 i2WYjGNwQBKQ2jRsDU19zLmOlCe7fUsta2bvxPOKeUM01zYwzOsEYBNMZsvJNXFgZF7K nxwzbklpB7xc/2VD6pnb8rFhAOORwAJGdBmLmZ/5YQ5RUu+eUXzGHcItxYKfH1/JGPrO y8BOW2LMiAyJPWF4co3Y43dHDCO4y20NK63og826OXSdB2w+uHA24EGhzsuN318mG9xA VxYv3hNIfp+alCkR7hiERo54YgvMApKplA9y8dXcp3B+u58w1faFpQMHcWRMAg7lczXt pDMQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=LWxD6VlS; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=yd6vhEgV; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-59208-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59208-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de X-Forwarded-Encrypted: i=2; AJvYcCVWoPXFOlA+tlIpdP+A8loQcaXb4oRmdkyNoP6XVF07UQDSy8MypUQ9iJMU3iSlSBLKr+wTLBFXDlVwuVRtn5d4Fthv/tlJrAWvTrgpRg== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id r18-20020aa7da12000000b00560de31cc38si740050eds.198.2024.02.09.02.21.09 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 02:21:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59208-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@arndb.de header.s=fm3 header.b=LWxD6VlS; dkim=pass header.i=@messagingengine.com header.s=fm3 header.b=yd6vhEgV; arc=pass (i=1 spf=pass spfdomain=arndb.de dkim=pass dkdomain=arndb.de dkim=pass dkdomain=messagingengine.com dmarc=pass fromdomain=arndb.de); spf=pass (google.com: domain of linux-kernel+bounces-59208-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59208-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=arndb.de 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 am.mirrors.kernel.org (Postfix) with ESMTPS id 74CB71F24002 for ; Fri, 9 Feb 2024 10:21:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CC15A6995B; Fri, 9 Feb 2024 10:20:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b="LWxD6VlS"; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b="yd6vhEgV" Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (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 DCD8169949 for ; Fri, 9 Feb 2024 10:20:44 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=64.147.123.25 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707474046; cv=none; b=Efr7guqWOPNGYq8WwP+xT5zzcFqmLUqTPO3J+XKeEzX4HzC/ax6MRAE83BiEnmjQUnxWc4hjzWGqu/yqYRFxF98L0M7wnAeAXAvzTJQFRwnDlNtToBm5sHg4TCpllR8mYewfuvKsbH7u0IpiN/PkzBj+6VkxyujyVbMGaYYwEos= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707474046; c=relaxed/simple; bh=BdP/gbWV69W+twjGklu0gw6zUZWOu0HNNni9y/moC5M=; h=MIME-Version:Message-Id:In-Reply-To:References:Date:From:To:Cc: Subject:Content-Type; b=N4HWXyj+EUxfDn7txnBRsbOet3ybVNTJCiQrRXlpI5cNfRHUEk//ranRcU6WXAq6XejvVVfaUeqDGUMSMWWzGfwrRQw0tKpHNcaFFG5NxsL//HYJDwDndQm7sZd+BTymgq954rN2VUZSsXyYwWA9ZL2Z18XAF7SFy2ApoFtAESo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de; spf=pass smtp.mailfrom=arndb.de; dkim=pass (2048-bit key) header.d=arndb.de header.i=@arndb.de header.b=LWxD6VlS; dkim=pass (2048-bit key) header.d=messagingengine.com header.i=@messagingengine.com header.b=yd6vhEgV; arc=none smtp.client-ip=64.147.123.25 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=arndb.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=arndb.de Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 163973200AE6; Fri, 9 Feb 2024 05:20:43 -0500 (EST) Received: from imap51 ([10.202.2.101]) by compute5.internal (MEProxy); Fri, 09 Feb 2024 05:20:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=arndb.de; h=cc :cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm3; t=1707474042; x=1707560442; bh=YlVp2fVc8I bNSfuq3P/i0hjvzDSLwhQ0RUOswf2KtYw=; b=LWxD6VlSDU4ez/liiq0KuV5G6q u99IgdZTexpekpxRF6qjWTriZNxCiU2V6951LW2waftVqpbU8nN7Lb/F605PkAMH 59AXRHBdqlLGf0MJuF4vyHdIowy2h4c7yJ9y1txuDvqYa56els0EQ6qYGG6zVuH8 SGzzoyDgJqumksvBa4Jpwq6nOtRLFf74ErFPlK9VnxuFhGYhGcZ01JgxycdOxyrz +taz9FdSN+y4t7I00uolcfOHHkqg+fOBSD1bRWRmC2GPnczh+EWJ2QViWGBXeSDa BfiJqC7cFRLRRLMmOZHVWfdhpbmXJJDjrKS31OApw3Xiw1hY69usx3NPg16A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1707474042; x=1707560442; bh=YlVp2fVc8IbNSfuq3P/i0hjvzDSL whQ0RUOswf2KtYw=; b=yd6vhEgVQfwVOMQdcqVsi2WSKFS5mukIyZjef0VdmnJE rrS+uO9xw8mAiTQEwM0lA7SDm1/HsYFuRaQFXHe3cIy6yBYGTkaugU2Ef/nbT6mD jejlTP3OwZz5cv69FARst5Wm/TZMBC6eYldxbZxc9jUDhcKe0+GhlAoRGMmBKEf/ 7CuFX9AU2X5JRVFn/dR2xQ/pdK40d+VxMTCRE3pFNDc1RMWVhsDpBKqWEtviBKCH 1sE+ciN/qpCxyfguchgKxJTLspjef8z+lo7uPPZh1r+oIRLQy9JAGWU+RzZGdqO+ Fpsb+PdGu0n3rVX6hVPaIyHFI8E2/RmkyGje7htAYA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrtdeigddugecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdetrhhn ugcuuegvrhhgmhgrnhhnfdcuoegrrhhnugesrghrnhgusgdruggvqeenucggtffrrghtth gvrhhnpeffheeugeetiefhgeethfejgfdtuefggeejleehjeeutefhfeeggefhkedtkeet ffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpegrrh hnugesrghrnhgusgdruggv X-ME-Proxy: Feedback-ID: i56a14606:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 0D6C0B6008F; Fri, 9 Feb 2024 05:20:42 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-144-ge5821d614e-fm-20240125.002-ge5821d61 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <87302cfa-c3ec-4d60-b870-a86acf0f6f8b@app.fastmail.com> In-Reply-To: References: <20240122153442.7250-1-arnd@kernel.org> <170594251756.17335.7078970144473561827.b4-ty@linaro.org> Date: Fri, 09 Feb 2024 11:20:21 +0100 From: "Arnd Bergmann" To: "Linux regressions mailing list" , "Srinivas Kandagatla" , "Miquel Raynal" , "Arnd Bergmann" Cc: =?UTF-8?Q?Rafa=C5=82_Mi=C5=82ecki?= , "Chen-Yu Tsai" , "Greg Kroah-Hartman" , asahi@lists.linux.dev, "Sven Peter" , "Michael Walle" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] nvmem: include bit index in cell sysfs file name Content-Type: text/plain On Fri, Feb 9, 2024, at 10:09, Linux regression tracking (Thorsten Leemhuis) wrote: > On 22.01.24 17:55, Srinivas Kandagatla wrote: >> On Mon, 22 Jan 2024 16:34:10 +0100, Arnd Bergmann wrote: >>> Creating sysfs files for all Cells caused a boot failure for linux-6.8-rc1 on >>> Apple M1, which (in downstream dts files) has multiple nvmem cells that use the >>> same byte address. This causes the device probe to fail with >>> >>> [ 0.605336] sysfs: cannot create duplicate filename '/devices/platform/soc@200000000/2922bc000.efuse/apple_efuses_nvmem0/cells/efuse@a10' >>> [ 0.605347] CPU: 7 PID: 1 Comm: swapper/0 Tainted: G S 6.8.0-rc1-arnd-5+ #133 >>> [ 0.605355] Hardware name: Apple Mac Studio (M1 Ultra, 2022) (DT) >>> [ 0.605362] Call trace: >>> [...] >> >> Applied, thanks! >> >> [1/1] nvmem: include bit index in cell sysfs file name >> commit: b40fed13870045731e374e6bb48800cde0feb4e2 > > The problem description from Arnd to an outsider like me sounded like > this is something that should be fixed rather sooner than later in > mainline. Am I wrong with that? If not: will this be heading to Linus > soon? Just wondering, as the fix seems to be a in "for-next" branch[1] > of the nvmem repo and not in a "fixes" branch. Yes, this that this needs to be fixed before v6.8 is out. I assumed it had gone upstream already. If anyone is still unsure about the ABI, we could also revert the original commit 0088cbc19276 ("nvmem: core: Expose cells through sysfs") for v6.8 and try again for v6.9 with the fixed ABI, but I think we already had an agreement on the changes that I sent. Arnd