Re: when to switch from early_ioremap to ioremap

2012-10-23 Thread Yinghai Lu
On Tue, Oct 23, 2012 at 2:50 PM, Olaf Hering wrote: > On Tue, Oct 23, Yinghai Lu wrote: > >> Also early_ioremap has slot limitation: 4. and you should not hold one >> slot too long, otherwise other users could >> have problem to reach the limit. > > Thanks. After which init call is ioremap availab

Re: when to switch from early_ioremap to ioremap

2012-10-23 Thread Olaf Hering
On Tue, Oct 23, Yinghai Lu wrote: > Also early_ioremap has slot limitation: 4. and you should not hold one > slot too long, otherwise other users could > have problem to reach the limit. Thanks. After which init call is ioremap available anymway? Olaf -- To unsubscribe from this list: send the l

Re: when to switch from early_ioremap to ioremap

2012-10-23 Thread Yinghai Lu
On Tue, Oct 23, 2012 at 12:42 PM, Olaf Hering wrote: > > To obtain an address to a PFN in init_hypervisor_platform (called from > arch/x86/kernel/setup.c:setup_arch) I use early_ioremap. Later the > address to that PFN needs to be obtained with ioremap, and early_iounmap > needs to be called on th

when to switch from early_ioremap to ioremap

2012-10-23 Thread Olaf Hering
To obtain an address to a PFN in init_hypervisor_platform (called from arch/x86/kernel/setup.c:setup_arch) I use early_ioremap. Later the address to that PFN needs to be obtained with ioremap, and early_iounmap needs to be called on the first address. When is the time to obtain and use the new po