Comment 5 for bug 1698706

Revision history for this message
Zhanglei Mao (zhanglei-mao) wrote : Re: [Bug 1698706] Re: Quirk for non-compliant PCI bridge on HiSilicon D05 board

It was test by Huawei and verified this bug fix the problem of x-window. I
have change it, but not I am make it right for what you expected. I am not
so familiar of our Launchpad.

[image: Inline image 1]

On Fri, Jul 21, 2017 at 5:24 PM, Kleber Sacilotto de Souza <
<email address hidden>> wrote:

> This bug is awaiting verification that the kernel in -proposed solves
> the problem. Please test the kernel and update this bug with the
> results. If the problem is solved, change the tag 'verification-needed-
> zesty' to 'verification-done-zesty'. If the problem still exists, change
> the tag 'verification-needed-zesty' to 'verification-failed-zesty'.
>
> If verification is not done by 5 working days from today, this fix will
> be dropped from the source code, and this bug will be closed.
>
> See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how
> to enable and use -proposed. Thank you!
>
>
> ** Tags added: verification-needed-zesty
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1698706
>
> Title:
> Quirk for non-compliant PCI bridge on HiSilicon D05 board
>
> Status in linux package in Ubuntu:
> Fix Committed
> Status in linux source package in Zesty:
> Fix Committed
>
> Bug description:
> SRU Justification
>
> [Impact]
> Xorg autodetection does not work on HiSilicon D05 boards.
>
> [Fix]
> The HiSilicon D05 board has some PCI bridges (PCI ID 19e5:1610) that are
> not spec-compliant: they do not set the VGA Enable bit when a VGA card is
> behind the bridge. This stops vgaarb setting the device as a boot vga
> device, breaking Xorg auto-detection. [0]
>
> Despite this, the hibmc VGA card (PCI ID 19e5:1711) is known to work
> when behind these bridges.
>
> Provide a quirk so that this combination of bridge and card works.
>
> [Testcase]
> On an affected board, run:
> # find /sys/devices -name boot_vga -exec cat \{\} \;
>
> This should print 0 without this patch and 1 with this patch.
>
> [Regression Potential]
> There is a risk with overriding the VGA arbiter that adding additional
> VGA cards to the board may go wrong somehow. The fixup specifically tests
> for the bridge and card on the board, so regressions should be limited to
> that combination of bridge and card.
>
> [Notes]
> HiSilicon is hoping to have 16.04.3 HWE kernel support their board,
> hence the submission of this patch before it has been accepted upstream.
> The patch has been submitted upstream and I will continue to work with
> upstream to land it.[1]
>
> [0] https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991 - this
> bug tracked debugging of a segfault and then this issue. Comments 25
> (https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991/comments/25
> )
> and 31 onwards detail this issue.
>
> [1] https://patchwork.ozlabs.org/patch/778054/
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/
> 1698706/+subscriptions
>

--
Zhanglei Mao
Solutions Architect, Sales and Business Development
Canonical Group Ltd.
<email address hidden>
+86-13625010929 (m)
+852-6700 6026 (m)
www.ubuntu.com
www.canonical.com