ARM: tegra: Do not fully reinitialize L2 on resume
ASUS TF300T device may not work properly if firmware is asked to fully re-initialize L2 cache after resume from LP2 suspend. The downstream kernel of TF300T uses different opcode to enable cache after resuming from LP2, this opcode also works fine on Nexus 7 and Ouya devices. Supposedly, this may be needed by an older firmware versions. Reported-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Tested-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Tested-by: Jasper Korten <jja2000@gmail.com> Tested-by: David Heidelberg <david@ixit.cz> Tested-by: Peter Geis <pgwipeout@gmail.com> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
This commit is contained in:
parent
36dc3b1a7e
commit
38743e414e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user