RE: [PATCH v6 01/11] mtd: core: always create master device

2025-06-12 Thread Usyskin, Alexander
> Subject: Re: [PATCH v6 01/11] mtd: core: always create master device > > - Ursprüngliche Mail - > > Von: "Alexander Usyskin" > > In general, it is fine for me - we have parent mtd initialized and > > participating > > in power management. &

Re: [PATCH v6 01/11] mtd: core: always create master device

2025-06-12 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "Alexander Usyskin" > In general, it is fine for me - we have parent mtd initialized and > participating > in power management. > > I can't see how to bend idr_alloc to allocate from the end and corner case > of full idr range is also will be problematic. I

RE: [PATCH v6 01/11] mtd: core: always create master device

2025-06-12 Thread Usyskin, Alexander
> Subject: Re: [PATCH v6 01/11] mtd: core: always create master device > > Hello, > > On 11/06/2025 at 10:52:36 GMT, "Usyskin, Alexander" > wrote: > > >> Subject: Re: [PATCH v6 01/11] mtd: core: always create master device > >> > >>

Re: [PATCH v6 01/11] mtd: core: always create master device

2025-06-11 Thread Miquel Raynal
Hello, On 11/06/2025 at 10:52:36 GMT, "Usyskin, Alexander" wrote: >> Subject: Re: [PATCH v6 01/11] mtd: core: always create master device >> >> - Ursprüngliche Mail - >> > Von: "Miquel Raynal" >> >> On 6/10/25 05:54

Re: [PATCH v6 01/11] mtd: core: always create master device

2025-06-11 Thread Miquel Raynal
On 10/06/2025 at 09:15:25 -07, Guenter Roeck wrote: > On 6/10/25 05:54, Richard Weinberger wrote: >> - Ursprüngliche Mail - >>> Von: "Alexander Usyskin" >>> Richard, I've reproduced your setup (modulo that I must load mtdram >>> manually) >>> and patch provided in this thread helps to f

RE: [PATCH v6 01/11] mtd: core: always create master device

2025-06-11 Thread Usyskin, Alexander
> Subject: Re: [PATCH v6 01/11] mtd: core: always create master device > > - Ursprüngliche Mail - > > Von: "Miquel Raynal" > >> On 6/10/25 05:54, Richard Weinberger wrote: > >>> - Ursprüngliche Mail - > >>>> Von: &q

Re: [PATCH v6 01/11] mtd: core: always create master device

2025-06-11 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "Miquel Raynal" >> On 6/10/25 05:54, Richard Weinberger wrote: >>> - Ursprüngliche Mail - Von: "Alexander Usyskin" Richard, I've reproduced your setup (modulo that I must load mtdram manually) and patch provided in this thread hel

Re: [PATCH v6 01/11] mtd: core: always create master device

2025-06-10 Thread Guenter Roeck
On 6/10/25 05:54, Richard Weinberger wrote: - Ursprüngliche Mail - Von: "Alexander Usyskin" Richard, I've reproduced your setup (modulo that I must load mtdram manually) and patch provided in this thread helps to fix the issue. Can you apply and confirm? Yes, it fixes the issue here!

Re: [PATCH v6 01/11] mtd: core: always create master device

2025-06-10 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "Alexander Usyskin" > Richard, I've reproduced your setup (modulo that I must load mtdram manually) > and patch provided in this thread helps to fix the issue. > Can you apply and confirm? Yes, it fixes the issue here! :-) Thanks, //richard

RE: [PATCH v6 01/11] mtd: core: always create master device

2025-06-10 Thread Usyskin, Alexander
> Subject: Re: [PATCH v6 01/11] mtd: core: always create master device > > - Ursprüngliche Mail - > > Von: "Guenter Roeck" > >>> I am trying to boot from "pnor". It looks like the partition data (from > >>> devicetree)

Re: [PATCH v6 01/11] mtd: core: always create master device

2025-06-09 Thread Richard Weinberger
- Ursprüngliche Mail - > Von: "Guenter Roeck" >>> I am trying to boot from "pnor". It looks like the partition data (from >>> devicetree) >>> is now ignored. mtdblock6 used to be the second flash. >>> >>> Guenter >> >> Is this with CONFIG_MTD_PARTITIONED_MASTER? >> > > Yes > >> I think

Re: [PATCH v6 01/11] mtd: core: always create master device

2025-06-09 Thread Guenter Roeck
On 6/9/25 08:16, Usyskin, Alexander wrote: Subject: Re: [PATCH v6 01/11] mtd: core: always create master device On 6/9/25 05:23, Usyskin, Alexander wrote: Subject: Re: [PATCH v6 01/11] mtd: core: always create master device Several of my qemu boot tests fail to boot from mtd devices with

RE: [PATCH v6 01/11] mtd: core: always create master device

2025-06-09 Thread Usyskin, Alexander
> Subject: Re: [PATCH v6 01/11] mtd: core: always create master device > > On 6/9/25 05:23, Usyskin, Alexander wrote: > >> Subject: Re: [PATCH v6 01/11] mtd: core: always create master device > >> > >> > >>>>>> Several of my qemu boot

Re: [PATCH v6 01/11] mtd: core: always create master device

2025-06-09 Thread Guenter Roeck
On 6/9/25 05:23, Usyskin, Alexander wrote: Subject: Re: [PATCH v6 01/11] mtd: core: always create master device Several of my qemu boot tests fail to boot from mtd devices with this patch in the mainline kernel. Reverting it fixes the problem. As far as I can see this affects configurations

RE: [PATCH v6 01/11] mtd: core: always create master device

2025-06-09 Thread Usyskin, Alexander
> Subject: Re: [PATCH v6 01/11] mtd: core: always create master device > > > >>>> Several of my qemu boot tests fail to boot from mtd devices with this > patch > >>>> in the mainline kernel. Reverting it fixes the problem. As far as I can &

Re: [PATCH v6 01/11] mtd: core: always create master device

2025-06-09 Thread Miquel Raynal
Several of my qemu boot tests fail to boot from mtd devices with this patch in the mainline kernel. Reverting it fixes the problem. As far as I can see this affects configurations with CONFIG_MTD_PARTITIONED_MASTER=y when trying to boot from an mtd partition other than mt

Re: [PATCH v6 01/11] mtd: core: always create master device

2025-06-08 Thread Guenter Roeck
On 6/8/25 12:37, Miquel Raynal wrote: 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 Hi, On Sun, Mar 02, 2025 at 04:09:11PM +0200, Alexander Usyskin wrote: Create master device without

Re: [PATCH v6 01/11] mtd: core: always create master device

2025-06-08 Thread Miquel Raynal
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 >> >> Hi, >> >> On Sun, Mar 02, 2025 at 04:09:11PM +0200, Alexander Usyskin wrote: >>

RE: [PATCH v6 01/11] mtd: core: always create master device

2025-06-08 Thread Usyskin, Alexander
> Subject: Re: [PATCH v6 01/11] mtd: core: always create master device > > Hi, > > 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. > > > >

Re: [PATCH v6 01/11] mtd: core: always create master device

2025-06-07 Thread Guenter Roeck
Hi, 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: A