Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-25 Thread Frank Rowand
Hi Jan, Alan, On 04/25/18 13:07, Jan Kiszka wrote: > On 2018-04-25 20:40, Frank Rowand wrote: >> On 04/24/18 22:23, Jan Kiszka wrote: >>> On 2018-04-24 22:56, Frank Rowand wrote: Hi Alan, On 04/23/18 15:38, Frank Rowand wrote: > Hi Jan, > > + Alan Tull for fpga perspecti

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-25 Thread Frank Rowand
On 04/25/18 17:07, Frank Rowand wrote: > Hi Alan, > > On 04/25/18 11:19, Alan Tull wrote: >> On Wed, Apr 25, 2018 at 12:41 PM, Frank Rowand >> wrote: >>> On 04/25/18 07:59, Alan Tull wrote: On Tue, Apr 24, 2018 at 3:56 PM, Frank Rowand wrote: > Hi Alan, > > On 04/23/18 15

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-25 Thread Frank Rowand
Hi Alan, On 04/25/18 11:19, Alan Tull wrote: > On Wed, Apr 25, 2018 at 12:41 PM, Frank Rowand wrote: >> On 04/25/18 07:59, Alan Tull wrote: >>> On Tue, Apr 24, 2018 at 3:56 PM, Frank Rowand >>> wrote: Hi Alan, On 04/23/18 15:38, Frank Rowand wrote: > Hi Jan, > > + Ala

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-25 Thread Frank Rowand
On 04/25/18 12:40, Jan Kiszka wrote: > On 2018-04-25 21:02, Frank Rowand wrote: >> On 04/25/18 11:56, Frank Rowand wrote: >>> On 04/24/18 22:22, Jan Kiszka wrote: On 2018-04-24 23:15, Frank Rowand wrote: > On 04/23/18 22:29, Jan Kiszka wrote: >> On 2018-04-24 00:38, Frank Rowand wrote:

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-25 Thread Alan Tull
On Wed, Apr 25, 2018 at 3:07 PM, Jan Kiszka wrote: > On 2018-04-25 20:40, Frank Rowand wrote: >> On 04/24/18 22:23, Jan Kiszka wrote: >>> On 2018-04-24 22:56, Frank Rowand wrote: Hi Alan, On 04/23/18 15:38, Frank Rowand wrote: > Hi Jan, > > + Alan Tull for fpga perspecti

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-25 Thread Jan Kiszka
On 2018-04-25 21:53, Geert Uytterhoeven wrote: > Hi Jan, > > On Wed, Apr 25, 2018 at 9:40 PM, Jan Kiszka wrote: >> What other pointers are we talking about? > > There's also the issue that some data has been allocated using kmalloc(), > while others hasn't. The "other" pointers point to e.g. ear

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-25 Thread Jan Kiszka
On 2018-04-25 20:40, Frank Rowand wrote: > On 04/24/18 22:23, Jan Kiszka wrote: >> On 2018-04-24 22:56, Frank Rowand wrote: >>> Hi Alan, >>> >>> On 04/23/18 15:38, Frank Rowand wrote: Hi Jan, + Alan Tull for fpga perspective On 04/22/18 03:30, Jan Kiszka wrote: > On 201

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-25 Thread Geert Uytterhoeven
Hi Jan, On Wed, Apr 25, 2018 at 9:40 PM, Jan Kiszka wrote: > What other pointers are we talking about? There's also the issue that some data has been allocated using kmalloc(), while others hasn't. The "other" pointers point to e.g. early bootmem or memblock. Gr{oetje,eeting}s,

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-25 Thread Jan Kiszka
On 2018-04-25 21:02, Frank Rowand wrote: > On 04/25/18 11:56, Frank Rowand wrote: >> On 04/24/18 22:22, Jan Kiszka wrote: >>> On 2018-04-24 23:15, Frank Rowand wrote: On 04/23/18 22:29, Jan Kiszka wrote: > On 2018-04-24 00:38, Frank Rowand wrote: >> Hi Jan, >> >> + Alan Tull fo

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-25 Thread Frank Rowand
On 04/25/18 11:56, Frank Rowand wrote: > On 04/24/18 22:22, Jan Kiszka wrote: >> On 2018-04-24 23:15, Frank Rowand wrote: >>> On 04/23/18 22:29, Jan Kiszka wrote: On 2018-04-24 00:38, Frank Rowand wrote: > Hi Jan, > > + Alan Tull for fpga perspective > > On 04/22/18 03:30,

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-25 Thread Frank Rowand
On 04/24/18 22:22, Jan Kiszka wrote: > On 2018-04-24 23:15, Frank Rowand wrote: >> On 04/23/18 22:29, Jan Kiszka wrote: >>> On 2018-04-24 00:38, Frank Rowand wrote: Hi Jan, + Alan Tull for fpga perspective On 04/22/18 03:30, Jan Kiszka wrote: > On 2018-04-11 07:42, Jan

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-25 Thread Frank Rowand
On 04/24/18 22:23, Jan Kiszka wrote: > On 2018-04-24 22:56, Frank Rowand wrote: >> Hi Alan, >> >> On 04/23/18 15:38, Frank Rowand wrote: >>> Hi Jan, >>> >>> + Alan Tull for fpga perspective >>> >>> On 04/22/18 03:30, Jan Kiszka wrote: On 2018-04-11 07:42, Jan Kiszka wrote: > On 2018-04-05

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-25 Thread Alan Tull
On Wed, Apr 25, 2018 at 12:41 PM, Frank Rowand wrote: > On 04/25/18 07:59, Alan Tull wrote: >> On Tue, Apr 24, 2018 at 3:56 PM, Frank Rowand wrote: >>> Hi Alan, >>> >>> On 04/23/18 15:38, Frank Rowand wrote: Hi Jan, + Alan Tull for fpga perspective On 04/22/18 03:30, Jan

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-25 Thread Frank Rowand
On 04/25/18 07:59, Alan Tull wrote: > On Tue, Apr 24, 2018 at 3:56 PM, Frank Rowand wrote: >> Hi Alan, >> >> On 04/23/18 15:38, Frank Rowand wrote: >>> Hi Jan, >>> >>> + Alan Tull for fpga perspective >>> >>> On 04/22/18 03:30, Jan Kiszka wrote: On 2018-04-11 07:42, Jan Kiszka wrote: > On

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-25 Thread Alan Tull
On Tue, Apr 24, 2018 at 3:56 PM, Frank Rowand wrote: > Hi Alan, > > On 04/23/18 15:38, Frank Rowand wrote: >> Hi Jan, >> >> + Alan Tull for fpga perspective >> >> On 04/22/18 03:30, Jan Kiszka wrote: >>> On 2018-04-11 07:42, Jan Kiszka wrote: On 2018-04-05 23:12, Rob Herring wrote: > On T

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-24 Thread Jan Kiszka
On 2018-04-24 20:26, Alan Tull wrote: > On Tue, Apr 24, 2018 at 11:08 AM, Alan Tull wrote: >> On Tue, Apr 24, 2018 at 12:29 AM, Jan Kiszka wrote: >>> >>> We have drivers/fpga/of-fpga-region.c in-tree, and that does not seem to >>> store any pointers to objects, rather consumes them in-place. And

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-24 Thread Jan Kiszka
On 2018-04-24 22:56, Frank Rowand wrote: > Hi Alan, > > On 04/23/18 15:38, Frank Rowand wrote: >> Hi Jan, >> >> + Alan Tull for fpga perspective >> >> On 04/22/18 03:30, Jan Kiszka wrote: >>> On 2018-04-11 07:42, Jan Kiszka wrote: On 2018-04-05 23:12, Rob Herring wrote: > On Thu, Apr 5, 2

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-24 Thread Jan Kiszka
On 2018-04-24 23:15, Frank Rowand wrote: > On 04/23/18 22:29, Jan Kiszka wrote: >> On 2018-04-24 00:38, Frank Rowand wrote: >>> Hi Jan, >>> >>> + Alan Tull for fpga perspective >>> >>> On 04/22/18 03:30, Jan Kiszka wrote: On 2018-04-11 07:42, Jan Kiszka wrote: > On 2018-04-05 23:12, Rob He

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-24 Thread Frank Rowand
On 04/23/18 22:29, Jan Kiszka wrote: > On 2018-04-24 00:38, Frank Rowand wrote: >> Hi Jan, >> >> + Alan Tull for fpga perspective >> >> On 04/22/18 03:30, Jan Kiszka wrote: >>> On 2018-04-11 07:42, Jan Kiszka wrote: On 2018-04-05 23:12, Rob Herring wrote: > On Thu, Apr 5, 2018 at 2:28 PM,

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-24 Thread Frank Rowand
Hi Alan, On 04/23/18 15:38, Frank Rowand wrote: > Hi Jan, > > + Alan Tull for fpga perspective > > On 04/22/18 03:30, Jan Kiszka wrote: >> On 2018-04-11 07:42, Jan Kiszka wrote: >>> On 2018-04-05 23:12, Rob Herring wrote: On Thu, Apr 5, 2018 at 2:28 PM, Frank Rowand wrote: > On 0

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-24 Thread Alan Tull
On Tue, Apr 24, 2018 at 11:08 AM, Alan Tull wrote: > On Tue, Apr 24, 2018 at 12:29 AM, Jan Kiszka wrote: >> On 2018-04-24 00:38, Frank Rowand wrote: >>> Hi Jan, >>> >>> + Alan Tull for fpga perspective >>> >>> On 04/22/18 03:30, Jan Kiszka wrote: On 2018-04-11 07:42, Jan Kiszka wrote: >

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-24 Thread Alan Tull
On Tue, Apr 24, 2018 at 12:29 AM, Jan Kiszka wrote: > On 2018-04-24 00:38, Frank Rowand wrote: >> Hi Jan, >> >> + Alan Tull for fpga perspective >> >> On 04/22/18 03:30, Jan Kiszka wrote: >>> On 2018-04-11 07:42, Jan Kiszka wrote: On 2018-04-05 23:12, Rob Herring wrote: > On Thu, Apr 5, 2

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-23 Thread Jan Kiszka
On 2018-04-24 00:38, Frank Rowand wrote: > Hi Jan, > > + Alan Tull for fpga perspective > > On 04/22/18 03:30, Jan Kiszka wrote: >> On 2018-04-11 07:42, Jan Kiszka wrote: >>> On 2018-04-05 23:12, Rob Herring wrote: On Thu, Apr 5, 2018 at 2:28 PM, Frank Rowand wrote: > On 04/05/18

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-23 Thread Frank Rowand
Hi Jan, + Alan Tull for fpga perspective On 04/22/18 03:30, Jan Kiszka wrote: > On 2018-04-11 07:42, Jan Kiszka wrote: >> On 2018-04-05 23:12, Rob Herring wrote: >>> On Thu, Apr 5, 2018 at 2:28 PM, Frank Rowand wrote: On 04/05/18 12:13, Jan Kiszka wrote: > On 2018-04-05 20:59, Frank Row

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-22 Thread Jan Kiszka
On 2018-04-11 07:42, Jan Kiszka wrote: > On 2018-04-05 23:12, Rob Herring wrote: >> On Thu, Apr 5, 2018 at 2:28 PM, Frank Rowand wrote: >>> On 04/05/18 12:13, Jan Kiszka wrote: On 2018-04-05 20:59, Frank Rowand wrote: > Hi Jan, > > On 04/04/18 15:35, Jan Kiszka wrote: >> Hi Fr

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-10 Thread Jan Kiszka
On 2018-04-05 23:12, Rob Herring wrote: > On Thu, Apr 5, 2018 at 2:28 PM, Frank Rowand wrote: >> On 04/05/18 12:13, Jan Kiszka wrote: >>> On 2018-04-05 20:59, Frank Rowand wrote: Hi Jan, On 04/04/18 15:35, Jan Kiszka wrote: > Hi Frank, > > On 2018-03-04 01:17, frowand.l.

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-05 Thread Rob Herring
On Thu, Apr 5, 2018 at 2:28 PM, Frank Rowand wrote: > On 04/05/18 12:13, Jan Kiszka wrote: >> On 2018-04-05 20:59, Frank Rowand wrote: >>> Hi Jan, >>> >>> On 04/04/18 15:35, Jan Kiszka wrote: Hi Frank, On 2018-03-04 01:17, frowand.l...@gmail.com wrote: > From: Frank Rowand

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-05 Thread Frank Rowand
On 04/05/18 12:38, Jan Kiszka wrote: > On 2018-04-05 21:28, Frank Rowand wrote: >> On 04/05/18 12:13, Jan Kiszka wrote: >>> On 2018-04-05 20:59, Frank Rowand wrote: Hi Jan, On 04/04/18 15:35, Jan Kiszka wrote: > Hi Frank, > > On 2018-03-04 01:17, frowand.l...@gmail.com wr

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-05 Thread Jan Kiszka
On 2018-04-05 21:28, Frank Rowand wrote: > On 04/05/18 12:13, Jan Kiszka wrote: >> On 2018-04-05 20:59, Frank Rowand wrote: >>> Hi Jan, >>> >>> On 04/04/18 15:35, Jan Kiszka wrote: Hi Frank, On 2018-03-04 01:17, frowand.l...@gmail.com wrote: > From: Frank Rowand > > Move

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-05 Thread Frank Rowand
On 04/05/18 12:26, Rob Herring wrote: > On Thu, Apr 5, 2018 at 2:16 PM, Frank Rowand wrote: >> On 04/05/18 00:22, Jan Kiszka wrote: >>> On 2018-04-05 02:55, Rob Herring wrote: On Wed, Apr 4, 2018 at 5:35 PM, Jan Kiszka wrote: > Hi Frank, > > On 2018-03-04 01:17, frowand.l...@gmai

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-05 Thread Frank Rowand
On 04/05/18 12:13, Jan Kiszka wrote: > On 2018-04-05 20:59, Frank Rowand wrote: >> Hi Jan, >> >> On 04/04/18 15:35, Jan Kiszka wrote: >>> Hi Frank, >>> >>> On 2018-03-04 01:17, frowand.l...@gmail.com wrote: From: Frank Rowand Move duplicating and unflattening of an overlay flattened

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-05 Thread Rob Herring
On Thu, Apr 5, 2018 at 2:16 PM, Frank Rowand wrote: > On 04/05/18 00:22, Jan Kiszka wrote: >> On 2018-04-05 02:55, Rob Herring wrote: >>> On Wed, Apr 4, 2018 at 5:35 PM, Jan Kiszka wrote: Hi Frank, On 2018-03-04 01:17, frowand.l...@gmail.com wrote: > From: Frank Rowand > >

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-05 Thread Jan Kiszka
On 2018-04-05 21:13, Frank Rowand wrote: > On 04/04/18 17:55, Rob Herring wrote: >> On Wed, Apr 4, 2018 at 5:35 PM, Jan Kiszka wrote: >>> Hi Frank, >>> >>> On 2018-03-04 01:17, frowand.l...@gmail.com wrote: From: Frank Rowand Move duplicating and unflattening of an overlay flattene

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-05 Thread Frank Rowand
On 04/05/18 00:22, Jan Kiszka wrote: > On 2018-04-05 02:55, Rob Herring wrote: >> On Wed, Apr 4, 2018 at 5:35 PM, Jan Kiszka wrote: >>> Hi Frank, >>> >>> On 2018-03-04 01:17, frowand.l...@gmail.com wrote: From: Frank Rowand Move duplicating and unflattening of an overlay flattened

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-05 Thread Frank Rowand
On 04/04/18 17:55, Rob Herring wrote: > On Wed, Apr 4, 2018 at 5:35 PM, Jan Kiszka wrote: >> Hi Frank, >> >> On 2018-03-04 01:17, frowand.l...@gmail.com wrote: >>> From: Frank Rowand >>> >>> Move duplicating and unflattening of an overlay flattened devicetree >>> (FDT) into the overlay applicatio

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-05 Thread Jan Kiszka
On 2018-04-05 20:59, Frank Rowand wrote: > Hi Jan, > > On 04/04/18 15:35, Jan Kiszka wrote: >> Hi Frank, >> >> On 2018-03-04 01:17, frowand.l...@gmail.com wrote: >>> From: Frank Rowand >>> >>> Move duplicating and unflattening of an overlay flattened devicetree >>> (FDT) into the overlay applicat

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-05 Thread Frank Rowand
Hi Jan, On 04/04/18 15:35, Jan Kiszka wrote: > Hi Frank, > > On 2018-03-04 01:17, frowand.l...@gmail.com wrote: >> From: Frank Rowand >> >> Move duplicating and unflattening of an overlay flattened devicetree >> (FDT) into the overlay application code. To accomplish this, >> of_overlay_apply()

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-05 Thread Jan Kiszka
On 2018-04-05 02:55, Rob Herring wrote: > On Wed, Apr 4, 2018 at 5:35 PM, Jan Kiszka wrote: >> Hi Frank, >> >> On 2018-03-04 01:17, frowand.l...@gmail.com wrote: >>> From: Frank Rowand >>> >>> Move duplicating and unflattening of an overlay flattened devicetree >>> (FDT) into the overlay applicat

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-04 Thread Rob Herring
On Wed, Apr 4, 2018 at 5:35 PM, Jan Kiszka wrote: > Hi Frank, > > On 2018-03-04 01:17, frowand.l...@gmail.com wrote: >> From: Frank Rowand >> >> Move duplicating and unflattening of an overlay flattened devicetree >> (FDT) into the overlay application code. To accomplish this, >> of_overlay_appl

Re: [PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-04-04 Thread Jan Kiszka
Hi Frank, On 2018-03-04 01:17, frowand.l...@gmail.com wrote: > From: Frank Rowand > > Move duplicating and unflattening of an overlay flattened devicetree > (FDT) into the overlay application code. To accomplish this, > of_overlay_apply() is replaced by of_overlay_fdt_apply(). > > The copy of

[PATCH v7 2/5] of: change overlay apply input data from unflattened to FDT

2018-03-03 Thread frowand . list
From: Frank Rowand Move duplicating and unflattening of an overlay flattened devicetree (FDT) into the overlay application code. To accomplish this, of_overlay_apply() is replaced by of_overlay_fdt_apply(). The copy of the FDT (aka "duplicate FDT") now belongs to devicetree code, which is thus