From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtpout-04.galae.net (smtpout-04.galae.net [185.171.202.116]) (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 B9A4C1E5B72 for ; Sun, 24 Aug 2025 16:10:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.171.202.116 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756051858; cv=none; b=fS4t76rY88JFzIsLGB/yhIEUM8EqnNXtaTXNCQEcki/GY/dL0L8fWMBm72YFX3fBE7WujLYmGPXWpqe1lVDHulal6/piqTV3CVNxyCe4bpMMOedZd9thcmHxn/p5nnIawHnYhfFRL3be3IS9S54m3q/OFbE3md7b8NEDF3XZbgM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1756051858; c=relaxed/simple; bh=x0bMF5B9tDvXdbNljtpMp9oSkN009vSkXfIvk5tNQs0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=EbJV/3DCdkcBMihtJduZhIgnQdRxPJ4WCyHoLsRu2ER91alD7/THISBmkk+xD2Qa1igLQtEYOr58l6NOQWKNEXsQ/NZBoJFMtrLyRDFdyw7x7cn6O/54UUxA5ALgWwO0dB9acn3PKV57PSUWpwhaD5wADuR5Kk34O9aT/0DvWLo= 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=unbVP/Uu; arc=none smtp.client-ip=185.171.202.116 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="unbVP/Uu" Received: from smtpout-01.galae.net (smtpout-01.galae.net [212.83.139.233]) by smtpout-04.galae.net (Postfix) with ESMTPS id E20EDC6B38D; Sun, 24 Aug 2025 16:10:38 +0000 (UTC) Received: from mail.galae.net (mail.galae.net [212.83.136.155]) by smtpout-01.galae.net (Postfix) with ESMTPS id C8F8D605F1; Sun, 24 Aug 2025 16:10:52 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id B8ED21C228A5B; Sun, 24 Aug 2025 18:10:43 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=dkim; t=1756051850; h=from:subject:date:message-id:to:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:references; bh=x0bMF5B9tDvXdbNljtpMp9oSkN009vSkXfIvk5tNQs0=; b=unbVP/Uu79ICK0Tn4oHFWqVD5VwJOm5ApWOMpoOGEZaOUX81uKFOCXuZK9sF+W7EK69omi 4JtgkzUndZqu3xFUjcqQfwcYd1Z+M9ViAXuap0+8pdlZhY1WStERsBcTi/qCc8SH6I9zB3 5+Y3+CSMoRD24KlQqx0PynrsDaejve3u2VIPGaMl3A2hc+109kpk3vsfBiqOK8T2wjsJie ASzFyXLlSrNXNfOsleXK1EgOUo556cWD9UZx7V9ohBf9MCx4adZhPcG426dSMpEedq3dxA xsGD7zeILwjDDK5wteFmKsPd46DK3oJBpEMJH8NrYYlt5INJhnl1x/2oEO2/0g== From: Miquel Raynal To: Michael Walle Cc: Srinivas Kandagatla , Greg Kroah-Hartman , linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: Re: [PATCH v2] nvmem: layouts: fix automatic module loading In-Reply-To: <20250819112103.1084387-1-mwalle@kernel.org> (Michael Walle's message of "Tue, 19 Aug 2025 13:21:03 +0200") References: <20250819112103.1084387-1-mwalle@kernel.org> User-Agent: mu4e 1.12.7; emacs 30.1 Date: Sun, 24 Aug 2025 18:10:37 +0200 Message-ID: <87frdgk8ea.fsf@bootlin.com> Precedence: bulk X-Mailing-List: stable@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 Hello, On 19/08/2025 at 13:21:03 +02, Michael Walle wrote: > To support loading of a layout module automatically the MODALIAS > variable in the uevent is needed. Add it. > > Fixes: fc29fd821d9a ("nvmem: core: Rework layouts to become regular devic= es") > Cc: stable@vger.kernel.org > Signed-off-by: Michael Walle > --- > I'm still not sure if the sysfs modalias file is required or not. It > seems to work without it. I could't find any documentation about it. I do not recall how this worked on my side, nor if it actually did with the latest version (there's been a version where module loading was requested in kernel code, and this was working well with an initamfs IIRC), but that change sound reasonable. Reviewed-by: Miquel Raynal Thanks, Miqu=C3=A8l