From: Pratyush Anand <pratyush.anand@st.com>
To: shiv prakash Agarwal <chhotu.shiv@gmail.com>
Cc: "linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
Bjorn Helgaas <bhelgaas@google.com>,
Yinghai Lu <yinghai@kernel.org>
Subject: Re: PCIE: Program pcie device private registers
Date: Tue, 4 Mar 2014 09:29:17 +0530 [thread overview]
Message-ID: <20140304035917.GA3032@pratyush-vbox> (raw)
In-Reply-To: <CAHH3p5JzL-9T-Hn=fp1S9=URzycpKTy6toaA0AjQfJYt7mQXsA@mail.gmail.com>
On Thu, Feb 27, 2014 at 05:12:38PM +0800, shiv prakash Agarwal wrote:
> Hi All,
>
>
>
> One query:
>
>
>
> We can program config space registers of a pcie device using setpci but
> how can we program private registers of a pcie device?
You mean application specific registers?
These registers will not be accessible through any generic user space program.
If you want to access them for debug purposes then you can provide
support in your driver.
Regards
Pratyush
>
> Can it be done through PCIE interface or something else?
>
>
>
> With best,
>
> Jay
next prev parent reply other threads:[~2014-03-04 3:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <CAHH3p5JzL-9T-Hn=fp1S9=URzycpKTy6toaA0AjQfJYt7mQXsA@mail.gmail.com>
2014-02-27 22:57 ` PCIE: Program pcie device private registers Yinghai Lu
2014-03-04 3:59 ` Pratyush Anand [this message]
2014-03-04 17:45 ` Bjorn Helgaas
2014-03-04 18:10 ` Alex Williamson
2014-02-27 9:13 shiv prakash Agarwal
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=20140304035917.GA3032@pratyush-vbox \
--to=pratyush.anand@st.com \
--cc=bhelgaas@google.com \
--cc=chhotu.shiv@gmail.com \
--cc=linux-pci@vger.kernel.org \
--cc=yinghai@kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).