Re: [RFC][PATCH 1/2] mm/vmalloc: Add IO mapping space reused interface.

2014-05-12 Thread Richard Lee
On Tue, May 13, 2014 at 11:13 AM, Rob Herring wrote: > On Sun, May 11, 2014 at 9:19 PM, Richard Lee wrote: >> For the IO mapping, for the same physical address space maybe >> mapped more than one time, for example, in some SoCs: >> 0x2000 ~ 0x20001000: are global control IO physical map, >> a

Re: [RFC][PATCH 1/2] mm/vmalloc: Add IO mapping space reused interface.

2014-05-12 Thread Rob Herring
On Sun, May 11, 2014 at 9:19 PM, Richard Lee wrote: > For the IO mapping, for the same physical address space maybe > mapped more than one time, for example, in some SoCs: > 0x2000 ~ 0x20001000: are global control IO physical map, > and this range space will be used by many drivers. What addr

[RFC][PATCH 1/2] mm/vmalloc: Add IO mapping space reused interface.

2014-05-11 Thread Richard Lee
For the IO mapping, for the same physical address space maybe mapped more than one time, for example, in some SoCs: 0x2000 ~ 0x20001000: are global control IO physical map, and this range space will be used by many drivers. And then if each driver will do the same ioremap operation, we will was