Re: [PATCH v2 2/3] PCI: Allow specifying devices using a base bus and path of devfns

From: Logan Gunthorpe
Date: Fri Jun 01 2018 - 11:47:51 EST




On 01/06/18 08:30 AM, Alex Williamson wrote:
> Cool, I'm glad this worked. I note though that there's really not much
> difference between:
>
> [domain:]bus:slot.fn
>
> and
>
> [domain:]bus:slot.fn[/slot.fn[/slot.fn[/...]]]
>
> IOW, what's defined here as the "path:" specification doesn't require
> that we start at a root bus device, it can really specify a path
> starting anywhere, including the target device directly. So can we
> simply extend domain:bus:slot.fn to support paths without a separate
> identifier? Thanks,

Yes, I think you are right. I was just hesitant to change existing
behavior. But if that's the consensus I'll change it for v3.

Thanks,

Logan