Re: [RFC 2/3] of: reserved_mem: Accessor for acquiring reserved_mem

2017-05-26 Thread Andy Gross
On Sat, Apr 22, 2017 at 10:35:18AM -0700, Bjorn Andersson wrote: > In some cases drivers referencing a reserved-memory region might want to > remap the entire region, but when defining the reserved-memory by "size" > the client driver has no means to know the associated base address of > the

Re: [RFC 2/3] of: reserved_mem: Accessor for acquiring reserved_mem

2017-05-26 Thread Andy Gross
On Sat, Apr 22, 2017 at 10:35:18AM -0700, Bjorn Andersson wrote: > In some cases drivers referencing a reserved-memory region might want to > remap the entire region, but when defining the reserved-memory by "size" > the client driver has no means to know the associated base address of > the

Re: [RFC 2/3] of: reserved_mem: Accessor for acquiring reserved_mem

2017-04-24 Thread Frank Rowand
On 04/22/17 10:35, Bjorn Andersson wrote: > In some cases drivers referencing a reserved-memory region might want to > remap the entire region, but when defining the reserved-memory by "size" > the client driver has no means to know the associated base address of > the reserved memory region. > >

Re: [RFC 2/3] of: reserved_mem: Accessor for acquiring reserved_mem

2017-04-24 Thread Frank Rowand
On 04/22/17 10:35, Bjorn Andersson wrote: > In some cases drivers referencing a reserved-memory region might want to > remap the entire region, but when defining the reserved-memory by "size" > the client driver has no means to know the associated base address of > the reserved memory region. > >

[RFC 2/3] of: reserved_mem: Accessor for acquiring reserved_mem

2017-04-22 Thread Bjorn Andersson
In some cases drivers referencing a reserved-memory region might want to remap the entire region, but when defining the reserved-memory by "size" the client driver has no means to know the associated base address of the reserved memory region. This patch adds an accessor for such drivers to

[RFC 2/3] of: reserved_mem: Accessor for acquiring reserved_mem

2017-04-22 Thread Bjorn Andersson
In some cases drivers referencing a reserved-memory region might want to remap the entire region, but when defining the reserved-memory by "size" the client driver has no means to know the associated base address of the reserved memory region. This patch adds an accessor for such drivers to