ARM: tegra: Do not fully reinitialize L2 on resume
authorDmitry Osipenko <digetx@gmail.com>
Tue, 24 Mar 2020 22:43:34 +0000 (01:43 +0300)
committerThierry Reding <treding@nvidia.com>
Wed, 6 May 2020 16:29:05 +0000 (18:29 +0200)
commit38743e414e7cc6d23f41276f298ad4781890a89f
tree2bb7f701ce68057af34a2e21c0581fc34654cbcd
parent36dc3b1a7e9dd332d224cc187acdaa9f2023a1f1
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>
arch/arm/mach-tegra/pm.c