[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CABe79T6k387EnDrpydTbQYQ+sZoWXKUee23EDzDJqnkroOmodA@mail.gmail.com>
Date: Thu, 14 Jun 2018 15:59:55 +0530
From: Srinath Mannam <srinath.mannam@...adcom.com>
To: Christoph Hellwig <hch@....de>
Cc: Bjorn Helgaas <bhelgaas@...gle.com>,
Abhishek Shah <abhishek.shah@...adcom.com>,
Vikram Prakash <vikram.prakash@...adcom.com>,
linux-pci@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-nvme@...ts.infradead.org,
Alex Williamson <alex.williamson@...hat.com>,
kvm@...r.kernel.org
Subject: Re: Requirement to get BAR pci_bus_address in user space
++ Alex Williamson, kvm,
Hi Christoph,
Thank you for quick reply.
If we want to add this in vfio then I think we need to do the same in
uio case also.
As I mentioned in previous mail, in the current implementation
resource information (address and size) is gathering from resource
named file created in /sys directory.
So I expect it would be better to have similar method as existing in sysfs.
Regards,
Srinath.
On Thu, Jun 14, 2018 at 3:50 PM, Christoph Hellwig <hch@....de> wrote:
> The only safe way to use PCI(e) devices in userspace is through vfio.
> I think that is where you need to take your inquiries.
Powered by blists - more mailing lists