public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Clemens Ladisch <clemens@ladisch.de>
To: Krishna Gopal <linuxkrishna@gmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Accessing peripheral register directly from userspace
Date: Tue, 13 Apr 2010 13:36:13 +0200	[thread overview]
Message-ID: <4BC4572D.10502@ladisch.de> (raw)
In-Reply-To: <q2m68f510a71004121001v370509fftc6f4b86c4420b509@mail.gmail.com>

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

      reply	other threads:[~2010-04-13 11:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-12 17:01 Accessing peripheral register directly from userspace Krishna Gopal
2010-04-13 11:36 ` Clemens Ladisch [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BC4572D.10502@ladisch.de \
    --to=clemens@ladisch.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxkrishna@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox