Re: [PATCH 1/2] kernel/resource: Add new flag IORESOURCE_SHARED

2015-06-09 Thread Ricardo Ribalda Delgado
Hello Grant On Tue, Jun 9, 2015 at 1:13 PM, Grant Likely wrote: > > On Mon, 8 Jun 2015 22:02:06 +0200 > , Ricardo Ribalda Delgado > wrote: > > Hello Grant > > > > On Mon, Jun 8, 2015 at 8:23 PM, Grant Likely > > wrote: > > > On Fri, 5 Jun 2015 12:51:17 +0200 > > > , Ricardo Ribalda Delgado

Re: [PATCH 1/2] kernel/resource: Add new flag IORESOURCE_SHARED

2015-06-09 Thread Grant Likely
On Mon, 8 Jun 2015 22:02:06 +0200 , Ricardo Ribalda Delgado wrote: > Hello Grant > > On Mon, Jun 8, 2015 at 8:23 PM, Grant Likely wrote: > > On Fri, 5 Jun 2015 12:51:17 +0200 > > , Ricardo Ribalda Delgado > > wrote: > >> Some device tree platforms have not defined correctly their memory > >>

Re: [PATCH 1/2] kernel/resource: Add new flag IORESOURCE_SHARED

2015-06-08 Thread Ricardo Ribalda Delgado
Hello Grant On Mon, Jun 8, 2015 at 8:23 PM, Grant Likely wrote: > On Fri, 5 Jun 2015 12:51:17 +0200 > , Ricardo Ribalda Delgado > wrote: >> Some device tree platforms have not defined correctly their memory >> resources (i.e. Overlapping or duplication of resources). >> To avoid this issue we

Re: [PATCH 1/2] kernel/resource: Add new flag IORESOURCE_SHARED

2015-06-08 Thread Grant Likely
On Fri, 5 Jun 2015 12:51:17 +0200 , Ricardo Ribalda Delgado wrote: > Some device tree platforms have not defined correctly their memory > resources (i.e. Overlapping or duplication of resources). > To avoid this issue we have historically avoided to add their resources to > the resource tree. Th

[PATCH 1/2] kernel/resource: Add new flag IORESOURCE_SHARED

2015-06-05 Thread Ricardo Ribalda Delgado
Some device tree platforms have not defined correctly their memory resources (i.e. Overlapping or duplication of resources). To avoid this issue we have historically avoided to add their resources to the resource tree. This leads to code duplication and oops when trying to unload dynamically a devi