From: Andrei Danaila <adanaila@ctrlinux.com>
To: Sinan Kaya <okaya@kernel.org>, linux-pci@vger.kernel.org
Subject: Re: Sharing PCIe MMIO with other Drivers
Date: Fri, 09 Nov 2018 16:43:12 -0800 [thread overview]
Message-ID: <1541810592.1176760.1571963216.0765E640@webmail.messagingengine.com> (raw)
In-Reply-To: <9d6840e2-1f36-619c-33fc-7872a072e12d@kernel.org>
Thanks Sinan,
I thought of that as well, unfortunately that it is not possible since the FPGA IP block is proprietary from a 3P vendor and lumps everything under one function with no option of adding additional functions.
On Fri, Nov 9, 2018, at 4:32 PM, Sinan Kaya wrote:
> On 11/9/2018 4:22 PM, Andrei Danaila wrote:
> > A couple of questions:
> >
> > 1. Is this the correct software flow for managing multiple devices exposed by a PCIe BAR0 address space?
> > If not, what is the correct flow?
> > If yes, any ideas on what may be going wrong?
>
> General practice is to create a PCI Physical Function for each sub-functionality
> (I2C/UART/DMA etc.) so that individual drivers can claim their own PCI device
> and its own BAR space without sharing resources.
next prev parent reply other threads:[~2018-11-10 0:43 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-11-10 0:22 Sharing PCIe MMIO with other Drivers Andrei Danaila
2018-11-10 0:32 ` Sinan Kaya
2018-11-10 0:43 ` Andrei Danaila [this message]
2018-11-10 0:48 ` Sinan Kaya
2018-11-10 0:57 ` Andrei Danaila
2018-11-10 1:02 ` Sinan Kaya
2018-11-12 2:26 ` Oliver O'Halloran
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=1541810592.1176760.1571963216.0765E640@webmail.messagingengine.com \
--to=adanaila@ctrlinux.com \
--cc=linux-pci@vger.kernel.org \
--cc=okaya@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).