Bug 200875 - ti_cpufreq is registered on unrelated hw (tegra)
Summary: ti_cpufreq is registered on unrelated hw (tegra)
Status: RESOLVED CODE_FIX
Alias: None
Product: Platform Specific/Hardware
Classification: Unclassified
Component: ARM (show other bugs)
Hardware: ARM Linux
: P1 normal
Assignee: Richard Henderson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-21 13:18 UTC by NicolasChauvet
Modified: 2020-01-15 21:48 UTC (History)
1 user (show)

See Also:
Kernel Version: 4.18.1
Tree: Mainline
Regression: No


Attachments
kernel defconfig used (built on native arm) (206.73 KB, text/plain)
2018-08-21 13:30 UTC, NicolasChauvet
Details

Description NicolasChauvet 2018-08-21 13:18:25 UTC
When trying to go into suspend using a tegra20 arm device (Trimslice), with initcall_debug no_console_suspend=1 in cmdline. I seed the ti-cpufreq driver registered. (I also see other unrelated initcall to omap_* drivers, but they aren't hooked into pm suspend.
I'm using a (custom) Fedora based kernel 4.18.1-300.tegra.fc28.armv7hl (that among other disable the PXA and MMP arches and various modules.

I expect the non multiarch compatible code should go away and/or maybe the ti_cpufreq driver to be turned into a module.



Using: systemctl suspend, I saw the following message:

---
[ 1203.962078] tegra20-cpufreq tegra20-cpufreq: calling platform_pm_suspend+0x0/0x54 @ 745, parent: platform
[ 1203.968261] usb 1-1: usb_dev_suspend+0x0/0x20 returned 0 after 39 usecs
[ 1203.984949] tegra20-cpufreq tegra20-cpufreq: platform_pm_suspend+0x0/0x54 returned 0 after 3 usecs

[ 1203.994181] platform ti-cpufreq: calling platform_pm_suspend+0x0/0x54 @ 745, parent: platform
[ 1204.002939] platform ti-cpufreq: platform_pm_suspend+0x0/0x54 returned 0 after 1 usecs
 
[ 1204.011117] rtc rtc0: calling rtc_suspend+0x0/0x54 @ 745, parent: 2-0056
[ 1204.018700] rtc rtc0: rtc_suspend+0x0/0x54 returned 0 after 638 usecs
[ 1204.026010] usb usb1: calling usb_dev_suspend+0x0/0x20 @ 749, parent: c5004000.usb
[ 1204.026317] serial8250 serial8250: calling platform_pm_suspend+0x0/0x54 @ 745, parent: platform
[ 1204.034639] usb usb1: usb_dev_suspend+0x0/0x20 returned 0 after 721 usecs
[ 1204.042717] serial8250 serial8250: platform_pm_suspend+0x0/0x54 returned 0 after 11 usecs
---
Comment 1 NicolasChauvet 2018-08-21 13:30:54 UTC
Created attachment 278003 [details]
kernel defconfig used (built on native arm)
Comment 2 NicolasChauvet 2020-01-15 21:48:22 UTC
IIRC it was fixed at some point

Note You need to log in before you can comment on or make changes to this bug.