lkml.org 
[lkml]   [2018]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Requirement to get BAR pci_bus_address in user space
On 2018-06-14 06:29, Srinath Mannam wrote:
> ++ 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.
>

Can you give some info on why you need the actual bar address value?

>
> Regards,
> Srinath.
>
> On Thu, Jun 14, 2018 at 3:50 PM, Christoph Hellwig <hch@lst.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.

\
 
 \ /
  Last update: 2018-06-14 12:34    [W:0.046 / U:0.024 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site