** Description changed: - The TANGO platform is enabled by default in the multiplatform ARM - kernel. However, it calls __initcall in arch/arm/mach-tango/pm.c without - a check whether it actually runs on this hw. This causes an OOPS during - suspend on my Tegra platform. Please disable this (multiplatform - incompatible) arch. + 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.
** Description changed: 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. + Suspend the tegra board and chek that it worked - either close the laptop + lid, 'systemctl suspend' or: + + # echo -n mem > /sys/power/state -- 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