firmware: tf: Different way of L2 cache enabling after LP2 suspend
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:27:26 +0000 (18:27 +0200)
commitb720aaa347f227c416e8aed2f12ca62ea4f1cd4e
treed6426b1ce5766d31ebd909d7601faac1ed23d97e
parentd70f5e541ab30bf5ff29b219e9d1980e082ba159
firmware: tf: Different way of L2 cache enabling after LP2 suspend

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>
drivers/firmware/trusted_foundations.c
include/linux/firmware/trusted_foundations.h