openbmc.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Using VFIO vs. developing a kernel module
@ 2021-05-27 13:23 sainath grandhi
  2021-05-27 23:16 ` Andrew Jeffery
  0 siblings, 1 reply; 4+ messages in thread
From: sainath grandhi @ 2021-05-27 13:23 UTC (permalink / raw)
  To: openbmc

Hello,
Our project has an FPGA connected to BMC as a PCIe endpoint. This
endpoint provides a set of registers via MMIO and an interrupt for
notifying completion of work. This endpoint also implements AER
capability.

We have two options to enable this endpoint.
1) Write a new kernel module with a character device interface for
user-space interaction.
2) Use VFIO infrastructure provided by Linux and write an user-space
application.

I am reaching out to the community to check if there is any
recommended option, using VFIO vs. implementing a new kernel module,
or any previous experiences weighing in one option over the other.

A quick grep on https://github.com/openbmc/openbmc with CONFIG_VFIO
does not return any default configs using it.

Please advise.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-05-29 15:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-27 13:23 Using VFIO vs. developing a kernel module sainath grandhi
2021-05-27 23:16 ` Andrew Jeffery
2021-05-28 23:12   ` Dhananjay Phadke
2021-05-29 15:16     ` sainath grandhi

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).