From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-03.galae.net (smtpout-03.galae.net [185.246.85.4]) (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 E4B8E3DB655 for ; Mon, 10 Aug 2026 13:17:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.246.85.4 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786367846; cv=none; b=YMPzwzHuRVBMRufmaz7hX9qJD4t8fED0U8haRkh6IAi6IM4Z1tJrq/JTFvxHMeGfWz+Ym/UGIGFvv8tsYqKxNa+OH1EG72oAsPNUMmxPJprQQPeFXiYa0fh6SbIk5eKIXkYpxuYwQnSz/c6omoYSOU37ut+uLIPSh43qOcciA0M= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786367846; c=relaxed/simple; bh=veIrzVKVMr9pigOm4HG454bDNTpxR0FzHvBW69eN574=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=fbA3plykVHUWSPn48jVgJD/VdNSG7yIMMZontBwmZuPvNlm3+daOZiK0RL+X+mqZHfn+gp8/+gCI3CE8ksDFsBgTfpA2X0h/m2ghMRE+Oa2fBPnLemTVWQfTfF0FxLSr0djkquX4plUEmzm+rZ/G8hcISC7Iq7Uq8o/2yNO04ys= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com; spf=pass smtp.mailfrom=bootlin.com; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b=evJTD39d; arc=none smtp.client-ip=185.246.85.4 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=bootlin.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bootlin.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bootlin.com header.i=@bootlin.com header.b="evJTD39d" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-03.galae.net (Postfix) with ESMTPS id 0EFCE4E411A5; Mon, 10 Aug 2026 13:17:22 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id D08296033B; Mon, 10 Aug 2026 13:17:21 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id AEC7211C4A65A; Mon, 10 Aug 2026 15:17:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1786367837; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=veIrzVKVMr9pigOm4HG454bDNTpxR0FzHvBW69eN574=; b=evJTD39dtYFM29q3jfcW+0hg3N2g0p1stxZIQvzt4z/ztg7BLxu/XzfoLETi408g4wdbQp sudXQsXo38X/YERQh2O19UxGFKTvmGsTxmkXKfcacd9A9lhoUp2BKt9abXjmrXl4S70LVQ 2JFRqShVoPTpebVh7PeAfRLcWQlDed3WKgw4a1PMEFZHe5wZPJcAL+9fs5//HeSfy8/ShE Jan2GjmQzR72m/gQTsqADwqUWwI+iL4Ndvj5+I7je86b+AhTeOzSs9+0b5n2fnig8+rRSN VU5ujW9Qiv7b8psuYmKCLbDPgwHfMbx9Y1Xy+Oa/DX1mDmCBaoDPeSlEAzkDzA== From: Miquel Raynal To: "Michael Walle" Cc: "Pratyush Yadav" , "Takahiro Kuwano" , "Richard Weinberger" , "Vignesh Raghavendra" , "Thomas Petazzoni" , "Steam Lin" , , Subject: Re: [PATCH 03/30] mtd: spi-nor: winbond: Stop filling the .name entry In-Reply-To: (Michael Walle's message of "Mon, 10 Aug 2026 09:22:45 +0200") References: <20260529-winbond-v7-1-spi-nor-jv-cleanup-v1-0-87e5d3122244@bootlin.com> <20260529-winbond-v7-1-spi-nor-jv-cleanup-v1-3-87e5d3122244@bootlin.com> <87mruzeg1p.fsf@bootlin.com> User-Agent: mu4e 1.12.12; emacs 30.2 Date: Mon, 10 Aug 2026 15:17:09 +0200 Message-ID: <87bjbaqfmy.fsf@bootlin.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=utf-8 Content-Transfer-Encoding: quoted-printable X-Last-TLS-Session-Version: TLSv1.3 On 10/08/2026 at 09:22:45 +02, "Michael Walle" wrote: > On Thu Aug 6, 2026 at 11:47 AM CEST, Miquel Raynal wrote: >> Hello, >> >>>> Replace the names with a comment above the entry with the newly instat= ed >>>> naming scheme to indicate what chips are covered by each entry. >>> >>> This is exported via sysfs, so this could be a regression. >> >> Well, actually names are not exported through sysfs. Only the mtd name >> is available through sysfs, and it is set to `spiX.Y`. That name is only >> available through debugfs, which is not part of the stable API. >> >> I should have checked before dropping all my patches... > > That's not correct, see > > https://elixir.bootlin.com/linux/v7.1.7/source/drivers/mtd/spi-nor/sysfs.= c#L21 True, it is further down the sysfs maze: # cat /sys/class/mtd/mtd0/name=20 spi0.0 # cat /sys/class/mtd/mtd0/device/spi-nor/partname=20 FOO So that means I have to find a way to drop that name for the RV addition. Thanks! Miqu=C3=A8l