[PATCH libpciaccess] linux: support 32 bit PCI domains (v3)

Eric Anholt eric at anholt.net
Mon Sep 18 19:29:55 UTC 2017


Adam Jackson <ajax at redhat.com> writes:

> From: Stephen Hemminger <stephen at networkplumber.org>
>
> 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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.x.org/archives/xorg-devel/attachments/20170918/9196bcda/attachment.sig>


More information about the xorg-devel mailing list