2017-06-18 23:41:59 |
Daniel Axtens |
bug |
|
|
added bug |
2017-06-18 23:41:59 |
Daniel Axtens |
attachment added |
|
0001-drm-hibmc-Use-set_busid-function-from-drm-core.patch https://bugs.launchpad.net/bugs/1698700/+attachment/4898282/+files/0001-drm-hibmc-Use-set_busid-function-from-drm-core.patch |
|
2017-06-19 00:28:19 |
Ubuntu Foundations Team Bug Bot |
tags |
|
patch |
|
2017-06-19 00:28:20 |
Ubuntu Foundations Team Bug Bot |
bug |
|
|
added subscriber Joseph Salisbury |
2017-06-19 00:38:23 |
Daniel Axtens |
bug |
|
|
added subscriber Zhanglei Mao |
2017-06-19 14:24:49 |
Joseph Salisbury |
tags |
patch |
kernel-da-key patch |
|
2017-06-20 03:25:39 |
Daniel Axtens |
description |
On the HiSilicon D05 (arm64) board, X crashes when started. [0]
The crash is attributable to the bus ID that the hibmc driver reports for the hibmc graphics card on the board. In particular, the bus id is missing the "pci:" prefix that most other cards provide: [1]
- The busid reported on the arm64 system is "0007:a1:00.0"
- The busid reported on a amd64 system is "pci:0000:00:02.0"
X tests for this prefix. A missing prefix for PCI cards leads to an Xorg crash.
A patch is attached, which prevents the crash. [2][3]
I submitted the patch upstream. However, upstream is refactoring the drm core, and set_busid is going away, so I'm working on testing if this will be necessary once that lands. [4]
This bug exists to help keep track of the status of this fix across upstream and then into our kernels.
[0]: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991
[1]: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991/comments/16
[2]: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991/comments/17
[3]: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991/comments/29
[4]: https://www.spinics.net/lists/dri-devel/msg143831.html |
SRU Justification
[Impact]
On the HiSilicon D05 (arm64) board, X crashes when started. [0]
[Fix]
The crash is attributable to the bus ID that the hibmc driver reports for the hibmc graphics card on the board. In particular, the bus id is missing the "pci:" prefix that most other cards provide: [1]
- The busid reported on the arm64 system is "0007:a1:00.0"
- The busid reported on a amd64 system is "pci:0000:00:02.0"
X tests for this prefix. A missing prefix for PCI cards leads to an Xorg crash.
Fix this by using the set_pci_busid function from the DRM core.
[Testcase]
Successfully tested on a D05 board. [2]
[Regression Potential]
Changes are limited to the hibmc driver, so any regression should also be limited to that driver.
[Notes]
I submitted the patch upstream. However, upstream is refactoring the drm core, and set_busid is going away. That does fix this issue but the regression potential of the refactor is enormous, so this seems like the wiser approach. [3]
[0]: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991
[1]: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991/comments/16
[2]: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991/comments/29
[3]: https://www.spinics.net/lists/dri-devel/msg143831.html |
|
2017-06-20 13:24:49 |
Seth Forshee |
nominated for series |
|
Ubuntu Zesty |
|
2017-06-20 13:24:49 |
Seth Forshee |
bug task added |
|
linux (Ubuntu Zesty) |
|
2017-06-20 13:25:01 |
Seth Forshee |
linux (Ubuntu Zesty): assignee |
|
Daniel Axtens (daxtens) |
|
2017-06-20 13:25:05 |
Seth Forshee |
linux (Ubuntu): status |
In Progress |
Fix Committed |
|
2017-06-21 11:29:40 |
Stefan Bader |
linux (Ubuntu Zesty): importance |
Undecided |
Medium |
|
2017-06-21 11:29:40 |
Stefan Bader |
linux (Ubuntu Zesty): status |
New |
Fix Committed |
|
2017-06-29 03:16:10 |
Daniel Axtens |
description |
SRU Justification
[Impact]
On the HiSilicon D05 (arm64) board, X crashes when started. [0]
[Fix]
The crash is attributable to the bus ID that the hibmc driver reports for the hibmc graphics card on the board. In particular, the bus id is missing the "pci:" prefix that most other cards provide: [1]
- The busid reported on the arm64 system is "0007:a1:00.0"
- The busid reported on a amd64 system is "pci:0000:00:02.0"
X tests for this prefix. A missing prefix for PCI cards leads to an Xorg crash.
Fix this by using the set_pci_busid function from the DRM core.
[Testcase]
Successfully tested on a D05 board. [2]
[Regression Potential]
Changes are limited to the hibmc driver, so any regression should also be limited to that driver.
[Notes]
I submitted the patch upstream. However, upstream is refactoring the drm core, and set_busid is going away. That does fix this issue but the regression potential of the refactor is enormous, so this seems like the wiser approach. [3]
[0]: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991
[1]: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991/comments/16
[2]: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991/comments/29
[3]: https://www.spinics.net/lists/dri-devel/msg143831.html |
SRU Justification
[Impact]
On the HiSilicon D05 (arm64) board, X crashes when started. [0]
[Fix]
The crash is attributable to the bus ID that the hibmc driver reports for the hibmc graphics card on the board. In particular, the bus id is missing the "pci:" prefix that most other cards provide: [1]
- The busid reported on the arm64 system is "0007:a1:00.0"
- The busid reported on a amd64 system is "pci:0000:00:02.0"
X tests for this prefix. A missing prefix for PCI cards leads to an Xorg crash.
Fix this by using the set_pci_busid function from the DRM core.
[Testcase]
Successfully tested on a D05 board. [2]
[Regression Potential]
Changes are limited to the hibmc driver, so any regression should also be limited to that driver.
[Notes]
I submitted the patch upstream. However, upstream is refactoring the drm core, and set_busid is going away. That does fix this issue but the regression potential of the refactor is enormous, so this seems like the wiser approach. [3]
[0]: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991
[1]: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991/comments/16
[2]: https://bugs.launchpad.net/ubuntu/+source/xorg/+bug/1691991/comments/29
[3]: https://www.spinics.net/lists/dri-devel/msg143831.html |
|
2017-07-05 01:34:22 |
Daniel Axtens |
tags |
kernel-da-key patch |
kernel-da-key patch verification-done-zesty |
|
2017-07-12 12:13:16 |
Launchpad Janitor |
linux (Ubuntu): status |
Fix Committed |
Fix Released |
|
2017-07-17 11:57:59 |
Launchpad Janitor |
linux (Ubuntu Zesty): status |
Fix Committed |
Fix Released |
|
2017-07-17 11:57:59 |
Launchpad Janitor |
cve linked |
|
2014-9900 |
|
2017-07-17 11:57:59 |
Launchpad Janitor |
cve linked |
|
2017-1000380 |
|
2017-07-17 11:57:59 |
Launchpad Janitor |
cve linked |
|
2017-7346 |
|
2017-07-17 11:57:59 |
Launchpad Janitor |
cve linked |
|
2017-9605 |
|
2017-11-27 19:42:38 |
dann frazier |
nominated for series |
|
Ubuntu Artful |
|
2017-11-27 19:42:38 |
dann frazier |
bug task added |
|
linux (Ubuntu Artful) |
|
2017-11-28 16:36:03 |
dann frazier |
linux (Ubuntu): status |
Fix Released |
New |
|
2017-11-28 17:00:05 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2017-11-28 17:00:07 |
Ubuntu Kernel Bot |
linux (Ubuntu Artful): status |
New |
Incomplete |
|
2017-11-29 01:14:37 |
Fred Kimmy |
bug |
|
|
added subscriber Fred Kimmy |
2017-11-29 01:15:02 |
Fred Kimmy |
bug task added |
|
linux |
|
2017-11-29 01:16:03 |
Fred Kimmy |
bug task deleted |
linux |
|
|
2017-12-06 14:12:53 |
Joseph Salisbury |
tags |
kernel-da-key patch verification-done-zesty |
patch verification-done-zesty |
|
2017-12-15 05:31:39 |
Daniel Axtens |
linux (Ubuntu Artful): status |
Incomplete |
Fix Released |
|
2017-12-15 06:29:23 |
Dominique Poulain |
bug |
|
|
added subscriber Dominique Poulain |