well, I think you forgot to attach the patch. So I called editconfig
myself and disabled the TANGO platform. For unknown reasons, this also
enables CONFIG_ARCH_HAS_FILTER_PGPROT in config.common.ubuntu... Anyway,
the new kernel boots and suspends/resume just fine.

** Patch added: "q.diff"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1787945/+attachment/5179894/+files/q.diff

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1787945

Title:
  Tango platform uses __initcall without further checks

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Impact:

  The TANGO platform (an embedded soc used in home entertainment,
  connectivity and control devices) is enabled by default in the generic
  arm kernel. During kernel bootup, the tango platform blindly registers
  its pm ops in arch/arm/mach-tango/pm.c via initcalls() (without
  checking whether it's actually running on the correspondent hardware)
  and this causes OOPS during suspend on tegra platforms since the tango
  pm .enter function directly pokes the underlying hardware.

  Given the narrow scope of this SOC, i propose to disable support for
  the TANGO arch.

  Fix:

  Apply the attached patch and recompile.

  How to test:

  Suspend the tegra board and chek that it worked - either close the laptop
  lid, 'systemctl suspend' or:

  # echo -n mem > /sys/power/state

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1787945/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to