mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-07 22:03:14 +00:00
cpuidle: Changes for v5.8-rc1
These changes add support for cluster power-down on Tegra30. -----BEGIN PGP SIGNATURE----- iQJHBAABCAAxFiEEiOrDCAFJzPfAjcif3SOs138+s6EFAl6+osUTHHRyZWRpbmdA bnZpZGlhLmNvbQAKCRDdI6zXfz6zocUrEACMK3vTOW57P11X8C62WAZWgA2087uA /wPdbWHH3D5G6huNcxSa6w+lOhfGjXaEyk0tO4SmILyL+WjxVMQ3DlZwyHmbgGqM FVP2pg67H0uyo2oXM67FSYhoIefTmMa4mGnWVHA4O7SIWJbd2FJGJ9Yb0Li3R86s W9YPsztrjD1i2g3oiF/KrS8Y7kP/qq11mCaExx3zHn1o6kIsKYCvilbSuoKQ6E72 LTd2smSYk7TCEFvi3Lv4WiU7MIHgojb3AMHRM4m6JA4X20qm7ASOV2DyL1sL0RkR MosvYmi7ZnkiJQ+nKd2HKcTUWtWJ5AIfxkmW8yW64In7axSxPWNEUZb9MO8ELNru 2CgdrlTLEgMbNdY2hcRSgLqLYH1m7qiV9MCS/GogQji9FaOAKQ4Hr9/RMYTpukJ0 9QY63bqkCRqBqOZ1mjKz/X+/pvdMVKn2iCoCqgSJwBESlrkCpOO8WhmFPNLocQAi V95yOkdJwVCzK2CaIVBgJYbZ/ZdbeH8+bSEzKmGgXulfmSAEOfARTfEh1edv9sUl aZOZv1BJwDu1RXg5d74NgpK3nbQ+lm+3R25wq3t9IMpQz98o56H/QxyLzwOOuznG 7NHSq4cuKcj9KyAePeXt9CTX8j8wg5L3BPk2vKfYYFfBuV5hAJem/Y4GIpy+bTef JybvQoYQzVwycg== =AjMB -----END PGP SIGNATURE----- Merge tag 'tegra-for-5.8-cpuidle' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux into arm/drivers cpuidle: Changes for v5.8-rc1 These changes add support for cluster power-down on Tegra30. * tag 'tegra-for-5.8-cpuidle' of git://git.kernel.org/pub/scm/linux/kernel/git/tegra/linux: cpuidle: tegra: Support CPU cluster power-down state on Tegra30 ARM: tegra: Do not fully reinitialize L2 on resume ARM: tegra: Initialize r0 register for firmware wake-up Link: https://lore.kernel.org/r/20200515145311.1580134-3-thierry.reding@gmail.com Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
commit
2e60fac703
@ -216,6 +216,8 @@ int tegra_pm_enter_lp2(void)
|
||||
restore_cpu_complex();
|
||||
cpu_cluster_pm_exit();
|
||||
|
||||
call_firmware_op(prepare_idle, TF_PM_MODE_NONE);
|
||||
|
||||
return err;
|
||||
}
|
||||
|
||||
@ -391,6 +393,8 @@ static int tegra_suspend_enter(suspend_state_t state)
|
||||
|
||||
local_fiq_enable();
|
||||
|
||||
call_firmware_op(prepare_idle, TF_PM_MODE_NONE);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -98,7 +98,12 @@ ENTRY(tegra_resume_trusted_foundations)
|
||||
reteq lr
|
||||
|
||||
.arch_extension sec
|
||||
/* First call after suspend wakes firmware. No arguments required. */
|
||||
/*
|
||||
* First call after suspend wakes firmware. No arguments required
|
||||
* for some firmware versions. Downstream kernel of ASUS TF300T uses
|
||||
* r0=3 for the wake-up notification.
|
||||
*/
|
||||
mov r0, #3
|
||||
smc #0
|
||||
|
||||
b cpu_resume
|
||||
|
@ -365,7 +365,6 @@ static int tegra_cpuidle_probe(struct platform_device *pdev)
|
||||
break;
|
||||
|
||||
case TEGRA30:
|
||||
tegra_cpuidle_disable_state(TEGRA_CC6);
|
||||
break;
|
||||
|
||||
case TEGRA114:
|
||||
|
Loading…
Reference in New Issue
Block a user