From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 44394C61DB8 for ; Sun, 8 Jun 2025 19:55:27 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id E043C10E2A9; Sun, 8 Jun 2025 19:55:21 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=bootlin.com header.i=@bootlin.com header.b="apERh0s0"; dkim-atps=neutral Received: from mslow3.mail.gandi.net (mslow3.mail.gandi.net [217.70.178.249]) by gabe.freedesktop.org (Postfix) with ESMTPS id 6798310E2A9; Sun, 8 Jun 2025 19:55:16 +0000 (UTC) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by mslow3.mail.gandi.net (Postfix) with ESMTP id 8B624581028; Sun, 8 Jun 2025 19:37:53 +0000 (UTC) Received: by mail.gandi.net (Postfix) with ESMTPSA id 1B2EF1F65B; Sun, 8 Jun 2025 19:37:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1749411471; 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=d0C38mLCm+B9BYKlJOfWEN5xHVublMuXuPu2d0ZlfFs=; b=apERh0s0k3od83+QhMpwchNQIJ68iMqfauWwLQajqeK0OLqfQe0qCTOhbHgY8Lg3lFAWb/ PrGlv/fQ4yn+EoIK/s6JX+uB4aESNNFFPnmRaneuXp6XSXYPoYXNCxD0xwXtPRAgwV4dsX GmY0qNmjzrxY++3/tqNaSn3oX/KWB8/hE1pcsGkMND8dizfsAfPdeU+fzXW1wIhtqJmyP6 2thPoIWeRrMYfaEf/lOLQs3QBtuqib6PCRHZ1yx4tRHe24naVN92oAumepTddhT/zpHx9U JtPDG0eC3sgouznOdM/85r7oPee2vOlzwkKrQq+76qoG09aeEbSdCbsH/Wbb5w== From: Miquel Raynal To: "Usyskin, Alexander" Cc: Guenter Roeck , Richard Weinberger , Vignesh Raghavendra , "De Marchi, Lucas" , Thomas =?utf-8?Q?Hellstr=C3=B6m?= , "Vivi, Rodrigo" , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Simona Vetter , Jani Nikula , Joonas Lahtinen , Tvrtko Ursulin , "Poosa, Karthik" , "Abliyev, Reuven" , "Weil, Oren jer" , "linux-mtd@lists.infradead.org" , "dri-devel@lists.freedesktop.org" , "intel-gfx@lists.freedesktop.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v6 01/11] mtd: core: always create master device In-Reply-To: (Alexander Usyskin's message of "Sun, 8 Jun 2025 07:00:10 +0000") References: <20250302140921.504304-1-alexander.usyskin@intel.com> <20250302140921.504304-2-alexander.usyskin@intel.com> <9dfb2954-fc3e-464c-a4fd-8c1a4dffa327@roeck-us.net> User-Agent: mu4e 1.12.7; emacs 29.4 Date: Sun, 08 Jun 2025 21:37:47 +0200 Message-ID: <87bjqyja7o.fsf@bootlin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-GND-State: clean X-GND-Score: -100 X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtddugdekvdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjfhgffffkgggtgfesthhqredttderjeenucfhrhhomhepofhiqhhuvghlucftrgihnhgrlhcuoehmihhquhgvlhdrrhgrhihnrghlsegsohhothhlihhnrdgtohhmqeenucggtffrrghtthgvrhhnpedutedtfeelvefgjeevuedukefhtefgiefftdekffffteduheduheelgedutdetueenucffohhmrghinhepughtshhirdhishenucfkphepledvrddukeegrdelkedrvddtgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeelvddrudekgedrleekrddvtdegpdhhvghloheplhhotggrlhhhohhsthdpmhgrihhlfhhrohhmpehmihhquhgvlhdrrhgrhihnrghlsegsohhothhlihhnrdgtohhmpdhnsggprhgtphhtthhopedvvddprhgtphhtthhopegrlhgvgigrnhguvghrrdhushihshhkihhnsehinhhtvghlrdgtohhmpdhrtghpthhtoheplhhinhhugiesrhhovggtkhdquhhsrdhnvghtpdhrtghpthhtoheprhhitghhrghrugesnhhougdrrghtpdhrtghpthhtohepvhhighhnvghshhhrsehtihdrtghomhdprhgtphhtthhopehluhgtrghsrdguvghmrghrtghhihesihhnthgvlhdrt ghomhdprhgtphhtthhopehthhhomhgrshdrhhgvlhhlshhtrhhomheslhhinhhugidrihhnthgvlhdrtghomhdprhgtphhtthhopehrohgurhhighhordhvihhvihesihhnthgvlhdrtghomhdprhgtphhtthhopehmrggrrhhtvghnrdhlrghnkhhhohhrshhtsehlihhnuhigrdhinhhtvghlrdgtohhm X-GND-Sasl: miquel.raynal@bootlin.com X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi Guenter, On 08/06/2025 at 07:00:10 GMT, "Usyskin, Alexander" wrote: >> Subject: Re: [PATCH v6 01/11] mtd: core: always create master device >>=20 >> Hi, >>=20 >> On Sun, Mar 02, 2025 at 04:09:11PM +0200, Alexander Usyskin wrote: >> > Create master device without partition when >> > CONFIG_MTD_PARTITIONED_MASTER flag is unset. >> > >> > This streamlines device tree and allows to anchor >> > runtime power management on master device in all cases. >> > >> > Signed-off-by: Alexander Usyskin >>=20 >> Several of my qemu boot tests fail to boot from mtd devices with this pa= tch >> in the mainline kernel. Reverting it fixes the problem. As far as I can >> see this affects configurations with CONFIG_MTD_PARTITIONED_MASTER=3Dy >> when >> trying to boot from an mtd partition other than mtdblock0, with the >> mtd partition data in devicetree (.../aspeed/openbmc-flash-layout.dtsi). >> Is there a guidance describing the changed behavior, by any chance, >> and how the boot command line now needs to look like when using one of >> the flash partitions as root file system ? >>=20 >> Thanks, >> Guenter > > I've tried to make is as transparent as possible for the existing users. > Only change is that now every partition has master that is not partitione= d. > Is the CONFIG_MTD_PARTITIONED_MASTER=3Dn fixed the problem for you? No change is expected, can you please describe the devices that you observe with and without the patch? Maybe there is something wrong in the core logic. Thanks, Miqu=C3=A8l