[PATCH] [SRU] [B/master] arm: TEGRA suspend() issue, disable ARCH_TANGO
paolo.pisati at canonical.com
Thu Aug 23 10:43:22 UTC 2018
I wrote a patch (and sent to lkml) to correctly register pm ops only when
running on the TANGO hardware, but it hasn't been reviewed yet, so in the mean
time i'm proposing an alternative solution.
The TANGO platform (an embedded soc used in home entertainment, connectivity and
control devices) is enabled by default in the generic arm kernel (even if it's
not enabled in the multi_v7 Linux defconfig). 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
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
Paolo Pisati (1):
UBUNTU: [Config] disable ARCH_TANGO
debian.master/config/config.common.ubuntu | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
More information about the kernel-team