[RESEND][SRU][A][PATCH 0/1] Fix for LP#1738334 - hibmc regression
Daniel Axtens
daniel.axtens at canonical.com
Wed Jan 3 23:23:55 UTC 2018
[SRU Justification]
[Impact]
On Artful kernels, X fails to start and a kernel splat is printed.
This is because 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
That was deemed too ad-hoc and the community went with a larger fix
instead:
https://lists.freedesktop.org/archives/dri-devel/2017-December/161184.html
However, this comes with an uncomfortably large regression potential,
so I have stuck with the smaller fix for Artful - we can bring the
larger fix in for Bionic.
[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 and X does not start, 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.
Michal Srb (1):
UBUNTU: SAUCE: drm: hibmc: Initialize the hibmc_bo_driver.io_mem_pfn
drivers/gpu/drm/hisilicon/hibmc/hibmc_ttm.c | 1 +
1 file changed, 1 insertion(+)
--
2.11.0
More information about the kernel-team
mailing list