[SRU][Xenial][Yakkety][Zesty][Artful][PATCH 0/1] UBUNTU: SAUCE: pci-hyperv: Use only 16 bit integer for PCI domain

Joseph Salisbury joseph.salisbury at canonical.com
Mon Apr 24 23:38:07 UTC 2017


BugLink: http://bugs.launchpad.net/bugs/1684971

== SRU Justification ==
This patch fixes a problem introduced by mainline commit 4a9b0933bdfc. 
Some drivers were expecting a u16 instead of 
a u32 for PCI device serial numbers, as observed by Oops and hangs in 
Azure on NC and NV GPU instances.

This patch has been submitted upstream, but is not in mainline or -next
yet, which is why I'm submitting it as SAUCE.

Upstream thread:
https://lkml.org/lkml/2017/4/20/729

== Fix ==
Author: Haiyang Zhang <haiyangz at microsoft.com>
Date:   Thu Apr 20 13:54:14 2017 -0400

	pci-hyperv: Use only 16 bit integer for PCI domain

== Test Case ==
A test kernel was built with this patch and tested by the original bug reporter.
The bug reporter states the test kernel resolved the bug.



Haiyang Zhang (1):
  This patch uses the lower 16 bits of the serial number as PCI    
    domain, otherwise some drivers may not be able to handle it.

 drivers/pci/host/pci-hyperv.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

-- 
2.7.4





More information about the kernel-team mailing list