Question: what is ioremap in linux?
Answer: ioremap: ioremap is used to map physical memory into virtual address space of the kernel. In most of the system now a days, the devices are memory mapped to the system. That means, kernel can access these device registers by writing directly into these physical memory addresses.