title: Are there any benefits to using ioremap for Port Space Addresses?
body: <p>I'm currently modifying a device driver for Digital I/O board. After examining the device drivers, I saw that I/O is accessed through Port Space Addresses (i.e inb, outb). This results in around 1.5us to access a value. I'm trying to send a CLK signal with around 0.5us pulse so using port space slows down the process I guess.</p>
  <p>I saw that <code>void *ioremap(unsigned long phys_addr, unsigned long size);</code> can be used to map port space to kernel virtual address. A brief explanation by <a href="https://stackoverflow.com/a/41713401/2289242">@omotto</a></p>
  <p><em>Are there any benefits of using this method in terms of access speed?</em></p>
  <p><em>I don't think this could be that easy? What's the catch?</em></p>
  <p>Best Regards.
  Thanks.</p>