2017-12-15 05:35:07 |
Daniel Axtens |
bug |
|
|
added bug |
2017-12-15 06:00:05 |
Ubuntu Kernel Bot |
linux (Ubuntu): status |
New |
Incomplete |
|
2017-12-15 06:54:39 |
Dominique Poulain |
bug |
|
|
added subscriber Dominique Poulain |
2017-12-15 07:11:09 |
Dominique Poulain |
bug |
|
|
added subscriber Zhanglei Mao |
2017-12-15 07:16:38 |
Fred Kimmy |
bug |
|
|
added subscriber Fred Kimmy |
2017-12-15 08:03:40 |
Daniel Axtens |
linux (Ubuntu): status |
Incomplete |
Confirmed |
|
2017-12-15 08:05:47 |
Daniel Axtens |
attachment added |
|
splat.png https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1738334/+attachment/5022893/+files/splat.png |
|
2017-12-15 09:47:09 |
Andrew Cloke |
bug |
|
|
added subscriber Andrew Cloke |
2017-12-15 10:36:31 |
Daniel Axtens |
description |
ea642c3216cb ("drm/ttm: add io_mem_pfn callback") is incomplete: the hisilicon hibmc driver does not contain the callback and so X does not start.
Discussion and potential fix at https://lists.freedesktop.org/archives/dri-devel/2017-November/159002.html
This affects Artful, upstream has not landed on a solution yet as far as I can tell, so lets backport the first proposed small fix. |
[SRU Justification]
[Impact]
On Artful kernels, X fails to start and a kernel splat is printed.
This is cbecause ea642c3216cb ("drm/ttm: add io_mem_pfn callback") is incomplete: the hisilicon hibmc driver does not contain the callback and so the kernel tries to execute code at NULL.
[Fix]
There is a discussion and potential fix at https://lists.freedesktop.org/archives/dri-devel/2017-November/159002.html The fix hasn't landed yet and it looks like they're going to re-engineer the entire section instead.
Rather than wait for that and deal with the massive regression potential, the fix I have picked to submit is very very minimal and touches only hibmc.
[Regression Potential]
Minimal - fix only touches hibmc driver. Tested on D05 board.
[Testcase]
Install patched kernel, try to start X. If it succeeds, the fix works. If there's a kernel splat, the fix does not work.
[Notes]
HiSilicon would really like this fix in Artful in such time so that when the next 16.04 point release ships in February, the HWE kernel will work with Xorg. |
|
2018-02-06 12:02:53 |
Kleber Sacilotto de Souza |
nominated for series |
|
Ubuntu Artful |
|
2018-02-07 10:46:15 |
Stefan Bader |
bug task added |
|
linux (Ubuntu Artful) |
|
2018-02-07 10:48:55 |
Kleber Sacilotto de Souza |
linux (Ubuntu Artful): status |
New |
Fix Committed |
|
2018-02-14 09:38:04 |
Kleber Sacilotto de Souza |
tags |
|
verification-needed-artful |
|
2018-02-14 23:37:53 |
Daniel Axtens |
tags |
verification-needed-artful |
verification-done-artful |
|
2018-02-21 18:56:18 |
Launchpad Janitor |
linux (Ubuntu Artful): status |
Fix Committed |
Fix Released |
|
2018-02-21 18:56:18 |
Launchpad Janitor |
cve linked |
|
2017-15115 |
|
2018-02-21 18:56:18 |
Launchpad Janitor |
cve linked |
|
2017-17712 |
|
2018-02-21 18:56:18 |
Launchpad Janitor |
cve linked |
|
2017-5715 |
|
2018-02-21 18:56:18 |
Launchpad Janitor |
cve linked |
|
2017-5753 |
|
2018-02-21 18:56:18 |
Launchpad Janitor |
cve linked |
|
2017-5754 |
|
2018-02-21 18:56:18 |
Launchpad Janitor |
cve linked |
|
2017-8824 |
|
2018-03-01 02:01:04 |
Fred Kimmy |
bug task added |
|
linux |
|
2018-03-01 02:22:51 |
Daniel Axtens |
nominated for series |
|
Ubuntu Bionic |
|
2018-03-01 02:48:42 |
Daniel Axtens |
description |
[SRU Justification]
[Impact]
On Artful kernels, X fails to start and a kernel splat is printed.
This is cbecause ea642c3216cb ("drm/ttm: add io_mem_pfn callback") is incomplete: the hisilicon hibmc driver does not contain the callback and so the kernel tries to execute code at NULL.
[Fix]
There is a discussion and potential fix at https://lists.freedesktop.org/archives/dri-devel/2017-November/159002.html The fix hasn't landed yet and it looks like they're going to re-engineer the entire section instead.
Rather than wait for that and deal with the massive regression potential, the fix I have picked to submit is very very minimal and touches only hibmc.
[Regression Potential]
Minimal - fix only touches hibmc driver. Tested on D05 board.
[Testcase]
Install patched kernel, try to start X. If it succeeds, the fix works. If there's a kernel splat, the fix does not work.
[Notes]
HiSilicon would really like this fix in Artful in such time so that when the next 16.04 point release ships in February, the HWE kernel will work with Xorg. |
[SRU Justification]
[Impact]
On Artful and Bionic kernels, X fails to start and a kernel splat is printed.
This is cbecause ea642c3216cb ("drm/ttm: add io_mem_pfn callback") is incomplete: the hisilicon hibmc driver does not contain the callback and so the kernel tries to execute code at NULL.
[Fix]
Bionic: There is a generic fix in 4.16 at c67fa6edc8b11afe22c88a23963170bf5f151acf. It is part of a series that applies this generic fix and does a bunch of cleanups; we can safely just pick up the generic fix.
Artful: Rather than a generic fix, I have submitted a very very minimal fix that only touches hibmc.
[Regression Potential]
Artful: Minimal - fix only touches hibmc driver. Tested on D05 board.
Bionic: fix is to generic drm code, but is small and easily reviewable.
[Testcase]
Install patched kernel, try to start X. If it succeeds, the fix works. If there's a kernel splat, the fix does not work.
[Notes]
Artful: HiSilicon would really like this fix in Artful in such time so that when the next 16.04 point release ships, the HWE kernel will work with Xorg.
Bionic: no extra notes. |
|
2018-03-01 07:46:27 |
Zhanglei Mao |
attachment added |
|
Call traces for this bug on D05 for kernel 4.15.0-10-generic which tested on 1 March 2018 on 18.04 daily build https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1738334/+attachment/5065851/+files/bionic_kernel_oops_on_D05.png |
|
2018-03-01 14:14:31 |
Seth Forshee |
bug task added |
|
linux (Ubuntu Bionic) |
|
2018-03-01 14:14:53 |
Seth Forshee |
linux (Ubuntu Bionic): status |
Confirmed |
Fix Committed |
|
2018-03-15 02:26:24 |
Launchpad Janitor |
linux (Ubuntu Bionic): status |
Fix Committed |
Fix Released |
|