Re: Accessing peripheral register directly from userspace

From: Clemens Ladisch
Date: Tue Apr 13 2010 - 07:37:19 EST


Krishna Gopal wrote:
> Would there be any issues for optimization purpose I do a mmap to a
> peripheral register to directly access it from userspace ?

This means that userspace could access any register in the same page.

Usually this is done only with read-only pages and with devices that
are designed for this so that all accessible registers are 'safe'.


Regards,
Clemens
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/