Re: [PATCH v1 2/3] firmware: trusted_foundations: Different way of L2 cache enabling after LP2 suspend

From: Thierry Reding
Date: Wed May 06 2020 - 12:34:53 EST


On Wed, Mar 25, 2020 at 01:43:34AM +0300, Dmitry Osipenko wrote:
> 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@xxxxxxxxxxxx>
> Tested-by: MichaÅ MirosÅaw <mirq-linux@xxxxxxxxxxxx>
> Tested-by: Jasper Korten <jja2000@xxxxxxxxx>
> Tested-by: David Heidelberg <david@xxxxxxx>
> Tested-by: Peter Geis <pgwipeout@xxxxxxxxx>
> Signed-off-by: Dmitry Osipenko <digetx@xxxxxxxxx>
> ---
> arch/arm/mach-tegra/pm.c | 4 ++++
> drivers/firmware/trusted_foundations.c | 21 ++++++++++++++++++--
> include/linux/firmware/trusted_foundations.h | 1 +
> 3 files changed, 24 insertions(+), 2 deletions(-)

I split this up and applied it to for-5.8/firmware and for-5.8/arm/core,
respectively.

Thanks,
Thierry

Attachment: signature.asc
Description: PGP signature