Messages in this thread | | | Date | Tue, 23 Oct 2012 21:42:33 +0200 | From | Olaf Hering <> | Subject | when to switch from early_ioremap to ioremap |
| |
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 pointer, and to release to old pointer? Right now I do that in the pci-device setup code, which happens to work. Unfortunately early_ioremap is not mentioned in Documentation/, hence the question.
Olaf
| |