[Xenial PATCH 0/2] fixing hang problem when reboot or shutdown on a baytrail-m laptop

Hui Wang hui.wang at canonical.com
Wed Jul 13 09:36:11 UTC 2016


We have lenovo laptop, which is based on intel baytrail-m. When reboot
or shutdown, the system will hang.

Through debugging, the system hang in the dma driver. And these two
patches can fix this problem.

The patches are cherry-picked from v4.5, so the Yakkety already has
these two patches. There are some confilcts in the 0002-xxx.patch,
to fix the conflicts and guarantee the success of building, I picked
some contents (_READ and _WRITE definitions) from the commit
4077a387. I didn't cherry-pick the whole commit 4077a387 since this
patch will introduce too many changes in the kernel.

After applying these two patches, I tested the new kernel on two
lenovo baytrail-m laptops, all of them worked well (boot, reboot,
shutdown, s3-test).

Besides those two laptops, I also tested the new kernel on 1 dell
laptop and 1 HP laptop, both of them worked well (boot, reboot,
shutdown, s3-test) as before.


Andy Shevchenko (2):
  dmaengine: dw: platform: power on device on shutdown
  ACPI / LPSS: override power state for LPSS DMA device

 arch/x86/Kconfig                |   3 +-
 arch/x86/include/asm/iosf_mbi.h |  12 ++++
 drivers/acpi/acpi_lpss.c        | 153 ++++++++++++++++++++++++++++++++++++++--
 drivers/dma/dw/platform.c       |  12 ++++
 4 files changed, 172 insertions(+), 8 deletions(-)

-- 
1.9.1





More information about the kernel-team mailing list