From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mslow1.mail.gandi.net (mslow1.mail.gandi.net [217.70.178.240]) (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 BB0AC1DB52A for ; Mon, 6 Jan 2025 10:48:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=217.70.178.240 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736160496; cv=none; b=KJMV+4WuB18HhQrbLvhSenRNCMRyo85aOkG6f74taD8cAOeDHohxn4v+N7X4iMu6AolCHeI3HupHVI5878TZSVxb4UKniAKXFZRnMTQ37FO3i7c3AZTTMW4WQqJVM4HUJaqmCETmwUHMtdQtEfgsLfhfC6K5+pZeCirR9B7fAOQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736160496; c=relaxed/simple; bh=DJ+D6qi4mbfuXPyLe+w6+zrZoPI7FQCfPbiq3MQBu4E=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=MRU0EiCbTO+Vivo00kybjeIVACVeVl7ZWRHfdz2GerRAqqwmI0XPux+DuDEwegxsRTK7ojxYFHl/53BTThhhjnpoty9n6xg0eLo0mWumo30l726zK4PZf3C702A3VvW+xzFb4W0swP7YfANZbqePLtvu0SQDhCYT5mDciRu45/o= 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=jf3OAaHB; arc=none smtp.client-ip=217.70.178.240 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="jf3OAaHB" Received: from relay1-d.mail.gandi.net (unknown [217.70.183.193]) by mslow1.mail.gandi.net (Postfix) with ESMTP id 91EB7C1F0B for ; Mon, 6 Jan 2025 10:46:36 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id 81E4224000C; Mon, 6 Jan 2025 10:46:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1736160388; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DJ+D6qi4mbfuXPyLe+w6+zrZoPI7FQCfPbiq3MQBu4E=; b=jf3OAaHBEQgLGTdjbWJ+Nr6uK1KydwHIM3hULmkIuycUOpS+aWWLaVhvJBI6gXLfBSulpA 4ZdY0BSkKOzjm8wEmec81rgnlTw5NS9VriPTznHJG0QufJgh6f25GwBkvx3uKA5+6Dq7zX JpuGqZYZ9Wp7oGapaizgXHwJJAj1ZJQdK5/28WWFtHUwgFuJStm2dp+xZDyNL/SjEBa5hT 3qRFa28HM9kdIjhesx0jhoHPm1pcPtnDS8fdPxErY1mVXtlK6xQcp4CslbwJxM04vBh12u HGHEnGXaN6oo/TDcKqeBmMlyn/FACtOuBDAluilt536Nem9rQo0EGZgpIqIFNQ== From: Miquel Raynal To: Alexander Usyskin Cc: Richard Weinberger , Vignesh Raghavendra , Lucas De Marchi , Thomas =?utf-8?Q?Hellstr=C3=B6m?= , Rodrigo Vivi , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Jani Nikula , Joonas Lahtinen , Tvrtko Ursulin , Karthik Poosa , Reuven Abliyev , Oren Weil , linux-mtd@lists.infradead.org, dri-devel@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 01/11] mtd: core: always create master device In-Reply-To: <20250101153925.865703-2-alexander.usyskin@intel.com> (Alexander Usyskin's message of "Wed, 1 Jan 2025 17:39:15 +0200") References: <20250101153925.865703-1-alexander.usyskin@intel.com> <20250101153925.865703-2-alexander.usyskin@intel.com> User-Agent: mu4e 1.12.7; emacs 29.4 Date: Mon, 06 Jan 2025 11:46:26 +0100 Message-ID: <87sepwp6d9.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-GND-Sasl: miquel.raynal@bootlin.com Hi Alexander, On 01/01/2025 at 17:39:15 +02, Alexander Usyskin wrote: > Create master device without partition when > CONFIG_MTD_PARTITIONED_MASTER flag is unset. I don't think you took into consideration my remarks regarding the fact that you would break userspace. If you enable the master, you no longer have the same device numbering in userspace. I know people should not care about these numbers, but in practice they do. If I'm wrong, please be a little more verbose about why :) Thanks, Miqu=C3=A8l