[Skiboot] [PATCH] nvlink: Set a bit in config space to indicate a real PCI device was bound

Stewart Smith stewart at linux.vnet.ibm.com
Tue Jan 12 15:45:38 AEDT 2016


Russell Currey <ruscur at russell.cc> writes:
> Previously, it was difficult to determine from userspace whether a NVLink
> emulated PCI device was associated with a real PCI device. A bit in
> the vendor capabilities section of the config space is now set if a
> device was bound.  The documentation has been updated to reflect this.
>
> In addition, the config space offsets are refactored into #defines.
>
> Signed-off-by: Russell Currey <ruscur at russell.cc>
> ---
>  doc/nvlink.txt |  7 ++++++-
>  hw/npu.c       | 16 ++++++++++++++--
>  2 files changed, 20 insertions(+), 3 deletions(-)

Thanks! Merged to master as of d67d79a.

-- 
Stewart Smith
OPAL Architect, IBM.



More information about the Skiboot mailing list