libpciaccess: Changes to 'master'

Adam Jackson ajax at kemper.freedesktop.org
Wed Sep 20 17:30:25 UTC 2017


 include/pciaccess.h |   15 ++++++++++++++-
 src/linux_sysfs.c   |   25 ++++++++++++-------------
 src/netbsd_pci.c    |    4 ++++
 src/openbsd_pci.c   |    4 ++++
 src/solx_devfs.c    |    5 +++++
 src/x86_pci.c       |    2 +-
 6 files changed, 40 insertions(+), 15 deletions(-)

New commits:
commit a167bd6474522a709ff3cbb00476c0e4309cb66f
Author: Stephen Hemminger <stephen at networkplumber.org>
Date:   Mon Sep 18 13:17:23 2017 -0400

    linux: support 32 bit PCI domains (v3)
    
    The PCI domain may be larger than 16 bits on Microsoft Azure and other
    virtual environments. PCI busses reported by ACPI are limited to 16
    bits, but in Azure the domain value for pass through devices is
    intentionally larger than 16 bits to avoid clashing with local devices.
    This is needed to support pass through of GPU devices.
    
    v3: (ajax)
    Update FreeBSD and Solaris backends to preserve the full 32-bit domain
    number, since on those OSes it stands a chance of working already.
    Update NetBSD and OpenBSD backends to initialize domain_16 compatibly
    with older libpciaccess; neither backend appears to support more than a
    handful of domains to begin with though. Trivially update the generic
    x86 backend for source compatibility, though it still only supports one
    domain and will never be better.
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=101744
    Signed-off-by: Stephen Hemminger <sthemmin at microsoft.com>
    Reviewed-by: Eric Anholt <eric at anholt.net>



More information about the xorg-commit mailing list