Thread (89 messages) 89 messages, 11 authors, 2020-05-13

Re: [PATCH RFC 04/15] drivers/base: Add support for a new IMS irq domain

From: Jason Gunthorpe <jgg@ziepe.ca>
Date: 2020-05-04 12:14:06
Also in: kvm, linux-pci, lkml

On Sun, May 03, 2020 at 05:25:28PM -0700, Dey, Megha wrote:
quoted
quoted
The use case if when we have a device assigned to a guest and we
want to allocate IMS(platform-msi) interrupts for that
guest-assigned device. Currently, this is abstracted through a mdev
interface.
And the mdev has the pci_device internally, so it should simply pass
that pci_device to the platform_msi machinery.
hmm i am not sure I follow this. mdev has a pci_device internally? which
struct are you referring to here?
mdev in general may not, but any ADI trying to use mdev will
necessarily have access to a struct pci_device.
mdev is merely a micropartitioned PCI device right, which no real PCI
resource backing. I am not how else we can find the IRQ domain associated
with an mdev..
ADI always has real PCI resource backing.

Jason
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help