Accessing peripheral register directly from userspace

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Krishna Gopal
Date: Monday, April 12, 2010 - 10:01 am

Would there be any issues for optimization purpose I do a mmap to a
peripheral register to directly access it from userspace ? This is
considering the peripheral already has a Kernel driver through which
you can set the register bit.

Basically I want to avoid the additional context switch on entering
the Kernel to set that one bit in the Peripheral register.

I request you to please share your thoughts.

Best regards,
Krishna
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Accessing peripheral register directly from userspace, Krishna Gopal, (Mon Apr 12, 10:01 am)
Re: Accessing peripheral register directly from userspace, Clemens Ladisch, (Tue Apr 13, 4:36 am)